Skip to content

Conversation

@devanshjainms
Copy link
Contributor

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:

  • Updated all host group loops in src/playbook_00_configuration_checks.yml to use the unique filter, 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]
  • Enhanced the report file naming in src/playbook_00_configuration_checks.yml to include test_group_invocation_id, making report files easier to identify and trace.

Disk variable parsing logic:

  • Improved the disk variable parsing in src/module_utils/collector.py to match not only the base mount point but also SAP-specific subdirectories for database_sid and sap_sid, ensuring more accurate filesystem data collection.

… update playbook loops to ensure unique host entries for configuration checks
@devanshjainms devanshjainms requested a review from a team as a code owner October 27, 2025 18:52
Copy link

Copilot AI left a 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 unique filter
  • Enhanced disk parsing to recognize SAP-specific subdirectory mount points (e.g., /hana/data/SID)
  • Improved report file naming with test_group_invocation_id for 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

hdamecharla
hdamecharla previously approved these changes Oct 28, 2025
Copy link
Member

@hdamecharla hdamecharla left a comment

Choose a reason for hiding this comment

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

Approved

@devanshjainms devanshjainms merged commit d8b706d into Azure:development-oct-2025 Oct 28, 2025
6 checks passed
@devanshjainms devanshjainms deleted the configcheck-fixes branch October 28, 2025 23:28
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