Merge "[DOC] Add cinder service when cleaning up aio host"

This commit is contained in:
Jenkins 2016-08-20 06:33:36 +00:00 committed by Gerrit Code Review
commit 1a797e42ec

View File

@ -224,18 +224,18 @@ isn't always practical. As such the following may be executed instead:
# # within a container. # # within a container.
# for i in \ # for i in \
$(ls /etc/init \ $(ls /etc/init \
| grep -e "nova\|swift\|neutron" \ | grep -e "nova\|swift\|neutron\|cinder" \
| awk -F'.' '{print $1}'); do \ | awk -F'.' '{print $1}'); do \
service $i stop; \ service $i stop; \
done done
# # Uninstall the core services that were installed. # # Uninstall the core services that were installed.
# for i in $(pip freeze | grep -e "nova\|neutron\|keystone\|swift"); do \ # for i in $(pip freeze | grep -e "nova\|neutron\|keystone\|swift\|cinder"); do \
pip uninstall -y $i; done pip uninstall -y $i; done
# # Remove crusty directories. # # Remove crusty directories.
# rm -rf /openstack /etc/{neutron,nova,swift} \ # rm -rf /openstack /etc/{neutron,nova,swift,cinder} \
/var/log/{neutron,nova,swift} /var/log/{neutron,nova,swift,cinder}
# # Remove the pip configuration files on the host # # Remove the pip configuration files on the host
# rm -rf /root/.pip # rm -rf /root/.pip