Merge "Add Sahara CI for Xenial"

This commit is contained in:
Jenkins 2017-09-14 23:20:01 +00:00 committed by Gerrit Code Review
commit da4da76eca
2 changed files with 25 additions and 33 deletions

View File

@ -21,8 +21,6 @@ case $::osfamily {
$mistral_enabled = false
# murano package should be fixed on Ubuntu Xenial
$murano_enabled = false
# TODO(aschultz): sahara is currently missing from xenial pike
$sahara_enabled = false
# trove package contains broken Tempest tests
$trove = false
}
@ -30,7 +28,6 @@ case $::osfamily {
$ipv6 = true
$mistral_enabled = true
$murano_enabled = true
$sahara_enabled = true
$trove_enabled = true
}
default: {
@ -72,9 +69,7 @@ if $trove_enabled {
}
include ::openstack_integration::horizon
include ::openstack_integration::heat
if $sahara_enabled {
include ::openstack_integration::sahara
}
include ::openstack_integration::sahara
if $designate_enabled {
include ::openstack_integration::designate
}

View File

@ -65,32 +65,29 @@ class openstack_integration::sahara {
class { '::sahara::client': }
class { '::sahara::notify': }
# for ubuntu we need saharaclient >= 0.15.0
if $::osfamily == 'RedHat' {
# create simple sahara templates
sahara_node_group_template { 'master':
ensure => present,
plugin => 'vanilla',
plugin_version => '2.7.1',
flavor => 'm1.micro',
node_processes => [ 'namenode', 'resourcemanager' ],
}
sahara_node_group_template { 'worker':
ensure => present,
plugin => 'vanilla',
plugin_version => '2.7.1',
flavor => 'm1.micro',
node_processes => [ 'datanode', 'nodemanager' ],
}
sahara_cluster_template { 'cluster':
ensure => present,
node_groups => [ 'master:1', 'worker:2' ]
}
Nova_flavor<||> -> Sahara_node_group_template<||>
Class['::sahara::keystone::auth'] -> Sahara_node_group_template<||>
Class['::openstack_extras::auth_file'] -> Sahara_node_group_template<||>
# create simple sahara templates
sahara_node_group_template { 'master':
ensure => present,
plugin => 'vanilla',
plugin_version => '2.7.1',
flavor => 'm1.micro',
node_processes => [ 'namenode', 'resourcemanager' ],
}
sahara_node_group_template { 'worker':
ensure => present,
plugin => 'vanilla',
plugin_version => '2.7.1',
flavor => 'm1.micro',
node_processes => [ 'datanode', 'nodemanager' ],
}
sahara_cluster_template { 'cluster':
ensure => present,
node_groups => [ 'master:1', 'worker:2' ]
}
Nova_flavor<||> -> Sahara_node_group_template<||>
Class['::sahara::keystone::auth'] -> Sahara_node_group_template<||>
Class['::openstack_extras::auth_file'] -> Sahara_node_group_template<||>
}