os_must_gather
A role to gather openstack/openshift deployment logs using openstack-must-gather tool.
The openstack-must-gather image will be built and can be pushed to a repository if a change is detected in the openstack-must-gather repo. The new image will be used during the job run, testing the new changes.
Parameters
cifmw_os_must_gather_image: (String) The full url of openstack-must-gather container imagecifmw_os_must_gather_image_push: (bool) Flag to push image to registrycifmw_os_must_gather_image_registry: (string) hostname and project where the image should be pushedcifmw_os_must_gather_output_dir: (String) Directory to store logs generated by must-gather toolcifmw_os_must_gather_repo_path: (string) Path to local clone of openstack-must-gather git repocifmw_os_must_gather_timeout: (String) Timeout for must-gather commandcifmw_os_must_gather_sos_edpm: (String) Indicates where to run the SOS report. Default allcifmw_os_must_gather_host_network: (Bool) Flag to gather host network datacifmw_os_must_gather_namespaces: (List) List of namespaces required by the gather task in case of failurecifmw_os_must_gather_additional_namespaces: (String) List of comma separated additional namespaces. Defaults tokuttl,openshift-storage,sushy-emulatorcifmw_os_must_gather_volume_percentage: (int) Specify maximum percentage of must-gather pod’s allocated volume that can be used. If this limit is exceeded, must-gather will stop gathering, but still copy gathered data. Defaults to80cifmw_os_must_gather_omc: (bool) Enables the full gathering method. When set to false, a lightweight mode is used; when true, it performs a comprehensive data collection, which is more resource-intensive. Defaults tofalse
Examples
- name: Gather logs using os-must-gather tool
ansible.builtin.include_role:
role: os_must_gather