nova-manage shell ipython failed

Bug #1408992 reported by Tiantian Gao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Tiantian Gao

Bug Description

1. pip install ipython

2. nova-manage shell ipython

Command failed, please check log for more info
2015-01-09 11:58:54.025 29402 CRITICAL nova [-] AttributeError: 'module' object has no attribute 'Shell'
2015-01-09 11:58:54.025 29402 TRACE nova Traceback (most recent call last):
2015-01-09 11:58:54.025 29402 TRACE nova File "/usr/local/bin/nova-manage", line 10, in <module>
2015-01-09 11:58:54.025 29402 TRACE nova sys.exit(main())
2015-01-09 11:58:54.025 29402 TRACE nova File "/opt/stack/nova/nova/cmd/manage.py", line 1336, in main
2015-01-09 11:58:54.025 29402 TRACE nova ret = fn(*fn_args, **fn_kwargs)
2015-01-09 11:58:54.025 29402 TRACE nova File "/opt/stack/nova/nova/cmd/manage.py", line 157, in ipython
2015-01-09 11:58:54.025 29402 TRACE nova self.run('ipython')
2015-01-09 11:58:54.025 29402 TRACE nova File "/opt/stack/nova/nova/cmd/manage.py", line 184, in run
2015-01-09 11:58:54.025 29402 TRACE nova shell = IPython.Shell.IPShell(argv=[])
2015-01-09 11:58:54.025 29402 TRACE nova AttributeError: 'module' object has no attribute 'Shell'
2015-01-09 11:58:54.025 29402 TRACE nova

because these code only work for ipython < 0.11

Tags: nova-manage
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
assignee: nobody → Tiantian Gao (gtt116)
status: New → In Progress
melanie witt (melwitt)
tags: added: nova-manage
Changed in nova:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/146081
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=68f4f6e00cce0f39bf85bd423b890b35a6cea33e
Submitter: Jenkins
Branch: master

commit 68f4f6e00cce0f39bf85bd423b890b35a6cea33e
Author: gtt116 <email address hidden>
Date: Fri Jan 9 12:04:58 2015 +0000

    Fix nova-manage shell ipython

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

    Change-Id: I09d9cc42e97967c2eb8add90c2b896a99a15c535
    Closes-Bug: #1408992

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