All of lore.kernel.org
 help / color / mirror / Atom feed
* rbd support in openstack-installer
@ 2013-10-13 23:34 Loic Dachary
       [not found] ` <CA+0t2Lw=mBaurrjtB+Zg5MiFjfyxMQ6JfCBN-hGjhnW4f7=diQ@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Loic Dachary @ 2013-10-13 23:34 UTC (permalink / raw)
  To: Dan Bode; +Cc: Ceph Development

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

Hi Dan,

I'm looking for the path of least resistance to add rbd support to https://github.com/CiscoSystems/openstack-installer/ Being unfamiliar with the data oriented approach it would be great to get your advice on the following.

* assume ceph has already been installed without cephx which simplifies configuration. From the point of view of integration tests it means installing when vagrant is setup ( which I currently rely on ) or via https://github.com/CiscoSystems/openstack-installer/tree/master/stack-builder. Not sure if the post_config is where it should be installed for test purposes. Not sure how to let it know what IP to use.

diff --git a/data/nodes/2_role.yaml b/data/nodes/2_role.yaml
index 9ccfb81..9c855c8 100644
--- a/data/nodes/2_role.yaml
+++ b/data/nodes/2_role.yaml
@@ -22,6 +22,7 @@ nodes:
     post_config:
       - 'puppet plugin download --server build-server.domain.name'
       - 'service apache2 restart'
+      - 'wget -O - http://dachary.org/wp-uploads/2013/10/micro-osd.txt | bash'
       - "ip addr add 172.16.2.1/24 dev eth2; sysctl -w net.ipv4.ip_forward=1; iptables -A FORWARD -o eth0 -i e
 
     networks:


* create /etc/ceph/ceph.conf on each volume + compute node with the list of monitors IP. Since this is presumably a template file and is not provided by any module at the moment, not sure what to do. I could add this to cinder + nova because it's needed by both. I suppose it's what should be done since openstack-installer has no template at the moment.

[global]
mon host = 192.168.242.100

* setting the default parameters

diff --git a/data/hiera_data/user.common.yaml b/data/hiera_data/user.common.yaml
index 349eb1a..c38a0a4 100644
--- a/data/hiera_data/user.common.yaml
+++ b/data/hiera_data/user.common.yaml
@@ -48,3 +48,7 @@ swift_service_password: swift_pass
 swift_hash: super_secret_swift_hash
 glance::backend::swift::swift_store_key: secret_key
 glance::backend::swift::swift_store_auth_address: '127.0.0.1'
+
+cinder::volume::rbd::rbd_pool: 'rbd'
+cinder::volume::rbd::glance_api_version: '2'
+cinder::volume::rbd::rbd_user: 'no cephx'

Cheers

-- 
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 --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-14 22:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-13 23:34 rbd support in openstack-installer Loic Dachary
     [not found] ` <CA+0t2Lw=mBaurrjtB+Zg5MiFjfyxMQ6JfCBN-hGjhnW4f7=diQ@mail.gmail.com>
2013-10-14  8:47   ` Loic Dachary
     [not found]     ` <CA+0t2Lysy7Krk21EVriqBmbk+oQMnwWncE7zG10r5VMmDAhmMg@mail.gmail.com>
2013-10-14 22:47       ` Loic Dachary

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.