Browse Source

Implement TripleoValidations composable service

Implement a service that will deploy TripleO Validations package and
user by using Puppet like we did with instack-undercloud. This service
will be included on the undercloud but disabled by default. We'll keep
the same interface in undercloud.conf to enable it or not so no change
for the end user.

Change-Id: Ida09f92010e31d952edd82b42a7fc20451537d42
changes/93/575193/1
Emilien Macchi 4 years ago
parent
commit
0e0147732c
  1. 4
      environments/tripleo-validations.yaml
  2. 1
      overcloud-resource-registry-puppet.j2.yaml
  3. 42
      puppet/services/tripleo-validations.yaml
  4. 5
      releasenotes/notes/tripleo-validations-b231184816a9ab64.yaml
  5. 1
      roles/Undercloud.yaml
  6. 1
      roles_data_undercloud.yaml

4
environments/tripleo-validations.yaml

@ -0,0 +1,4 @@
# A Heat environment file that enables TripleO Validations.
resource_registry:
OS::TripleO::Services::TripleoValidations: ../puppet/services/tripleo-validations.yaml

1
overcloud-resource-registry-puppet.j2.yaml

@ -231,6 +231,7 @@ resource_registry:
OS::TripleO::Services::Ipsec: OS::Heat::None
OS::TripleO::Services::Rhsm: OS::Heat::None
OS::TripleO::Services::MasqueradeNetworks: OS::Heat::None
OS::TripleO::Services::TripleoValidations: OS::Heat::None
OS::TripleO::Services::UndercloudUpgrade: OS::Heat::None
OS::TripleO::Services::Collectd: OS::Heat::None
OS::TripleO::LoggingConfiguration: puppet/services/logging/fluentd-config.yaml

42
puppet/services/tripleo-validations.yaml

@ -0,0 +1,42 @@
heat_template_version: rocky
description: >
Configure TripleO Validations with Puppet.
parameters:
ServiceData:
default: {}
description: Dictionary packing service data
type: json
ServiceNetMap:
default: {}
description: Mapping of service_name -> network name. Typically set
via parameter_defaults in the resource registry. This
mapping overrides those in ServiceNetMapDefaults.
type: json
DefaultPasswords:
default: {}
type: json
RoleName:
default: ''
description: Role name on which the service is applied
type: string
RoleParameters:
default: {}
description: Parameters specific to the role
type: json
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
outputs:
role_data:
description: Role data for the TripleO Validations service.
value:
service_name: tripleo_validations
config_settings: {}
step_config: |
include tripleo::profile::base::validations
upgrade_tasks: []

5
releasenotes/notes/tripleo-validations-b231184816a9ab64.yaml

@ -0,0 +1,5 @@
---
features:
- |
Add composable service for TripleO Validations, that will be deployed
on the Undercloud when enabled.

1
roles/Undercloud.yaml

@ -84,4 +84,5 @@
- OS::TripleO::Services::TripleoUI
- OS::TripleO::Services::Tuned
- OS::TripleO::Services::UndercloudUpgrade
- OS::TripleO::Services::TripleoValidations
- OS::TripleO::Services::Zaqar

1
roles_data_undercloud.yaml

@ -87,5 +87,6 @@
- OS::TripleO::Services::TripleoUI
- OS::TripleO::Services::Tuned
- OS::TripleO::Services::UndercloudUpgrade
- OS::TripleO::Services::TripleoValidations
- OS::TripleO::Services::Zaqar

Loading…
Cancel
Save