Merge "Add Sahara CI for Xenial"
This commit is contained in:
commit
da4da76eca
@ -21,8 +21,6 @@ case $::osfamily {
|
|||||||
$mistral_enabled = false
|
$mistral_enabled = false
|
||||||
# murano package should be fixed on Ubuntu Xenial
|
# murano package should be fixed on Ubuntu Xenial
|
||||||
$murano_enabled = false
|
$murano_enabled = false
|
||||||
# TODO(aschultz): sahara is currently missing from xenial pike
|
|
||||||
$sahara_enabled = false
|
|
||||||
# trove package contains broken Tempest tests
|
# trove package contains broken Tempest tests
|
||||||
$trove = false
|
$trove = false
|
||||||
}
|
}
|
||||||
@ -30,7 +28,6 @@ case $::osfamily {
|
|||||||
$ipv6 = true
|
$ipv6 = true
|
||||||
$mistral_enabled = true
|
$mistral_enabled = true
|
||||||
$murano_enabled = true
|
$murano_enabled = true
|
||||||
$sahara_enabled = true
|
|
||||||
$trove_enabled = true
|
$trove_enabled = true
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
@ -72,9 +69,7 @@ if $trove_enabled {
|
|||||||
}
|
}
|
||||||
include ::openstack_integration::horizon
|
include ::openstack_integration::horizon
|
||||||
include ::openstack_integration::heat
|
include ::openstack_integration::heat
|
||||||
if $sahara_enabled {
|
include ::openstack_integration::sahara
|
||||||
include ::openstack_integration::sahara
|
|
||||||
}
|
|
||||||
if $designate_enabled {
|
if $designate_enabled {
|
||||||
include ::openstack_integration::designate
|
include ::openstack_integration::designate
|
||||||
}
|
}
|
||||||
|
@ -65,32 +65,29 @@ class openstack_integration::sahara {
|
|||||||
class { '::sahara::client': }
|
class { '::sahara::client': }
|
||||||
class { '::sahara::notify': }
|
class { '::sahara::notify': }
|
||||||
|
|
||||||
# for ubuntu we need saharaclient >= 0.15.0
|
# create simple sahara templates
|
||||||
if $::osfamily == 'RedHat' {
|
sahara_node_group_template { 'master':
|
||||||
# create simple sahara templates
|
ensure => present,
|
||||||
sahara_node_group_template { 'master':
|
plugin => 'vanilla',
|
||||||
ensure => present,
|
plugin_version => '2.7.1',
|
||||||
plugin => 'vanilla',
|
flavor => 'm1.micro',
|
||||||
plugin_version => '2.7.1',
|
node_processes => [ 'namenode', 'resourcemanager' ],
|
||||||
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<||>
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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<||>
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user