Ceph deployment

Pshem Kowalczyk pshem.k at gmail.com
Thu Nov 19 22:04:06 UTC 2015


Hi,

I'm trying to deploy ceph and ceph-osd, however with this config:

ceph:
 source: cloud:trusty-liberty
 fsid: 015cc90c-8f06-11e5-be28-0050569axxxx
 monitor-secret: AQB3QU5WiW3GEhAAVLK19SNzR46kXXXXXXX==
 osd-devices: /dev/sdb
 osd-reformat: 'yes'

ceph-osd:
 source: cloud:trusty-liberty
 osd-devices: /dev/sdb
 osd-reformat: 'yes'

and a relation between ceph and ceph-osd I end up with status:
No block devices detected using current configuration

The devices are there and a closer inspection of ceph setup reveals that
the keys are not copied onto the ceph-osd nodes and ceph is failing with:

ERROR: osd init failed: (1) Operation not permitted

the only relation I have is ceph-osd:mon ceph:osd

ceph -s on the mon nodes gives:

# ceph -s
    cluster 015cc90c-8f06-11e5-be28-0050569a302e
     health HEALTH_ERR
            464 pgs stuck inactive
            464 pgs stuck unclean
            no osds
     monmap e1: 3 mons at {juju-machine-0-lxc-25=
10.0.11.79:6789/0,juju-machine-0-lxc-26=10.0.11.106:6789/0,juju-machine-0-lxc-27=10.0.11.107:6789/0
}
            election epoch 4, quorum 0,1,2
juju-machine-0-lxc-25,juju-machine-0-lxc-26,juju-machine-0-lxc-27
     osdmap e5: 0 osds: 0 up, 0 in
      pgmap v6: 464 pgs, 3 pools, 0 bytes data, 0 objects
            0 kB used, 0 kB / 0 kB avail
                 464 creating


any idea what I might be missing for the charms to work?

kind regards
Pshem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20151119/5412c62b/attachment.html>


More information about the Juju mailing list