OpenStack: Can't set root-disk-source to use local storage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Evanson Mwangi |
Bug Description
Hi,
https:/
"""
Note: root-disk-source is either “local” or “volume”
"""
But when trying to set to local storage, I get an error about it being unsupported:
| prod-is-
| ERROR invalid constraint value: root-disk-
| valid values are: [volume]
| prod-is-
| ERROR invalid constraint value: root-disk-
| valid values are: [volume]
Model is running Juju 2.9.32. Client I've tried is 2.9.34-ubuntu-amd64 from the snap.
description: | updated |
Changed in juju: | |
milestone: | none → 2.9.35 |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Evanson Mwangi (mr-parish) |
Changed in juju: | |
status: | Triaged → In Progress |
Changed in juju: | |
milestone: | 2.9.35 → 2.9.36 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
This might be the culprit (https:/ /github. com/juju/ juju/blob/ develop/ provider/ openstack/ provider. go#L596):
validator. RegisterVocabul ary(constraints .RootDiskSource , []string{ rootDiskSourceV olume})
I'd guess it should be something like:
validator. RegisterVocabul ary(constraints .RootDiskSource , []string{ rootDiskSourceL ocal, rootDiskSourceV olume})