Project

General

Profile

Actions

Bug #47232

closed

mgr/dashboard/api: print logs when vstart fails

Added by Ernesto Puerta over 3 years ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
Testing - API
Target version:
% Done:

0%

Source:
Tags:
backport_processed
Backport:
nautilus, octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Some times the API tests fail and the only output a user gets is:

2020-08-31 14:57:01,212.212 INFO:__main__:Creating cluster with 1 MDS daemons
2020-08-31 14:57:01,212.212 INFO:__main__:
tearing down the cluster...
2020-08-31 14:57:01,212.212 INFO:__main__:Running ['../src/stop.sh']
2020-08-31 14:57:01,922.922 INFO:__main__:Running ['rm', '-rf', './dev', './out']
2020-08-31 14:57:01,929.929 INFO:__main__:Running ['../src/vstart.sh', '-n', '--nolockdep']
Build step 'Execute shell' marked build as failure
Setting status of 6440282a6c01fd79ddc90bda6383e47da2137b3e to FAILURE with url https://jenkins.ceph.com/job/ceph-api/2088/ and message: 'ceph API tests failed
 '
Using context: ceph API tests
Finished: FAILURE

That's because daemon logs are only dumped when the tests have already started, but if the error happens during the start up stage, no feedback is provided.


Related issues 3 (0 open3 closed)

Copied to Dashboard - Backport #47279: nautilus: mgr/dashboard/api: print logs when vstart failsRejectedActions
Copied to Dashboard - Backport #47280: octopus: mgr/dashboard/api: print logs when vstart failsResolvedErnesto PuertaActions
Copied to Dashboard - Bug #47285: mgr/dashboard/api: fix duplicate logsResolvedErnesto Puerta

Actions
Actions

Also available in: Atom PDF