11장. Uninstalling a cluster on RHOSP from your own infrastructure
You can remove a cluster that you deployed to Red Hat OpenStack Platform (RHOSP) on user-provisioned infrastructure.
11.1. Downloading playbook dependencies 링크 복사링크가 클립보드에 복사되었습니다!
The Ansible playbooks that simplify the removal process on user-provisioned infrastructure require several Python modules. On the machine where you will run the process, add the modules' repositories and then download them.
These instructions assume that you are using Red Hat Enterprise Linux (RHEL) 8.
Prerequisites
- Python 3 is installed on your machine.
Procedure
On a command line, add the repositories:
Register with Red Hat Subscription Manager:
$ sudo subscription-manager register # If not done alreadyPull the latest subscription data:
$ sudo subscription-manager attach --pool=$YOUR_POOLID # If not done alreadyDisable the current repositories:
$ sudo subscription-manager repos --disable=* # If not done alreadyAdd the required repositories:
$ sudo subscription-manager repos \ --enable=rhel-9-for-x86_64-appstream-rpms \ --enable=rhel-9-for-x86_64-baseos-rpms \ --enable=openstack-17.1-for-rhel-9-x86_64-rpms
Install the modules:
$ sudo yum install python3-openstackclient ansible python3-openstacksdkEnsure that the
pythoncommand points topython3:$ sudo alternatives --set python /usr/bin/python3