bug in latest cephadm bootstrap: got an unexpected keyword argument 'verbose_on_failure'
Seems like someone is not testing cephadm on centos 7.9 Just tried installing cephadm from the repo, and ran cephadm bootstrap --mon-ip=xxx it blew up, with ceph TypeError: __init__() got an unexpected keyword argument 'verbose_on_failure' just after the firewall section. I happen to have a test cluser from a few months ago, and compared the code. Some added, in line 2348, " out, err, ret = call([self.cmd, '--permanent', '--query-port', tcp_port], verbose_on_failure=False)" this made the init fail, on my centos 7.9 system, freshly installed and updated today. # cephadm version ceph version 15.2.9 (357616cbf726abb779ca75a551e8d02568e15b17) octopus (stable) Simply commenting out that line makes it complete the cluster init like I remember. -- Philip Brown| Sr. Linux System Administrator | Medata, Inc. 5 Peters Canyon Rd Suite 250 Irvine CA 92606 Office 714.918.1310| Fax 714.918.1325 pbrown@medata.com| www.medata.com
Indeed. That is going to be fixed by https://github.com/ceph/ceph/pull/39633 Am 03.03.21 um 07:31 schrieb Philip Brown:
Seems like someone is not testing cephadm on centos 7.9
Just tried installing cephadm from the repo, and ran cephadm bootstrap --mon-ip=xxx
it blew up, with
ceph TypeError: __init__() got an unexpected keyword argument 'verbose_on_failure'
just after the firewall section.
I happen to have a test cluser from a few months ago, and compared the code.
Some added, in line 2348,
" out, err, ret = call([self.cmd, '--permanent', '--query-port', tcp_port], verbose_on_failure=False)"
this made the init fail, on my centos 7.9 system, freshly installed and updated today.
# cephadm version ceph version 15.2.9 (357616cbf726abb779ca75a551e8d02568e15b17) octopus (stable)
Simply commenting out that line makes it complete the cluster init like I remember.
-- Philip Brown| Sr. Linux System Administrator | Medata, Inc. 5 Peters Canyon Rd Suite 250 Irvine CA 92606 Office 714.918.1310| Fax 714.918.1325 pbrown@medata.com| www.medata.com _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
-- SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg). Geschäftsführer: Felix Imendörffer
participants (2)
-
Philip Brown
-
Sebastian Wagner