I had to run "salt-call state.highstate” on my ceph nodes.
Also, if you’re running giant you’ll have to make a small change to get your
disk stats to show up correctly.
/opt/calamari/venv/lib/python2.6/site-packages/calamari_rest_api-0.1-py2.6.egg/calamari_rest/views/v1.py
$ diff v1.py v1.py.ori
105c105
< return kb
---
> return kb * 1024
111,113c111,113
< 'used_bytes':
to_bytes(get_latest_graphite(df_path('total_used_bytes'))),
< 'capacity_bytes':
to_bytes(get_latest_graphite(df_path('total_bytes'))),
< 'free_bytes':
to_bytes(get_latest_graphite(df_path('total_avail_bytes')))
---
> 'used_bytes':
> to_bytes(get_latest_graphite(df_path('total_used'))),
> 'capacity_bytes':
> to_bytes(get_latest_graphite(df_path('total_space'))),
> 'free_bytes':
> to_bytes(get_latest_graphite(df_path('total_avail')))
Michael Kuriger
[email protected]
818-649-7235
MikeKuriger (IM)
From: Shain Miley <[email protected]<mailto:[email protected]>>
Date: Friday, November 21, 2014 at 8:51 AM
To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: [ceph-users] Calamari install issues
Hello all,
I followed the setup steps provided here:
http://karan-mj.blogspot.com/2014/09/ceph-calamari-survival-guide.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__karan-2Dmj.blogspot.com_2014_09_ceph-2Dcalamari-2Dsurvival-2Dguide.html&d=AAMCAw&c=lXkdEK1PC7UK9oKA-BBSI8p1AamzLOSncm6Vfn0C_UQ&r=CSYA9OS6Qd7fQySI2LDvlQ&m=MmG78XqRA2sufaWDNcd4O54jQUGlQ4vbQYBK1457kFE&s=0x3U3gdO2UjIioyXC6rezJ1hLoXm1MCjNG1LI3PdUE8&e=>
I was able to build and install everything correctly as far as I can
tell...however I am still not able to get the server to see the cluster.
I am getting the following errors after I log into the web gui:
4 Ceph servers are connected to Calamari, but no Ceph cluster has been created
yet.
The ceph nodes have salt installed and are being managed by the salt-master:
root@calamari:/home/# salt-run manage.up
hqceph1.npr.org
hqceph2.npr.org
hqceph3.npr.org
hqosd1.npr.org
However something still seems to be missing:
root@calamari:/home/# salt '*' test.ping; salt '*' ceph.get_heartbeats
hqceph1.npr.org:
True
hqceph2.npr.org:
True
hqosd1.npr.org:
True
hqceph3.npr.org:
True
hqceph1.npr.org:
'ceph.get_heartbeats' is not available.
hqceph3.npr.org:
'ceph.get_heartbeats' is not available.
hqceph2.npr.org:
'ceph.get_heartbeats' is not available.
hqosd1.npr.org:
'ceph.get_heartbeats' is not available.
Any help trying to move forward would be great!
Thanks in advance,
Shain
--
[NPR] | Shain Miley| Manager of Systems and Infrastructure, Digital Media |
[email protected]<mailto:[email protected]> | p: 202-513-3649
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com