-
Notifications
You must be signed in to change notification settings - Fork 14
AFS fixes #143
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
AFS fixes #143
Conversation
…n filesystem data logging
…and-based, Azure-based, and module-based checks
…ASCS and APP roles; update disk task inclusion logic and improve HTML report layout
…e private IP retrieval in Azure Load Balancer module
…configuration validation
…tput for failed commands
…NFS address matching
hdamecharla
left a comment
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
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 pull request enhances the SAP Testing Automation Framework's configuration checks by expanding coverage to ASCS and APP roles, improving error handling in storage data collection, and standardizing debug output across HA modules. The changes focus on making disk/storage validation more comprehensive while improving observability and reporting clarity.
Key changes:
- Extended disk/storage checks to ASCS and APP roles in addition to HANA/DB2
- Enhanced AFS storage metadata collection with better error handling and DNS configuration
- Standardized debug logging to use
logsfield consistently across all check types
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| src/roles/configuration_checks/tasks/files/ascs.yml | Added five new checks (ASCS-0002 through ASCS-0006) for filesystem, disk, LVM, and ANF validation |
| src/roles/configuration_checks/tasks/files/app.yml | Added five new checks (APP-0008 through APP-0012) mirroring ASCS checks for APP role |
| src/roles/configuration_checks/tasks/main.yml | Expanded disk check triggers to include "ascs" and "app" roles; standardized debug output to use logs field |
| src/roles/configuration_checks/tasks/ha_modules.yml | Added debug output for HA module logs with proper conditional checks |
| src/roles/configuration_checks/tasks/disks.yml | Enhanced AFS storage account collection with error handling, privatelink DNS, and corrected quota field |
| src/modules/configuration_check_module.py | Extended filesystem collector invocation to ASCS and APP roles |
| src/module_utils/filesystem_collector.py | Added storage account name matching for AFS volumes |
| src/playbook_00_configuration_checks.yml | Removed test_group_invocation_id from report filename; standardized pip dependencies |
| src/playbook_00_ha_db_functional_tests.yml | Standardized pip dependencies order |
| src/playbook_00_ha_scs_functional_tests.yml | Added missing pip dependencies |
| src/playbook_01_ha_offline_tests.yml | Standardized pip dependencies order |
| src/modules/get_azure_lb.py | Reformatted multi-line expression to single line |
| src/templates/config_checks_report.html | Increased report container max-width from 1400px to 1800px |
| tests/modules/get_azure_lb_test.py | Reformatted list initialization to single line |
This pull request introduces significant improvements to the SAP configuration checks, focusing on expanding coverage for ASCS and APP roles, enhancing reporting and debugging, and improving robustness in disk and storage data collection. The changes ensure more comprehensive checks for SAP workloads, better error handling, and clearer report outputs.
Expanded SAP Checks for ASCS and APP Roles
ascs.ymlandapp.ymlto cover filesystem mount points, Azure disks, LVM groups/volumes, and ANF volumes, with output in table format for easier reporting. [1] [2] [3] [4]Reporting and Output Improvements
playbook_00_configuration_checks.ymlto removetest_group_invocation_id, simplifying the report name and debug output for better clarity.Robustness and Error Handling in Disk Collection
disks.yml, including checks for command failures and clearer error messages. Also, switched to using the privatelink DNS and updated quota field handling.Expanded Disk Checks Triggering
configuration_check_module.py) and Ansible (main.yml) to trigger disk checks for ASCS and APP roles in addition to HANA and DB2, ensuring these roles are included in disk-related validations. [1] [2]Enhanced Debug Logging for HA Modules
These changes collectively improve the reliability, coverage, and usability of SAP configuration checks for Azure environments.