Skip to content

openstack-ansible-galaxy/openstack-nova_scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nova scheduler

OpenStack Nova scheduler service installation

Tested on Ubuntu Precise (12.04) and Trusty (14.04)

Requirements

A RabbitMQ server. See below.

For RHEL/CentOS, RHOSP or RDO repositories are needed.

Role Variables

Nova scheduler (set by this role)

Name Default value Description Note
nova_scheduler_database_url sqlite:////var/lib/nova/nova.sqlite Database URI
nova_scheduler_my_ip {{ ansible_eth0.ipv4.address }} Management IP for nova-scheduler

RabbitMQ (must exist)

Name Default value Description Note
nova_scheduler_rabbit_userid rabbit_username_default RabbitMQ username for console auth
nova_scheduler_rabbit_password rabbit_pass_default RabbitMQ password for console auth
nova_scheduler_rabbit_virtual_host / RabbitMQ virtual host for console auth
nova_scheduler_rabbit_retry_interval 1 Frequency to retry connecting to RabbitMQ
nova_scheduler_rabbit_host localhost The RabbitMQ broker address where a single node is used
nova_scheduler_rabbit_port 5672 The RabbitMQ broker port where a single node is used
nova_scheduler_rabbit_hosts $rabbit_host:$rabbit_port RabbitMQ HA cluster host:port pairs
nova_scheduler_rabbit_ha_queues False Use HA queues in RabbitMQ (x-ha-policy: all)

Dependencies

None.

Example Playbook

- hosts: scheduler001
  roles:
    - role: openstack-nova_scheduler
      nova_scheduler_rabbit_userid: "openstack-nova"
      nova_scheduler_rabbit_password: "{{ RABBIT_NOVA_PASS }}"

A complete Ansible playbook demo, which uses this role, is available on Github (openstack-ansible-galaxy/vagrant-ansible-openstack) https://github.com/openstack-ansible-galaxy/vagrant-ansible-openstack


Credits

RedHat suport implemented by Abel Boldú [email protected]

License

Apache

Author Information

Davide Guerri - [email protected]

About

OpenStack Nova scheduler service installation - Ansible role

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •