Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Regression on last commit for cluster destroy #120

Merged
merged 1 commit into from
Dec 9, 2016
Merged

Fix: Regression on last commit for cluster destroy #120

merged 1 commit into from
Dec 9, 2016

Conversation

rafaeldtinoco
Copy link
Contributor

commit c64ad9f created a regression when trying to fix the
cleanup part of "cluster destroy". The find syntax was tested
in a shell environment and os.system couldn't understand.
All files being searched are only contained in /var/lib/
pacemaker so this commit fixes that.

commit c64ad9f created a regression when trying to fix the
cleanup part of "cluster destroy". The find syntax was tested
in a shell environment and os.system couldn't understand.
All files being searched are only contained in /var/lib/
pacemaker so this commit fixes that.
@rafaeldtinoco
Copy link
Contributor Author

rafaeldtinoco commented Dec 9, 2016

Sorry for the mistake. Now its good and tested:

$ sudo find /var/lib/pacemaker/
/var/lib/pacemaker/
/var/lib/pacemaker/cib
/var/lib/pacemaker/cib/cib.xml.sig
/var/lib/pacemaker/cib/cib.last
/var/lib/pacemaker/cib/cib.xml
/var/lib/pacemaker/cores
/var/lib/pacemaker/blackbox
/var/lib/pacemaker/pengine
/var/lib/pacemaker/pengine/pe-warn.last
/var/lib/pacemaker/pengine/pe-input.last
$ sudo pcs cluster destroy
Shutting down pacemaker/corosync services...
Killing any remaining services...
Removing all cluster configuration files...
$ sudo find /var/lib/pacemaker/
/var/lib/pacemaker/
/var/lib/pacemaker/cib
/var/lib/pacemaker/cores
/var/lib/pacemaker/blackbox
/var/lib/pacemaker/pengine
/var/lib/pacemaker/pengine/pe-warn.last
/var/lib/pacemaker/pengine/pe-input.last

@tomjelinek tomjelinek merged commit 8a2b8b3 into ClusterLabs:master Dec 9, 2016
@tomjelinek
Copy link
Member

The original patch was working for me hence I merged it. Thanks for spotting and fixing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants