Clean NetBackup for OpenStack haproxy resources
The following steps need to be run on all nodes, which have the haproxy service running. Those nodes can be identified by verifying the roles_data.yaml for the role that contains the entry OS::TripleO::Services::HAproxy.
Once the role that runs the NetBackup for OpenStack datamover API service has been identified, the following commands will clean the nodes from from all NetBackup for OpenStack resources..
Warning:
Run all commands as root or user with sudo permissions.
Edit the following file on the HAProxy nodes and remove all NetBackup for OpenStack entries.
/var/lib/config-data/puppet-generated/haproxy/etc/haproxy/haproxy.cfg
An example of these entries:
listen nbosdmapi
bind 172.25.3.60:13784 transparent ssl crt /etc/pki/tls/private/
overcloud_endpoint.pem
bind 172.25.3.60:8784 transparent
http-request set-header X-Forwarded-Proto https if { ssl_fc }
http-request set-header X-Forwarded-Proto http if !{ ssl_fc }
http-request set-header X-Forwarded-Port %[dst_port]
option httpchk
option httplog
server overcloud-controller-0.internalapi.localdomain 172.25.3.59:8784
check fall 5 inter 2000 rise 2
Restart the haproxy container once all edits have been done.
# For RHOSP17.1 onwards podman restart haproxy-bundle-podman-0