Deploy Ceph on scenario001
Deploy a simple Ceph setup on scenario001 with one mon and one osd. Change-Id: I816f763c9ac89f62304c955184daf1e5a4406c3c
This commit is contained in:
parent
6a0a79dff2
commit
9c942a604e
@ -12,6 +12,10 @@ mod 'ceilometer',
|
|||||||
:git => 'https://git.openstack.org/openstack/puppet-ceilometer',
|
:git => 'https://git.openstack.org/openstack/puppet-ceilometer',
|
||||||
:ref => 'master'
|
:ref => 'master'
|
||||||
|
|
||||||
|
mod 'ceph',
|
||||||
|
:git => 'https://git.openstack.org/openstack/puppet-ceph',
|
||||||
|
:ref => 'master'
|
||||||
|
|
||||||
mod 'cinder',
|
mod 'cinder',
|
||||||
:git => 'https://git.openstack.org/openstack/puppet-cinder',
|
:git => 'https://git.openstack.org/openstack/puppet-cinder',
|
||||||
:ref => 'master'
|
:ref => 'master'
|
||||||
|
@ -47,6 +47,7 @@ scenario](#All-In-One).
|
|||||||
| trove | X | | |
|
| trove | X | | |
|
||||||
| horizon | | X | X |
|
| horizon | | X | X |
|
||||||
| ironic | | X | |
|
| ironic | | X | |
|
||||||
|
| ceph | X | | |
|
||||||
|
|
||||||
When the Jenkins slave is created, the *run_tests.sh* script will executed.
|
When the Jenkins slave is created, the *run_tests.sh* script will executed.
|
||||||
This script will execute *install_modules.sh* that prepare /etc/puppet/modules
|
This script will execute *install_modules.sh* that prepare /etc/puppet/modules
|
||||||
|
@ -26,6 +26,7 @@ include ::openstack_integration::ceilometer
|
|||||||
include ::openstack_integration::aodh
|
include ::openstack_integration::aodh
|
||||||
include ::openstack_integration::gnocchi
|
include ::openstack_integration::gnocchi
|
||||||
include ::openstack_integration::trove
|
include ::openstack_integration::trove
|
||||||
|
include ::openstack_integration::ceph
|
||||||
include ::openstack_integration::provision
|
include ::openstack_integration::provision
|
||||||
|
|
||||||
class { '::openstack_integration::tempest':
|
class { '::openstack_integration::tempest':
|
||||||
|
16
manifests/ceph.pp
Normal file
16
manifests/ceph.pp
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
class openstack_integration::ceph {
|
||||||
|
|
||||||
|
class { '::ceph':
|
||||||
|
fsid => '7200aea0-2ddd-4a32-aa2a-d49f66ab554c',
|
||||||
|
mon_host => '127.0.0.1',
|
||||||
|
authentication_type => 'none',
|
||||||
|
osd_pool_default_size => '1',
|
||||||
|
osd_pool_default_min_size => '1',
|
||||||
|
}
|
||||||
|
ceph::mon { 'mon1':
|
||||||
|
public_addr => '127.0.0.1',
|
||||||
|
authentication_type => 'none',
|
||||||
|
}
|
||||||
|
ceph::osd { '/srv/data': }
|
||||||
|
|
||||||
|
}
|
@ -8,11 +8,20 @@ class openstack_integration::repos {
|
|||||||
release => 'mitaka', # drop this line when mitaka is stable released
|
release => 'mitaka', # drop this line when mitaka is stable released
|
||||||
package_require => true,
|
package_require => true,
|
||||||
}
|
}
|
||||||
|
# Ceph is both packaged on UCA & ceph.com
|
||||||
|
# Official packages are on ceph.com so we want to make sure
|
||||||
|
# Ceph will be installed from there.
|
||||||
|
apt::pin { 'ceph':
|
||||||
|
priority => 1001,
|
||||||
|
origin => 'ceph.com',
|
||||||
|
}
|
||||||
}
|
}
|
||||||
'RedHat': {
|
'RedHat': {
|
||||||
class { '::openstack_extras::repo::redhat::redhat':
|
class { '::openstack_extras::repo::redhat::redhat':
|
||||||
manage_rdo => false,
|
# yum-plugin-priorities is already managed by ::ceph::repo
|
||||||
repo_hash => {
|
manage_priorities => false,
|
||||||
|
manage_rdo => false,
|
||||||
|
repo_hash => {
|
||||||
'mitaka-current-passed-ci' => {
|
'mitaka-current-passed-ci' => {
|
||||||
'baseurl' => 'http://trunk.rdoproject.org/centos7/current-passed-ci/',
|
'baseurl' => 'http://trunk.rdoproject.org/centos7/current-passed-ci/',
|
||||||
'descr' => 'Mitaka tested',
|
'descr' => 'Mitaka tested',
|
||||||
@ -33,4 +42,6 @@ class openstack_integration::repos {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class { '::ceph::repo': }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user