Support Workbook

Support Workbook

Workbook name:tripleo.support.v1

TripleO support workflows

Workflows in the Support Workbook

tripleo.support.v1.collect_logs

This workflow runs sosreport on the servers where their names match the provided server_name input. The logs are stored in the provided sos_dir.

Workflow inputs:

Input server_name:
 Required.
Input {‘sos_dir’:
 ‘/var/tmp/tripleo-sos’}: Required.
Input {‘sos_options’:
 ‘boot,cluster,hardware,kernel,memory,nfs,openstack,packagemanager,performance,services,storage,system,webserver,virt’}: Required.
Input {‘queue_name’:
 ‘tripleo’}: Required.
tripleo.support.v1.create_container

This work flow is used to check if the container exists and creates it if it does not exist.

Workflow inputs:

Input container:
 Required.
Input {‘queue_name’:
 ‘tripleo’}: Required.
tripleo.support.v1.delete_container

This workflow deletes all the objects in a provided swift container and then removes the container itself from the undercloud.

Workflow inputs:

Input container:
 Required.
Input {‘concurrency’:
 5}: Required.
Input {‘timeout’:
 900}: Required.
Input {‘queue_name’:
 ‘tripleo’}: Required.
tripleo.support.v1.fetch_logs

This workflow creates a container on the undercloud, executes the log collection on the servers whose names match the provided server_name, and executes the log upload process on all the servers to the container on the undercloud.

Workflow inputs:

Input server_name:
 Required.
Input container:
 Required.
Input {‘concurrency’:
 5}: Required.
Input {‘timeout’:
 1800}: Required.
Input {‘queue_name’:
 ‘tripleo’}: Required.
tripleo.support.v1.upload_logs

This workflow uploads the sosreport files stored in the provide sos_dir on the provided host (server_uuid) to a swift container on the undercloud

Workflow inputs:

Input server_uuid:
 Required.
Input server_name:
 Required.
Input container:
 Required.
Input {‘sos_dir’:
 ‘/var/tmp/tripleo-sos’}: Required.
Input {‘queue_name’:
 ‘tripleo’}: Required.
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.