Chapter 6. Installing Red Hat OpenShift 3.11 on IBM PowerVC 137
6.3.5  Uninstalling the OpenShift Container Platform
Complete the following steps to uninstall the OpenShift Container Platform:
1. Unregister OpenShift VMs from the RHSM:
2. Destroy the PowerVC infras tructure using Terraform:
ansible -i <inventory_file> nodes,lb -a 'subscription-manager remove --all'
ansible -i <inventory_file> nodes,lb -a 'subscription-manager unregister'
ansible -i <inventory_file> nodes,lb -a 'subscription-manager clean'
wrknode01.domain.example.com | SUCCESS | rc=0 >>
Unregistering from: subscription.rhsm.redhat.com:443/subscription
System has been unregistered.
...
Output truncated
...
lbsnode01.domain.example.com | SUCCESS | rc=0 >>
Unregistering from: subscription.rhsm.redhat.com:443/subscription
System has been unregistered.
terrafrom destroy
data.openstack_images_image_v2.vm1-image-name: Refreshing state...
...
Output truncated
...
Plan: 0 to add, 0 to change, 33 to destroy.
Do you really want to destroy all resources?
  Terraform will destroy all your managed infrastructure, as shown above.
  There is no undo. Only 'yes' will be accepted to confirm.
  Enter a value: yes
null_resource.vm4_post_install_config[0]: Destroying... [id=1118127418209700949]
null_resource.vm4_post_install_config[0]: Destruction complete after 0s
openstack_compute_volume_attach_v2.vm1_va_dockerdisk1[2]: Destroying... 
[id=5d929233-f9fc-4224-8960-5f1f050e4174/2563294f-d9ce-44a6-ac04-afc73a07593e]
openstack_compute_volume_attach_v2.vm1_va_dockerdisk1[0]: Destroying... 
[id=f7c4966f-7036-4494-bd35-8e66b84ed18e/3f5bc9d4-c91e-42db-b529-f7b03a1e963c]
openstack_compute_volume_attach_v2.vm3_va_dockerdisk1[0]: Destroying... 
[id=c47782d9-2d1b-4430-8d58-a755d652b07d/23c91f6b-790c-4af1-bda8-ee471ff75f1b]
openstack_compute_volume_attach_v2.vm3_va_dockerdisk1[1]: Destroying... 
[id=8cf475c5-9315-4032-9400-e46a1c6a3b7d/4b3c6d75-985b-4ba2-8363-8dd16e76e131]
openstack_compute_volume_attach_v2.vm1_va_dockerdisk1[1]: Destroying... 
[id=d6305c81-efd1-4257-bea1-2eb9a5ad8145/0569bceb-753f-48ee-82d0-9e00a3245b96]
openstack_compute_volume_attach_v2.vm3_va_dockerdisk1[2]: Destroying... 
[id=4d28442a-fa3d-4389-80d8-2a2fe3199b19/a80c34a6-42fa-4d3d-866b-0a6a4548ea56]
...
Output truncated
...
openstack_networking_subnet_v2.net1-subnet: Destruction complete after 1m58s
openstack_networking_network_v2.net1: Destroying... 
[id=42b5da3c-98ff-4f07-ba52-8fcd61e161ab]
openstack_networking_network_v2.net1: Destruction complete after 6s
Destroy complete! Resources: 33 destroyed.