Traceback in invalid volume create.

Bug #1046875 reported by Chuck Short
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Chuck Short
OpenStack Compute (nova)
Fix Released
Medium
Mark McLoughlin

Bug Description

2012-09-06 09:47:50 TRACE cinder.openstack.common.rpc.amqp Traceback (most recent call last):
2012-09-06 09:47:50 TRACE cinder.openstack.common.rpc.amqp File "/opt/stack/cinder/cinder/openstack/common/rpc/amqp.py", line 275, in _process_data
2012-09-06 09:47:50 TRACE cinder.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, **args)
2012-09-06 09:47:50 TRACE cinder.openstack.common.rpc.amqp File "/opt/stack/cinder/cinder/openstack/common/rpc/dispatcher.py", line 145, in dispatch
2012-09-06 09:47:50 TRACE cinder.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs)
2012-09-06 09:47:50 TRACE cinder.openstack.common.rpc.amqp File "/opt/stack/cinder/cinder/volume/manager.py", line 153, in create_volume
2012-09-06 09:47:50 TRACE cinder.openstack.common.rpc.amqp volume_ref['id'], {'status': 'error'})
2012-09-06 09:47:50 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-09-06 09:47:50 TRACE cinder.openstack.common.rpc.amqp self.gen.next()
2012-09-06 09:47:50 TRACE cinder.openstack.common.rpc.amqp File "/opt/stack/cinder/cinder/volume/manager.py", line 147, in create_volume
2012-09-06 09:47:50 TRACE cinder.openstack.common.rpc.amqp model_update = self.driver.create_export(context, volume_ref)
2012-09-06 09:47:50 TRACE cinder.openstack.common.rpc.amqp File "/opt/stack/cinder/cinder/volume/driver.py", line 365, in create_export
2012-09-06 09:47:50 TRACE cinder.openstack.common.rpc.amqp volume_path)
2012-09-06 09:47:50 TRACE cinder.openstack.common.rpc.amqp File "/opt/stack/cinder/cinder/volume/iscsi.py", line 136, in create_iscsi_target
2012-09-06 09:47:50 TRACE cinder.openstack.common.rpc.amqp "id:%(volume_id)s.") % locals())
2012-09-06 09:47:50 TRACE cinder.openstack.common.rpc.amqp KeyError: u'volume_id'
2012-09-06 09:47:50 TRACE cinder.openstack.common.rpc.amqp

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/12503

Changed in cinder:
assignee: nobody → Chuck Short (zulcss)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/12503
Committed: http://github.com/openstack/cinder/commit/d6a5d0f9faa43a82104a0ed936382195b89d4107
Submitter: Jenkins
Branch: master

commit d6a5d0f9faa43a82104a0ed936382195b89d4107
Author: Chuck Short <email address hidden>
Date: Thu Sep 6 09:50:37 2012 -0500

    Fix Typo in LOG.error

    Fix typo in LOG.error, it should be
    vol_id rather than volume_id.
    Fixes bug #1046875

    Change-Id: Id162c6f185a110b63e8f9f509f5cde75f3626cbf
    Signed-off-by: Chuck Short <email address hidden>

Changed in cinder:
status: In Progress → Fix Committed
Revision history for this message
Mark McLoughlin (markmc) wrote :
Changed in nova:
importance: Undecided → Medium
status: New → In Progress
milestone: none → folsom-rc1
assignee: nobody → Mark McLoughlin (markmc)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/12577
Committed: http://github.com/openstack/nova/commit/39b757fec2cd3f90831846e95a887ccc341f3535
Submitter: Jenkins
Branch: master

commit 39b757fec2cd3f90831846e95a887ccc341f3535
Author: Chuck Short <email address hidden>
Date: Thu Sep 6 09:50:37 2012 -0500

    Fix typo in tgtadm LOG.error() call

    Fixes bug #1046875

    Fix typo in LOG.error, it should be vol_id rather than volume_id.

    (cherry picked from cinder commit d6a5d0f)

    Change-Id: Id162c6f185a110b63e8f9f509f5cde75f3626cbf
    Signed-off-by: Chuck Short <email address hidden>

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → folsom-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: folsom-rc1 → 2012.2
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-rc1 → 2012.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.