New Question

Revision history [back]

Hi Luci,

I apply the patch, but it not working for me. If I try to live migrate vm, get this error:

2016-02-11 17:17:27.135 1728 DEBUG oslo_messaging._drivers.amqpdriver [-] received message msg_id: 0669d7ed76804f21a759162aee846500 reply to reply_d5187308972e47b68fbfc6903e445b8c __call__ C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Python27\lib\site-packages\oslo_messaging\_drivers\amqpdriver.py:193
2016-02-11 17:17:27.230 1728 DEBUG oslo_concurrency.lockutils [req-3700b16d-1515-4828-9368-cd45543eb0c8 01d407fa35af4a0eb873c29bd4c71751 9097b948e1f5440f80a6fe4d0cedc306 - - -] Lock "smbfs-12c25de0-4c31-4c55-b119-13ece392d6ac" acquired by "cinder.volume.drivers.remotefs.lvo_inner2" :: waited 0.000s inner C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Python27\lib\site-packages\oslo_concurrency\lockutils.py:253
2016-02-11 17:17:27.244 1728 DEBUG cinder.volume.drivers.windows.vhdutils [req-3700b16d-1515-4828-9368-cd45543eb0c8 01d407fa35af4a0eb873c29bd4c71751 9097b948e1f5440f80a6fe4d0cedc306 - - -] Trying to access file: C:\OpenStack\b059be7b212fc829e92972d0a0b30e82\volume-12c25de0-4c31-4c55-b119-13ece392d6ac.vhdx _open C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Python27\lib\site-packages\cinder\volume\drivers\windows\vhdutils.py:246
2016-02-11 17:17:27.244 1728 ERROR cinder.volume.drivers.windows.vhdutils [req-3700b16d-1515-4828-9368-cd45543eb0c8 01d407fa35af4a0eb873c29bd4c71751 9097b948e1f5440f80a6fe4d0cedc306 - - -] Executing Win32 API function OpenVirtualDisk failed. Error code: 32. Error message: The process cannot access the file because it is being used by another process.

2016-02-11 17:17:27.244 1728 ERROR cinder.volume.drivers.windows.vhdutils None
2016-02-11 17:17:27.244 1728 ERROR cinder.volume.drivers.windows.vhdutils
2016-02-11 17:17:27.244 1728 DEBUG oslo_concurrency.lockutils [req-3700b16d-1515-4828-9368-cd45543eb0c8 01d407fa35af4a0eb873c29bd4c71751 9097b948e1f5440f80a6fe4d0cedc306 - - -] Lock "smbfs-12c25de0-4c31-4c55-b119-13ece392d6ac" released by "cinder.volume.drivers.remotefs.lvo_inner2" :: held 0.016s inner C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Python27\lib\site-packages\oslo_concurrency\lockutils.py:265
2016-02-11 17:17:27.244 1728 ERROR cinder.volume.manager [req-3700b16d-1515-4828-9368-cd45543eb0c8 01d407fa35af4a0eb873c29bd4c71751 9097b948e1f5440f80a6fe4d0cedc306 - - -] Driver initialize connection failed (error: Executing Win32 API function OpenVirtualDisk failed. Error code: 32. Error message: The process cannot access the file because it is being used by another process.).
2016-02-11 17:17:27.260 1728 ERROR oslo_messaging.rpc.dispatcher [req-3700b16d-1515-4828-9368-cd45543eb0c8 01d407fa35af4a0eb873c29bd4c71751 9097b948e1f5440f80a6fe4d0cedc306 - - -] Exception during message handling: Bador unexpected response from the storage volume backend API: Driver initialize connection failed (error: Executing Win32 API function OpenVirtualDisk failed. Error code: 32. Error message: The process cannot access the file because it is being used by another process.).
2016-02-11 17:17:27.260 1728 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2016-02-11 17:17:27.260 1728 ERROR oslo_messaging.rpc.dispatcher   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Python27\lib\site-packages\oslo_messaging\rpc\dispatcher.py", line 142, in _dispatch_and_reply
2016-02-11 17:17:27.260 1728 ERROR oslo_messaging.rpc.dispatcher     executor_callback))
2016-02-11 17:17:27.260 1728 ERROR oslo_messaging.rpc.dispatcher   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Python27\lib\site-packages\oslo_messaging\rpc\dispatcher.py", line 186, in _dispatch
2016-02-11 17:17:27.260 1728 ERROR oslo_messaging.rpc.dispatcher     executor_callback)
2016-02-11 17:17:27.260 1728 ERROR oslo_messaging.rpc.dispatcher   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Python27\lib\site-packages\oslo_messaging\rpc\dispatcher.py", line 129, in _do_dispatch
2016-02-11 17:17:27.260 1728 ERROR oslo_messaging.rpc.dispatcher     result = func(ctxt, **new_args)
2016-02-11 17:17:27.260 1728 ERROR oslo_messaging.rpc.dispatcher   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Python27\lib\site-packages\osprofiler\profiler.py", line 105, in wrapper
2016-02-11 17:17:27.260 1728 ERROR oslo_messaging.rpc.dispatcher     return f(*args, **kwargs)
2016-02-11 17:17:27.260 1728 ERROR oslo_messaging.rpc.dispatcher   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Python27\lib\site-packages\cinder\volume\manager.py", line 1349, in initialize_connection
2016-02-11 17:17:27.260 1728 ERROR oslo_messaging.rpc.dispatcher     raise exception.VolumeBackendAPIException(data=err_msg)
2016-02-11 17:17:27.260 1728 ERROR oslo_messaging.rpc.dispatcher VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Driver initialize connection failed (error: Executing Win32 API function OpenVirtualDisk failed. Error code: 32. Error message: The process cannot access the file because it is being used by another process.
2016-02-11 17:17:27.260 1728 ERROR oslo_messaging.rpc.dispatcher ).
2016-02-11 17:17:27.260 1728 ERROR oslo_messaging.rpc.dispatcher
2016-02-11 17:17:27.260 1728 ERROR oslo_messaging._drivers.common [req-3700b16d-1515-4828-9368-cd45543eb0c8 01d407fa35af4a0eb873c29bd4c71751 9097b948e1f5440f80a6fe4d0cedc306 - - -] Returning exception Bad or unexpectedresponse from the storage volume backend API: Driver initialize connection failed (error: Executing Win32 API function OpenVirtualDisk failed. Error code: 32. Error message: The process cannot access the file because it is being used by another process.). to caller