Hi,

I have checked and confirmed that the monitor daemon is running and the socket file /var/run/ceph/ceph-mon.mon1.asok has been created. But the server messages is still showing the error.

====
Mar 22 00:47:38 mon1 ceph-create-keys: admin_socket: exception getting command descriptions: [Errno 2] No such file or directory Mar 22 00:47:38 mon1 ceph-create-keys: *INFO:ceph-create-keys:ceph-mon admin socket not ready yet*.
====

====
[root@mon1 ~]# ll /var/run/ceph/ceph-mon.mon1.asok
srwxr-xr-x. 1 ceph ceph 0 Mar 21 04:13*/var/run/ceph/ceph-mon.mon1.asok*
====

=====
[root@mon1 ~]# systemctl status [email protected][email protected] - Ceph cluster monitor daemon
Loaded: loaded (/usr/lib/systemd/system/[email protected]; enabled; vendor preset: disabled)
*Active: active (running*) since Tue 2017-03-21 04:13:20 PDT; 17h ago
 Main PID: 29746 (ceph-mon)
   CGroup: /system.slice/system-ceph\x2dmon.slice/[email protected]
└─29746 /usr/bin/ceph-mon -f --cluster ceph --id mon1 --setuser ceph --setgroup ceph

Mar 21 04:13:20 mon1.ihnetworks.com systemd[1]: Started Ceph cluster monitor daemon. Mar 21 04:13:20 mon1.ihnetworks.com systemd[1]: Starting Ceph cluster monitor daemon... Mar 21 04:13:20 mon1.ihnetworks.com ceph-mon[29746]: starting mon.mon1 rank 0 at 10.10.48.7:6789/0 mon_data /var/lib/ceph/mon/ceph-mon1 fsid ebac75fc-e631...cbcdd1d25 Mar 21 04:21:23 mon1.ihnetworks.com systemd[1]: [/usr/lib/systemd/system/[email protected]:24] Unknown lvalue 'TasksMax' in section 'Service' Mar 21 04:35:47 mon1.ihnetworks.com systemd[1]: [/usr/lib/systemd/system/[email protected]:24] Unknown lvalue 'TasksMax' in section 'Service' Mar 21 04:40:25 mon1.ihnetworks.com systemd[1]: [/usr/lib/systemd/system/[email protected]:24] Unknown lvalue 'TasksMax' in section 'Service' Mar 21 04:43:01 mon1.ihnetworks.com systemd[1]: [/usr/lib/systemd/system/[email protected]:24] Unknown lvalue 'TasksMax' in section 'Service' Mar 21 05:39:56 mon1.ihnetworks.com systemd[1]: [/usr/lib/systemd/system/[email protected]:24] Unknown lvalue 'TasksMax' in section 'Service'
Hint: Some lines were ellipsized, use -l to show in full.
=====


On 03/21/2017 11:34 PM, Wes Dillingham wrote:
Generally this means the monitor daemon is not running. Is the monitor daemon running? The monitor daemon creates the admin socket in /var/run/ceph/$socket

Elaborate on how you are attempting to deploy ceph.

On Tue, Mar 21, 2017 at 9:01 AM, Vince <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    I am getting the below error in messages after setting up ceph
    monitor.

    =======
    Mar 21 08:48:23 mon1 ceph-create-keys: admin_socket: exception
    getting command descriptions: [Errno 2] No such file or directory
    Mar 21 08:48:23 mon1 ceph-create-keys:
    INFO:ceph-create-keys:ceph-mon admin socket not ready yet.
    Mar 21 08:48:23 mon1 ceph-create-keys: admin_socket: exception
    getting command descriptions: [Errno 2] No such file or directory
    Mar 21 08:48:23 mon1 ceph-create-keys:
    INFO:ceph-create-keys:ceph-mon admin socket not ready yet.
    =======

    On checking the ceph-create-keys service status, getting the below
    error.

    =======
    [root@mon1 ~]# systemctl status [email protected]
    <mailto:[email protected]>
    ● [email protected]
    <mailto:[email protected]> - Ceph cluster key creator task
    Loaded: loaded (/usr/lib/systemd/system/[email protected];
    static; vendor preset: disabled)
    Active: inactive (dead) since Thu 2017-02-16 10:47:14 PST; 1
    months 2 days ago
    Condition: start condition failed at Tue 2017-03-21 05:47:42 PDT;
    2s ago
    ConditionPathExists=!/var/lib/ceph/bootstrap-mds/ceph.keyring was
    not met
    Main PID: 2576 (code=exited, status=0/SUCCESS)
    =======

    Have anyone faced this error before ?

    _______________________________________________
    ceph-users mailing list
    [email protected] <mailto:[email protected]>
    http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
    <http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com>




--
Respectfully,

Wes Dillingham
[email protected] <mailto:[email protected]>
Research Computing | Infrastructure Engineer
Harvard University | 38 Oxford Street, Cambridge, Ma 02138 | Room 210


_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to