All of lore.kernel.org
 help / color / mirror / Atom feed
From: Loic Dachary <loic@dachary.org>
To: Ceph Development <ceph-devel@vger.kernel.org>
Cc: Dan Bode <bodepd@gmail.com>
Subject: OpenStack and ceph integration with puppet
Date: Tue, 08 Oct 2013 16:17:02 +0200	[thread overview]
Message-ID: <525413DE.9090405@dachary.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1823 bytes --]

Hi Ceph,

Binding ceph to cinder and glance using puppet requires three steps:

* Deploy ceph ( with ceph-deploy, puppet, chef ... )

* Follow the ceph documentation instructions ( valid for both cinder and glance )

  http://ceph.com/docs/next/rbd/rbd-openstack/

* Part of the above instructions can be skipped if the following are used

  https://github.com/stackforge/puppet-glance/blob/stable/grizzly/manifests/backend/rbd.pp
  https://github.com/stackforge/puppet-cinder/blob/stable/grizzly/manifests/volume/rbd.pp

  They take care of installing a package on the glance and cinder node and writing the cinder and glance config files.

* Upgrading the librbd on the compute hosts to match the version of the cluster ( ubuntu precise has bobtail but you may want at least cuttlefish )

I would be delighted to know if there is a simpler way. If not, would it make sense to provide the puppet master with the IP of the monitors and admin rights so that it can automate http://ceph.com/docs/next/rbd/rbd-openstack/ ?

  * install ceph-common on cinder hosts and python-ceph on glance hosts
  * set the monitor addresses
  * copy the keyring to cinder / glance
  * create the client.volumes / client.images users ( support <= 0.53 ? )
  * upgrade the librbd package on the compute hosts to the version matching the cluster
  * virsh secret-set-value the volume key on each compute host
  * reload glance/nova/cinder where appropriate

The puppet master could even refresh the list of monitors from time to time and update the cinder/glance nodes accordingly. And it could do the right thing depending on the target openstack version and ceph version.

Thoughts ?

-- 
Loïc Dachary, Artisan Logiciel Libre
All that is necessary for the triumph of evil is that good people do nothing.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

             reply	other threads:[~2013-10-08 14:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-08 14:17 Loic Dachary [this message]
2013-10-08 14:47 ` OpenStack and ceph integration with puppet Sébastien Han
2013-10-08 18:03   ` Loic Dachary
2013-10-08 23:26     ` Dmitry Borodaenko
2013-10-09 21:30       ` Loic Dachary
2013-10-09 23:58         ` Dmitry Borodaenko
2013-10-08 15:20 ` Don Talton (dotalton)
2013-10-09 21:46   ` Loic Dachary
2013-10-10 15:43     ` Loic Dachary
2013-10-10 17:55       ` Alfredo Deza

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=525413DE.9090405@dachary.org \
    --to=loic@dachary.org \
    --cc=bodepd@gmail.com \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.