Comment 5 for bug 1928457

Revision history for this message
Harald Jensås (harald-jensas) wrote :

I tested as well:

(undercloud) [centos@undercloud ~]$ openstack port list | grep virtual_ip [452/452]
| 149edc8a-f82a-461c-b309-d3b476155465 | storage_mgmt_virtual_ip | fa:16:3e:d2:ed:5c | ip_address='172.19.0.160', subnet_id='cd8d64a7-5813-4d7b-8ecc-96f3a40a2333' | DOWN |
| 36a2372a-83df-4d68-8a2b-d926d6ac84d7 | control_virtual_ip | fa:16:3e:c9:10:9e | ip_address='192.168.25.25', subnet_id='18923790-a949-4821-9646-1029fc4de5c7' | DOWN |
| 78229625-3928-44bc-816b-e1d460017846 | internal_api_virtual_ip | fa:16:3e:03:12:c9 | ip_address='172.17.0.17', subnet_id='2d5d44bc-c81b-460b-9ce6-815987e8625d' | DOWN |
| 8c50e45c-5d7e-41ee-92e3-ee582d00e770 | storage_virtual_ip | fa:16:3e:62:c1:b7 | ip_address='172.18.0.210', subnet_id='a4664da3-0236-4e99-a5bc-7616757d84f3' | DOWN |
| a2f4e867-4ca8-47bd-87b2-ca67a90e27e2 | ovn_dbs_virtual_ip | fa:16:3e:c8:7c:f2 | ip_address='172.17.0.178', subnet_id='2d5d44bc-c81b-460b-9ce6-815987e8625d' | DOWN |
| a4b4c702-0870-4951-8c8a-0eefd0b9f046 | external_virtual_ip | fa:16:3e:f1:64:26 | ip_address='10.0.0.198', subnet_id='4d3a6581-ab25-49f4-8ca1-4f6196bf2b5e' | DOWN |

(undercloud) [centos@undercloud ~]$ openstack overcloud delete my_overcloud --yes

PLAY [delete ipa entries for overcloud nodes] **********************************
2021-05-14 17:18:50.922480 | fa163e92-41f8-d86d-1020-000000000009 | TASK | Check if undercloud is an ipa client
2021-05-14 17:18:51.705144 | fa163e92-41f8-d86d-1020-000000000009 | OK | Check if undercloud is an ipa client | localhost
2021-05-14 17:18:51.708583 | fa163e92-41f8-d86d-1020-000000000009 | TIMING | Check if undercloud is an ipa client | localhost | 0:00:00.939374 | 0.78s

PLAY [Overcloud Delete] ********************************************************
2021-05-14 17:18:51.754937 | fa163e92-41f8-d86d-1020-000000000015 | TASK | Check for required inputs
2021-05-14 17:18:51.828790 | fa163e92-41f8-d86d-1020-000000000015 | SKIPPED | Check for required inputs | localhost | item=stack_name
2021-05-14 17:18:51.832327 | fa163e92-41f8-d86d-1020-000000000015 | TIMING | Check for required inputs | localhost | 0:00:01.063119 | 0.07s
2021-05-14 17:18:51.844377 | fa163e92-41f8-d86d-1020-000000000019 | TASK | Delete service vips used
2021-05-14 17:18:58.056242 | fa163e92-41f8-d86d-1020-000000000019 | CHANGED | Delete service vips used | localhost
2021-05-14 17:18:58.059380 | fa163e92-41f8-d86d-1020-000000000019 | TIMING | Delete service vips used | localhost | 0:00:07.290164 | 6.21s

# ovn_dbs_virtual_ip - service VIP was deleted

(undercloud) [centos@undercloud tripleo-ansible]$ openstack port list | grep virtual_ip
| 149edc8a-f82a-461c-b309-d3b476155465 | storage_mgmt_virtual_ip | fa:16:3e:d2:ed:5c | ip_address='172.19.0.160', subnet_id='cd8d64a7-5813-4d7b-8ecc-96f3a40a2333' | DOWN |
| 36a2372a-83df-4d68-8a2b-d926d6ac84d7 | control_virtual_ip | fa:16:3e:c9:10:9e | ip_address='192.168.25.25', subnet_id='18923790-a949-4821-9646-1029fc4de5c7' | DOWN |
| 78229625-3928-44bc-816b-e1d460017846 | internal_api_virtual_ip | fa:16:3e:03:12:c9 | ip_address='172.17.0.17', subnet_id='2d5d44bc-c81b-460b-9ce6-815987e8625d' | DOWN |
| 8c50e45c-5d7e-41ee-92e3-ee582d00e770 | storage_virtual_ip | fa:16:3e:62:c1:b7 | ip_address='172.18.0.210', subnet_id='a4664da3-0236-4e99-a5bc-7616757d84f3' | DOWN |
| a4b4c702-0870-4951-8c8a-0eefd0b9f046 | external_virtual_ip | fa:16:3e:f1:64:26 | ip_address='10.0.0.198', subnet_id='4d3a6581-ab25-49f4-8ca1-4f6196bf2b5e' | DOWN |

I deployed with a custom stack name, and also VipSubnetMap overrides.

openstack overcloud deploy --stack my_overcloud \
  --templates /home/centos/tripleo-heat-templates \
  --deployed-server \
  --disable-validations \
  -n /home/centos/overcloud/network_data_v2.yaml \
  -r /home/centos/overcloud/my_roles_data.yaml \
  -e /home/centos/tripleo-heat-templates/environments/deployed-server-environment.yaml \
  -e /home/centos/overcloud-baremetal-deployed.yaml \
  -e /home/centos/overcloud-networks-deployed.yaml \
  -e /home/centos/overcloud-vips-deployed.yaml \
  -e /home/centos/tripleo-heat-templates/environments/enable-swap.yaml \
  -e /home/centos/tripleo-heat-templates/environments/net-multiple-nics.yaml \
  -e /home/centos/overcloud/node_data.yaml

(undercloud) [centos@undercloud ~]$ cat overcloud/node_data.yaml
parameter_defaults:
  ControlPlaneSubnet: ctlplane-leaf1
  ControllerControlPlaneSubnet: ctlplane-leaf1
  ComputeControlPlaneSubnet: ctlplane-leaf2
  NetworkDeploymentActions: ['CREATE','UPDATE']
  VipSubnetMap:
    External: external_subnet
    Storage: storage_subnet01
    StorageMgmt: storage_mgmt_subnet01
    InternalApi: internal_api_subnet01
    ovn_dbs: internal_api_subnet01