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:
signature.asc
Description: OpenPGP digital signature