[root@localhost ~]# cephadm bootstrap --mon-ip 192.168.1.105Creatingdirectory/etc/cephforceph.confVerifyingpodman|dockerispresent...Verifyinglvm2ispresent...Verifyingtimesynchronizationisinplace...Unitchronyd.serviceisenabledandrunningRepeatingthefinalhostcheck...podman (/usr/bin/podman) version 5.1.0 is presentsystemctlispresentlvcreateispresentUnitchronyd.serviceisenabledandrunningHostlooksOKClusterfsid:dfa59dba-3948-11ef-8875-00155d016601Error:hostnameisafullyqualifieddomainname (localhost.localdomain);eitherfix (e.g., "sudo hostname localhost"orsimilar) or pass --allow-fqdn-hostname***************Cephadmhitanissueduringclusterinstallation.CurrentclusterfileswillNOTBEDELETEDautomaticallytochangethisbehaviouryoucanpassthe--cleanup-on-failure.Toremovethisbrokenclustermanuallypleaserun:>cephadmrm-cluster--force--fsiddfa59dba-3948-11ef-8875-00155d016601incase of any previous broken installation user must use the rm-cluster command to delete the broken cluster:>cephadmrm-cluster--force--zap-osds--fsid<fsid>for more information please refer to https://docs.ceph.com/en/latest/cephadm/operations/#purging-a-cluster***************ERROR:hostnameisafullyqualifieddomainname (localhost.localdomain);eitherfix (e.g., "sudo hostname localhost"orsimilar) or pass --allow-fqdn-hostname
[root@localhost ~]# cephadm bootstrap --mon-ip 192.168.1.105Verifyingpodman|dockerispresent...Verifyinglvm2ispresent...Verifyingtimesynchronizationisinplace...Unitchronyd.serviceisenabledandrunningRepeatingthefinalhostcheck...podman (/usr/bin/podman) version 5.1.0 is presentsystemctlispresentlvcreateispresentUnitchronyd.serviceisenabledandrunningHostlooksOKClusterfsid:f654a492-3949-11ef-910a-00155d016601VerifyingIP192.168.1.105port3300...VerifyingIP192.168.1.105port6789...MonIP`192.168.1.105`isinCIDRnetwork`192.168.1.0/24`MonIP`192.168.1.105`isinCIDRnetwork`192.168.1.0/24`Internalnetwork (--cluster-network) has not been provided, OSD replication will default to the public_networkPullingcontainerimagequay.io/ceph/ceph:v18...Cephversion:cephversion18.2.2 (531c0d11a1c5d39fbfe6aa8a521f023abf3bf3e2) reef (stable)Extractingcephuseruid/gidfromcontainerimage...Creatinginitialkeys...Creatinginitialmonmap...Creatingmon...firewalldreadyEnablingfirewalldserviceceph-monincurrentzone...Waitingformontostart...Waitingformon...monisavailableAssimilatinganythingwecanfromceph.conf...Generatingnewminimalceph.conf...Restartingthemonitor...Settingpublic_networkto192.168.1.0/24inmonconfigsectionWroteconfigto/etc/ceph/ceph.confWrotekeyringto/etc/ceph/ceph.client.admin.keyringCreatingmgr...Verifyingport0.0.0.0:9283...Verifyingport0.0.0.0:8765...Verifyingport0.0.0.0:8443...firewalldreadyEnablingfirewalldservicecephincurrentzone...firewalldreadyEnablingfirewalldport9283/tcpincurrentzone...Enablingfirewalldport8765/tcpincurrentzone...Enablingfirewalldport8443/tcpincurrentzone...Waitingformgrtostart...Waitingformgr...mgrnotavailable,waiting (1/15)...mgrnotavailable,waiting (2/15)...mgrnotavailable,waiting (3/15)...mgrnotavailable,waiting (4/15)...mgrnotavailable,waiting (5/15)...mgrisavailableEnablingcephadmmodule...Waitingforthemgrtorestart...Waitingformgrepoch5...mgrepoch5isavailableSettingorchestratorbackendtocephadm...Generatingsshkey...WrotepublicSSHkeyto/etc/ceph/ceph.pubAddingkeytoroot@localhostauthorized_keys...Addinghostvm-c01...Deployingmonservicewithdefaultplacement...Deployingmgrservicewithdefaultplacement...Deployingcrashservicewithdefaultplacement...Deployingceph-exporterservicewithdefaultplacement...Deployingprometheusservicewithdefaultplacement...Deployinggrafanaservicewithdefaultplacement...Deployingnode-exporterservicewithdefaultplacement...Deployingalertmanagerservicewithdefaultplacement...Enablingthedashboardmodule...Waitingforthemgrtorestart...Waitingformgrepoch9...mgrepoch9isavailableGeneratingadashboardself-signedcertificate...Creatinginitialadminuser...Fetchingdashboardportnumber...firewalldreadyCephDashboardisnowavailableat:URL:https://vm-c01:8443/User:adminPassword:------Enablingclient.adminkeyringandconfonhostswith"admin"labelSavingclusterconfigurationto/var/lib/ceph/f654a492-3949-11ef-910a-00155d016601/configdirectoryEnablingautotuneforosd_memory_targetYoucanaccesstheCephCLIasfollowingincaseofmulti-clusterornon-defaultconfig:sudo/usr/sbin/cephadmshell--fsidf654a492-3949-11ef-910a-00155d016601-c/etc/ceph/ceph.conf-k/etc/ceph/ceph.client.admin.keyringOr,ifyouareonlyrunningasingleclusteronthishost:sudo/usr/sbin/cephadmshellPleaseconsiderenablingtelemetrytohelpimproveCeph:cephtelemetryonFormoreinformationsee:https://docs.ceph.com/en/latest/mgr/telemetry/Bootstrapcomplete.