dubzland.openstack.openstack_nova role – Install and configure the OpenStack Nova compute component.

Note

This role is part of the dubzland.openstack collection (version 1.1.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install dubzland.openstack.

To use it in a playbook, specify: dubzland.openstack.openstack_nova.

Entry point main – Install and configure the OpenStack Nova compute component.

Synopsis

  • Creates databases and configures users

  • Creates OpenStack services and associated users

  • Creates OpenStack endpoints within OpenStack Keystone

  • Installs required operating system packages

  • Applies desired configuration using templates

Parameters

Parameter

Comments

openstack_nova_api_db_name

string

Name of the MySQL database created for the api.

Default: "nova_api"

openstack_nova_api_worker_count

integer

Limit the number of OpenStack Nova API workers.

openstack_nova_cell0_db_name

string

Name of the MySQL database created for cell0.

Default: "nova_cell0"

openstack_nova_ceph_integration

boolean

Controls installation and configuration of the Ceph RBD client for Nova.

Choices:

  • false ← (default)

  • true

openstack_nova_ceph_rbd_root_disks

boolean

Toggles storage of instance boot disks in Ceph RBD.

Choices:

  • false ← (default)

  • true

openstack_nova_compute_packages

list / elements=string

List of packages installed on the compute nodes for the Nova component.

Default: ["nova-common", "nova-compute"]

openstack_nova_compute_services

list / elements=string

Services to be restarted during install (and/or configuration changes) on the compute nodes.

Default: ["nova-compute"]

openstack_nova_conductor_worker_count

integer

Limit the number of OpenStack Nova conductor workers to run.

openstack_nova_controller_packages

list / elements=string

List of packages installed on the controller node for the Nova component.

Default: ["nova-api", "nova-conductor", "nova-novncproxy", "nova-scheduler"]

openstack_nova_controller_services

list / elements=string

Services to be restarted during install (and/or configuration changes) on the controller node.

Default: ["nova-api", "nova-scheduler", "nova-conductor", "nova-novncproxy"]

openstack_nova_db_name

string

Name of the MySQL database created.

Default: "nova"

openstack_nova_db_password

string / required

Database password created for the openstack_nova_db_user.

openstack_nova_db_user

string

Database user created for the OpenStack Nova component.

Default: "nova"

openstack_nova_instances_path

path

Local directory where OpenStack Nova managed VM disks are stored.

Default: "/var/lib/nova/instances"

openstack_nova_instances_resume_on_host_boot

boolean

Resume running instances when host reboots.

Choices:

  • false ← (default)

  • true

openstack_nova_metadata_worker_count

integer

Limit the number of OpenStack Nova metadata workers.

openstack_nova_neutron_metadata_secret

string / required

Secret shared between Nova and Neutron for communication.

openstack_nova_neutron_service_password

string / required

Service password assigned to the openstack_nova_neutron_service_user.

openstack_nova_neutron_service_user

string

Service user for the Neutron networking service.

Default: "nova"

openstack_nova_nfs_storage

dictionary

Local NFS mount configuration

hostname

string / required

Hostname/IP address of the host providing NFS storage.

path

path / required

Local directory to contain NFS mounts.

openstack_nova_placement_service_password

string / required

Service password assigned to the openstack_nova_placement_service_user.

openstack_nova_placement_service_user

string

Service user for the Placement service.

Default: "placement"

openstack_nova_scheduler_worker_count

integer

Limit the umber of OpenStack Nova scheduler workers to run.

openstack_nova_service_description

string

Human-readable description for the OpenStack Nova service within Keystone.

Default: "OpenStack Compute"

openstack_nova_service_password

string / required

Service password assigned to the openstack_nova_service_user.

openstack_nova_service_user

string

User created in OpenStack Keystone for the Nova component.

Default: "nova"

openstack_nova_state_path

path

Local directory where OpenStack Nova managed state files are stored.

Default: "/var/lib/nova"

openstack_nova_vnc_base_url

string

Base URL used to construct VNC console links.

Default: "http://<controler hostname>:6080/vnc_auto.html"