-
Notifications
You must be signed in to change notification settings - Fork 14
Enhance AzureDataParser to support additional mount point formats #145
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
Enhance AzureDataParser to support additional mount point formats #145
Conversation
… update playbook loops to ensure unique host entries for configuration checks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enhances the SAP Testing Automation Framework's configuration validation by preventing duplicate host processing and improving disk mount point detection. The changes ensure more accurate system configuration checks and better report traceability.
Key changes:
- Deduplicated host groups across all configuration check loops using the
uniquefilter - Enhanced disk parsing to recognize SAP-specific subdirectory mount points (e.g.,
/hana/data/SID) - Improved report file naming with
test_group_invocation_idfor better traceability
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/playbook_00_configuration_checks.yml | Applied unique filter to all host group loops and enhanced report filename with invocation ID |
| src/module_utils/collector.py | Extended mount point matching to include database_sid and sap_sid subdirectories |
…onfiguration checks in YAML files for improved clarity and functionality
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
…ure in configuration checks
…ing; update condition for ANF IP addresses in configuration checks
…ount name comparison
This pull request improves the accuracy and reliability of SAP system configuration checks by refining how host groups are processed and enhancing disk variable parsing. The main changes ensure that host lists are deduplicated and more robust, and that disk parsing logic correctly matches additional SAP-specific mount points.
Host group deduplication and reporting improvements:
src/playbook_00_configuration_checks.ymlto use theuniquefilter, preventing duplicate hosts from being processed in configuration and check tasks. This affects VM info, package info, common SAP, networking, ASCS/SCS, SCS HA config, application server checks, and reporting. [1] [2] [3] [4] [5] [6] [7] [8]src/playbook_00_configuration_checks.ymlto includetest_group_invocation_id, making report files easier to identify and trace.Disk variable parsing logic:
src/module_utils/collector.pyto match not only the base mount point but also SAP-specific subdirectories fordatabase_sidandsap_sid, ensuring more accurate filesystem data collection.