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

sap_ha_pacemaker_cluster: Regressions in Dev version for vmware/bare-metal deployments #923

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

rob0d
Copy link
Contributor

@rob0d rob0d commented Jan 3, 2025

@marcelmamula @ja9fuchs
I've found a few regressions in 1.5.0 (or current dev branch) which broke the role when executing on bare metal or vmware systems. I see most changes which caused this are related to cloud systems. This PR should fix both known errors (another error has been fixed in the current dev branch).

Rob Dobozy added 2 commits January 3, 2025 19:02
…luster_fence_agent_packages_platform not defined (this is case for on-prem/bare metal)
…o prevent errors when setting corosync totem errors on bare metal RHEL
marcelmamula
marcelmamula previously approved these changes Jan 6, 2025
Copy link
Contributor

@marcelmamula marcelmamula left a comment

Choose a reason for hiding this comment

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

Both changes makes sense, thank you. LGTM

Copy link
Contributor

@ja9fuchs ja9fuchs left a comment

Choose a reason for hiding this comment

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

Good catch!

Before we proceed, @marcelmamula do you think it makes sense to add this to vars/main.yml to make it consistent with e.g. __sap_ha_pacemaker_cluster_platform_extra_packages: [] in there already?

@marcelmamula
Copy link
Contributor

@rob0d I agree with @ja9fuchs that it would be better to remove current change with __sap_ha_pacemaker_cluster_fence_agent_packages_platform | d([]) and add it into vars/main.yml same as other vars.

__sap_ha_pacemaker_cluster_platform_extra_packages: []
__sap_ha_pacemaker_cluster_fence_agent_packages_platform: []

@marcelmamula marcelmamula self-requested a review January 7, 2025 14:59
@marcelmamula marcelmamula dismissed their stale review January 7, 2025 14:59

Requested change

@rob0d
Copy link
Contributor Author

rob0d commented Jan 8, 2025

Yes. That makes more sense. I didn't want to define a default empty value as I wasn't sure if you rely on "is defined" somewhere else in the code which I can't test.
Updated as per the above.

@ja9fuchs
Copy link
Contributor

ja9fuchs commented Jan 8, 2025

Yes. That makes more sense. I didn't want to define a default empty value as I wasn't sure if you rely on "is defined" somewhere else in the code which I can't test. Updated as per the above.

We rather not rely on non-existence of vars. :)

Did you push the update already? It's not showing up...

Copy link
Contributor

@marcelmamula marcelmamula left a comment

Choose a reason for hiding this comment

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

LGTM

@rob0d
Copy link
Contributor Author

rob0d commented Jan 8, 2025

@ja9fuchs sorry, forgot to press the button. It's there now :)

Copy link
Contributor

@ja9fuchs ja9fuchs left a comment

Choose a reason for hiding this comment

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

Thank you for the fixes. :)
👍

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.

3 participants