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
OpenStack: Merge Vincent's changes and update agents for Pike #142
Conversation
We don't care about other services.
Everything we do (evacuate, force_down) is on nova-compute services, so there's no reason to list hypervisors; just directly look for nova-compute services. This matters as hypervisors are always FQDN, while nova service hosts can be short hostnames.
We were returning from the loop, while we want the rest of the code to still execute (in case there are multiple domains in nova). Also simplify the code...
We shouldn't check if the plug name contains the domain, but if it ends with the domain.
We already do the filtering on the server side.
…to vuntz-fix-domain
RELEASE_VERSION="4.0.11" | ||
BUILD_DATE="(built Wed Nov 12 06:33:38 EST 2014)" | ||
REDHAT_COPYRIGHT="Copyright (C) Red Hat, Inc. 2004-2010 All rights reserved." | ||
#END_VERSION_GENERATION |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section should be removed from both agents, as we've moved the essential part to lib/fencing.py to support reproducible builds.
https://github.com/ClusterLabs/fence-agents/pull/131/files#diff-94a84d829e5760b9a84e6d98bdba8fc4
CI fails due to changed metadata, so you should do a "make xml-upload" and commit the changes. |
For reference, here is the corresponding change to |
The split needs to be timed with an equivalent change to NovaEvacuate