Bug #52888
ceph-mon: stderr too many arguments: [--default-log-to-journald=true,--default-mon-cluster-log-to-journald=true]
Status:
Rejected
Priority:
Low
Assignee:
-
Category:
-
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
cmd: - cephadm - --image - quay.ceph.io/ceph-ci/daemon-base:latest-pacific-devel - bootstrap - --mon-ip - 192.168.30.10 - --skip-pull - --initial-dashboard-user - admin - --initial-dashboard-password - VALUE_SPECIFIED_IN_NO_LOG_PARAMETER - --skip-monitoring-stack delta: '0:00:35.237981' end: '2021-10-11 12:08:13.395685' rc: 1 start: '2021-10-11 12:07:38.157704' stderr: |- Verifying podman|docker is present... Verifying lvm2 is present... Verifying time synchronization is in place... Unit chronyd.service is enabled and running Repeating the final host check... podman (/bin/podman) version 3.2.3 is present systemctl is present lvcreate is present Unit chronyd.service is enabled and running Host looks OK Cluster fsid: d4061134-2a8b-11ec-bfc5-525400c05239 Verifying IP 192.168.30.10 port 3300 ... Verifying IP 192.168.30.10 port 6789 ... Mon IP `192.168.30.10` is in CIDR network `192.168.30.0/24` - internal network (--cluster-network) has not been provided, OSD replication will default to the public_network Ceph version: ceph version 16.2.6-210-gb56eac81 (b56eac81c3c91b10bbed736a3b40663b238eeb82) pacific (stable) Extracting ceph user uid/gid from container image... Creating initial keys... Creating initial monmap... Creating mon... Non-zero exit code 1 from /bin/podman run --rm --ipc=host --stop-signal=SIGTERM --net=host --entrypoint /usr/bin/ceph-mon --init -e CONTAINER_IMAGE=quay.ceph.io/ceph-ci/daemon-base:latest-pacific-devel -e NODE_NAME=mon0 -e CEPH_USE_RANDOM_NONCE=1 -v /var/log/ceph/d4061134-2a8b-11ec-bfc5-525400c05239:/var/log/ceph:z -v /var/lib/ceph/d4061134-2a8b-11ec-bfc5-525400c05239/mon.mon0:/var/lib/ceph/mon/ceph-mon0:z -v /tmp/ceph-tmpi69j5lvo:/tmp/keyring:z -v /tmp/ceph-tmpmtuz6to4:/tmp/monmap:z quay.ceph.io/ceph-ci/daemon-base:latest-pacific-devel --mkfs -i mon0 --fsid d4061134-2a8b-11ec-bfc5-525400c05239 -c /dev/null --monmap /tmp/monmap --keyring /tmp/keyring --setuser ceph --setgroup ceph --default-log-to-file=false --default-log-to-journald=true --default-log-to-stderr=false --default-mon-cluster-log-to-file=false --default-mon-cluster-log-to-journald=true --default-mon-cluster-log-to-stderr=false /usr/bin/ceph-mon: stderr too many arguments: [--default-log-to-journald=true,--default-mon-cluster-log-to-journald=true] Traceback (most recent call last): File "/sbin/cephadm", line 8055, in <module> main() File "/sbin/cephadm", line 8043, in main r = ctx.func(ctx) File "/sbin/cephadm", line 1787, in _default_image return func(ctx) File "/sbin/cephadm", line 4499, in command_bootstrap bootstrap_keyring.name, monmap.name) File "/sbin/cephadm", line 4074, in prepare_create_mon monmap_path: '/tmp/monmap:z', File "/sbin/cephadm", line 3442, in run desc=self.entrypoint, timeout=timeout) File "/sbin/cephadm", line 1467, in call_throws raise RuntimeError('Failed command: %s' % ' '.join(command)) RuntimeError: Failed command: /bin/podman run --rm --ipc=host --stop-signal=SIGTERM --net=host --entrypoint /usr/bin/ceph-mon --init -e CONTAINER_IMAGE=quay.ceph.io/ceph-ci/daemon-base:latest-pacific-devel -e NODE_NAME=mon0 -e CEPH_USE_RANDOM_NONCE=1 -v /var/log/ceph/d4061134-2a8b-11ec-bfc5-525400c05239:/var/log/ceph:z -v /var/lib/ceph/d4061134-2a8b-11ec-bfc5-525400c05239/mon.mon0:/var/lib/ceph/mon/ceph-mon0:z -v /tmp/ceph-tmpi69j5lvo:/tmp/keyring:z -v /tmp/ceph-tmpmtuz6to4:/tmp/monmap:z quay.ceph.io/ceph-ci/daemon-base:latest-pacific-devel --mkfs -i mon0 --fsid d4061134-2a8b-11ec-bfc5-525400c05239 -c /dev/null --monmap /tmp/monmap --keyring /tmp/keyring --setuser ceph --setgroup ceph --default-log-to-file=false --default-log-to-journald=true --default-log-to-stderr=false --default-mon-cluster-log-to-file=false --default-mon-cluster-log-to-journald=true --default-mon-cluster-log-to-stderr=false stderr_lines: <omitted> stdout: '' stdout_lines: <omitted>
Reason: This tries to use a quincy cephadm binary to bootstrap a pacific clutser.
History
#1 Updated by Sebastian Wagner over 2 years ago
- Priority changed from Normal to Low
#2 Updated by Redouane Kachach Elhichou over 1 year ago
- Status changed from New to Rejected
This tracker has been open for a long time and it lacks basic information such as what's the issue and what has to be solved! ... feel free to reopen if you think it's a real issue that should be fixed.