ocs_ci.ocs.must_gather package
Submodules
ocs_ci.ocs.must_gather.const_must_gather module
The Procedure to add new version: 1.New Version created 2.Add the new version to GATHER_COMMANDS_VERSION dictionary 3.Ask the developer about new files on new version 4.Add file names to relevant list
ocs_ci.ocs.must_gather.must_gather module
- class ocs_ci.ocs.must_gather.must_gather.MustGather
Bases:
object
MustGather Class
- check_pod_name_pattern(pod_name)
check Pod Name Pattern
- Parameters:
pod_name (str) – pod name
- Returns:
True if match pattern, False otherwise
- Return type:
bool
- cleanup()
Delete temporary folder.
- collect_must_gather()
Collect ocs_must_gather and copy the logs to a temporary folder.
- compare_running_pods()
Compare running pods list to “/pods” subdirectories
- property log_type
- print_invalid_files()
Print Invalid Files
- print_must_gather_debug() None
- search_file_path()
Search File Path
- validate_expected_files()
Make sure all the relevant files exist
- validate_file_size()
Validate the file is not empty
- validate_must_gather()
Validate must-gather
- verify_ceph_file_content()
Verify ceph command does not return an error https://bugzilla.redhat.com/show_bug.cgi?id=2014849 https://bugzilla.redhat.com/show_bug.cgi?id=2021427
- verify_noobaa_diagnostics()
Verify noobaa diagnostics folder exist