Some CIs fail calling Nova snapshots from Cinder with the following Error sind the end of last week:
2016-04-11 12:55:31.721 DEBUG oslo_policy.policy [req-000f0d0a-5c79-4c79-89e9-b592a0b56299 service] Reloaded policy file: /etc/cinder/policy.json _load_policy_file /usr/local/lib/python2.7/dist-packages/oslo_policy/policy.py:493
2016-04-11 12:55:31.722 DEBUG cinder.compute.nova [req-000f0d0a-5c79-4c79-89e9-b592a0b56299 service] Creating a Nova client using "nova" user novaclient /opt/stack/new/cinder/cinder/compute/nova.py:125
2016-04-11 12:55:31.732 ERROR cinder.volume.drivers.remotefs [req-000f0d0a-5c79-4c79-89e9-b592a0b56299 service] Call to Nova to create snapshot failed
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs Traceback (most recent call last):
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs File "/opt/stack/new/cinder/cinder/volume/drivers/remotefs.py", line 1275, in _create_snapshot_online
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs connection_info)
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs File "/opt/stack/new/cinder/cinder/compute/nova.py", line 179, in create_volume_snapshot
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs create_info=create_info)
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/contrib/assisted_volume_snapshots.py", line 43, in create
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs return self._create('/os-assisted-volume-snapshots', body, 'snapshot')
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 345, in _create
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs resp, body = self.api.client.post(url, body=body)
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 461, in post
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs return self._cs_request(url, 'POST', **kwargs)
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 414, in _cs_request
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs self.authenticate()
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 590, in authenticate
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs auth_url = self._v1_auth(auth_url)
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 638, in _v1_auth
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs raise exceptions.from_response(resp, body, url)
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs ClientException: Unknown Error (HTTP 300)
2016-04-11 12:55:31.732 6638 ERROR cinder.volume.drivers.remotefs
So far i've seen this with the Quobyte and the Scality CIs:
http://78.46.57.153:8081/refs-changes-20-303020-4/logs/screen-c-vol.log.txt
https://37.187.159.67:5443/job/cinder-sofs-validate/15566//artifact/jenkins-logs/screen-c-vol.txt.gz/*view*/
I was able to solve via explicitely configuring DevStack instances to use v3 API. Just added:
OS_IDENTITY_ API_VERSION= 3