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

BZ #1172366 - fix some pcmk constraints #428

Merged

Conversation

cwolferh
Copy link

https://bugzilla.redhat.com/show_bug.cgi?id=1172366

Constraints with an incorrect name specified (i.e., no -clone) could
cause issues for pcs commands immediately following. Also remove
groups for cloned resources.

@cwolferh
Copy link
Author

Before this patch, I observed in pacemaker.log messages such as:

Dec 11 15:33:28 [6855] c1a2.example.com stonith-ng:    error: unpack_order_template:    Invalid constraint 'order-neutron-ovs-cleanup-neutron-netns-cleanup-mandatory': No resource or template named 'neutron-ovs-cleanup'
Dec 11 15:33:28 [6855] c1a2.example.com stonith-ng:    error: unpack_order_template:    Invalid constraint 'order-neutron-netns-cleanup-neutron-agents-mandatory': No resource or template named 'neutron-netns-cleanup'

Now I do not.

Also, removed the unnecessary groups so no longer see output like:

Debug: /usr/sbin/pcs resource group add nosql mongod
Error: cannot group clone resources

The error in https://bugzilla.redhat.com/show_bug.cgi?id=1172366 also did not occur again in my test with this patch (theory was the prior bad constraints were causing an issue for ceilometer-related pcs commands, see comment 11).

jguiditta added a commit that referenced this pull request Dec 13, 2014
BZ #1172366 - fix some pcmk constraints
@jguiditta jguiditta merged commit fe6f0d3 into redhat-openstack:master Dec 13, 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1172366

Constraints with an incorrect name specified (i.e., no -clone) could
cause issues for pcs commands immediately following.  Also remove
groups for cloned resources.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants