Setting libvirt-image-backend to rbd make to fail existing vms
Bug #1826888 reported by
Giuseppe Petralia
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Charms Deployment Guide |
Fix Released
|
Medium
|
Peter Matulis | ||
OpenStack Nova Compute Charm |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
charm-nova-compute revision: 296
openstack version: cloud:xenial-queens
In Boostack a customer asked to move ephemeral disk to ceph.
In order to do that we set libvirt-
juju config nova-compute libvirt-
After the config change was applied any action that involves recreating the vm xml (stop and restart, resize, migrate) are failing for existing vms because we hit the following exception:
https:/
In order to fix that we need to revert back the libvirt-
We believe that at least this should be documented in the config.yaml
description: | updated |
Changed in charm-nova-compute: | |
status: | New → Invalid |
status: | Invalid → Triaged |
importance: | Undecided → Wishlist |
Changed in charm-nova-compute: | |
milestone: | 19.07 → 19.10 |
Changed in charm-nova-compute: | |
milestone: | 19.10 → 20.01 |
Changed in charm-deployment-guide: | |
assignee: | nobody → Peter Matulis (petermatulis) |
status: | Triaged → Fix Committed |
Changed in charm-nova-compute: | |
milestone: | 20.01 → 20.05 |
Changed in charm-nova-compute: | |
milestone: | 20.05 → 20.08 |
Changed in charm-nova-compute: | |
milestone: | 20.08 → none |
To post a comment you must log in.
TRIAGE:
So changing libvirt- image-backend for a nova host after creating instances is not a supported feature of the nova-compute charm, because (I suspect) it's not supported on nova itself. That doesn't mean that a new nova-compute (juju) application couldn't have a different libvirt- image-backend and co-exist with the other nova-compute (juju) application.
However, I agree that a documentation update would be useful to indicate that it shouldn't be done and work-arounds, and also in the config.yaml for the nova-compute charm.
It's possibly a good idea to actually make the config option and install time only config option (i.e. for it to have no effect if changed after the charm is installed). However, that might cause more problems that it solves.