Bug #37712
openFailed to execute command: systemctl enable ceph-mgr@
0%
Description
cat /etc/*release
PRETTY_NAME="Debian GNU/Linux buster/sid"
ceph manualy installed
apt-get install ceph
from default
deb http://mirror.corbina.net/debian/ buster main
ceph -v
ceph version 12.2.8 (ae699615bac534ea496ee965ac6192cb7e0e07c0) luminous (stable)
ceph-deploy --version
2.0.1
from
apt-get install python-pip
pip install ceph-deploy
ceph -s
cluster:
id: 8174d073-d7f9-4dc1-a238-d31e5af6beff
health: HEALTH_WARN
no active mgr
services:
mon: 3 daemons, quorum d10-mpv3,d10-mpv2,d10-mpv1
mgr: no daemons active
osd: 0 osds: 0 up, 0 in
data:
pools: 0 pools, 0 pgs
objects: 0 objects, 0B
usage: 0B used, 0B / 0B avail
pgs:
ceph-deploy mgr create d10-mpv1
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/user/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (2.0.1): /usr/local/bin/ceph-deploy mgr create d10-mpv1
[ceph_deploy.cli][INFO ] ceph-deploy options:
[ceph_deploy.cli][INFO ] username : None
[ceph_deploy.cli][INFO ] verbose : False
[ceph_deploy.cli][INFO ] mgr : [('d10-mpv1', 'd10-mpv1')]
[ceph_deploy.cli][INFO ] overwrite_conf : False
[ceph_deploy.cli][INFO ] subcommand : create
[ceph_deploy.cli][INFO ] quiet : False
[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf object at 0x7f2f95fb54d0>
[ceph_deploy.cli][INFO ] cluster : ceph
[ceph_deploy.cli][INFO ] func : <function mgr at 0x7f2f95fef578>
[ceph_deploy.cli][INFO ] ceph_conf : None
[ceph_deploy.cli][INFO ] default_release : False
[ceph_deploy.mgr][DEBUG ] Deploying mgr, cluster ceph hosts d10-mpv1:d10-mpv1
[d10-mpv1][DEBUG ] connection detected need for sudo
[d10-mpv1][DEBUG ] connected to host: d10-mpv1
[d10-mpv1][DEBUG ] detect platform information from remote host
[d10-mpv1][DEBUG ] detect machine type
[ceph_deploy.mgr][INFO ] Distro info: debian buster/sid sid
[ceph_deploy.mgr][DEBUG ] remote host will use systemd
[ceph_deploy.mgr][DEBUG ] deploying mgr bootstrap to d10-mpv1
[d10-mpv1][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[d10-mpv1][DEBUG ] create path recursively if it doesn't exist
[d10-mpv1][INFO ] Running command: sudo ceph --cluster ceph --name client.bootstrap-mgr --keyring /var/lib/ceph/bootstrap-mgr/ceph.keyring auth get-or-create mgr.d10-mpv1 mon allow profile mgr osd allow * mds allow * -o /var/lib/ceph/mgr/ceph-d10-mpv1/keyring
[d10-mpv1][INFO ] Running command: sudo systemctl enable ceph-mgr@d10-mpv1
[d10-mpv1][WARNIN] Failed to enable unit: Unit file ceph-mgr@d10-mpv1.service does not exist.
[d10-mpv1][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph_deploy.mgr][ERROR ] Failed to execute command: systemctl enable ceph-mgr@d10-mpv1
[ceph_deploy][ERROR ] GenericError: Failed to create 1 MGRs
systemctl enable ceph-mgr@d10-mpv1.service
Failed to enable unit: Unit file ceph-mgr@d10-mpv1.service does not exist
ls /lib/systemd/system/ceph<-->
ceph-disk@.service ceph-mon.target ceph-osd.target
ceph-mon@.service ceph-osd@.service ceph.target
where is ceph-mgr@ ?