Skip to content

Pacemaker Fact & corosync.conf enhancement#535

Open
pdemonaco wants to merge 4 commits intovoxpupuli:masterfrom
pdemonaco:pcs_auth_provider
Open

Pacemaker Fact & corosync.conf enhancement#535
pdemonaco wants to merge 4 commits intovoxpupuli:masterfrom
pdemonaco:pcs_auth_provider

Conversation

@pdemonaco
Copy link
Contributor

Pull Request (PR) description

Two core changes:

  • Adds a clustered fact called corosync to determine the version of pcs
  • Includes the node name for each entry in corosync.conf to correct a bug when running pcs cluster config

Adds a new cluster fact for corosync environment details. Currently this
is limited to extracting the version of PCS installed on the current
machine so that it can be used to control behavior in other code.
This causes the pcsd authentication commands to be determined based on the new corosync facts instead of the original hiera based logic.

Not a significant change, however, it is important for environments where the corosync class is declared instead of being included.
When the member list is names, not IP addresses, and the member name
array is empty use the former to populate the name: in the nodelist.

This addresses a parsing issue in `pcs cluster config` described in the
redhat article below. It also ensures other commands that depend on the
config file work as expected.

https://access.redhat.com/solutions/6992919
Hiera defaults were missing for the 10 and 11 versions of Debian causing
a portion of the unit tests to fail. This tweak corrects that behavior
by adding the definitions which subseqently allow qdevice to compile as
expected.
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.

1 participant