Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1000 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 1000 Bytes

openstack-gluster

Use the Foreman/Puppet to end-to-end provision Gluster-backed OpenStack storage controllers for Cinder, Glance and Swift (.. or at least that's the idea). This will be utilized to provision bare-metal nodes as GlusterFS storage controllers via the Foreman and puppet.

Server side example

`class storage {

class { 'gluster::server': }

volume { 'glance':
ensure => present,
path => '/gluster/glance',
peers => [ '192.168.0.1', '192.168.0.2', '192.168.0.3' ],
replica_count => '3',
}

volume { 'cinder':
ensure => present,
path => '/gluster/cinder',
peers => [ '192.168.0.1', '192.168.0.2', '192.168.0.3' ],
replica_count => '3',
}
}`

Current Status

This currently only works with replicated volumes, though support for distributed and distributed-replicated should be in the works later.