REST inspect_stats and inspect_vnics cann't work when userid is a list type
Bug #1747362 reported by
dyyang@cn.ibm.com
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zVM Cloud Connector |
Fix Committed
|
Medium
|
cao biao |
Bug Description
>>> con.send_
127.0.0.1 - - [05/Feb/2018 02:14:47] "POST /token HTTP/1.1" 200 0
127.0.0.1 - - [05/Feb/2018 02:14:47] "GET /guests/
{u'rs': 400, u'overallRC': 400, u'modID': 120, u'rc': 400, u'output': u'', u'errmsg': u'ValidationError: Validation error: Invalid input for query parameters 0. Value: [\'SYDYFVT1\', \'SYDYFVT2\']. u"[\'SYDYFVT1\', \'SYDYFVT2\']" does not match \'^(\\\
>>>
when userid is passed as a list, the rest server would fail with the parameter schema check.
Changed in python-zvm-sdk: | |
assignee: | nobody → cao biao (flytiger) |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in python-zvm-sdk: | |
milestone: | none → future |
To post a comment you must log in.
fix merged:https:/ /review. gerrithub. io/c/mfcloud/ python- zvm-sdk/ +/398396