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

Pass correct local node name to resource agents on remote nodes #1222

Merged
merged 7 commits into from
Feb 8, 2017

Conversation

kgaillot
Copy link
Contributor

@kgaillot kgaillot commented Feb 7, 2017

and other minor fixes

Preivously, crm_node -n would show the local uname on remote nodes, even when
the node name known to the cluster was different. Now, the policy engine adds
environment variables with the local node name and UUID before calling the
resource agent. If crm_node detects these variables, it will use them instead
of uname.

This only affects crm_node behavior when called via the cluster, not
directly from the command line.

Based on patch originally provided by Andrew Beekhof <[email protected]>
"systemctl disable firewalld" is not sufficient when rolekit is used
to deploy a role that includes it. Use "systemctl mask firewalld" instead.
... instead of "remote_", because underbars are technically
not allowed in hostnames.
@kgaillot kgaillot merged commit fdb53ab into ClusterLabs:master Feb 8, 2017
@@ -393,7 +393,7 @@ To disable security measures:
----
[root@pcmk-1 ~]# setenforce 0
[root@pcmk-1 ~]# sed -i.bak "s/SELINUX=enforcing/SELINUX=permissive/g" /etc/selinux/config
[root@pcmk-1 ~]# systemctl disable firewalld.service
[root@pcmk-1 ~]# systemctl mask firewalld.service
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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