Attach fails Unable to fetch connection information from backend: global name '_' is not defined

Bug #1347184 reported by Michael Denny
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Critical
Jay Bryant

Bug Description

fresh devstack
enable multiple backends
Attach HP3PARFC volume fails with following error

Unable to fetch connection information from backend: global name '_' is not defined

2014-07-22 11:33:15.539 ERROR oslo.messaging.rpc.dispatcher [req-9387c0bf-a146-45ae-ad9c-f4192da8dd37 e75d07e9dbfb43baba1b11374e18a334 d3f9c0befee64036b7
a404b5cbbbd61e] Exception during message handling: Bad or unexpected response from the storage volume backend API: Unable to fetch connection information
 from backend: global name '_' is not defined
2014-07-22 11:33:15.539 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-07-22 11:33:15.539 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, i
n _dispatch_and_reply
2014-07-22 11:33:15.539 TRACE oslo.messaging.rpc.dispatcher incoming.message))
2014-07-22 11:33:15.539 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, i
n _dispatch
2014-07-22 11:33:15.539 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2014-07-22 11:33:15.539 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, i
n _do_dispatch
2014-07-22 11:33:15.539 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)
2014-07-22 11:33:15.539 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/cinder/cinder/volume/manager.py", line 815, in initialize_connection
2014-07-22 11:33:15.539 TRACE oslo.messaging.rpc.dispatcher raise exception.VolumeBackendAPIException(data=err_msg)
2014-07-22 11:33:15.539 TRACE oslo.messaging.rpc.dispatcher VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Un
able to fetch connection information from backend: global name '_' is not defined
2014-07-22 11:33:15.539 TRACE oslo.messaging.rpc.dispatcher
2014-07-22 11:33:15.540 ERROR oslo.messaging._drivers.common [req-9387c0bf-a146-45ae-ad9c-f4192da8dd37 e75d07e9dbfb43baba1b11374e18a334 d3f9c0befee64036b
7a404b5cbbbd61e] Returning exception Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend:
 global name '_' is not defined to caller
2014-07-22 11:33:15.540 ERROR oslo.messaging._drivers.common [req-9387c0bf-a146-45ae-ad9c-f4192da8dd37 e75d07e9dbfb43baba1b11374e18a334 d3f9c0befee64036b
7a404b5cbbbd61e] ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in
 _dispatch_and_reply\n incoming.message))\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatc
h\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line
 123, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, **new_args)\n', ' File "/opt/stack/cinder/cinder/volume/manager.py", line 815, in in
itialize_connection\n raise exception.VolumeBackendAPIException(data=err_msg)\n', "VolumeBackendAPIException: Bad or unexpected response from the stor
age volume backend API: Unable to fetch connection information from backend: global name '_' is not defined\n"]

Changed in cinder:
status: New → Confirmed
Jay Bryant (jsbryant)
Changed in cinder:
assignee: nobody → Jay Bryant (jsbryant)
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

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

Reviewed: https://review.openstack.org/108866
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=ca1e15353e09da2778a37cf1c88f6b760ddf2bbb
Submitter: Jenkins
Branch: master

commit ca1e15353e09da2778a37cf1c88f6b760ddf2bbb
Author: Jay S. Bryant <email address hidden>
Date: Tue Jul 22 18:06:29 2014 -0500

    Add explicit import of _ to hp_3par_fc and iscsi

    Messages using translation were added to the hp_3par_fc and
    hp_3par_iscsi files but an explicit import of gettextutils _ was not
    included.

    This fixes that problem.

    Change-Id: I2555860c6525a00295e823ab8c826b2bec6a3098
    Closes-Bug: 1347184

Changed in cinder:
status: In Progress → Fix Committed
Changed in cinder:
milestone: none → juno-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: juno-2 → 2014.2
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.