Running ansible-galaxy inside a tenks venv was failing on Ubuntu 22.04
with the following error:
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'
Bump minimum Python and Ansible versions and switch from os_ironic
module to openstack.cloud.baremetal_node.
This drops support for Python versions below 3.9. The branch stable/2.0
can be used where Python 3.6 or 3.8 are required.
Also drop centos8s and ubuntu-focal CI jobs which are only used in
unmaintained branches.
Change-Id: Ia740e9d8455fd9424378fa31b3495149db31c8e7
Ironic Enrolment
This role enrols nodes with OpenStack Ironic, creates Ironic ports for each of the nodes' NICs, and sets relevant attributes on created resources.
Requirements
-
OS_* environment variables for the OpenStack cloud in question present in the shell environment. These can be sourced from an OpenStack RC file, for example.
-
The
virshcommand-line tool present at/usr/bin/virsh.
Role Variables
ironic_nodes: A list of dicts of details for nodes that are to be enroled in Ironic.ironic_hypervisor: The hostname of the hypervisor on whichironic_nodesexist.ironic_deploy_kernel_uuid: The Glance UUID of the image to use for the deployment kernel.ironic_deploy_ramdisk_uuid: The Glance UUID of the image to use for the deployment ramdisk.ironic_virtualenv_path: The path to the virtualenv in which to install the OpenStack clients.ironic_python_upper_constraints_url: The URL of the upper constraints file to pass to pip when installing Python packages.