tripleo-heat-templates/puppet
Emilien Macchi 7c84a9b390 upgrades/validation: only run validation when services exist
During upgrades, validation test if a service is running before the
upgrade process starts.
In some cases, servies doesn't exist yet so we don't want to run the
validation.

This patch makes sure we check if the service is actually present on the
system before validating it's running correctly.

Also it makes sure that services are enabled before trying to stop them.
It allows use-cases where we want to add new services during an upgrade.
Also install new packages of services added in Ocata, so we can validate
upgrades on scenarios jobs.

Change-Id: Ib48fb6b1557be43956557cbde4cbe26b53a50bd8
2017-03-01 19:49:00 +00:00
..
extraconfig Merge "Re-organizes Contrail services to the correct roles" 2017-02-09 17:02:55 +00:00
manifests Remove old ControllerConfig override from puppet-pacemaker.yaml 2017-01-03 19:45:43 +01:00
services upgrades/validation: only run validation when services exist 2017-03-01 19:49:00 +00:00
all-nodes-config.yaml Don't assume default network names in net_ip*map 2017-02-17 13:38:31 +00:00
blockstorage-role.yaml Add Newton to Ocata UpgradeInitCommonCommand 2017-02-16 10:50:12 +00:00
cephstorage-role.yaml Add Newton to Ocata UpgradeInitCommonCommand 2017-02-16 10:50:12 +00:00
compute-role.yaml Add Newton to Ocata UpgradeInitCommonCommand 2017-02-16 10:50:12 +00:00
config.role.j2.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
controller-role.yaml Add Newton to Ocata UpgradeInitCommonCommand 2017-02-16 10:50:12 +00:00
deploy-artifacts.sh Fix bug when using multiple DeployArtifactURLs 2016-12-02 16:10:52 +00:00
deploy-artifacts.yaml Bump template version for all templates to "ocata" 2016-12-23 11:43:39 +00:00
major_upgrade_steps.j2.yaml Apply puppet in non-controller script in step. 2017-02-15 16:41:39 +01:00
objectstorage-role.yaml Add Newton to Ocata UpgradeInitCommonCommand 2017-02-16 10:50:12 +00:00
post-upgrade.j2.yaml Disable puppet on upgrade for roles not upgrading 2017-02-03 11:43:47 +00:00
post.j2.yaml Delivers upgrade scripts where upgrade steps are disabled 2017-02-10 10:26:43 +00:00
puppet-steps.j2 Generate Pre/Post Puppet Tasks for all roles 2017-02-17 09:03:35 -05:00
role.role.j2.yaml Add Newton to Ocata UpgradeInitCommonCommand 2017-02-16 10:50:12 +00:00
upgrade_config.yaml Add nova service support for composable upgrades 2017-02-14 23:23:33 +00:00