libvirt: add nova-libvirt-cleanup command
Change Ia1239069ccee39416b20959cbabad962c56693cf added support for running a libvirt daemon on the host, rather than using the nova_libvirt container. It did not cover migration of existing hosts from using a container to using a host daemon. This change adds a kolla-ansible nova-libvirt-cleanup command which may be used to clean up the nova_libvirt container, volumes and related items on hosts, once it has been disabled. The playbook assumes that compute hosts have been emptied of VMs before it runs. A future extension could support migration of existing VMs, but this is currently out of scope. Change-Id: I46854ed7eaf1d5b5e3ccd8531c963427848bdc99
Showing
- ansible/nova-libvirt-cleanup.yml 14 additions, 0 deletionsansible/nova-libvirt-cleanup.yml
- ansible/roles/nova-cell/defaults/main.yml 11 additions, 0 deletionsansible/roles/nova-cell/defaults/main.yml
- ansible/roles/nova-cell/tasks/libvirt-cleanup.yml 80 additions, 0 deletionsansible/roles/nova-cell/tasks/libvirt-cleanup.yml
- doc/source/reference/compute/libvirt-guide.rst 21 additions, 2 deletionsdoc/source/reference/compute/libvirt-guide.rst
- releasenotes/notes/nova-libvirt-cleanup-0d2c3b3156f2f657.yaml 6 additions, 0 deletions...asenotes/notes/nova-libvirt-cleanup-0d2c3b3156f2f657.yaml
- tools/kolla-ansible 6 additions, 0 deletionstools/kolla-ansible
Loading
Please register or sign in to comment