On Tuesday, December 19, 2023 1:02:25 AM EST Eugen Block wrote: > The option ‚—image‘ is to be used for the cephadm command, not the > bootstrap command. So it should be like this: > > cephadm —image <your_registry> bootstrap… > > This is also covered by the link I provided (isolated environment). >
Agreed, I wrote the same in slack the other day to this individual, but looking closely at the docs there may be a "bug" because the instructions state to create an `initial-ceph.conf` file but doesn't use it later. Try the same command but with the `--config/-c` option and the initial- ceph.conf file. Like so: cephadm --image *<hostname>*:5000/ceph/ceph bootstrap --mon-ip *<mon-ip>* --config initial-ceph.conf In the meantime I think I will file a tracker issue to improve the steps 3 and 4 for "Deployment in an isolated environment" because the instructions are imprecise and do not cover a the ever-changing set of containers that cephadm can manage. > Zitat von farhad kh <farhad.khedri...@gmail.com>: > > > > hi,thank you for guidance > > > > > > > > There is no ability to change the global image before launching,I > > need to download the images from the private registry during the > > initial setup. > > i used option --image but it not worked. > > > > > > > > # cephadm bootstrap --image rgistry.test/ceph/ceph:v18 --mon-ip > > 192.168.0.160 --initial-dashboard-password P@ssw0rd > > --dashboard-password-noupdate --allow-fqdn-hostname --ssh-user > > cephadmin > > 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] > > [--timeout TIMEOUT] [--retry RETRY] [--env ENV] > > [--no-container-init] [--no-cgroups-split] > > > > > > > > {version,pull,inspect-image,ls,list-networks,adopt,rm-daemon,rm-cluster,ru > > n,shell,enter,ceph-volume,zap-osds,unit,logs,bootstrap,deploy,_orch,check- > > host,prepare-host,add-repo,rm-repo,install,registry-login,gather-facts,hos > > t-maintenance,agent,disk-rescan} > > > ... > > > > cephadm: error: unrecognized arguments: --image > > rgistry.test/ceph/ceph:v18 > > > > > > > > also i used cephadm registry-login and it show loged but when i > > bootstrap first node trying download image from quay registry. > > > > > > > > cephadm bootstrap --mon-ip 192.168.0.160 --registry-json > > /root/mylogin.json --initial-dashboard-password P@ssw0rd > > --dashboard-password-noupdate --allow-fqdn-hostname --ssh-user > > cephadmin > > Creating directory /etc/ceph for ceph.conf > > Verifying ssh connectivity using standard pubkey authentication ... > > Adding key to cephadmin@localhost authorized_keys... > > 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... > > docker (/usr/bin/docker) is present > > systemctl is present > > lvcreate is present > > Unit chronyd.service is enabled and running > > Host looks OK > > Cluster fsid: 3c00e38c-9e2e-11ee-95cd-000c29e9f44e > > Verifying IP 192.168.0.160 port 3300 ... > > Verifying IP 192.168.0.160 port 6789 ... > > Mon IP `192.168.0.160` is in CIDR network `192.168.0.0/24` > > Mon IP `192.168.0.160` is in CIDR network `192.168.0.0/24` > > Internal network (--cluster-network) has not been provided, OSD > > replication will default to the public_network > > Pulling custom registry login info from /root/mylogin.json. > > Logging into custom registry. > > Pulling container image quay.io/ceph/ceph:v18... > > > > > > > > > > befor i edited cephadm script but now file in coded and can't edited. > > and i don't know how can fix it :((( > > _______________________________________________ > > ceph-users mailing list -- ceph-users@ceph.io > > To unsubscribe send an email to ceph-users-le...@ceph.io > > > > _______________________________________________ > ceph-users mailing list -- ceph-users@ceph.io > To unsubscribe send an email to ceph-users-le...@ceph.io _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-le...@ceph.io