'control_location' required for 'encryption-type-create'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
Fix Released
|
Undecided
|
Avishay Traeger |
Bug Description
Location: cinderclient.
Method: do_encryption_
Bug:
Omitting the optional parameter 'control_location' when issuing an 'encryption-
Example:
$ cinder encryption-
ERROR: Invalid input received: Valid control location are: ['front-end', 'back-end'] (HTTP 400) (Request-ID: req-94162e5a-
Proposed Fix:
Checking the corresponding cinder extension shows that the 'control_location' parameter is actually a required parameter when issuing an 'encryption-
Changed in python-cinderclient: | |
assignee: | nobody → Peter Hamilton (peter-hamilton) |
Changed in python-cinderclient: | |
status: | New → In Progress |
Changed in python-cinderclient: | |
assignee: | Peter Hamilton (peter-hamilton) → Avishay Traeger (avishay-il) |
Changed in python-cinderclient: | |
milestone: | none → 1.3.1 |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. openstack. org/59813 /git.openstack. org/cgit/ openstack/ python- cinderclient/ commit/ ?id=6fd8d8e12e7 788e7f5b85bc3b8 ef2f6ee2eb7714
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6fd8d8e12e7788e 7f5b85bc3b8ef2f 6ee2eb7714
Author: Peter Hamilton <email address hidden>
Date: Tue Feb 11 08:36:41 2014 -0500
Require ctrl_location for encryption- type-create
This bug fix addresses bug #1267168, adding a default value to the type-create type-create location on encryption type creation.
optional control_location parameter for the encryption-
command. Prior to this fix, any invocation of encryption-
that omitted the control_location parameter would fail. The failure
arose from the expectations of the cinder volume encryption type
API extension, which expects to always receive a value for the
control_
control_ location indicates which service will conduct the volume type-create invocation. For prior
encryption for the encryption-type under consideration; valid options
are 'front-end' (i.e., nova) and 'back-end' (i.e., cinder). The new
default value is 'front-end' and is used whenever control_location
is omitted from encryption-
discussion and information, see the abandoned patch below:
https:/ /review. openstack. org/#/c/ 58303/
blueprint encrypt- cinder- volumes /blueprints. launchpad. net/nova/ +spec/encrypt- cinder- volumes
https:/
Change-Id: I8db80929adbf5a 3d818b9d3a81150 67ae8e7d9e2
Closes-Bug: #1267168
DocImpact