ome_diagnostics does not respect check_mode #345
Labels
area/ome-modular
OME-Modular modules
type/feature
A feature. This label is applied to a feature issues.
Milestone
Summary
When using the ome_diagnostics module and running the playbook in check mode, the full task is ran, logs are extracted, when the expectation is that in check_mode it would not actually run the task the results in files being created. Same happens with log_type: application or support_assist_collection
Component Name
ome_diagnostics
Ansible Version
iDRAC or OpenManage Enterprise version
OME-M version 1.30.00
Steps to Reproduce
Run a playbook that extracts logs from an MX7000 chassis group to a CIFS location with check mode enabled at the command prompt.
Playbook used
Expected Results
The expectation is that it will check if the task would run, but not actually run the log extract or at least not generate the output files in the destination folder. At a minimum it should just skip the task if check_mode is used and the module is unable to check, but there is a parameter to test the connection, so check mode could run only the test connection to ensure the destination path is valid and the parameters are valid but not actually run the extract log task.
Actual Results
Instead, the entire task runs in full, creating files and taking 8-15 minutes.
Community Note
to the original issue to help the community and maintainers prioritize this request
they generate extra noise for issue followers and do not help prioritize the request
The text was updated successfully, but these errors were encountered: