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

OpenStack: Merge Vincent's changes and update agents for Pike #142

Merged
merged 17 commits into from Sep 27, 2017

Conversation

beekhof
Copy link
Member

@beekhof beekhof commented Sep 13, 2017

The split needs to be timed with an equivalent change to NovaEvacuate

vuntz and others added 15 commits November 18, 2016 14:52
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.
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
Copy link
Collaborator

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

@oalbrigt
Copy link
Collaborator

CI fails due to changed metadata, so you should do a "make xml-upload" and commit the changes.

@oalbrigt oalbrigt merged commit 6b6fe10 into ClusterLabs:master Sep 27, 2017
@aspiers
Copy link

aspiers commented Jan 17, 2018

For reference, here is the corresponding change to NovaEvacuate.

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.

None yet

4 participants