Avoid python Azure package collision in SLES15 #232
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket TEAM-9307
Verification:
15SP5
BYOS
Test is using Azure image
suse:sles-sap-15-sp5-byos:gen2:2024.05.08
From http://openqaworker15.qa.suse.cz/tests/283207/logfile?filename=deploy-qesap_exec_ansible__profile.log.txt
the deployment executes
zypper patch
as part of playbookansible/playbooks/fully-patch-system.yaml
Zypper finds:
and
This first Ansible deployment attempt fails on
"Timed out waiting for last boot time check (timeout=900)"
but it is not related to any python3 ansible packages.Second attempt is logged in http://openqaworker15.qa.suse.cz/tests/283207/logfile?filename=deploy-qesap_ansible_retry.log.txt. The part about
zypper patch
is the same. It also has the part related to the ansible code changed in this PR inIn SLES4SAP 15SP5, facts collected by Ansible are:
TASK [Ensure Azure Python SDK and Azure Identity python modules are installed [12sp5]]
is skippedTASK [Ensure Azure Python SDK and Azure Identity python modules are installed [15 sp<4]]
is skippedTASK [Ensure Azure Python SDK and Azure Identity python modules are installed [15 sp>=4]]
is executed and passPAYG
MSI
sle-15-SP5-Qesap-Azure-Payg-x86_64-BuildLATEST_AZURE_SLE15_5_PAYG-qesap_azure_saptune_test_msi@64bit
http://openqaworker15.qa.suse.cz/tests/283208 🔴 the Ansible part of the deployment is fine but there's a failure later in
* rsc_stonith_azure (stonith:fence_azure_arm): Stopped
http://openqaworker15.qa.suse.cz/tests/283469 🔴 the Ansible part of the deployment is fine but there's a failure later in
* rsc_stonith_azure (stonith:fence_azure_arm): Stopped
Ansible log http://openqaworker15.qa.suse.cz/tests/283469/logfile?filename=deploy-qesap_exec_ansible__profile.log.txt has:
TASK [Ensure Azure Python SDK and Azure Identity python modules are installed [15 sp>=4]]
is executed and passLater in Ansible
Checking the cluster, after that Ansible deployment concluded successfully, result in :
http://openqaworker15.qa.suse.cz/tests/283469#step/test_cluster/184
and from the
pacemaker.log
SPN
sle-15-SP5-Qesap-Azure-Payg-x86_64-BuildLATEST_AZURE_SLE15_5_PAYG-qesap_azure_saptune_test_spn@64bit
Updated module is
but there's a failure later in
* rsc_stonith_azure (stonith:fence_azure_arm): Stopped
same error of
MSI
http://openqaworker15.qa.suse.cz/tests/283470#step/test_cluster/127* rsc_stonith_azure (stonith:fence_azure_arm): Stopped
15SP4
PAYG
SBD fencing
sle-15-SP4-Qesap-Azure-Payg-x86_64-BuildLATEST_AZURE_SLE15_4_PAYG-qesap_azure_saptune_test@64bit -> http://openqaworker15.qa.suse.cz/tests/283210 🟢
http://openqaworker15.qa.suse.cz/tests/283471 🟢
TASK [Ensure Azure Python SDK and Azure Identity python modules are installed [12sp5]]
is skippedTASK [Ensure Azure Python SDK and Azure Identity python modules are installed [15 sp<4]]
is skippedTASK [Ensure Azure Python SDK and Azure Identity python modules are installed [15 sp>=4]]
is executed and passNative fencing SPN
* rsc_stonith_azure (stonith:fence_azure_arm): Stopped
15SP3
PAYG
SBD fencing
sle-15-SP3-Qesap-Azure-Payg-x86_64-BuildLATEST_AZURE_SLE15_3_PAYG-qesap_azure_sapconf_test@64bit
TASK [Ensure Azure Python SDK and Azure Identity python modules are installed [12sp5]]
is skippedTASK [Ensure Azure Python SDK and Azure Identity python modules are installed [15 sp<4]]
is executed and passTASK [Ensure Azure Python SDK and Azure Identity python modules are installed [15 sp>=4]]
is skippedCluster is healthy after the deployment
stonith-sbd (stonith:external/sbd): Started vmhana01
Native fencing SPN
sle-15-SP3-Qesap-Azure-Payg-x86_64-BuildLATEST_AZURE_SLE15_3_PAYG-qesap_azure_sapconf_test@64bit
* rsc_stonith_azure (stonith:fence_azure_arm): Started vmhana01
12SP5
PAYG
sle-12-SP5-Qesap-Azure-Payg-x86_64-BuildLATEST_AZURE_SLE12_5_PAYG-qesap_azure_saptune_test@64bit
From http://openqaworker15.qa.suse.cz/tests/283473/logfile?filename=deploy-qesap_exec_ansible__profile.log.txt
TASK [Ensure Azure Python SDK and Azure Identity python modules are installed [12sp5]]
is executed and passTASK [Ensure Azure Python SDK and Azure Identity python modules are installed [15 sp<4]]
is skippedTASK [Ensure Azure Python SDK and Azure Identity python modules are installed [15 sp>=4]]
is skippedBYOS
15SP6
BYOS
SBD
sle-15-SP6-Qesap-Azure-Byos-Ibs-x86_64-BuildLATEST_AZURE_SLE15_6_BYOS_IBS-qesap_azure_uri@az_Standard_E8s_v3
python311-azure*
packagesNative fencing
python311-azure*
packages