Actions
Bug #53154
opent8y: cephadm: error: unrecognized arguments: --keep-logs
Status:
New
Priority:
Normal
Assignee:
-
Category:
teuthology
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
2021-11-03T13:15:09.452 DEBUG:teuthology.orchestra.run.smithi191:> sudo /home/ubuntu/cephtest/cephadm rm-cluster --fsid f2abfd4e-3ca4-11ec-8c28-001a4aab830c --force --keep-logs 2021-11-03T13:15:09.584 INFO:teuthology.orchestra.run.smithi191.stderr:usage: cephadm [-h] [--image IMAGE] [--docker] [--data-dir DATA_DIR] 2021-11-03T13:15:09.584 INFO:teuthology.orchestra.run.smithi191.stderr: [--log-dir LOG_DIR] [--logrotate-dir LOGROTATE_DIR] 2021-11-03T13:15:09.585 INFO:teuthology.orchestra.run.smithi191.stderr: [--unit-dir UNIT_DIR] [--verbose] [--timeout TIMEOUT] 2021-11-03T13:15:09.585 INFO:teuthology.orchestra.run.smithi191.stderr: [--retry RETRY] [--env ENV] [--no-container-init] 2021-11-03T13:15:09.585 INFO:teuthology.orchestra.run.smithi191.stderr: {version,pull,inspect-image,ls,list-networks,adopt,rm-daemon,rm-cluster,run,shell,enter,ceph-volume,unit,logs,bootstrap,deplo y,check-host,prepare-host,add-repo,rm-repo,install,registry-login,gather-facts} 2021-11-03T13:15:09.585 INFO:teuthology.orchestra.run.smithi191.stderr: ... 2021-11-03T13:15:09.585 INFO:teuthology.orchestra.run.smithi191.stderr:cephadm: error: unrecognized arguments: --keep-logs 2021-11-03T13:15:09.595 DEBUG:teuthology.orchestra.run:got remote process result: 2
Updated by Redouane Kachach Elhichou about 2 years ago
Cannot reproduce the issue on master(quincy). Keep-logs option works as expected (logs are kept after the cluster removal). Please, reopen if you can reproduce this issue.
Updated by Redouane Kachach Elhichou about 2 years ago
- Status changed from New to Closed
Updated by Radoslaw Zarzynski 3 months ago
/a/yuriw-2024-01-28_20:30:08-rados-pacific-release-distro-default-smithi/7536027
2024-01-28T21:51:26.356 DEBUG:teuthology.orchestra.run.smithi026:> sudo /home/ubuntu/cephtest/cephadm rm-cluster --fsid 20a03916-be23-11ee-95b3-87774f69a715 --force --keep-logs 2024-01-28T21:51:26.491 INFO:teuthology.orchestra.run.smithi026.stderr:usage: cephadm [-h] [--image IMAGE] [--docker] [--data-dir DATA_DIR] 2024-01-28T21:51:26.491 INFO:teuthology.orchestra.run.smithi026.stderr: [--log-dir LOG_DIR] [--logrotate-dir LOGROTATE_DIR] 2024-01-28T21:51:26.491 INFO:teuthology.orchestra.run.smithi026.stderr: [--unit-dir UNIT_DIR] [--verbose] [--timeout TIMEOUT] 2024-01-28T21:51:26.491 INFO:teuthology.orchestra.run.smithi026.stderr: [--retry RETRY] [--env ENV] 2024-01-28T21:51:26.491 INFO:teuthology.orchestra.run.smithi026.stderr: {version,pull,inspect-image,ls,list-networks,adopt,rm-daemon,rm-cluster,run,shell,enter,ceph-volume,unit,logs,bootstrap,deploy,check-host,prepare-host,add-repo,rm-repo,install,registry-login,gather-facts} 2024-01-28T21:51:26.491 INFO:teuthology.orchestra.run.smithi026.stderr: ... 2024-01-28T21:51:26.492 INFO:teuthology.orchestra.run.smithi026.stderr:cephadm: error: unrecognized arguments: --keep-logs
Updated by Laura Flores 3 months ago
- Status changed from Closed to New
/a/yuriw-2024-02-06_00:23:51-rados-wip-yuri10-testing-2024-02-02-1149-pacific-distro-default-smithi/7548089
2024-02-06T18:24:26.397 DEBUG:teuthology.orchestra.run.smithi149:> sudo /home/ubuntu/cephtest/cephadm rm-cluster --fsid e8ac69d2-c519-11ee-95b6-87774f69a715 --force --keep-logs
2024-02-06T18:24:26.535 INFO:teuthology.orchestra.run.smithi149.stderr:usage: cephadm [-h] [--image IMAGE] [--docker] [--data-dir DATA_DIR]
2024-02-06T18:24:26.536 INFO:teuthology.orchestra.run.smithi149.stderr: [--log-dir LOG_DIR] [--logrotate-dir LOGROTATE_DIR]
2024-02-06T18:24:26.536 INFO:teuthology.orchestra.run.smithi149.stderr: [--unit-dir UNIT_DIR] [--verbose] [--timeout TIMEOUT]
2024-02-06T18:24:26.536 INFO:teuthology.orchestra.run.smithi149.stderr: [--retry RETRY] [--env ENV] [--no-container-init]
2024-02-06T18:24:26.536 INFO:teuthology.orchestra.run.smithi149.stderr: {version,pull,inspect-image,ls,list-networks,adopt,rm-daemon,rm-cluster,run,shell,enter,ceph-volume,unit,logs,bootstrap,deploy,check-host,prepare-host,add-repo,rm-repo,install,registry-login,gather-facts}
2024-02-06T18:24:26.536 INFO:teuthology.orchestra.run.smithi149.stderr: ...
2024-02-06T18:24:26.536 INFO:teuthology.orchestra.run.smithi149.stderr:cephadm: error: unrecognized arguments: --keep-logs
2024-02-06T18:24:26.546 DEBUG:teuthology.orchestra.run:got remote process result: 2
2024-02-06T18:24:26.547 DEBUG:teuthology.orchestra.run.smithi134:> sudo rm -f /etc/ceph/ceph.conf /etc/ceph/ceph.client.admin.keyring
2024-02-06T18:24:26.575 DEBUG:teuthology.orchestra.run.smithi149:> sudo rm -f /etc/ceph/ceph.conf /etc/ceph/ceph.client.admin.keyring
2024-02-06T18:24:26.602 INFO:tasks.cephadm:Archiving crash dumps...
2024-02-06T18:24:26.603 DEBUG:teuthology.misc:Transferring archived files from smithi134:/var/lib/ceph/e8ac69d2-c519-11ee-95b6-87774f69a715/crash to /home/teuthworker/archive/yuriw-2024-02-06_00:23:51-rados-wip-yuri10-testing-2024-02-02-1149-pacific-distro-default-smithi/7548089/remote/ubuntu@smithi134.front.sepia.ceph.com/crash
2024-02-06T18:24:26.604 DEBUG:teuthology.orchestra.run.smithi134:> sudo tar c -f - -C /var/lib/ceph/e8ac69d2-c519-11ee-95b6-87774f69a715/crash -- .
2024-02-06T18:24:26.649 DEBUG:teuthology.misc:Transferring archived files from smithi149:/var/lib/ceph/e8ac69d2-c519-11ee-95b6-87774f69a715/crash to /home/teuthworker/archive/yuriw-2024-02-06_00:23:51-rados-wip-yuri10-testing-2024-02-02-1149-pacific-distro-default-smithi/7548089/remote/ubuntu@smithi149.front.sepia.ceph.com/crash
2024-02-06T18:24:26.650 DEBUG:teuthology.orchestra.run.smithi149:> sudo tar c -f - -C /var/lib/ceph/e8ac69d2-c519-11ee-95b6-87774f69a715/crash -- .
2024-02-06T18:24:26.686 INFO:tasks.cephadm:Checking cluster log for badness...
2024-02-06T18:24:26.696 DEBUG:teuthology.orchestra.run.smithi134:> sudo egrep '\[ERR\]|\[WRN\]|\[SEC\]' /var/log/ceph/e8ac69d2-c519-11ee-95b6-87774f69a715/ceph.log | egrep -v '\(MDS_ALL_DOWN\)' | egrep -v '\(MDS_UP_LESS_THAN_MAX\)' | head -n 1
2024-02-06T18:24:26.724 INFO:teuthology.orchestra.run.smithi134.stdout:2024-02-06T18:03:44.775139+0000 mon.smithi134 (mon.0) 67 : cluster [WRN] Health check failed: 2 stray daemon(s) not managed by cephadm (CEPHADM_STRAY_DAEMON)
Actions