diff --git a/docs/user/openstack/install_upi.md b/docs/user/openstack/install_upi.md index 769bb42e9f..07cad545bd 100644 --- a/docs/user/openstack/install_upi.md +++ b/docs/user/openstack/install_upi.md @@ -150,7 +150,11 @@ sudo subscription-manager repos \ Then install the packages: ```sh -sudo dnf install python3-openstackclient ansible python3-openstacksdk python3-netaddr +sudo dnf install python3-openstackclient ansible + +sudo ansible-galaxy collection install \ + ansible.netcommon \ + openstack.cloud ``` Make sure that `python` points to Python3: @@ -163,7 +167,11 @@ sudo alternatives --set python /usr/bin/python3 This command installs all required dependencies on Fedora: ```sh -sudo dnf install python3-openstackclient ansible python3-openstacksdk python3-netaddr +sudo dnf install python3-openstackclient ansible + +sudo ansible-galaxy collection install \ + ansible.netcommon \ + openstack.cloud ``` [ansible-upi]: ../../../upi/openstack "Ansible Playbooks for Openstack UPI" diff --git a/images/openstack/Dockerfile.ci b/images/openstack/Dockerfile.ci index 9a5869d2fb..6e860f080c 100644 --- a/images/openstack/Dockerfile.ci +++ b/images/openstack/Dockerfile.ci @@ -25,9 +25,11 @@ RUN yum install --setopt=tsflags=nodocs -y git gzip util-linux glibc-locale-sour RUN yum update -y && \ yum install --setopt=tsflags=nodocs -y \ - python3-openstackclient ansible-2.9.14-1.el8ae python3-openstacksdk python3-netaddr unzip jq && \ + python3-openstackclient ansible-2.9.14-1.el8ae unzip jq && \ yum clean all && rm -rf /var/cache/yum/* +RUN ansible-galaxy collection install ansible.netcommon openstack.cloud + # The Continuous Integration machinery relies on Route53 for DNS while testing the cluster. RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ unzip awscliv2.zip && \