Description of problem: ======================= In RHCS 6 we decided to continue the support for "--yes-i-know" flag[https://bugzilla.redhat.com/show_bug.cgi?id=2073030]. But in RHCS 8, when the flag is passed to the command, it fails with below error - # cephadm --verbose --image registry-proxy.engineering.redhat.com/rh-osbs/rhceph:ceph-8.0-rhel-9-containers-candidate-34840-20240918232232 bootstrap --mon-ip 10.70.44.131 --registry-url subscription.rhsm.redhat.com:443 --registry-username qa --registry-password MTQj5t3n5K86p3gH --yes-i-know usage: cephadm [-h] [--image IMAGE] [--docker] [--data-dir DATA_DIR] [--log-dir LOG_DIR] [--logrotate-dir LOGROTATE_DIR] [--sysctl-dir SYSCTL_DIR] [--unit-dir UNIT_DIR] [--verbose] [--log-dest {file,syslog}] [--timeout TIMEOUT] [--retry RETRY] [--env ENV] [--no-container-init] [--no-cgroups-split] {version,pull,inspect-image,ls,list-networks,adopt,rm-daemon,rm-cluster,run,shell,enter,ceph-volume,zap-osds,unit,unit-install,logs,bootstrap,deploy,_orch,check-host,prepare-host,add-repo,rm-repo,install,registry-login,gather-facts,host-maintenance,agent,disk-rescan,sos} ... cephadm: error: unrecognized arguments: --yes-i-know Version-Release number of selected component (if applicable): ============================================================= # rpm -qa | grep cephadm cephadm-ansible-3.2.0-1.el9cp.noarch cephadm-19.1.1-62.el9cp.noarch # cat /etc/yum.repos.d/rh_ceph.repo [ceph-Tools] name=ceph-Tools baseurl=http://download-01.beak-001.prod.iad2.dc.redhat.com/rhel-9/composes/auto/ceph-8.0-rhel-9/RHCEPH-8.0-RHEL-9-20240918.ci.7/compose/Tools/x86_64/os/ gpgcheck=0 enabled=1 How reproducible: ================= Always Steps to Reproduce: ================= 1. Run cephadm bootstrap command with flag "--yes-i-know" e.g. cephadm bootstrap --cluster-network NETWORK_CIDR --mon-ip IP_ADDRESS --registry-url registry.redhat.io --registry-username USER_NAME --registry-password PASSWORD --yes-i-know Actual results: =============== Bootstrap command fails with "unrecognized arguments: --yes-i-know" error. Expected results: =============== Command should be successful. Additional info: =============== Flag is NOT supported in RHCS 8.0 and RHCS 7 as well. Squid/8.0 cluster - [root@localhost cephadm-ansible]# cephadm bootstrap --help | grep yes-i-know [root@localhost cephadm-ansible]# Reef/7.x cluster - [root@ceph-vpap-71-q3drn6-node1-installer ~]# cephadm bootstrap --help | grep yes-i-know [root@ceph-vpap-71-q3drn6-node1-installer ~]# Quincy/6.x cluster - [root@ceph-saraut-clt7ko-node4 ~]# cephadm bootstrap --help | grep yes-i-know [--yes-i-know] --yes-i-know deprecated flag only here for backwards compatibility [root@ceph-saraut-clt7ko-node4 ~]#
Hi Adam Please confirm if this needs to go in the 8.0 release notes. If so, please provide the doc text. Thanks.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat Ceph Storage 8.0 security, bug fix, and enhancement updates), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2024:10216