In nova compute log, met a exception when migrating the attached volume.
File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
six.reraise(self.type_, self.value, self.tb)
File "/opt/stack/nova/nova/compute/manager.py", line 301, in decorated_function
return function(self, context, *args, **kwargs)
File "/opt/stack/nova/nova/compute/manager.py", line 4337, in swap_volume
new_volume_id)
File "/opt/stack/nova/nova/compute/manager.py", line 4317, in _swap_volume
mountpoint)
File "/opt/stack/nova/nova/volume/cinder.py", line 173, in wrapper
res = method(self, ctx, volume_id, *args, **kwargs)
File "/opt/stack/nova/nova/volume/cinder.py", line 261, in attach
mountpoint)
File "/opt/stack/python-cinderclient/cinderclient/v1/volumes.py", line 266, in attach
'mode': mode})
File "/opt/stack/python-cinderclient/cinderclient/v1/volumes.py", line 250, in _action
return self.api.client.post(url, body=body)
File "/opt/stack/python-cinderclient/cinderclient/client.py", line 223, in post
return self._cs_request(url, 'POST', **kwargs)
File "/opt/stack/python-cinderclient/cinderclient/client.py", line 187, in _cs_request
**kwargs)
File "/opt/stack/python-cinderclient/cinderclient/client.py", line 170, in request
raise exceptions.from_response(resp, body)
VolumeNotFound: Volume fdb681d1-2de9-4193-8f4e-775d21301512 could not be found.
Fix proposed to branch: master /review. openstack. org/101932
Review: https:/