cinder cannot find nova endpoint

Bug #1408734 reported by git-harry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
git-harry

Bug Description

Commit 5ad15c040fdc115bca9efb1c952279988a2a48b3 in cinder has changed the default service name to look for in the catalogue. This means that cinder cannot find the nova endpoint. The following traceback was created in the c-vol log when retyping an attached volume that necessitated a migration.

2015-01-08 11:46:51.938 9847 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling:
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 137, in _dispatch_and_reply
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher incoming.message))
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 180, in _dispatch
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 126, in _do_dispatch
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher return f(*args, **kwargs)
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher return f(*args, **kwargs)
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher return f(*args, **kwargs)
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/volume/manager.py", line 1503, in retype
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher new_reservations, status_update)
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/utils/excutils.py", line 82, in __exit__
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/volume/manager.py", line 1499, in retype
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher new_type_id=new_type_id)
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher return f(*args, **kwargs)
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher return f(*args, **kwargs)
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher return f(*args, **kwargs)
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/volume/manager.py", line 1228, in migrate_volume
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher self.db.volume_update(ctxt, volume_ref['id'], updates)
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/utils/excutils.py", line 82, in __exit__
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/volume/manager.py", line 1219, in migrate_volume
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher new_type_id)
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/volume/manager.py", line 1084, in _migrate_volume_generic
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher new_volume['migration_status'] = None
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/utils/excutils.py", line 82, in __exit__
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/volume/manager.py", line 1073, in _migrate_volume_generic
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher volume['id'], new_volume['id'])
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/compute/nova.py", line 167, in update_server_volume
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher novaclient(context).volumes.update_server_volume(server_id,
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/compute/nova.py", line 129, in novaclient
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher endpoint_type=endpoint_type)
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/novaclient/service_catalog.py", line 84, in url_for
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher raise novaclient.exceptions.EndpointNotFound()
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher EndpointNotFound
2015-01-08 11:46:51.938 9847 TRACE oslo.messaging.rpc.dispatcher

git-harry (git-harry)
Changed in devstack:
assignee: nobody → git-harry (git-harry)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/145858

Changed in devstack:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/145858
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=afc1423e70074762e5c8d74b7295b9e55f91a44c
Submitter: Jenkins
Branch: master

commit afc1423e70074762e5c8d74b7295b9e55f91a44c
Author: git-harry <email address hidden>
Date: Thu Jan 8 17:37:40 2015 +0000

    Change default nova service name in cinder.conf

    In cinder the config options nova_catalog_info and
    nova_catalog_admin_info define values to be matched when searching for
    the correct compute service in the catalog.

    The commit 5ad15c040fdc115bca9efb1c952279988a2a48b3 in the cinder
    project has changed these defaults.

    This commit sets the options in cinder.conf to the values set by
    devstack.

    Change-Id: I2a0b09c34fac5f63a5cdbbe05761a0857f243465
    Closes-Bug: #1408734

Changed in devstack:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.