Environment: OpenStack Yoga version
Reproduce steps:
1. Backup VM volume with cinder-backup, volume transit to state Backing-up
2. Do one of the following actions: Live migrate, cold migrate, resize, evacuate VM.
3. VM returns ERROR status with logs below
Expect result:
- Action should succeed or at least the VM evacuation process.
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server [req-d2867ed1-6372-457c-8114-4eb3831ee3fd d3802c30ff814feaa3197d29e8a3a731 4bce93cd1dd34919961adce9957d4a24 - default default] Exception during message handling: nova.exception.InvalidInput: Invalid input received: Invalid volume: Volume 830dbeeb-df51-4724-ace4-86564eb092fc status must be available or downloading to reserve, but the current status is backing-up. (HTTP 400) (Request-ID: req-7bb4e5e8-b48c-463a-a3c1-528111c651c3)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/volume/cinder.py", line 397, in wrapper
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server res = method(self, ctx, *args, **kwargs)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/volume/cinder.py", line 433, in wrapper
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server res = method(self, ctx, volume_id, *args, **kwargs)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/volume/cinder.py", line 803, in attachment_create
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server LOG.error('Create attachment failed for volume '
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server self.force_reraise()
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python3.8/dist-packages/six.py", line 703, in reraise
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server raise value
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/volume/cinder.py", line 795, in attachment_create
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server attachment_ref = cinderclient(context, '3.44').attachments.create(
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/cinderclient/api_versions.py", line 423, in substitution
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server return method.func(obj, *args, **kwargs)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/cinderclient/v3/attachments.py", line 38, in create
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server retval = self._create('/attachments', body, 'attachment')
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/cinderclient/base.py", line 302, in _create
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server resp, body = self.api.client.post(url, body=body)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/cinderclient/client.py", line 218, in post
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server return self._cs_request(url, 'POST', **kwargs)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/cinderclient/client.py", line 206, in _cs_request
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server return self.request(url, method, **kwargs)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/cinderclient/client.py", line 192, in request
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server raise exceptions.from_response(resp, body)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server cinderclient.exceptions.BadRequest: Invalid volume: Volume 830dbeeb-df51-4724-ace4-86564eb092fc status must be available or downloading to reserve, but the current status is backing-up. (HTTP 400) (Request-ID: req-7bb4e5e8-b48c-463a-a3c1-528111c651c3)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server During handling of the above exception, another exception occurred:
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/oslo_messaging/rpc/server.py", line 165, in _process_incoming
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/oslo_messaging/rpc/dispatcher.py", line 309, in dispatch
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/oslo_messaging/rpc/dispatcher.py", line 229, in _do_dispatch
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/exception_wrapper.py", line 76, in wrapped
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server _emit_exception_notification(
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server self.force_reraise()
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python3.8/dist-packages/six.py", line 703, in reraise
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server raise value
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/exception_wrapper.py", line 69, in wrapped
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server return f(self, context, *args, **kw)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/compute/utils.py", line 1434, in decorated_function
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/compute/manager.py", line 216, in decorated_function
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server compute_utils.add_instance_fault_from_exc(context,
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server self.force_reraise()
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python3.8/dist-packages/six.py", line 703, in reraise
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server raise value
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/compute/manager.py", line 205, in decorated_function
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/compute/manager.py", line 8141, in pre_live_migration
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server bdm.save()
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server self.force_reraise()
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python3.8/dist-packages/six.py", line 703, in reraise
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server raise value
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/compute/manager.py", line 8084, in pre_live_migration
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server attach_ref = self.volume_api.attachment_create(
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/volume/cinder.py", line 405, in wrapper
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server _reraise(exception.InvalidInput(reason=err_msg))
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/volume/cinder.py", line 483, in _reraise
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server raise desired_exc.with_traceback(sys.exc_info()[2])
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/volume/cinder.py", line 397, in wrapper
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server res = method(self, ctx, *args, **kwargs)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/volume/cinder.py", line 433, in wrapper
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server res = method(self, ctx, volume_id, *args, **kwargs)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/volume/cinder.py", line 803, in attachment_create
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server LOG.error('Create attachment failed for volume '
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server self.force_reraise()
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/usr/local/lib/python3.8/dist-packages/six.py", line 703, in reraise
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server raise value
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/nova/volume/cinder.py", line 795, in attachment_create
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server attachment_ref = cinderclient(context, '3.44').attachments.create(
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/cinderclient/api_versions.py", line 423, in substitution
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server return method.func(obj, *args, **kwargs)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/cinderclient/v3/attachments.py", line 38, in create
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server retval = self._create('/attachments', body, 'attachment')
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/cinderclient/base.py", line 302, in _create
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server resp, body = self.api.client.post(url, body=body)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/cinderclient/client.py", line 218, in post
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server return self._cs_request(url, 'POST', **kwargs)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/cinderclient/client.py", line 206, in _cs_request
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server return self.request(url, method, **kwargs)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python3.8/site-packages/cinderclient/client.py", line 192, in request
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server raise exceptions.from_response(resp, body)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server nova.exception.InvalidInput: Invalid input received: Invalid volume: Volume 830dbeeb-df51-4724-ace4-86564eb092fc status must be available or downloading to reserve, but the current status is backing-up. (HTTP 400) (Request-ID: req-7bb4e5e8-b48c-463a-a3c1-528111c651c3)
2023-08-28 12:11:17.142 7 ERROR oslo_messaging.rpc.server
Hello,
what kind of backend do you use for cinder-backup?