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:
objectMustGather 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
-
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_noobaa_diagnostics()¶ Verify noobaa diagnostics folder exist
-