Files related to different options of openstack-ansible depliyments
It's useful to delete the all the configuration and start a new configuration, but instead of starting a brand new OS installation and configuration it's better delete the containers and all the configuration made in the hosts:
-
Destroy all of the running containers:
/opt/openstack-ansible/playbooks/openstack-ansible lxc-containers-destroy.yml -
Stop and remove systemd units running on the hosts:
for i in `systemctl list-units |grep 'nova\|neutron\|swift\|cinder'|awk '{print $1}'` do systemctl stop $i rm /etc/systemd/system/$i done -
Remove the python environments and configuration files:
rm -fr /openstack rm -fr /etc/{nova*,cinder*,neutron*,swift*} -
Uninstall keepalived and haproxy
apt purge keepalived haproxy rm -fr /etc/keepalived rm -fr /etc/haproxy -
Delete all directories related to swift:
rm -fr /srv/node/sdb?/*