client doesn't output proper json
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-troveclient |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
When using the reddwarf CLI tools, we have issues with some output not being valid json where it would be very useful - specifically with the reddwarf-mgmt-cli:
1) reddwarf-mgmt-cli instance list | python -m json.tool
Extra data: line 41 column 1 - line 702757 column 1 (char 1174 - 20586647)
== example output ==
{
"created": "2012-07-
"deleted": true,
...... omitted....
"volume": {
"size": 3
}
} <------
{
"created": "2012-11-
"deleted": true,
...... omitted....
"updated": "2012-11-
"volume": {
"size": 5
}
}
2) reddwarf-mgmt-cli host list | python -m json.tool
Extra data: line 5 column 1 - line 97 column 1 (char 50 - 1220)
== example output ==
{
"instanceCo
"name": "db-n24"
} <------
{
"instanceCo
"name": "db-n05"
}
So far, that's the only two that I found. Some commands don't output json at all - i.e. instance delete --id <>
Changed in python-troveclient: | |
status: | New → Won't Fix |