Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 918774

Summary: nova client does not catch gracefully a keyboard interrupt (ctrl-c)
Product: Red Hat OpenStack Reporter: Eric Harney <eharney>
Component: python-novaclientAssignee: Jakub Ruzicka <jruzicka>
Status: CLOSED WONTFIX QA Contact: Ami Jeain <ajeain>
Severity: low Docs Contact:
Priority: low    
Version: 2.0 (Folsom)CC: abaron, eharney, ndipanov, yeylon
Target Milestone: ---   
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 893041 Environment:
Last Closed: 2013-11-14 17:20:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eric Harney 2013-03-06 20:28:43 UTC
+++ This bug was initially created as a clone of Bug #893041 +++

Description of problem:
Ctrl-C of nova client causes a big traceback to be printed, should be cleanly messaged instead:

$ nova list
^CTraceback (most recent call last):
  File "/usr/bin/nova", line 9, in <module>
    load_entry_point('python-novaclient==2.10.0', 'console_scripts', 'nova')()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 299, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2229, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 37, in <module>
    from novaclient.v1_1 import shell as shell_v1_1
  File "/usr/lib/python2.6/site-packages/novaclient/v1_1/__init__.py", line 17, in <module>
    from novaclient.v1_1.client import Client
  File "/usr/lib/python2.6/site-packages/novaclient/v1_1/client.py", line 22, in <module>
    from novaclient.v1_1 import usage
  File "/usr/lib/python2.6/site-packages/novaclient/v1_1/usage.py", line 3, in <module>
    """
KeyboardInterrupt

Comment 3 Jakub Ruzicka 2013-11-05 16:40:39 UTC
This is an usptream bug. Please report this upstream and set CLOSED/UPSTREAM.

Comment 4 Jakub Ruzicka 2013-11-14 17:20:23 UTC
I prefer to not carry this over to next release so I'm closing WONTFIX as it hasn't been reported upstream yet.