Symptoms
Problem-report creation finishes successfully, but report ID is defined as null:
# vinfra cluster problem-report --send +---------+--------------------------------------+ | Field | Value | +---------+--------------------------------------+ | task_id | f5cace3a-3c10-48e8-8a55-196af717ed9c | +---------+--------------------------------------+ # vinfra task show f5cace3a-3c10-48e8-8a55-196af717ed9c +---------+---------------------------------------------------------------------------+ | Field | Value | +---------+---------------------------------------------------------------------------+ | details | | | name | backend.presentation.reports.tasks.ReportProblemTask | | result | id: null | | | path: /var/cache/problem-reports/report-2020-03-04T11:43:04.065092.tar.gz | | state | success | | task_id | f5cace3a-3c10-48e8-8a55-196af717ed9c | +---------+---------------------------------------------------------------------------+
When checking file existence, there is no such report created in /var/cache/problem-reports/:
# find /var/cache/problem-reports/ -type f -name "*tar.gz" -cmin -20 | grep -c . 0
Cause:
There might be an issue resolving domain name of virtuozzo servers, or with connecting to the servers, or you haven't defined key "--send".
Resolution
Get current master node with:
# vinfra node list -f value | awk '$3~/True/ {print $2}'
Reports are stored on the master node after the task completes:
# find /var/cache/problem-reports/ -type f -name "*tar.gz" -cmin -20 | grep -c . 1
Provide support team with generated report.
Diagnostic steps
Check that your nodes can resolve domain "virtuozzo.com":
# host virtuozzo.com
Check that you defined key "--send"
# vinfra cluster problem-report --send
Check that you are on current master node if report was failed to sent:
# vinfra node list # search for the "Is_primary" node in list.