nova: don't pass an empty string in "device" #26

Merged
merged 1 commit into from Oct 26, 2016

Conversation

Projects
None yet
3 participants
Member

axw commented Oct 26, 2016

When attaching a volume to a server, don't pass an
empty string in the "device" field of the volume
attachment. Instead, the field should be omitted.
Some versions of OpenStack will fail the request
if an empty string is passed.

Part of the fix for https://bugs.launchpad.net/juju/+bug/1636648

nova: don't pass an empty string in "device"
When attaching a volume to a server, don't pass an
empty string in the "device" field of the volume
attachment. Instead, the field should be omitted.
Some versions of OpenStack will fail the request
if an empty string is passed.
Member

axw commented Oct 26, 2016

$$merge$$

Member

jujubot commented Oct 26, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-goose

@jujubot jujubot merged commit c2567cc into go-goose:v1 Oct 26, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment