ceph改变节点ip后服务无法启动

ip改动无效,log中还是出现bind原来ip,

2020-11-25 15:29:29.273 7fd7738f1180  0 starting mon.cinder rank 0 at public addrs [v2:172.171.19.179:3300/0,v1:172.171.19.179:6789/0] at bind addrs [v2:172.171.19.179:3300/0,v1:172.171.19.179:6789/0] mon_data /var/lib/ceph/mon/ceph-cinder fsid 4059568d-b9bc-473d-b297-7082d5117be3
...
2020-11-25 15:29:39.284 7fd7738f1180 -1  Processor -- bind was unable to bind after 3 attempts: (99) Cannot assign requested address
2020-11-25 15:29:39.284 7fd7738f1180 -1 unable to bind monitor to [v2:172.171.19.179:3300/0,v1:172.171.19.179:6789/0]

需要用conf重新生成monmap,重新载入:
https://www.cnblogs.com/dengchj/p/12377802.html
重新启动服务出现uuid冲突,

2020-11-25 16:34:37.259 7f5d5f384180  1 mon.cinder@-1(???) e2 preinit fsid a52c9320-b4be-48d2-b875-640fca4bf0df
2020-11-25 16:34:37.259 7f5d5f384180 -1 mon.cinder@-1(???) e2 error: cluster_uuid file exists with value 4059568d-b9bc-473d-b297-7082d5117be3, != our uuid a52c9320-b4be-48d2-b875-640fca4bf0df
2020-11-25 16:34:37.259 7f5d5f384180 -1 failed to initialize
...

重新生成monmap:
https://blog.csdn.net/qq_23929673/article/details/98176377

你可能感兴趣的:(ceph改变节点ip后服务无法启动)