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_hana_preconfigure/SLES: Zypper lock handler for #791 #796

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

marcelmamula
Copy link
Contributor

This PR adds Suse specific check for zypper to ensure that it is not locked by time both roles are finished.

Applies to:

sap_general_preconfigure
sap_hana_preconfigure

Execution example:

RUNNING HANDLER [/mnt/c/scripts/community.sap_install/roles/sap_hana_preconfigure : Reboot the managed node] ************************************************
changed: [s01s4hana]

RUNNING HANDLER [/mnt/c/scripts/community.sap_install/roles/sap_hana_preconfigure : Wait for Zypper lock to be released] ************************************
FAILED - RETRYING: [s01s4hana]: Wait for Zypper lock to be released (60 retries left).
ok: [s01s4hana]

Solves: #791

@marcelmamula marcelmamula self-assigned this Jul 8, 2024
Copy link
Member

@sean-freeman sean-freeman left a comment

Choose a reason for hiding this comment

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

lgtm 👍

Copy link
Member

@berndfinger berndfinger left a comment

Choose a reason for hiding this comment

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

LGTM.

@marcelmamula marcelmamula merged commit 34ef551 into sap-linuxlab:dev Jul 9, 2024
4 of 5 checks passed
@marcelmamula marcelmamula deleted the zypper branch July 9, 2024 15:08
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