Actions
Bug #51095
closedcephadm bootstrap will create two MGRs, if hostname is localhost.localdomain
Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
cephadm
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
➜ cephadm git:(master) ✗ hostname localhost.localdomain ➜ cephadm git:(master) ✗ hostname -f localhost ➜ cephadm git:(master) ✗ hostname --fqdn localhost
I ended up with
- mgr.localhost.xxxyyyzzz
- mgr.localhost.localdomain.jijijijiji
Updated by Redouane Kachach Elhichou almost 2 years ago
I tried to setup a similar environment:
[root@ceph-node-0 ~]# hostname ceph-node-0.localdomain [root@ceph-node-0 ~]# hostname -f ceph-node-0 [root@ceph-node-0 ~]# hostname --fqdn ceph-node-0 [root@ceph-node-0 ~]# [root@ceph-node-0 ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.100.100 ceph-node-0 ceph-node-0.localdomain [root@ceph-node-0 ~]# [root@ceph-node-0 ~]#
Using the code from master/quincy I cannot reproduce the issue using the following bootstrap command:
cephadm --image registry.hub.docker.com/rkachach/ceph:custom-v0.2 bootstrap --mon-ip 192.168.100.100 --initial-dashboard-password admin --allow-fqdn-hostname --dashboard-password-noupdate
I'm closing this issue. Please, feel free to re-open if you find an easy way to reproduce the problem.
Updated by Redouane Kachach Elhichou almost 2 years ago
- Status changed from New to Can't reproduce
Actions