
Currently live_migration_flag is only written to nova.conf if Ceph is in use. However, there may be other use cases using live migrations where being able to override this is necessary. This commit introduces a new variable called nova_libvirt_live_migration_flag and writes live_migration_flag to nova.conf irrespective of whether Ceph is in use. We also relocate nova_libvirt_disk_cachemodes and nova_libvirt_hw_disk_discard in defaults/main.yml so that these defaults sit with the other nova_libvirt defaults. NOTE: We change the live_migration_flag defaults here to match nova's defaults. Several Ceph resources suggest to use VIR_MIGRATE_PERSIST_DEST however in my limited testing this did not appear to be necessary. We can update the default or amend it when using Ceph if we find that it is in fact necessary. Closes-Bug: #1484439 Change-Id: I1baa9d590ae90ca45c763c8a5e6546c4825eabfe
OpenStack nova
- tags
-
openstack, nova, cloud, ansible
- category
-
*nix
Role for deployment, setup and installation of nova.
- This role will install the following:
-
- nova-consoleauth
- nova-conductor
- nova-compute
- nova-cert
- nova-api-metadata
- nova-spicehtml5proxy
- nova-api-ec2
- nova-api-os-compute
- nova-api-ec2
Description
Languages
Jinja
58.9%
Python
27.9%
Shell
13.2%