From afb05ba74a953c1ebecc85cff001641d7ff6ce63 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Sat, 20 Apr 2024 23:29:53 +0100 Subject: [PATCH] Add docker-image-py requirement to documentation Change-Id: I655e3e2499ec5ce957b9af3c32f483fe1c768665 --- mcapi_vexxhost/doc/source/README.rst | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/mcapi_vexxhost/doc/source/README.rst b/mcapi_vexxhost/doc/source/README.rst index 6d96257e..0c97311e 100644 --- a/mcapi_vexxhost/doc/source/README.rst +++ b/mcapi_vexxhost/doc/source/README.rst @@ -81,7 +81,15 @@ The collections can then be installed with the following command: cd /opt/openstack-ansible 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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -266,6 +274,18 @@ Run the magnum-cluster-api 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 .. code-block: bash