when client is terminated by an keyboardInterrupt, return code should be 130
Bug #1373231 reported by
Rakesh H S
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
Medium
|
Rakesh H S | ||
python-novaclient |
Fix Released
|
Low
|
Rakesh H S |
Bug Description
-------
root@devstack:
^C... terminating glance client
root@devstack:
1
-------
As shown above, the return code as of now is 1.
Since the client was terminated by an KeyboardInterrupt the return code should be 130. It is useful when people are writing automation test cases and want to validate based on the return code.
As of now, some of the clients such as:
cinderclient
heatclient
ironicclient
already report correclty as 130.
proposing the same for glanceclient and novaclient.
Changed in python-novaclient: | |
assignee: | nobody → Rakesh H S (rh-s) |
Changed in python-glanceclient: | |
assignee: | nobody → Rakesh H S (rh-s) |
Changed in python-glanceclient: | |
milestone: | none → v0.16.0 |
importance: | Undecided → Medium |
Changed in python-novaclient: | |
milestone: | none → 2.21.0 |
Changed in python-novaclient: | |
status: | Fix Committed → Fix Released |
Changed in python-glanceclient: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Code 130 is a special code to mean "Script terminated by Control-C" so I think this makes sense.
[1] http:// tldp.org/ LDP/abs/ html/exitcodes. html