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

change commands for pcs-0.10 #513

Closed
wants to merge 2 commits into from
Closed

Conversation

mark8x57
Copy link

No description provided.

@kenyon
Copy link
Member

kenyon commented Jun 15, 2021

Are these changes backwards compatible? I'm guessing not.

@mark8x57
Copy link
Author

unfortunately they are not

@kenyon
Copy link
Member

kenyon commented Jun 15, 2021

@mark8x57 thanks. There are some tests in the spec directory which look like they need to have their command lines updated to match your changes.

@@ -601,7 +601,7 @@
# is applied.
# TODO - make it run only once
exec { 'pcs_cluster_auth':
command => "pcs cluster auth ${node_string} ${auth_credential_string}",
command => "pcs host auth ${node_string} ${auth_credential_string}",
Copy link
Member

Choose a reason for hiding this comment

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

I'm not a corosync expert. Can you explain a bit why do you this change?

Copy link
Author

Choose a reason for hiding this comment

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

Syntax has changed from previous version. See 'man pcs' -> Changes in pcs-0.10.

Copy link
Member

Choose a reason for hiding this comment

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

but for which operating systems? as far as I know it works fine on the operating systems listed in the metadata.json. If this is version specific we could use a fact for the corosync/pcs version and use the correct command based on that.

Copy link
Author

Choose a reason for hiding this comment

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

of course this makes sense. i had to make the change for ubuntu 20.04 because ubuntu 16.04 has no maintenance anymore

Copy link
Member

Choose a reason for hiding this comment

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

maybe you can take a look at the work in #499 . That already looks promising. It would be nice if we could get this implemented without breaking backwards compatibility.

towo added a commit to b1-systems/puppet-corosync that referenced this pull request Dec 22, 2021
Include @mark8x57's changes from voxpupuli#513 along with version gating to still
maintain support for pcs 0.9 (although one would have to check if any
pcs 0.9 is still in use by supported distributions).

Co-authored-by: Mark Habenicht <[email protected]>
towo added a commit to b1-systems/puppet-corosync that referenced this pull request Dec 22, 2021
Include @mark8x57's changes from voxpupuli#513 along with version gating to still
maintain support for pcs 0.9 (although one would have to check if any
pcs 0.9 is still in use by supported distributions).

Co-authored-by: Mark Habenicht <[email protected]>
towo added a commit to b1-systems/puppet-corosync that referenced this pull request Dec 22, 2021
Include @mark8x57's changes from voxpupuli#513 along with version gating to still
maintain support for pcs 0.9 (although one would have to check if any
pcs 0.9 is still in use by supported distributions).

Co-authored-by: Mark Habenicht <[email protected]>
towo added a commit to b1-systems/puppet-corosync that referenced this pull request Dec 22, 2021
Include @mark8x57's changes from voxpupuli#513 along with version gating to still
maintain support for pcs 0.9 (although one would have to check if any
pcs 0.9 is still in use by supported distributions).

Co-authored-by: Mark Habenicht <[email protected]>
towo added a commit to b1-systems/puppet-corosync that referenced this pull request Dec 22, 2021
Include @mark8x57's changes from voxpupuli#513 along with version gating to still
maintain support for pcs 0.9 (although one would have to check if any
pcs 0.9 is still in use by supported distributions).

Co-authored-by: Mark Habenicht <[email protected]>
towo added a commit to b1-systems/puppet-corosync that referenced this pull request Dec 22, 2021
Include @mark8x57's changes from voxpupuli#513 along with version gating to still
maintain support for pcs 0.9 (although one would have to check if any
pcs 0.9 is still in use by supported distributions).

Co-authored-by: Mark Habenicht <[email protected]>
towo added a commit to b1-systems/puppet-corosync that referenced this pull request Dec 22, 2021
Include @mark8x57's changes from voxpupuli#513 along with version gating to still
maintain support for pcs 0.9 (although one would have to check if any
pcs 0.9 is still in use by supported distributions).

Co-authored-by: Mark Habenicht <[email protected]>
towo added a commit to b1-systems/puppet-corosync that referenced this pull request Dec 22, 2021
Include @mark8x57's changes from voxpupuli#513 along with version gating to still
maintain support for pcs 0.9 (although one would have to check if any
pcs 0.9 is still in use by supported distributions).

Co-authored-by: Mark Habenicht <[email protected]>
@vox-pupuli-tasks
Copy link

Dear @mark8x57, thanks for the PR!

This is Vox Pupuli Tasks, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase?

You can find my sourcecode at voxpupuli/vox-pupuli-tasks

@optiz0r
Copy link

optiz0r commented Jul 4, 2022

Obsoleted by #499

@optiz0r optiz0r closed this Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants