My problem solved by adding these lines to cinder.conf nova_catalog_info = compute:nova:publicURL nova_catalog_admin_info = compute:nova:adminURL os_privileged_user_auth_url = http://<controller>:35357 os_privileged_user_name = cinder os_privileged_user_password = <password> os_privileged_user_tenant = service
On Mon, 1 Oct 2018 at 10:24, Reza Bakhshayeshi <reza.b2...@gmail.com> wrote: > Hi > > Still I've the same problem (in newton) > Is there any workaround for this issue? > > Regards, > Reza > > On Sat, 9 Apr 2016 at 23:22, freelance...@gmail.com < > freelance...@gmail.com> wrote: > >> Hi! >> >> I'm trying to create a snapshot with: >> >> # cinder snapshot-create --force --name snap01 >> f0b8a7c2-6112-4e59-a037-97502b081141 >> >> and get 'Call to Nova to create snapshot failed EndpointNotFound' error >> in log: >> >> cinder-volume[20267]: ERROR cinder.volume.drivers.remotefs >> [req-71115c09-449e-4052-a7ad-e7836811b8b0 openstack-admin >> 0b814f7b33ad4d5697a0d1b8cd28251f - - -] Call to Nova to create snapshot >> failed >> cinder-volume[20267]: ERROR cinder.volume.drivers.remotefs Traceback >> (most recent call last): >> cinder-volume[20267]: ERROR cinder.volume.drivers.remotefs File >> "/usr/lib/python2.7/site-packages/cinder/volume/drivers/remotefs.py", >> line 1277, in _create_snapshot_online >> cinder-volume[20267]: ERROR cinder.volume.drivers.remotefs >> connection_info) >> cinder-volume[20267]: ERROR cinder.volume.drivers.remotefs File >> "/usr/lib/python2.7/site-packages/cinder/compute/nova.py", line 178, in >> create_volume_snapshot >> cinder-volume[20267]: ERROR cinder.volume.drivers.remotefs nova = >> novaclient(context, admin_endpoint=True, privileged_user=True) >> cinder-volume[20267]: ERROR cinder.volume.drivers.remotefs File >> "/usr/lib/python2.7/site-packages/cinder/compute/nova.py", line 137, in >> novaclient >> cinder-volume[20267]: ERROR cinder.volume.drivers.remotefs >> **region_filter) >> cinder-volume[20267]: ERROR cinder.volume.drivers.remotefs File >> "/usr/lib/python2.7/site-packages/novaclient/service_catalog.py", line >> 84, in url_for >> cinder-volume[20267]: ERROR cinder.volume.drivers.remotefs raise >> novaclient.exceptions.EndpointNotFound() >> cinder-volume[20267]: ERROR cinder.volume.drivers.remotefs >> EndpointNotFound >> cinder-volume[20267]: ERROR cinder.volume.drivers.remotefs >> >> If I change >> >> nova_catalog_info = compute:Compute Service:publicURL >> >> to >> >> nova_catalog_admin_info = compute:nova:adminURL >> >> and >> >> nova_catalog_admin_info = compute:Compute Service:adminURL >> >> to >> >> nova_catalog_admin_info = compute:nova:adminURL >> >> in /etc/cinder/cinder.conf , I get a different error message "Call to >> Nova to create snapshot failed - Unauthorized: Unauthorized (HTTP 401)": >> >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs >> [req-edd7717f-2d64-4f16-b38e-981597eb466a openstack-admin >> 0b814f7b33ad4d5697a0d1b8cd28251f - - -] Call to Nova to create snapshot >> failed >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs Traceback >> (most recent call last): >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs File >> "/usr/lib/python2.7/site-packages/cinder/volume/drivers/remotefs.py", >> line 1277, in _create_snapshot_online >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs >> connection_info) >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs File >> "/usr/lib/python2.7/site-packages/cinder/compute/nova.py", line 183, in >> create_volume_snapshot >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs >> create_info=create_info) >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs File >> "/usr/lib/python2.7/site-packages/novaclient/v2/contrib/assisted_volume_snapshots.py", >> >> line 41, in create >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs return >> self._create('/os-assisted-volume-snapshots', body, 'snapshot') >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs File >> "/usr/lib/python2.7/site-packages/novaclient/base.py", line 169, in >> _create >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs _resp, body = >> self.api.client.post(url, body=body) >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs File >> "/usr/lib/python2.7/site-packages/novaclient/client.py", line 449, in post >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs return >> self._cs_request(url, 'POST', **kwargs) >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs File >> "/usr/lib/python2.7/site-packages/novaclient/client.py", line 402, in >> _cs_request >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs >> self.authenticate() >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs File >> "/usr/lib/python2.7/site-packages/novaclient/client.py", line 574, in >> authenticate >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs auth_url = >> self._v1_auth(auth_url) >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs File >> "/usr/lib/python2.7/site-packages/novaclient/client.py", line 610, in >> _v1_auth >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs resp, body = >> self._time_request(url, 'GET', headers=headers) >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs File >> "/usr/lib/python2.7/site-packages/novaclient/client.py", line 397, in >> _time_request >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs resp, body = >> self.request(url, method, **kwargs) >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs File >> "/usr/lib/python2.7/site-packages/novaclient/client.py", line 391, in >> request >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs raise >> exceptions.from_response(resp, body, url, method) >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs Unauthorized: >> Unauthorized (HTTP 401) (Request-ID: >> req-b4f4f1cf-cd1f-4ef2-831d-baa531acf980) >> cinder-volume[23456]: ERROR cinder.volume.drivers.remotefs >> cinder-volume[23456]: ERROR oslo_messaging.rpc.dispatcher >> [req-edd7717f-2d64-4f16-b38e-981597eb466a openstack-admin >> 0b814f7b33ad4d5697a0d1b8cd28251f - - -] Exception during message >> handling: (Unauthorized(),) >> >> And the following message in nova-api.log: >> >> INFO nova.osapi_compute.wsgi.server [-] 11.22.33.44 "GET >> /v2/0b814f7b33ad4d5697a0d1b8cd28251f HTTP/1.1" status: 401 len: 302 >> time: 0.0006430 >> >> All the other cinder and nova commands work without any problems. This >> only happens when I try to create a snapshot. >> >> # openstack catalog list >> >> | nova | compute | RegionOne | >> | | | publicURL: >> http://11.22.33.44:8774/v2/0b814f7b33ad4d5697a0d1b8cd28251f | >> | | | internalURL: >> http://11.22.33.44:8774/v2/0b814f7b33ad4d5697a0d1b8cd28251f | >> | | | adminURL: >> http://11.22.33.44:8774/v2/0b814f7b33ad4d5697a0d1b8cd28251f | >> | | | | >> >> Nova: 12.0.1 >> Cinder: 7.0.1 >> OS: Centos 7 >> >> I would be very grateful for any help. >> >> Thank you! >> >> Best regards, >> Dmitry >> >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> Mailing list: >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> Post to : openstack@lists.openstack.org >> Unsubscribe : >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack