client doesn't output proper json

Bug #1092975 reported by Erik Redding
6
This bug affects 1 person
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-26T21:19:39",
    "deleted": true,
 ...... omitted....
    "volume": {
        "size": 3
    }
} <----------------------- NO COMMA
{
    "created": "2012-11-20T00:07:42",
    "deleted": true,
 ...... omitted....
    "updated": "2012-11-20T00:30:55",
    "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 ==
{
    "instanceCount": 14,
    "name": "db-n24"
} <----------------------- NO COMMA
{
    "instanceCount": 14,
    "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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.