Description of problem:
# vdsClient 0 hibernate 6e7da0b2-a19f-4020-a9b6-4fd1982b61f6
Thread-5797::DEBUG::2012-03-12 16:34:49,054::BindingXMLRPC::857::vds::(wrapper) client [10.35.115.11]::call vmHibernate with ('6e7da0b2-a19f-4020-a9b6-4fd1982b61f6',) {}
Thread-5797::DEBUG::2012-03-12 16:34:49,055::API::407::vds::(migrate) {'hiberVolHandle': None, 'vmId': '6e7da0b2-a19f-4020-a9b6-4fd1982b61f6', 'mode': 'file'}
Thread-5797::ERROR::2012-03-12 16:34:49,055::BindingXMLRPC::872::vds::(wrapper) unexpected error
Traceback (most recent call last):
File "/usr/share/vdsm/BindingXMLRPC.py", line 862, in wrapper
res = f(*args, **kwargs)
File "/usr/share/vdsm/BindingXMLRPC.py", line 328, in vmHibernate
return vm.hibernate(hiberVolHandle)
File "/usr/share/vdsm/API.py", line 330, in hibernate
response = self.migrate(params)
File "/usr/share/vdsm/API.py", line 419, in migrate
self._getHibernationPaths(params['hiberVolHandle'])
File "/usr/share/vdsm/API.py", line 548, in _getHibernationPaths
paramImageID, paramVolumeID = hiberVolHandle.split(',')
AttributeError: 'NoneType' object has no attribute 'split'
problem:
- there is a sync problem between API and vdsClient, API requires volume ids (list) along with vmId, while vdsClient requires vmId.
Description of problem: # vdsClient 0 hibernate 6e7da0b2-a19f-4020-a9b6-4fd1982b61f6 Thread-5797::DEBUG::2012-03-12 16:34:49,054::BindingXMLRPC::857::vds::(wrapper) client [10.35.115.11]::call vmHibernate with ('6e7da0b2-a19f-4020-a9b6-4fd1982b61f6',) {} Thread-5797::DEBUG::2012-03-12 16:34:49,055::API::407::vds::(migrate) {'hiberVolHandle': None, 'vmId': '6e7da0b2-a19f-4020-a9b6-4fd1982b61f6', 'mode': 'file'} Thread-5797::ERROR::2012-03-12 16:34:49,055::BindingXMLRPC::872::vds::(wrapper) unexpected error Traceback (most recent call last): File "/usr/share/vdsm/BindingXMLRPC.py", line 862, in wrapper res = f(*args, **kwargs) File "/usr/share/vdsm/BindingXMLRPC.py", line 328, in vmHibernate return vm.hibernate(hiberVolHandle) File "/usr/share/vdsm/API.py", line 330, in hibernate response = self.migrate(params) File "/usr/share/vdsm/API.py", line 419, in migrate self._getHibernationPaths(params['hiberVolHandle']) File "/usr/share/vdsm/API.py", line 548, in _getHibernationPaths paramImageID, paramVolumeID = hiberVolHandle.split(',') AttributeError: 'NoneType' object has no attribute 'split' problem: - there is a sync problem between API and vdsClient, API requires volume ids (list) along with vmId, while vdsClient requires vmId.