Skip to content

sap_hana_preconfigure/SLES: Zypper lock handler for #791#796

Merged
marcelmamula merged 1 commit into
sap-linuxlab:devfrom
marcelmamula:zypper
Jul 9, 2024
Merged

sap_hana_preconfigure/SLES: Zypper lock handler for #791#796
marcelmamula merged 1 commit into
sap-linuxlab:devfrom
marcelmamula:zypper

Conversation

@marcelmamula
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

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