Files
tenks/ansible/roles/ironic-enrolment
Pierre Riteau 6f304c81e2 Update pip and setuptools before installing requirements
We are seeing the kayobe-overcloud-ubuntu-focal CI job fail while
deploying Tenks with:

    ModuleNotFoundError: No module named 'pkg_resources.extern.six'

Updating pip and setuptools to the latest allowed in upper constraints
appears to fix it.

Change-Id: Ida85adca948664d7d4427edd6c3ab15fd75fb3fe
2021-05-17 18:13:20 +02:00
..
2018-08-31 16:57:34 +00:00

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 virsh command-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 which ironic_nodes exist.
  • 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.