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

Re: [libvirt-users] Live Migration failure: this function is not supported by the connection driver: virDomainMigrateToURI2



Michal Privoznik wrote:
> On 07.05.2015 11:26, RockCui zhaoxin com wrote:
>   
>> Hi everyone,
>>
>> I’m testing the new openstack kilo on ubuntu15.04 and hypervisor is xen4.5.
>> I can creat instance successfully , but live migration is always failed. Error report like this:
>>
>> 2015-05-07 10:47:22.135 1331 ERROR nova.virt.libvirt.driver [-] [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] Live Migration failure: this function is not supported by the connection driver: virDomainMigrateToURI2
>>     

Actually, I think this is the problem.  The libxl driver currently does
not support the virDomainMigrateToURI* APIs.  I have this item on my
long todo list, but not sure when I'll manage to get to it.

Regards,
Jim

>> 2015-05-07 10:47:22.246 1331 WARNING nova.virt.libvirt.driver [-] [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] Error monitoring migration: this function is not supported by the connection driver: virDomainGetJobInfo
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] Traceback (most recent call last):
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 5689, in _live_migration
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] dom, finish_event)
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 5521, in _live_migration_monitor
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] info = host.DomainJobInfo.for_domain(dom)
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/host.py", line 164, in for_domain
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] return cls._get_job_stats_compat(dom)
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/host.py", line 113, in _get_job_stats_compat
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] info = dom.jobInfo()
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 183, in doit
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] result = proxy_call(self._autowrap, f, *args, **kwargs)
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 141, in proxy_call
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] rv = execute(f, *args, **kwargs)
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 122, in execute
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] six.reraise(c, e, tb)
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 80, in tworker
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] rv = meth(*args, **kwargs)
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1241, in jobInfo
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] if ret is None: raise libvirtError ('virDomainGetJobInfo() failed', dom=self)
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c] libvirtError: this function is not supported by the connection driver: virDomainGetJobInfo
>> 2015-05-07 10:47:22.246 1331 TRACE nova.virt.libvirt.driver [instance: b1081b86-fdce-4fcc-82c4-51896de4418c]
>>
>> If someone has a clue what may cause this, pls help.
>> Thanks.
>>
>>     
>
> The problem is, while migration was implemented (since 1.2.6) seems like
> nova is trying to get progress of a migration which is not implemented
> yet in the xen driver. I think Jim is the right guy to answer this more
> detailed (e.g. how difficult it would be to implement the API).
>
> Michal
>
>   


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