Add docker-image-py requirement to documentation

Change-Id: I655e3e2499ec5ce957b9af3c32f483fe1c768665
This commit is contained in:
Jonathan Rosser 2024-04-20 23:29:53 +01:00
parent 01ae541a07
commit afb05ba74a

View File

@ -81,7 +81,15 @@ The collections can then be installed with the following command:
cd /opt/openstack-ansible cd /opt/openstack-ansible
openstack-ansible scripts/get-ansible-collection-requirements.yml openstack-ansible scripts/get-ansible-collection-requirements.yml
The modules in the kubernetes collection require an additional python module
to be present in the ansible-runtime python virtual environment. Specify this
in /etc/openstack_deploy/user-ansible-venv-requirements.txt
.. code-block:: bash
docker-image-py
OpenStack-Ansible configuration for magnum-cluster-api driver OpenStack-Ansible configuration for magnum-cluster-api driver
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -266,6 +274,18 @@ Run the magnum-cluster-api deployment
For an existing deployment For an existing deployment
^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^
Ensure that the python modules required for ansible are present:
.. code-block: bash
./scripts/bootstrap-ansible.sh
Alternatively, without re-running the bootstrap script:
.. code-block bash
/opt/ansible-runtime/bin/pip install docker-image-py
Add the magnum-cluser-api driver to the magnum service Add the magnum-cluser-api driver to the magnum service
.. code-block: bash .. code-block: bash