consisgroup-update reports HTTP 400 when no request is sent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
Fix Released
|
Undecided
|
Eric Harney |
Bug Description
$ cinder --debug consisgroup-update asdf
DEBUG:keystonec
DEBUG:keystonec
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-
DEBUG:keystonec
ERROR: At least one of the following args must be supplied: name, description, add-volumes, remove-volumes. (HTTP 400)
This will be quite confusing to anyone debugging things looking for an HTTP call resulting in 400.
Fix is probably related to the fix for 1549020.
Changed in python-cinderclient: | |
assignee: | nobody → Eric Harney (eharney) |
Changed in python-cinderclient: | |
status: | New → In Progress |
Reviewed: https:/ /review. openstack. org/283850 /git.openstack. org/cgit/ openstack/ python- cinderclient/ commit/ ?id=c4c2c56042e 7829aa9ee0c4b7f ad93d039fb4841
Committed: https:/
Submitter: Jenkins
Branch: master
commit c4c2c56042e7829 aa9ee0c4b7fad93 d039fb4841
Author: Eric Harney <email address hidden>
Date: Tue Feb 23 17:55:08 2016 -0500
Don't print HTTP codes for non-HTTP errors
This changes:
$ cinder rename asdf
ERROR: Must supply either name or description. (HTTP 1)
To:
$ cinder rename asdf
ERROR: Must supply either name or description.
Affects rename, snapshot-rename, consisgroup-update, create- from-src.
and consisgroup-
(consisgroup-* previously printed HTTP 400.)
Closes-Bug: #1549020 0789b694cbdd491 00bd6a72d21
Closes-Bug: #1549026
Change-Id: Ia920b3b75b5317