Role was never migrated to usage of haproxy-endpoints role and included task was used instead the whole time. With that to reduce complexity and to have unified approach, all mention of the role and handler are removed from the code. Change-Id: Ie8f7af4f4028e3447319039fee8b0f82005c7add
2.7 KiB
Zun role for OpenStack-Ansible
configure-zun.rst app-powervm.rst
- tags
-
openstack, zun, cloud, ansible
- category
-
*nix
- This role will install the following Systemd services:
-
- zun-server
- zun-compute
To clone or view the source code for this repository, visit the role repository for os_zun.
Default variables
../../defaults/main.yml
Dependencies
This role needs pip >= 7.1 installed on the target host.
Example playbook
../../examples/playbook.yml
Tags
This role supports two tags: zun-install
and
zun-config
The zun-install
tag can be used to install and
upgrade.
The zun-config
tag can be used to manage
configuration.
CPU platform compatibility
This role supports multiple CPU architecture types. At least one repo_build node must exist for each CPU type that is in use in the deployment.
- Currently supported CPU architectures:
-
- x86_64 / amd64
- ppc64le
At this time, ppc64le is only supported for the Compute node type. It can not be used to manage the OpenStack-Ansible management nodes.
Compute driver compatibility
This role supports multiple zun compute driver types. The following compute drivers are supported:
- libvirt (default)
- ironic
- lxd (via zun-lxd)
- powervm (via zun-powervm)
The driver type is automatically detected by the OpenStack Ansible Nova role for the following compute driver types:
- libvirt (kvm / qemu)
- powervm
Any mix and match of compute node types can be used for those platforms, except for ironic.
If using the lxd driver, the compute type must be specified using the
zun_virt_type
variable.
The zun_virt_type
may be set in
/etc/openstack_deploy/user_variables.yml
, for example:
zun_virt_type: lxd
You can set zun_virt_type
per host by using
host_vars
in
/etc/openstack_deploy/openstack_user_config.yml
. For
example:
compute_hosts: aio1: ip: 172.29.236.100 host_vars: zun_virt_type: lxd
If zun_virt_type
is set in
/etc/openstack_deploy/user_variables.yml
, all nodes in the
deployment are set to that hypervisor type. Setting
zun_virt_type
in both
/etc/openstack_deploy/user_variables.yml
and
/etc/openstack_deploy/openstack_user_config.yml
will always
result in the value specified in
/etc/openstack_deploy/user_variables.yml
being set on all
hosts.