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

Explicitly require rabbitmq service before setting HA policy #372

Merged

Conversation

jeckersb
Copy link

This is yet another case of class containment gone wrong. The
mirrored queues exec requires ::rabbitmq, and the latter includes
::rabbitmq::service which declares the service. Since ::rabbitmq does
not 'contain' ::rabbitmq:service, the dependency does not get applied
to the mirrored queues exec. Thus, it is possible for the exec to run
before the service is started.

…olicy

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

This is yet another case of class containment gone wrong.  The
mirrored queues exec requires ::rabbitmq, and the latter includes
::rabbitmq::service which declares the service.  Since ::rabbitmq does
not 'contain' ::rabbitmq:service, the dependency does not get applied
to the mirrored queues exec.  Thus, it is possible for the exec to run
before the service is started.
jguiditta added a commit that referenced this pull request Sep 26, 2014
Explicitly require rabbitmq service before setting HA policy
@jguiditta jguiditta merged commit ce33ae6 into redhat-openstack:master Sep 26, 2014
jeckersb added a commit to jeckersb/astapor that referenced this pull request Sep 26, 2014
…olicy

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

PR erratum for redhat-openstack#372.  Require the class instead of the service
resource, since the service resource does not exist after the first
run due to the service being unmanaged.
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