-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
potentially invalid ceph.conf after moving monitors #199
Comments
Fixes: ceph#199 Signed-off-by: Ricardo Marques <rimarques@suse.com>
Fixes: ceph#199 Signed-off-by: Ricardo Marques <rimarques@suse.com>
Should be fixed by https://tracker.ceph.com/issues/45378 |
we had same issue during our testing, there is disconnection between 2 tools - At least show error ? Even |
@denisok Did you try running |
sure, it was hanging because ceph.conf pointed to the wrong ip, as |
The "ceph orch status" command is known to hang if /etc/ceph/ceph.conf on the host points to hosts that used to be MONs but are not anymore. It's debatable what an appropriate timeout is (30 seconds, more, less?) but commands that are known to hang should have an explicit timeout. References: ceph#199 Signed-off-by: Nathan Cutler <ncutler@suse.com>
OK, so when we run something like: This doesn't mean run mon also on these nodes but instead only run it on these nodes? because if that's the case, that doesn't seem intuitive to me. Changing it in /etc/ceph/ceph.conf to point at one of the new mons worked however. When I ran |
and even when we removed ceph.conf it did hang :)
looks like that is in some kind of salt state that tries to apply it over and over again ? disregarding that it fails ? we need kind of info and timeout probably ) |
I wonder if changing it to |
maybe, but some error message would be also nice |
|
Fixes: ceph#199 Signed-off-by: Ricardo Marques <rimarques@suse.com>
Fixes: ceph#199 Signed-off-by: Ricardo Marques <rimarques@suse.com>
Fixes: ceph#199 Signed-off-by: Ricardo Marques <rimarques@suse.com>
Fixes: ceph#199 Signed-off-by: Ricardo Marques <rimarques@suse.com>
Fixes: ceph#199 Signed-off-by: Ricardo Marques <rimarques@suse.com>
Fixes: ceph#199 Signed-off-by: Ricardo Marques <rimarques@suse.com>
Fixes: ceph#199 Signed-off-by: Ricardo Marques <rimarques@suse.com>
Fixes: ceph#199 Signed-off-by: Ricardo Marques <rimarques@suse.com>
Fixes: ceph#199 Signed-off-by: Ricardo Marques <rimarques@suse.com>
Fixes: ceph#199 Signed-off-by: Ricardo Marques <rimarques@suse.com>
Fixes: ceph#199 Signed-off-by: Ricardo Marques <rimarques@suse.com>
Fixes: ceph#199 Signed-off-by: Ricardo Marques <rimarques@suse.com>
Fixes: ceph#199 Signed-off-by: Ricardo Marques <rimarques@suse.com>
Fixes: ceph#199 Signed-off-by: Ricardo Marques <rimarques@suse.com>
I used ceph-salt to deploy bootstrap services on a master node. then used cephadm
to spin-up mons on node{1..3} with
cephadm orch apply mon node1,node2,node3
. Now, the master's ceph.conf is outdated(still pointing to the initial bootstrap mon), hence anyceph
command will hang as it's relying on the ceph.conf to retrieve the mon addresses.There is an cephadm tracker issue for a related issue already: https://tracker.ceph.com/issues/44792
The text was updated successfully, but these errors were encountered: