Add dependency for glance tasks from upload_cirros
Change-Id: Ifbbf6ff98ff954b6f028cd2b29226f88837e7259
This commit is contained in:
parent
72b63c4c2f
commit
34dc52753b
|
@ -1,5 +1,7 @@
|
||||||
# The puppet configures OpenStack cinder to use ScaleIO.
|
# The puppet configures OpenStack cinder to use ScaleIO.
|
||||||
|
|
||||||
|
notice('MODULAR: scaleio: cinder')
|
||||||
|
|
||||||
$scaleio = hiera('scaleio')
|
$scaleio = hiera('scaleio')
|
||||||
if $scaleio['metadata']['enabled'] {
|
if $scaleio['metadata']['enabled'] {
|
||||||
$all_nodes = hiera('nodes')
|
$all_nodes = hiera('nodes')
|
||||||
|
|
|
@ -194,7 +194,8 @@ define cleanup_sds () {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# The only first mdm which is proposed to be the first master does cluster configuration
|
notice('MODULAR: scaleio: cluster')
|
||||||
|
|
||||||
$scaleio = hiera('scaleio')
|
$scaleio = hiera('scaleio')
|
||||||
if $scaleio['metadata']['enabled'] {
|
if $scaleio['metadata']['enabled'] {
|
||||||
if ! $scaleio['existing_cluster'] {
|
if ! $scaleio['existing_cluster'] {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# The puppet discovers cluster and updates mdm_ips and tb_ips values for next cluster task.
|
# The puppet discovers cluster and updates mdm_ips and tb_ips values for next cluster task.
|
||||||
|
|
||||||
|
notice('MODULAR: scaleio: discovery_cluster')
|
||||||
|
|
||||||
$scaleio = hiera('scaleio')
|
$scaleio = hiera('scaleio')
|
||||||
if $scaleio['metadata']['enabled'] {
|
if $scaleio['metadata']['enabled'] {
|
||||||
if ! $scaleio['existing_cluster'] {
|
if ! $scaleio['existing_cluster'] {
|
||||||
|
|
|
@ -10,6 +10,8 @@ define env_fact($role, $fact, $value) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
notice('MODULAR: scaleio: environment')
|
||||||
|
|
||||||
$scaleio = hiera('scaleio')
|
$scaleio = hiera('scaleio')
|
||||||
if $scaleio['metadata']['enabled'] {
|
if $scaleio['metadata']['enabled'] {
|
||||||
notify{'ScaleIO plugin enabled': }
|
notify{'ScaleIO plugin enabled': }
|
||||||
|
|
|
@ -10,6 +10,8 @@ define env_fact($role, $fact, $value) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
notice('MODULAR: scaleio: environment_existing_mdm_ips')
|
||||||
|
|
||||||
$scaleio = hiera('scaleio')
|
$scaleio = hiera('scaleio')
|
||||||
if $scaleio['metadata']['enabled'] {
|
if $scaleio['metadata']['enabled'] {
|
||||||
if $scaleio['existing_cluster'] {
|
if $scaleio['existing_cluster'] {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# The puppet configures ScaleIO Gateway. Sets the password and connects to MDMs.
|
# The puppet configures ScaleIO Gateway. Sets the password and connects to MDMs.
|
||||||
|
|
||||||
|
notice('MODULAR: scaleio: gateway_server')
|
||||||
|
|
||||||
$scaleio = hiera('scaleio')
|
$scaleio = hiera('scaleio')
|
||||||
if $scaleio['metadata']['enabled'] {
|
if $scaleio['metadata']['enabled'] {
|
||||||
if ! $scaleio['existing_cluster'] {
|
if ! $scaleio['existing_cluster'] {
|
||||||
|
|
|
@ -18,6 +18,9 @@ define glance_config(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
notice('MODULAR: scaleio: glance')
|
||||||
|
|
||||||
$scaleio = hiera('scaleio')
|
$scaleio = hiera('scaleio')
|
||||||
if $scaleio['metadata']['enabled'] {
|
if $scaleio['metadata']['enabled'] {
|
||||||
$all_nodes = hiera('nodes')
|
$all_nodes = hiera('nodes')
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# The puppet create new OpenStack Glance's test image.
|
# The puppet create new OpenStack Glance's test image.
|
||||||
|
|
||||||
|
notice('MODULAR: scaleio: glance_create_test_image')
|
||||||
|
|
||||||
$scaleio = hiera('scaleio')
|
$scaleio = hiera('scaleio')
|
||||||
if $scaleio['metadata']['enabled'] {
|
if $scaleio['metadata']['enabled'] {
|
||||||
$all_nodes = hiera('nodes')
|
$all_nodes = hiera('nodes')
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
# The puppet removes OpenStack Glance's test image if it exists.
|
# The puppet removes OpenStack Glance's test image if it exists.
|
||||||
# It's needed to change default backend for images.
|
# It's needed to change default backend for images.
|
||||||
|
|
||||||
|
notice('MODULAR: scaleio: glance_delete_test_image')
|
||||||
|
|
||||||
$scaleio = hiera('scaleio')
|
$scaleio = hiera('scaleio')
|
||||||
if $scaleio['metadata']['enabled'] {
|
if $scaleio['metadata']['enabled'] {
|
||||||
$all_nodes = hiera('nodes')
|
$all_nodes = hiera('nodes')
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# The puppet installs ScaleIO MDM packages.
|
# The puppet installs ScaleIO MDM packages.
|
||||||
|
|
||||||
|
notice('MODULAR: scaleio: mdm_package')
|
||||||
|
|
||||||
$scaleio = hiera('scaleio')
|
$scaleio = hiera('scaleio')
|
||||||
if $scaleio['metadata']['enabled'] {
|
if $scaleio['metadata']['enabled'] {
|
||||||
if ! $scaleio['existing_cluster'] {
|
if ! $scaleio['existing_cluster'] {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# The puppet installs ScaleIO MDM packages.
|
# The puppet installs ScaleIO MDM packages.
|
||||||
|
|
||||||
|
notice('MODULAR: scaleio: mdm_server')
|
||||||
|
|
||||||
$scaleio = hiera('scaleio')
|
$scaleio = hiera('scaleio')
|
||||||
if $scaleio['metadata']['enabled'] {
|
if $scaleio['metadata']['enabled'] {
|
||||||
if ! $scaleio['existing_cluster'] {
|
if ! $scaleio['existing_cluster'] {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# The puppet configures OpenStack nova to use ScaleIO.
|
# The puppet configures OpenStack nova to use ScaleIO.
|
||||||
|
|
||||||
|
notice('MODULAR: scaleio: nova')
|
||||||
|
|
||||||
$scaleio = hiera('scaleio')
|
$scaleio = hiera('scaleio')
|
||||||
if $scaleio['metadata']['enabled'] {
|
if $scaleio['metadata']['enabled'] {
|
||||||
$all_nodes = hiera('nodes')
|
$all_nodes = hiera('nodes')
|
||||||
|
|
|
@ -31,6 +31,8 @@ define apply_flavor(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
notice('MODULAR: scaleio: os')
|
||||||
|
|
||||||
$scaleio = hiera('scaleio')
|
$scaleio = hiera('scaleio')
|
||||||
if $scaleio['metadata']['enabled'] {
|
if $scaleio['metadata']['enabled'] {
|
||||||
$all_nodes = hiera('nodes')
|
$all_nodes = hiera('nodes')
|
||||||
|
|
|
@ -10,6 +10,9 @@ define cleanup_mdm () {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
notice('MODULAR: scaleio: resize_cluster')
|
||||||
|
|
||||||
# The only mdm with minimal IP from current MDMs does cleaunp
|
# The only mdm with minimal IP from current MDMs does cleaunp
|
||||||
$scaleio = hiera('scaleio')
|
$scaleio = hiera('scaleio')
|
||||||
if $scaleio['metadata']['enabled'] {
|
if $scaleio['metadata']['enabled'] {
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
# The puppet installs ScaleIO SDC packages and connect to MDMs.
|
# The puppet installs ScaleIO SDC packages and connect to MDMs.
|
||||||
# It expects that any controller could be MDM
|
# It expects that any controller could be MDM
|
||||||
|
|
||||||
|
notice('MODULAR: scaleio: sdc')
|
||||||
|
|
||||||
$scaleio = hiera('scaleio')
|
$scaleio = hiera('scaleio')
|
||||||
if $scaleio['metadata']['enabled'] {
|
if $scaleio['metadata']['enabled'] {
|
||||||
if ! $::controller_ips {
|
if ! $::controller_ips {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# The puppet installs ScaleIO SDS packages.
|
# The puppet installs ScaleIO SDS packages.
|
||||||
|
|
||||||
|
notice('MODULAR: scaleio: sdc_server')
|
||||||
|
|
||||||
$scaleio = hiera('scaleio')
|
$scaleio = hiera('scaleio')
|
||||||
if $scaleio['metadata']['enabled'] {
|
if $scaleio['metadata']['enabled'] {
|
||||||
$all_nodes = hiera('nodes')
|
$all_nodes = hiera('nodes')
|
||||||
|
|
|
@ -9,6 +9,8 @@ define sds_device_cleanup() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
notice('MODULAR: scaleio: sds_server')
|
||||||
|
|
||||||
# Just install packages
|
# Just install packages
|
||||||
$scaleio = hiera('scaleio')
|
$scaleio = hiera('scaleio')
|
||||||
if $scaleio['metadata']['enabled'] {
|
if $scaleio['metadata']['enabled'] {
|
||||||
|
|
|
@ -188,11 +188,12 @@
|
||||||
puppet_modules: puppet/modules:/etc/puppet/modules
|
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||||
timeout: 600
|
timeout: 600
|
||||||
|
|
||||||
- id: scaleio-glance-cleanup
|
- id: scaleio-glance-delete-test-image
|
||||||
required_for: [post_deployment_end]
|
required_for: [post_deployment_end]
|
||||||
requires: [scaleio-configure-cluster]
|
requires: [scaleio-configure-cluster, upload_cirros]
|
||||||
cross-depends:
|
cross-depends:
|
||||||
- name: scaleio-configure-cluster
|
- name: scaleio-configure-cluster
|
||||||
|
- name: upload_cirros
|
||||||
role: [primary-controller]
|
role: [primary-controller]
|
||||||
type: puppet
|
type: puppet
|
||||||
parameters:
|
parameters:
|
||||||
|
@ -202,9 +203,9 @@
|
||||||
|
|
||||||
- id: scaleio-glance
|
- id: scaleio-glance
|
||||||
required_for: [post_deployment_end]
|
required_for: [post_deployment_end]
|
||||||
requires: [scaleio-glance-cleanup]
|
requires: [scaleio-glance-delete-test-image]
|
||||||
cross-depends:
|
cross-depends:
|
||||||
- name: scaleio-glance-cleanup
|
- name: scaleio-glance-delete-test-image
|
||||||
role: [primary-controller, controller]
|
role: [primary-controller, controller]
|
||||||
type: puppet
|
type: puppet
|
||||||
parameters:
|
parameters:
|
||||||
|
@ -212,7 +213,7 @@
|
||||||
puppet_modules: puppet/modules:/etc/puppet/modules
|
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||||
timeout: 600
|
timeout: 600
|
||||||
|
|
||||||
- id: scaleio-glance-test-image
|
- id: scaleio-glance-create-test-image
|
||||||
required_for: [post_deployment_end]
|
required_for: [post_deployment_end]
|
||||||
requires: [scaleio-glance]
|
requires: [scaleio-glance]
|
||||||
cross-depends:
|
cross-depends:
|
||||||
|
|
Loading…
Reference in New Issue