New Charm: Ceph

Bug #803530 reported by Jorge Castro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ceph (Juju Charms Collection)
Fix Released
High
Clint Byrum

Bug Description

We need a formula for Ceph.

Here are the criteria for formulas: https://ensemble.ubuntu.com/Principia

Tags: hot new-charm
Jorge Castro (jorge)
tags: added: hot
Changed in principia:
importance: Undecided → Critical
Changed in principia:
importance: Critical → High
summary: - Formula Needed: Ceph
+ Charm Needed: Ceph
Changed in charm:
status: New → In Progress
assignee: nobody → Clint Byrum (clint-fewbar)
tags: added: new-charm
Changed in charm:
status: In Progress → Confirmed
summary: - Charm Needed: Ceph
+ New Charm: Ceph
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

The first skeleton of a fully featured ceph charm are included in the linked branch. Would appreciate some review. It requires some manual steps via ssh. Most notably, you must deploy and add units, then do:

juju set ceph root-ssh=yes

Then login to one of the nodes and do

sudo mkcephfs -a -c /etc/ceph/ceph.conf

After this, scaling up / down will require manual steps according to CEPH's documentation.

Also this runs mds and mon and osd on each node, which will work but only if there are an odd number of nodes.

Also not yet using cephx auth, so its quite open to attack.

Also if you turn on the optional RADOS s3 gateway:

juju set ceph rados-port=80

You will have an S3 interface on said port on all units. To create credentials, on any unit run 'sudo radosgw_admin' to generate the S3 credentials.

Leaving as 'new-charm' for comment before pushing to official list.

Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: [Bug 803530] Re: New Charm: Ceph

On Thu, Oct 13, 2011 at 2:34 AM, Clint Byrum <email address hidden> wrote:
> The first skeleton of a fully featured ceph charm are included in the
> linked branch. Would appreciate some review. It requires some manual
> steps via ssh.

For the ssh steps, it would be really nice to have a capistrano
charm/service/relation colocated on each of the nodes. Ideally, we'd
have a nice, clean, supportable way of doing this (spraying commands,
even as root, to a set of nodes).

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Disregard my comments about capistrano here. This is a separate issue, and me/Juan/Clint have discussed a pretty simple/cool way of doing juju+capistrano.

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Marking Fix Released. The ceph charm is there and official now, and at least moderately useful for automating scaling ceph UP. Scaling down is somewhat tricky! Also bootstrapping is quite clunky. The CEPH devs are aware of that and trying to get rid of the need for rsyncing things around.

Changed in charm:
status: Confirmed → Fix Released
affects: charm → ceph (juju Charms Collection)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.