cinder-manage shell ipython not work

Bug #1413485 reported by Tiantian Gao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Tiantian Gao

Bug Description

The commit I test is:

commit eb107145173fb71314de9b10cf3ca50c74442519
Date: Wed Jan 21 16:06:49 2015 -0800

$ cinder-manage shell ipython
/usr/local/lib/python2.7/dist-packages/oslo/messaging/notify/notifier.py:25: DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_config instead.
  from oslo.config import cfg
/usr/local/lib/python2.7/dist-packages/oslo/messaging/notify/notifier.py:27: DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_utils instead.
  from oslo.utils import timeutils
/opt/stack/cinder/cinder/openstack/common/log.py:42: DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_serialization instead.
  from oslo.serialization import jsonutils
2015-01-22 05:48:00.296 8596 CRITICAL cinder [-] AttributeError: 'module' object has no attribute 'Shell'
2015-01-22 05:48:00.296 8596 TRACE cinder Traceback (most recent call last):
2015-01-22 05:48:00.296 8596 TRACE cinder File "/usr/local/bin/cinder-manage", line 10, in <module>
2015-01-22 05:48:00.296 8596 TRACE cinder sys.exit(main())
2015-01-22 05:48:00.296 8596 TRACE cinder File "/opt/stack/cinder/cinder/cmd/manage.py", line 544, in main
2015-01-22 05:48:00.296 8596 TRACE cinder fn(*fn_args)
2015-01-22 05:48:00.296 8596 TRACE cinder File "/opt/stack/cinder/cinder/cmd/manage.py", line 125, in ipython
2015-01-22 05:48:00.296 8596 TRACE cinder self.run('ipython')
2015-01-22 05:48:00.296 8596 TRACE cinder File "/opt/stack/cinder/cinder/cmd/manage.py", line 153, in run
2015-01-22 05:48:00.296 8596 TRACE cinder shell = IPython.Shell.IPShell(argv=[])
2015-01-22 05:48:00.296 8596 TRACE cinder AttributeError: 'module' object has no attribute 'Shell'
2015-01-22 05:48:00.296 8596 TRACE cinder

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

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

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

commit f5e35bfbced1f4109b2d03b96f035b4a3fe7ccc9
Author: gtt116 <email address hidden>
Date: Thu Jan 22 05:59:48 2015 +0000

    Fix cinder-manage shell ipython

    IPython current stable version is 2.3.1, and the code
    in cinder-manage is only work for IPython < 0.11. The
    patch make it work for IPython 2.3.1.

    Change-Id: I1555744fbf80771455ebd9f9095e8f9ddc7d16e7
    Closes-Bug: #1413485

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