yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #67037
[Bug 1713735] Re: Nova assisted volume snapshots issue
Aug 28 10:22:51.522922 ubuntu-xenial-rax-ord-10656600 cinder-volume[2128]: ERROR cinder.volume.drivers.remotefs [None req-3022f65f-b7e0-43b1-8258-e41f75a9f106 tempest-VolumesSnapshotTestJSON-799368090 None] Call to Nova to create snapshot failed: BadRequest: No volume Block Device Mapping with id a10bd120-9b88-4710-bf6e-f1d34de87da2. (HTTP 400) (Request-ID: req-14d58a0b-bc8c-4521-908e-84cfadd7033a)
Aug 28 10:22:51.523057 ubuntu-xenial-rax-ord-10656600 cinder-volume[2128]: ERROR cinder.volume.drivers.remotefs Traceback (most recent call last):
Aug 28 10:22:51.523171 ubuntu-xenial-rax-ord-10656600 cinder-volume[2128]: ERROR cinder.volume.drivers.remotefs File "/opt/stack/new/cinder/cinder/volume/drivers/remotefs.py", line 1459, in _create_snapshot_online
Aug 28 10:22:51.523282 ubuntu-xenial-rax-ord-10656600 cinder-volume[2128]: ERROR cinder.volume.drivers.remotefs connection_info)
Aug 28 10:22:51.523407 ubuntu-xenial-rax-ord-10656600 cinder-volume[2128]: ERROR cinder.volume.drivers.remotefs File "/opt/stack/new/cinder/cinder/compute/nova.py", line 225, in create_volume_snapshot
Aug 28 10:22:51.523516 ubuntu-xenial-rax-ord-10656600 cinder-volume[2128]: ERROR cinder.volume.drivers.remotefs create_info=create_info)
Aug 28 10:22:51.523623 ubuntu-xenial-rax-ord-10656600 cinder-volume[2128]: ERROR cinder.volume.drivers.remotefs File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/assisted_volume_snapshots.py", line 43, in create
Aug 28 10:22:51.523728 ubuntu-xenial-rax-ord-10656600 cinder-volume[2128]: ERROR cinder.volume.drivers.remotefs return self._create('/os-assisted-volume-snapshots', body, 'snapshot')
Aug 28 10:22:51.523831 ubuntu-xenial-rax-ord-10656600 cinder-volume[2128]: ERROR cinder.volume.drivers.remotefs File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 361, in _create
Aug 28 10:22:51.523949 ubuntu-xenial-rax-ord-10656600 cinder-volume[2128]: ERROR cinder.volume.drivers.remotefs resp, body = self.api.client.post(url, body=body)
Aug 28 10:22:51.524098 ubuntu-xenial-rax-ord-10656600 cinder-volume[2128]: ERROR cinder.volume.drivers.remotefs File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 294, in post
Aug 28 10:22:51.524215 ubuntu-xenial-rax-ord-10656600 cinder-volume[2128]: ERROR cinder.volume.drivers.remotefs return self.request(url, 'POST', **kwargs)
Aug 28 10:22:51.524320 ubuntu-xenial-rax-ord-10656600 cinder-volume[2128]: ERROR cinder.volume.drivers.remotefs File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 83, in request
Aug 28 10:22:51.524424 ubuntu-xenial-rax-ord-10656600 cinder-volume[2128]: ERROR cinder.volume.drivers.remotefs raise exceptions.from_response(resp, body, url, method)
Aug 28 10:22:51.524542 ubuntu-xenial-rax-ord-10656600 cinder-volume[2128]: ERROR cinder.volume.drivers.remotefs BadRequest: No volume Block Device Mapping with id a10bd120-9b88-4710-bf6e-f1d34de87da2. (HTTP 400) (Request-ID: req-14d58a0b-bc8c-4521-908e-84cfadd7033a)
Aug 28 10:22:51.524648 ubuntu-xenial-rax-ord-10656600 cinder-volume[2128]: ERROR cinder.volume.drivers.remotefs
** Changed in: nova
Importance: Undecided => High
** Also affects: nova/pike
Importance: Undecided
Status: New
** Summary changed:
- Nova assisted volume snapshots issue
+ Nova assisted volume snapshots fails to find BDM in multi-cell
** Changed in: nova/pike
Status: New => Confirmed
** Changed in: nova/pike
Importance: Undecided => High
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1713735
Title:
Nova assisted volume snapshots fails to find BDM in multi-cell
Status in OpenStack Compute (nova):
In Progress
Status in OpenStack Compute (nova) pike series:
Confirmed
Bug description:
When using separate databases for each Nova cell, nova assisted volume snapshots always fail with the following error:
BadRequest: No volume Block Device Mapping with id a10bd120-9b88-4710-bf6e-f1d34de87da2. (HTTP 400)
The reason is that the according API call does not include an instance
id, which is fetched from the BDM. At the same time, the BDM cannot
properly be retrieved since Nova doesn't know which cell to use,
looking for the BDM in the wrong DB.
Cinder trace: http://paste.openstack.org/raw/619767/
Among others, Cinder NFS backends are affected by this, as per the following Cinder NFS CI logs:
http://logs.openstack.org/21/498321/5/check/gate-tempest-dsvm-full-devstack-plugin-nfs-nv/b8bca96/logs/screen-c-vol.txt.gz?level=ERROR
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1713735/+subscriptions
References