failed to connect calamari to ceph node
- Dominant language
- Python
- Stars
- 345
- Forks
- 175
- PR merge metrics
- No merged PRs in 30d
Description
After running the command `sudo calamari-ctl initialize`, I visited the website of calamari.
It showed "This appears to be the first time you have started Calamari and there are no clusters currently configured.”
I ran `ceph-deploy calamari connect ceph1 ceph2 ceph3` and the information is all right like this:
wangx@ceph-calamari:~/ice$ ceph-deploy calamari connect ceph2 ceph3
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/wangx/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.31): /usr/local/bin/ceph-deploy calamari connect ceph2 ceph3
[ceph_deploy.cli][INFO ] ceph-deploy options:
[ceph_deploy.cli][INFO ] username : None
[ceph_deploy.cli][INFO ] verbose : False
[ceph_deploy.cli][INFO ] overwrite_conf : False
[ceph_deploy.cli][INFO ] subcommand : connect
[ceph_deploy.cli][INFO ] quiet : False
[ceph_deploy.cli][INFO ] cd_conf :
[ceph_deploy.cli][INFO ] cluster : ceph
[ceph_deploy.cli][INFO ] master : None
[ceph_deploy.cli][INFO ] func :
[ceph_deploy.cli][INFO ] ceph_conf : None
[ceph_deploy.cli][INFO ] hosts : ['ceph2', 'ceph3']
[ceph_deploy.cli][INFO ] default_release : False
[ceph2][DEBUG ] connection detected need for sudo
[ceph2][DEBUG ] connected to host: ceph2
[ceph2][DEBUG ] detect platform information from remote host
[ceph2][DEBUG ] detect machine type
[ceph_deploy.calamari][INFO ] Distro info: Ubuntu 14.04 trusty
[ceph_deploy.calamari][INFO ] assuming that a repository with Calamari packages is already configured.
[ceph_deploy.calamari][INFO ] Refer to the docs for examples (http://ceph.com/ceph-deploy/docs/conf.html)
[ceph2][DEBUG ] creating config dir: /etc/salt/minion.d
[ceph2][DEBUG ] creating the calamari salt config: /etc/salt/minion.d/calamari.conf
[ceph2][INFO ] Running command: sudo env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get --assume-yes -q --no-install-recommends install salt-minion
[ceph2][DEBUG ] Reading package lists...
[ceph2][DEBUG ] Building dependency tree...
[ceph2][DEBUG ] Reading state information...
[ceph2][DEBUG ] salt-minion is already the newest version.
[ceph2][DEBUG ] 0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
[ceph3][DEBUG ] connection detected need for sudo
[ceph3][DEBUG ] connected to host: ceph3
[ceph3][DEBUG ] detect platform information from remote host
[ceph3][DEBUG ] detect machine type
[ceph_deploy.calamari][INFO ] Distro info: Ubuntu 14.04 trusty
[ceph_deploy.calamari][INFO ] assuming that a repository with Calamari packages is already configured.
[ceph_deploy.calamari][INFO ] Refer to the docs for examples (http://ceph.com/ceph-deploy/docs/conf.html)
[ceph3][DEBUG ] creating config dir: /etc/salt/minion.d
[ceph3][DEBUG ] creating the calamari salt config: /etc/salt/minion.d/calamari.conf
[ceph3][INFO ] Running command: sudo env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get --assume-yes -q --no-install-recommends install salt-minion
[ceph3][DEBUG ] Reading package lists...
[ceph3][DEBUG ] Building dependency tree...
[ceph3][DEBUG ] Reading state information...
[ceph3][DEBUG ] salt-minion is already the newest version.
[ceph3][DEBUG ] 0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
However, when I visit the website of calamari, it still shows that This appears to be the first time you have started Calamari and there are no clusters currently configured. How should I fix this? Thank you.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing `sudo calamari-ctl initialize` and `ceph-deploy calamari connect ceph2 ceph3`, then inspect the Calamari and Salt status or logs to determine why the nodes are not registered. Done means the connected Ceph cluster appears in the Calamari website instead of the first-start message.
Written by the indexing model from the issue text.
Assessment
- Domain
- devops, observability-sre
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100