Clean NetBackup for OpenStack datamover API service
The following steps need to be run on all nodes, which have the NetBackup for OpenStack datamover API service running. Those nodes can be identified by verifying the roles_data.yaml for the role that contains the entry OS::TripleO::Services::nbosdmapi.
Once the role that runs the NetBackup for OpenStack datamover API service has been identified, the following commands will clean the nodes from the service.
Warning:
Run all commands as root or user with sudo permissions.
Stop nbosdmapi container.
# For RHOSP17.1 onwards systemctl disable tripleo_nbosdmapi.service systemctl stop tripleo_nbosdmapi.service podman stop nbosdmapi
Remove nbosdmapi container.
# For RHOSP17.1 onwards podman rm nbosdmapi podman rm nbosdmapi_init_log podman rm nbosdmapi_db_sync
Clean NetBackup for OpenStack datamover API service conf directory.
rm -rf /var/lib/config-data/puppet-generated/nbosdmapi rm /var/lib/config-data/puppet-generated/nbosdmapi.md5sum
Clean NetBackup for OpenStack datamover API service log directory.
rm -rf /var/log/containers/nbosdmapi/