Description of problem: # openstack-config --get /etc/cinder/cinder.conf DEFAULT nova_catalog_admin_info compute:Compute Service:adminURL # openstack-config --get /etc/cinder/cinder.conf DEFAULT nova_catalog_info compute:Compute Service:publicURL # grep -rin nova_catalog /usr/share/openstack-puppet/modules/cinder/ /usr/share/openstack-puppet/modules/cinder/manifests/api.pp:70:# [*nova_catalog_info*] /usr/share/openstack-puppet/modules/cinder/manifests/api.pp:75:# [*nova_catalog_admin_info*] /usr/share/openstack-puppet/modules/cinder/manifests/api.pp:76:# (optional) Same as nova_catalog_info, but for admin endpoint. /usr/share/openstack-puppet/modules/cinder/manifests/api.pp:169: $nova_catalog_info = 'compute:Compute Service:publicURL', /usr/share/openstack-puppet/modules/cinder/manifests/api.pp:170: $nova_catalog_admin_info = 'compute:Compute Service:adminURL', /usr/share/openstack-puppet/modules/cinder/manifests/api.pp:248: 'DEFAULT/nova_catalog_info': value => $nova_catalog_info; /usr/share/openstack-puppet/modules/cinder/manifests/api.pp:249: 'DEFAULT/nova_catalog_admin_info': value => $nova_catalog_admin_info; Version-Release number of selected component (if applicable): openstack-puppet-modules-7.0.6-2.el7ost.noarch openstack-packstack-puppet-7.0.0-0.11.dev1692.g1b5e83b.el7ost.noarch How reproducible: Always Steps to Reproduce: 1. Install an environment using packstack. Actual results: nova_catalog_admin_info and nova_catalog_info incorrectly configured. All novaclient calls from Cinder to Nova will fail as a result with EndpointNotFound, for example : 2016-02-10 10:13:43.010 23111 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 1650, in _migrate_volume_generic 2016-02-10 10:13:43.010 23111 ERROR oslo_messaging.rpc.dispatcher new_volume['id']) 2016-02-10 10:13:43.010 23111 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/compute/nova.py", line 173, in update_server_volume 2016-02-10 10:13:43.010 23111 ERROR oslo_messaging.rpc.dispatcher novaclient(context).volumes.update_server_volume(server_id, 2016-02-10 10:13:43.010 23111 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/cinder/compute/nova.py", line 137, in novaclient 2016-02-10 10:13:43.010 23111 ERROR oslo_messaging.rpc.dispatcher **region_filter) 2016-02-10 10:13:43.010 23111 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/novaclient/service_catalog.py", line 84, in url_for 2016-02-10 10:13:43.010 23111 ERROR oslo_messaging.rpc.dispatcher raise novaclient.exceptions.EndpointNotFound() 2016-02-10 10:13:43.010 23111 ERROR oslo_messaging.rpc.dispatcher EndpointNotFound 2016-02-10 10:13:43.010 23111 ERROR oslo_messaging.rpc.dispatcher Expected results: nova_catalog_admin_info and nova_catalog_info correctly configured allowing calls between Cinder and Nova to succeed. Additional info:
Apologies, the following workaround should be listed under additional info : # openstack catalog list +------------+--------------+-------------------------------------------------------------------------------------+ | Name | Type | Endpoints | +------------+--------------+-------------------------------------------------------------------------------------+ | nova | compute | RegionOne | | | | publicURL: http://192.168.122.204:8774/v2/eb29e1b11a604a0b82e1ad3ac38262b6 | | | | internalURL: http://192.168.122.204:8774/v2/eb29e1b11a604a0b82e1ad3ac38262b6 | | | | adminURL: http://192.168.122.204:8774/v2/eb29e1b11a604a0b82e1ad3ac38262b6 | | | | | [..] # openstack-config --set /etc/cinder/cinder.conf DEFAULT nova_catalog_admin_info 'compute:nova:adminURL' # openstack-config --set /etc/cinder/cinder.conf DEFAULT nova_catalog_info 'compute:nova:publicURL' # openstack-service restart cinder
Bug description is missing what's the actual impact! IIUC from Martin this affects live migration which is OSP7 Packstack feature so this would be a regression hence blocker by definition.
(In reply to Alan Pevec from comment #3) > Bug description is missing what's the actual impact! > IIUC from Martin this affects live migration which is OSP7 Packstack feature > so this would be a regression hence blocker by definition. Apologies if it wasn't clear but the impact is well documented in the Actual results section, _any_ novaclient call from Cinder results in an EndpointNotFound exception being thrown. The example documented in c#0 shows Cinder attempting to update Nova after a volume retype/migration has completed.
verified on openstack-packstack-puppet-2015.1-0.16.dev1589.g1d6372f.el7ost.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0636.html
*** Bug 1558897 has been marked as a duplicate of this bug. ***
Packstack isn't supported any longer as a deployment tool. Nothing to automate/test per close loop.