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 #1

Updated by Ernesto Puerta over 3 years ago

  • Status changed from New to In Progress
  • Assignee changed from Laura Paduano to Ernesto Puerta
Actions #2

Updated by Ernesto Puerta over 3 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 36923
Actions #3

Updated by Lenz Grimmer over 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #47279: nautilus: mgr/dashboard/api: print logs when vstart fails added
Actions #5

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #47280: octopus: mgr/dashboard/api: print logs when vstart fails added
Actions #6

Updated by Ernesto Puerta over 3 years ago

As a side effect of this, now logs are printed twice in other situations. Need more time to check it.

Actions #7

Updated by Ernesto Puerta over 3 years ago

  • Copied to Bug #47285: mgr/dashboard/api: fix duplicate logs added
Actions #8

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from API Tests to Testing - API
Actions #9

Updated by Backport Bot almost 2 years ago

  • Tags set to backport_processed
Actions #10

Updated by Konstantin Shalygin about 1 year ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF