Re: airgap install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17.12.2021 11:06, Zoran Bošnjak wrote:
Kai, thank you for your answer. It looks like the "ceph config set
mgr..." commands are the key part, to specify my local registry.
However, I haven't got that far with the installation. I have tried
various options, but I have problems already with the bootstrap step.

I have documented the procedure (and the errors) here:
https://github.com/zoranbosnjak/ceph-install#readme

Would you please have a look and suggest corrections.

I have looked it over and checked the cephadm source code.


Ideally, I would like to run administrative commands from a dedicated
(admin) node... or alternatively to setup mon nodes to be able to run
administrative commands...

The bootstrap command you need to run on one of the nodes and/or the node you want the monitor to run on. After that you can install cephadm or ceph-common to use you admin node for the rest.

So the error you get is this
Non-zero exit code 22 from /usr/bin/docker run --rm --ipc=host --net=host --entrypoint /usr/bin/ceph -e CONTAINER_IMAGE=admin:5000/ceph/ceph:v16 -e NODE_NAME=node01 -v /var/log/ceph/da017daa-5f18-11ec-a05c-37b574681fc7:/var/log/ceph:z -v /tmp/ceph-tmph9jxliaz:/etc/ceph/ceph.client.admin.keyring:z -v /tmp/ceph-tmpsecch5kc:/etc/ceph/ceph.conf:z admin:5000/ceph/ceph:v16 orch host add node01 /usr/bin/ceph: stderr Error EINVAL: Can not automatically resolve ip address of host where active mgr is running. Please explicitly provide the address.

It is trying to find the IP address for the node01 but fails to do so.
So you need to look into you DNS settings so it possible to determine the IP for a hostname.

Checking for the IP is a reason change(16.2.6 or .7) https://github.com/ceph/ceph/pull/42772 to close this issue https://tracker.ceph.com/issues/51667


--
Kai Stian Olstad
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux