openstack client dumps debug info on console even without specifying --debug option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Fix Released
|
High
|
Sean Dague | ||
python-openstackclient |
Invalid
|
Undecided
|
Unassigned |
Bug Description
For some commands, openstack client dumps details of HTTP requests and responses on the console. It dumps such details on stderr. This debug output breaks automation scripts that expect standard JSON.
For example, the command below - see attachment for the output
openstack --insecure server list --name ivt-jenkins --format json > openstack_
(Sorry, cannot attach stdout and stderr as separate files, this issue tracker accepts only one attachment.)
However, this command does not have such problem and reports only the requested info:
openstack --insecure network list --name ivt-net --format json
[
{
"Subnets": "dd115db3-
"ID": "2763410f-
"Name": "ivt-net"
}
]
Installed software:
openstacksdk (0.9.16)
os-client-config (1.27.0)
python-augeas (0.5.0)
python-cinderclient (2.2.0)
python-dateutil (1.5)
python-dmidecode (3.10.13)
python-glanceclient (2.7.0)
python-
python-
python-novaclient (9.0.0)
python-
Changed in python-novaclient: | |
status: | New → Confirmed |
Changed in python-novaclient: | |
importance: | Undecided → High |
This seems to be cause by python- novaclient= =9.0.0, it disappear if I downgrade that to 8.0.0.
Strangely also volume commands seem to be affected.