Change hostname?

Dragon19

Active Member
Jan 4, 2020
49
9
28
34
The documents say you cant change the hostname if the server is in a cluster.

Ceph does not like my hostnames (MDS):

"
$ MDS id 'mds.01-8700k' is invalid. MDS names may not start with a numeric digit"

Do I actually need to reinstall my entire cluster? Or can this be salvaged.
 
you can also use pveceph commandline directly and choose a name for the mds

see 'man pveceph'
 
For anyone else who lands here (and my future self), I was able to resolve the issue with the hostname starting with an integer by removing the MDS that was automatically created: `pveceph mds destroy "[HOSTNAME]"` and create a new one with `pveceph mds create --name "[arbitrary name not starting with an integer]"`