Matt Thompson ce6b8d59dd Add nova_libvirt_live_migration_flag variable
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
2015-08-21 07:46:37 +00:00
2015-05-08 13:22:42 -05:00

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
- name: Installation and setup of Nova
  hosts: nova_all
  user: root
  roles:
    - { role: "os_nova", tags: [ "os-nova" ] }
  vars:
    nova_galera_address: "{{ internal_lb_vip_address }}"
Description
Role os_nova for OpenStack-Ansible
Readme 16 MiB
Languages
Jinja 58.9%
Python 27.9%
Shell 13.2%