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).
Zitat von farhad kh <farhad.khedriyan@xxxxxxxxx>:
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,run,shell,enter,ceph-volume,zap-osds,unit,logs,bootstrap,deploy,_orch,check-host,prepare-host,add-repo,rm-repo,install,registry-login,gather-facts,host-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@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx