Re: Cannot Create MGR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 28, 2018 at 5:21 PM, Georgios Dimitrakakis
<giorgis@xxxxxxxxxxxx> wrote:
> All,
>
> I have updated my test ceph cluster from Jewer (10.2.10) to Luminous
> (12.2.4) using CentOS packages.
>
> I have updated all packages, restarted all services with the proper order
> but I get a warning that the Manager Daemon doesn't exist.
>
> Here is the output:
>
> # ceph -s
>   cluster:
>     id:     d357a551-5b7a-4501-8d8f-009c63b2c972
>     health: HEALTH_WARN
>             no active mgr
>
>   services:
>     mon: 1 daemons, quorum controller
>     mgr: no daemons active
>     osd: 2 osds: 2 up, 2 in
>
>   data:
>     pools:   0 pools, 0 pgs
>     objects: 0 objects, 0 bytes
>     usage:   0 kB used, 0 kB / 0 kB avail
>     pgs:
>
>
> While at the same time the system service is up and running
>
> # systemctl status ceph-mgr.target
> ● ceph-mgr.target - ceph target allowing to start/stop all ceph-mgr@.service
> instances at once
>    Loaded: loaded (/usr/lib/systemd/system/ceph-mgr.target; enabled; vendor
> preset: enabled)
>    Active: active since Wed 2018-02-28 18:57:13 EET; 12min ago
>
>
> I understand that I have to add a new MGR but when I try to do it via
> "ceph-deploy" it fails with the following error:
>
>
> # ceph-deploy mgr create controller
> usage: ceph-deploy [-h] [-v | -q] [--version] [--username USERNAME]
>                    [--overwrite-conf] [--cluster NAME] [--ceph-conf
> CEPH_CONF]
>                    COMMAND ...
> ceph-deploy: error: argument COMMAND: invalid choice: 'mgr' (choose from
> 'new', 'install', 'rgw', 'mon', 'mds', 'gatherkeys', 'disk', 'osd', 'admin',
> 'repo', 'config', 'uninstall', 'purge', 'purgedata', 'calamari',
> 'forgetkeys', 'pkg')

You probably have an older version of ceph-deploy, from before it knew
how to create mgr daemons.

John

>
>
> where "controller" is the node where ceph monitor is already running.
>
>
> Any ideas why I cannot do it via "ceph-deploy" and what do I have to do to
> have it back in a healthy state?
>
>
> I am running CentOS 7.4.1708 (Core).
>
> Best,
>
> G.
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux