dubzland.openstack.openstack_trove role – Install and configure the OpenStack Trove DBaaS 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_trove.

Entry point main – Install and configure the OpenStack Trove DBaaS 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_trove_db_name

string

Name of the MySQL database created.

Default: "trove"

openstack_trove_db_password

string / required

Database password created for the openstack_trove_db_user.

openstack_trove_db_user

string

Database user created for the OpenStack Trove component.

Default: "trove"

openstack_trove_packages

list / elements=string

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

Default: ["bind9utils", "bind9-doc", "trove", "python3-trove-dashboard", "trove-mdns", "trove-producer", "trove-worker"]

openstack_trove_provider_network_allocation_pool

dictionary / required

IP address pool to use for Trove instances.

end

string / required

Last IP address available in the DBaaS pool.

start

string / required

First IP address available in the DBaaS pool.

openstack_trove_provider_network_cidr

string / required

Network CIDR for the DBaaS provider network.

openstack_trove_provider_network_ip

string / required

IP address of the controller node on the DBaaS network.

openstack_trove_provider_network_name

string / required

Name of the created Neutron provider network for DBaaS traffic.

openstack_trove_provider_network_segmentation_id

integer

VLAN tag to associate with this Neutron network. Required if openstack_trove_provider_network_type is vlan.

openstack_trove_provider_network_type

string / required

Type of the underlying OVN provider network being configured.

Choices:

  • "vlan"

  • "flat"

openstack_trove_provider_physical_network

string / required

Underlying OVN network to use for DBaaS traffic. This network must be created separately in Neutron, and any necessary bridges must already exist. This is done automatically by the dubzland.openstack.openstack_neutron role.

openstack_trove_provider_subnet_name

string

Name of the created Neutron provider subnet for DBaaS traffic.

Default: "{{ openstack_trove_provider_network_name }}-subnet"

openstack_trove_service_description

string

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

Default: "OpenStack DNS"

openstack_trove_service_password

string / required

Service password assigned to the openstack_trove_service_user.

openstack_trove_service_user

string

User created in OpenStack Keystone for the Trove component.

Default: "trove"

openstack_trove_services

list / elements=string

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

Default: ["trove-central", "trove-api", "trove-worker", "trove-producer", "trove-mdns", "apache2"]