Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Petasan not comming online after reboot

Pages: 1 2

No difference.

ceph-mon.Storage01.log:
https://pastebin.com/rjcvkNmD

ceph-mon.storage01.server-host.local.log:
https://prnt.sc/AdWJTGv_pTgC

ceph-mon.storage02.server-host.local.log:
https://prnt.sc/Vdko6UzrW2sy

ceph-mon.storage03.server-host.local.log:
https://prnt.sc/Vdko6UzrW2sy

is the hostame Storage01 or storage01.server-host.local ?
has the hostname been changed ?
has there been changes to /etc/hosts or dns ?

The hostname is Storage01
I have a running domain "Server-host.local"
I haven't made any changes to the DNS/hostname
Its running on /etc/hosts/ no outside DNS
They all can ping each other on hostname

In the /etc/hosts:
10.30.0.13 Storage03
127.0.0.1 localhost
10.30.0.11 Storage01
10.30.0.12 Storage02

I have only made the change where a added a user "manager" and sudo permissions, and installed SSH-Key.

I have a running domain "Server-host.local"
I haven't made any changes to the DNS/hostname
Its running on /etc/hosts/ no outside DNS

This could be causing issues, the monitor database directory path includes the hostname, the logs show that it is searching for this path using the full fqn with domain name which does not exist, the directory that exists does not have the domain name as it was created before. The simplest solution is to remove this change and re-boot and see if the Ceph monitors will come up.

Consul (and maybe other services like gluster) are also not up, i am not sure if they failed because of this but maybe this will fix them.

 

I can see what you mean with the path error.

As you say it's looking for /var/lib/ceph/mon/ceph-storage01.server-host.local
but the directory is /var/lib/ceph/mon/ceph-storage01

What config file do I have to edit to make it stop using "/var/lib/ceph/mon/ceph-storage01.server-host.local"

this is dynamic computed based on hostname. so it is better to revert back the change. it is possible also it affected consul as well.

The /etc/hosts/ and /etc/hostname was correctly configured.
I just change the hostname from "Storage01" to "storage01" rebooted, changed it back again, and rebooted on all the servers.

Then everything started working again.

Thanks for your help, much appreciated.

Pages: 1 2