4.9. Sending Problem Reports

4.9.1. Syntax

usage: vinfra cluster problem-report [-h] [-f {json,table,value,yaml}]
                                     [-c COLUMN] [--wait]
                                     [--timeout <seconds>] [--email <email>]
                                     [--description <description>] [--send]

Generate and send a problem report.

optional arguments:
  -h, --help            show this help message and exit
  --email <email>       Contact email address
  --description <description>
                        Problem description
  --send                Generate the problem report archive andsend it to the
                        technical support team.
...

4.9.2. Sample Output

This commands creates a task to send a problem report with the description “Test report” to the technical support team and use test@example.com as a reply-to address. Note the problem report ID in the task details. You will need to mention it in the support ticket.

# vinfra cluster problem-report --email test@example.com --description "Test report" --send
+---------+--------------------------------------+
| Field   | Value                                |
+---------+--------------------------------------+
| task_id | 8bcfb92f-f02b-4de8-8e44-3426047630e3 |
+---------+--------------------------------------+

Task outcome:

+---------+---------------------------------------------------------------------------+
| Field   | Value                                                                     |
+---------+---------------------------------------------------------------------------+
| details |                                                                           |
| name    | backend.presentation.reports.tasks.ReportProblemTask                      |
| result  | id: '1001923113'                                                          |
|         | path: /var/cache/problem-reports/report-2018-12-10T15:33:23.391329.tar.gz |
| state   | success                                                                   |
| task_id | 37d5c13a-001c-4789-8242-96825a17deda                                      |
+---------+---------------------------------------------------------------------------+