nova-compute accepts non-existing path for ephemeral-device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Compute Charm |
Triaged
|
Medium
|
Unassigned |
Bug Description
bionic-stein, 20.02 charms release.
nova-compute accepts non-existing path for ephemeral-device, for example '/dev/disk/
However, ephemeral disks for VMs end up in /var/lib/
But in case of e.g. typo in configuration of ephemeral-device, this results is an issue difficult to spot, because VMs run just fine and the charm does not report any errors.
I would suggest to set an error status on the charm with the message indicating that the config value for ephemeral-device does not match current configuration on the host. Or at least a warning in the charm message in juju status output. So that it is easy to spot and correct early.
Changed in charm-nova-compute: | |
milestone: | 20.05 → 20.08 |
Changed in charm-nova-compute: | |
milestone: | 20.08 → none |
Changed in charm-nova-compute: | |
assignee: | nobody → Pedro Guimarães (pguimaraes) |
Changed in charm-nova-compute: | |
assignee: | Pedro Guimarães (pguimaraes) → nobody |
Changed in charm-nova-compute: | |
status: | In Progress → Triaged |
The charm should set the status with a warning if the ephemeral device is not available