Actions
Bug #53305
opentest_daemon_restart fails
Status:
New
Priority:
High
Assignee:
-
Category:
cephadm
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Test failure: test_daemon_restart (tasks.cephadm_cases.test_cli.TestCephadmCLI)
The problem is in cephadm:
2021-11-16T21:08:56.799+0000 7f3711297700 0 [cephadm INFO root] Schedule stop daemon osd.0 2021-11-16T21:08:56.799+0000 7f3711297700 0 [cephadm DEBUG root] _kick_serve_loop ... 2021-11-16T21:08:56.815+0000 7f36e6d1a700 0 [cephadm DEBUG cephadm.serve] _run_cephadm : command = unit 2021-11-16T21:08:56.815+0000 7f36e6d1a700 0 [cephadm DEBUG cephadm.serve] _run_cephadm : args = ['--name', 'osd.0', 'stop'] 2021-11-16T21:08:56.815+0000 7f36e6d1a700 0 [cephadm DEBUG root] osd.0 container image quay.ceph.io/ceph-ci/ceph@sha256:d632f308754c36bc4c4e691eaf17a08d520dbeff4aa8fb5b82155ce735fd77ba 2021-11-16T21:08:56.815+0000 7f36e6d1a700 0 [cephadm DEBUG cephadm.serve] args: --image quay.ceph.io/ceph-ci/ceph@sha256:d632f308754c36bc4c4e691eaf17a08d520dbeff4aa8fb5b82155ce735fd77ba unit --fsid 672363d0-4720-11ec-8c2c-001a4aab830c --name osd.0 stop 2021-11-16T21:08:56.815+0000 7f36e6519700 0 [cephadm DEBUG cephadm.ssh] Running command: sudo which python3 2021-11-16T21:08:56.831+0000 7f36e6519700 0 [cephadm DEBUG cephadm.ssh] Running command: sudo /usr/bin/python3 /var/lib/ceph/672363d0-4720-11ec-8c2c-001a4aab830c/cephadm.4fd955d0dbf0cdd56104823ef3e950293acaef76608980c02d37021d4c51ee67 --image quay.ceph.io/ceph-ci/ceph@sha256:d632f308754c36bc4c4e691eaf17a08d520dbeff4aa8fb5b82155ce735fd77ba unit --fsid 672363d0-4720-11ec-8c2c-001a4aab830c --name osd.0 stop 2021-11-16T21:09:02.747+0000 7f3711297700 0 [cephadm INFO root] Schedule start daemon osd.0 2021-11-16T21:09:02.747+0000 7f3711297700 0 [cephadm DEBUG cephadm.inventory] skipping starting osd.0, cause stop already scheduled. 2021-11-16T21:09:02.747+0000 7f3711297700 0 [cephadm DEBUG root] _kick_serve_loop 2021-11-16T21:09:02.951+0000 7f36e6d1a700 0 [cephadm DEBUG cephadm.serve] code: 0
the test waits for osd ceph state to be down to trigger start, but at that point cephadm is still stopping the unit, and it wno't schedule start while stop is scheduled (or in progress)
Updated by Redouane Kachach Elhichou almost 2 years ago
- Related to Bug #53345: Test failure: test_daemon_restart (tasks.cephadm_cases.test_cli.TestCephadmCLI) added
Actions