Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merging changes from sdaf-acss main after creation of v3.8.3.5 (#482)
* Added README.md file * Added file CONTRIBUTING.md * Updated README.md * Updated CONTRIBUTING.md * Added .gitignore * Adding owners.txt containing ServiceTree admins * v3.6 release * Updated owners.txt * Current code for ansible 3.7 that is being tested by ACSS. * Added a delay before validating the SCS ERS cluster. * Removed the BOM-catalog folder. * Merged PR 8320960: Merging sap-automation main into this repo's main branch. This is done as part of the 3.8.3 parity task. This is an attempt to bring the Co-Dev model into effect so that all ansible development can now happen through the SDAF-ASCS repo. Related work items: #24291278 * Merged PR 8350970: Fix Logical Volume creation Fix Logical Volume creation: Description: In the volume group vg_sap, we need to create several logical volumes which include for lv_sapmnt, lv_usrsapinstall, lv_usrsap. The goal is to allocate a predetermined amount of space to lv_sapmnt, lv_usersap and then allocate the rest of the space to lv_usersapinstall. But the order in which this allocation was being done was in reverse which resulted in lv_usersapinstall consuming all the space in vg_sap therefore, blocking the creation of other logical volumes. The ordering has been fixed in this PR. This is the test proof for the same: Query to view the results for createinfra test: https://waasservices.eastus.kusto.windows.net/WaaSKustoDB?query=H4sIAAAAAAAEAG2RTUsDQQyG7%2fsrwpwqbGFZQUGpILXCHvzAFXoQD2kmtaO7M0sm21Lwxzur0A8qzCFD3id5k8wR6wdWcTRbs9fsGzYrFoZnYXKRX13LtWLbwQ1YVNb0H5VFeT4uLsblJRTF1e8724F1v4gkrlMXfGXBeRhVXlk8NoepuCdeOIZeiJOagld0PoJBuwpkdpq71NfHgXsz8yBfyyZsHrFl8w6TCZipcDJX%2baVgVOlJe%2bH%2f4aeOBQcDaSod8MGgqXsiZsvW5GDu0TUpGgx2Ej6Z9GQb%2bVHNmUiQabD85yiHmmXtiG9J3drptrL5wZBD%2fJHAHPb51CqIZYHF9kh5cgWMdJ1lP74BzVW1AQAA&web=0 WaaSMetricEvent | where PreciseTimeStamp > datetime(2023-06-27 00:00:00) | where SubscriptionId in (InternalSubscriptions) | where ResourceId contains "adhoc" | where Dimensions["WorkflowName"] == "CreateInfrastructure" | where Dimensions["OperationState"] in ("Succeeded", "Failed") | project PreciseTimeStamp, Dimensions["ErrorCodeName"], ServiceActivityId, ResourceId, Region, ActivityId | order by ResourceId, PreciseTimeStamp asc; Query to view the results for install test: https://waasservices.eastus.kusto.windows.net/WaaSKustoDB?query=H4sIAAAAAAAEAG2RTUsDMRCG7%2fsrhpwqbGFZQUGpIFphD37gCj2Ih2ky2mg2WSazWwr%2beBOFflAhhwnv%2b%2bSdmSwQ23sStno%2bkpfiG9YrYoInJm0jvdiOWsGuhyswKCTpPqmr%2bnRanU3rc6iqi99zsgXbYRk1215s8I0B62HSeCH26PaluCOeKYaBNSW3Dl7Q%2bggKzSpotfXcplwfM%2feqFoG%2f3l1YP2BH6g1mM1CNj4LOZcUFNP9zjz0x5uw0kGQy96baQWsiQ0aVoO7QulTl3noOn6TlaBHlwZtz5sA3wdBfMyW0xKPVdK3FjlY2jSn35sv1RwJL2OkpKrAhhuXmwHn0ARj1ZVH8AGqZJGKwAQAA&web=0 WaaSMetricEvent | where PreciseTimeStamp > datetime(2023-06-27 00:00:00) | where SubscriptionId in (InternalSubscriptions) | where ResourceId contains "adhoc" | where Dimensions["WorkflowName"] == "InstallWorkload" | where Dimensions["OperationState"] in ("Succeeded", "Failed") | project PreciseTimeStamp, Dimensions["ErrorCodeName"], ServiceActivityId, ResourceId, Region, ActivityId | order by ResourceId, PreciseTimeStamp asc; 1 SCS failure observed which was transient and succeeded on retry These are the other errors observed which are not related to ansible: InstallHostUnreachable InstallServiceError AzureVMIsNotInSupportedProvisioningState Related work items: #24199283 * Merged PR 8352697: fix logical volume order with vg_sap fix logical volume order with vg_sap * Remediating Azure Artifacts Configuration Issues in your Repository * Update owners.txt * Remediating Azure Artifacts Configuration Issues in your Repository * Merged PR 8383025: Getting latest release code from github repo into main branch. Pulling in the changes made to the experimental branch so that the hotfix release (3.8.3.2) made in github public repo is present here as well * Merged PR 8497623: Syncing SDAF Public main branch to SDAF-ACSS main branch Syncing SDAF Public main branch to SDAF-ACSS main branch Related work items: #24650568 * Merged PR 8543963: Added checks to see if dynamic BOM download has succeeded. In /deploy/ansible/roles-sap/3.3-bom-processing/tasks/bom_processor.yaml, added checks to see if: For every media element defined in a BOM - Dynamic BOM download has succeeded. - Whether archive property is defined. * Revert "Merging changes made in v3.8.3.4 into experimental branch. (#477)" This reverts commit e0f8960. * Merged PR 8645288: Adding Custom Errors for PAS Install Adding Custom Errors for PAS Install Cherry-picked from commit `d81a4375`. When ansible code failed during the pas installation with message server or database offline, then error message doesn't have the proper information on the error. With this code change we will be getting below error messages:- Message server is offline-- PAS Installation failed due to Message Server being offline on host(s) %hostName;. Possible Causes: Message server is offline. Recommended Action: a) Login to the SCS VM with <SID>adm. The password is present in the key vault of the managed resource group of the VIS. (Secret name: <SID>-<SID>-sap-password) b) Start SAP Service using command - /usr/sap/hostctrl/exe/sapcontrol -nr <instance number> -function StartService <SID>. c) Start SAP Instances using command - /usr/sap/hostctrl/exe/sapcontrol -nr <instance number> -function StartSystem ALL. d) Check if the message server is up with command - /usr/sap/hostctrl/exe/sapcontrol -nr <instance number> -function GetSystemInstanceList e) Retry the installation once the message server is up. f) If the issue is not resolve through above steps, please contact support. Database is offline-- PAS Installation failed due to database being offline on host(s) %hostName;. Possible Causes: Database is offline. Recommended Action: a) Login to the primary DB VM with <SID>adm. The password is present in the key vault of the managed resource group of the VIS. (Secret name: <SID>-<SID>-sap-password) b) Start HANA Database using command - HDB start. c) Check the status of HDB using command - HDB info. d) Retry the installation once HDB is up and running. e) If the issue is not resolve through above steps, please contact support Cherry picked from !8623571 Cherry-picked from commit `cc2974f3`. Tested for CCY:-- WaaSDiagnosticEvent //| where ServiceActivityId == "3e30dcfa-5c97-4c08-b461-a23497c57954" | where PreciseTimeStamp > datetime(2023-08-10 07:40:25.0903729) | where PreciseTimeStamp < datetime(2023-08-10 17:24:40.7082742) | where SubscriptionId =="49d64d54-e966-4c46-a868-1999802b762c" | where ResourceId =="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/Ansibletest/providers/Microsoft.Workloads/sapVirtualInstances/AN1" //| where ActivityId == "da2d4265-cea1-4e61-9c2a-dc8196b81583" //| where SubscriptionId == "7235b861-9c47-4957-8841-e5f0b305a68a" //| where Message has "rsc_st_azure" //| take 100 | where Level == 2 //| project ServiceActivityId //| distinct ServiceActivityId ![image.png](https://dev.azure.com/msazure/b32aa71e-8ed2-41b2-9d77-5bc261222004/_apis/git/repositories/d50e3885-12b7-4a8f-9117-e7ab4607513a/pullRequests/8645288/attachments/image.png) Related work items: #24518471, #24518484 * Merged PR 8646997: Merged PR 8646670: Ansible: Fixing trailing-spaces in Ansible code Merged PR 8646670: Ansible: Fixing trailing-spaces in Ansible code Fixing trailing-spaces Related work items: #24518471, #24518484 Cherry-picked from commit `3dfbb16a`. Related work items: #24518471, #24518484 --------- Co-authored-by: Rob Chappelle <[email protected]> Co-authored-by: PIE Easy Start <[email protected]> Co-authored-by: Kimmo Forss <[email protected]> Co-authored-by: sedusch <[email protected]> Co-authored-by: Shayak Sarkar <[email protected]> Co-authored-by: Jaskirat Singh <[email protected]> Co-authored-by: MerlinBot <> Co-authored-by: MerlinBot <MerlinBot> Co-authored-by: hdamecharla <[email protected]>
- Loading branch information