git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openstack] Live migration failed with ceph storage


David,

I did this on compute node

[root at ostack-compute-01 ~]# locate test_guest.py
/openstack/venvs/nova-16.0.14/lib/python2.7/site-packages/nova/tests/unit/virt/libvirt/test_guest.py
/openstack/venvs/nova-16.0.16/lib/python2.7/site-packages/nova/tests/unit/virt/libvirt/test_guest.py


I didn't find option

[root at ostack-compute-01 ~]# grep -i "test_migrate_configure_max_speed"
/openstack/venvs/nova-16.0.16/lib/python2.7/site-packages/nova/tests/unit/virt/libvirt/test_guest.py
[root at ostack-compute-01 ~]#

On Wed, Jul 25, 2018 at 10:06 AM, Satish Patel <satish.txt at gmail.com> wrote:
> Oh wait i believe following.
>
> https://github.com/openstack/openstack-ansible/blob/0e03f46a2ebb0ffc6f12384f19ec1184434e7a09/playbooks/defaults/repo_packages/openstack_services.yml#L148
>
> On Wed, Jul 25, 2018 at 10:04 AM, Satish Patel <satish.txt at gmail.com> wrote:
>> David,
>>
>> look like OSAD 16.0.15 using following repo, if i am not wrong
>>
>> - name: os_nova
>>   scm: git
>>   src: https://git.openstack.org/openstack/openstack-ansible-os_nova
>>   version: 378cf6c83f9ad23c2e0d37e9df06796fee02cc27
>>
>> On Wed, Jul 25, 2018 at 9:45 AM, David Medberry <openstack at medberry.net> wrote:
>>> I think that nova --version is the version of the client (not of nova
>>> itself).
>>>
>>> I'm looking at OSAD 16.0.15 to see what it is pulling for nova.
>>>
>>> If I see anything of interest, I'll reply.
>>>
>>> On Wed, Jul 25, 2018 at 6:33 AM, Satish Patel <satish.txt at gmail.com> wrote:
>>>>
>>>> Thanks David,
>>>>
>>>> [root at ostack-compute-01 ~]# nova --version
>>>> 9.1.2
>>>>
>>>> I am using Pike 16.0.15  (My deployment tool is openstack-ansible)
>>>>
>>>>
>>>> What are my option here?
>>>>
>>>>
>>>> On Wed, Jul 25, 2018 at 8:19 AM, David Medberry <openstack at medberry.net>
>>>> wrote:
>>>> > It's not clear what version of Nova you are running but perhaps it is
>>>> > badly
>>>> > patched. The 16.x.x (Pike) release of Nova has no
>>>> > "migrate_configure_max_speed" but as best I can tell you are running a
>>>> > patched version of Nova Pike so it may be inconsistent.
>>>> >
>>>> > This parameter was introduced on 2017-08-24:
>>>> >
>>>> > https://github.com/openstack/nova/commit/23446a9552b5be3b040278646149a0f481d0a005
>>>> >
>>>> > That parameter showed up in Queens (not Pike) initially.
>>>> >
>>>> > -d
>>>> >
>>>> > On Tue, Jul 24, 2018 at 11:22 PM, Satish Patel <satish.txt at gmail.com>
>>>> > wrote:
>>>> >>
>>>> >> I have openstack with ceph storage setup and trying to test Live
>>>> >> migration but somehow it failed and showing following error
>>>> >>
>>>> >> nova.conf
>>>> >>
>>>> >> # ceph rbd support
>>>> >> live_migration_uri = "qemu+tcp://%s/system"
>>>> >> live_migration_tunnelled = True
>>>> >>
>>>> >> libvirtd.conf
>>>> >>
>>>> >> listen_tls = 0
>>>> >> listen_tcp = 1
>>>> >> unix_sock_group = "libvirt"
>>>> >> unix_sock_ro_perms = "0777"
>>>> >> unix_sock_rw_perms = "0770"
>>>> >> auth_unix_ro = "none"
>>>> >> auth_unix_rw = "none"
>>>> >> auth_tcp = "none"
>>>> >>
>>>> >>
>>>> >> This is the error i am getting, i google it but didn't find any
>>>> >> reference
>>>> >>
>>>> >>
>>>> >>
>>>> >> ] [instance: 2b92ca5b-e433-4ac7-8dc8-619c9523ba97] Live migration
>>>> >> failed.: AttributeError: 'Guest' object has no attribute
>>>> >> 'migrate_configure_max_speed'
>>>> >> 2018-07-25 01:00:59.214 9331 ERROR nova.compute.manager [instance:
>>>> >> 2b92ca5b-e433-4ac7-8dc8-619c9523ba97] Traceback (most recent call
>>>> >> last):
>>>> >> 2018-07-25 01:00:59.214 9331 ERROR nova.compute.manager [instance:
>>>> >> 2b92ca5b-e433-4ac7-8dc8-619c9523ba97]   File
>>>> >>
>>>> >>
>>>> >> "/openstack/venvs/nova-16.0.16/lib/python2.7/site-packages/nova/compute/manager.py",
>>>> >> line 5580, in _do_live_migration
>>>> >> 2018-07-25 01:00:59.214 9331 ERROR nova.compute.manager [instance:
>>>> >> 2b92ca5b-e433-4ac7-8dc8-619c9523ba97]     block_migration,
>>>> >> migrate_data)
>>>> >> 2018-07-25 01:00:59.214 9331 ERROR nova.compute.manager [instance:
>>>> >> 2b92ca5b-e433-4ac7-8dc8-619c9523ba97]   File
>>>> >>
>>>> >>
>>>> >> "/openstack/venvs/nova-16.0.16/lib/python2.7/site-packages/nova/virt/libvirt/driver.py",
>>>> >> line 6436, in live_migration
>>>> >> 2018-07-25 01:00:59.214 9331 ERROR nova.compute.manager [instance:
>>>> >> 2b92ca5b-e433-4ac7-8dc8-619c9523ba97]     migrate_data)
>>>> >> 2018-07-25 01:00:59.214 9331 ERROR nova.compute.manager [instance:
>>>> >> 2b92ca5b-e433-4ac7-8dc8-619c9523ba97]   File
>>>> >>
>>>> >>
>>>> >> "/openstack/venvs/nova-16.0.16/lib/python2.7/site-packages/nova/virt/libvirt/driver.py",
>>>> >> line 6944, in _live_migration
>>>> >> 2018-07-25 01:00:59.214 9331 ERROR nova.compute.manager [instance:
>>>> >> 2b92ca5b-e433-4ac7-8dc8-619c9523ba97]
>>>> >> guest.migrate_configure_max_speed(
>>>> >> 2018-07-25 01:00:59.214 9331 ERROR nova.compute.manager [instance:
>>>> >> 2b92ca5b-e433-4ac7-8dc8-619c9523ba97] AttributeError: 'Guest' object
>>>> >> has no attribute 'migrate_configure_max_speed'
>>>> >>
>>>> >> _______________________________________________
>>>> >> Mailing list:
>>>> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>> >> Post to     : openstack at lists.openstack.org
>>>> >> Unsubscribe :
>>>> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>> >
>>>> >
>>>
>>>




( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/openstack/msg40349.html on line 212
Call Stack
#TimeMemoryFunctionLocation
10.0006372696{main}( ).../msg40349.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/openstack/msg40349.html on line 212
Call Stack
#TimeMemoryFunctionLocation
10.0006372696{main}( ).../msg40349.html:0