Petasan not comming online after reboot
Pages: 1 2
martinkp
10 Posts
October 21, 2022, 5:36 pmQuote from martinkp on October 21, 2022, 5:36 pmNo 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
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
admin
2,930 Posts
October 21, 2022, 6:11 pmQuote from admin on October 21, 2022, 6:11 pmis the hostame Storage01 or storage01.server-host.local ?
has the hostname been changed ?
has there been changes to /etc/hosts or dns ?
is the hostame Storage01 or storage01.server-host.local ?
has the hostname been changed ?
has there been changes to /etc/hosts or dns ?
martinkp
10 Posts
October 21, 2022, 10:33 pmQuote from martinkp on October 21, 2022, 10:33 pmThe 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.
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.
admin
2,930 Posts
October 21, 2022, 11:26 pmQuote from admin on October 21, 2022, 11:26 pmI 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 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.
martinkp
10 Posts
October 21, 2022, 11:59 pmQuote from martinkp on October 21, 2022, 11:59 pmI 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"
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"
admin
2,930 Posts
October 22, 2022, 12:25 amQuote from admin on October 22, 2022, 12:25 amthis is dynamic computed based on hostname. so it is better to revert back the change. it is possible also it affected consul as well.
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.
martinkp
10 Posts
October 22, 2022, 3:25 pmQuote from martinkp on October 22, 2022, 3:25 pmThe /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.
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
Petasan not comming online after reboot
martinkp
10 Posts
Quote from martinkp on October 21, 2022, 5:36 pmNo difference.
ceph-mon.Storage01.log:
https://pastebin.com/rjcvkNmDceph-mon.storage01.server-host.local.log:
https://prnt.sc/AdWJTGv_pTgCceph-mon.storage02.server-host.local.log:
https://prnt.sc/Vdko6UzrW2syceph-mon.storage03.server-host.local.log:
https://prnt.sc/Vdko6UzrW2sy
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
admin
2,930 Posts
Quote from admin on October 21, 2022, 6:11 pmis the hostame Storage01 or storage01.server-host.local ?
has the hostname been changed ?
has there been changes to /etc/hosts or dns ?
is the hostame Storage01 or storage01.server-host.local ?
has the hostname been changed ?
has there been changes to /etc/hosts or dns ?
martinkp
10 Posts
Quote from martinkp on October 21, 2022, 10:33 pmThe 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 hostnameIn the /etc/hosts:
10.30.0.13 Storage03
127.0.0.1 localhost
10.30.0.11 Storage01
10.30.0.12 Storage02I have only made the change where a added a user "manager" and sudo permissions, and installed SSH-Key.
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.
admin
2,930 Posts
Quote from admin on October 21, 2022, 11:26 pmI have a running domain "Server-host.local"
I haven't made any changes to the DNS/hostname
Its running on /etc/hosts/ no outside DNSThis 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 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.
martinkp
10 Posts
Quote from martinkp on October 21, 2022, 11:59 pmI 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-storage01What config file do I have to edit to make it stop using "/var/lib/ceph/mon/ceph-storage01.server-host.local"
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"
admin
2,930 Posts
Quote from admin on October 22, 2022, 12:25 amthis is dynamic computed based on hostname. so it is better to revert back the change. it is possible also it affected consul as well.
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.
martinkp
10 Posts
Quote from martinkp on October 22, 2022, 3:25 pmThe /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.
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.