main error logger uses "cliff.app" as name instead of the command line app's name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cliff |
Fix Released
|
Medium
|
Doug Hellmann | ||
python-openstackclient |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Unhandled errors reported by the main program come out from "cliff.app" instead of, for example, "openstack".
This is an error from devstack:
=======
2014-07-14 05:53:39.430 | + create_
2014-07-14 05:53:39.431 | ++ get_or_
2014-07-14 05:53:39.433 | +++ openstack project show admin -f value -c id
2014-07-14 05:53:40.147 | +++ openstack project create admin -f value -c id
2014-07-14 05:53:40.771 | ERROR: cliff.app Service Unavailable (HTTP 503)
....
2014-07-14 05:53:41.519 | +++ openstack user create admin --password
admin --project --email <email address hidden> -f value -c id
2014-07-14 05:53:42.080 | usage: openstack user create [-h] [-f
{shell,
2014-07-14 05:53:42.080 | [--max-width <integer>]
[--prefix PREFIX]
2014-07-14 05:53:42.080 | [--password
<user-password>] [--password-prompt]
2014-07-14 05:53:42.080 | [--email <user-email>]
[--project <project>]
2014-07-14 05:53:42.080 | [--enable | --disable]
2014-07-14 05:53:42.080 | <user-name>
2014-07-14 05:53:42.081 | openstack user create: error: argument
--project: expected one argument
2014-07-14 05:53:42.109 | ++ USER_ID=
2014-07-14 05:53:42.109 | ++ echo
2014-07-14 05:53:42.109 | + ADMIN_USER=
2014-07-14 05:53:42.110 | ++ get_or_create_role admin
2014-07-14 05:53:42.111 | +++ openstack role show admin -f value -c id
2014-07-14 05:53:42.682 | +++ openstack role create admin -f value -c id
2014-07-14 05:53:43.235 | ERROR: cliff.app Service Unavailable (HTTP 503)
=======
Changed in python-cliff: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Doug Hellmann (doug-hellmann) |
Changed in python-cliff: | |
milestone: | none → juno-rc1 |
Changed in python-openstackclient: | |
milestone: | none → m5 |
milestone: | m5 → none |
status: | New → Invalid |
Changed in python-cliff: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/109578
Review: https:/