Browse Source

Added t-h-t for tempest container

It adds a fake tempest service in order to make tempest
container available on undercloud.

Change-Id: If580292572ee5a11a41f68752a6ffe8a99f066e7
changes/25/548325/19
Chandan Kumar 4 years ago
parent
commit
38387ada75
  1. 55
      docker/services/tempest.yaml
  2. 2
      environments/enable_tempest.yaml
  3. 2
      environments/services-docker/tempest.yaml
  4. 3
      overcloud-resource-registry-puppet.j2.yaml
  5. 1
      roles/Undercloud.yaml
  6. 1
      roles/UndercloudLight.yaml
  7. 1
      roles_data_undercloud.yaml

55
docker/services/tempest.yaml

@ -0,0 +1,55 @@
heat_template_version: queens
description: >
OpenStack containerized Tempest
parameters:
DockerTempestImage:
description: image
type: string
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
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
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
outputs:
role_data:
description: Role data for the tempest service
value:
# It just adds a fake tempest service so that it will be
# available on undercloud.
service_name: tempest
docker_config:
volumes: ''
host_prep_tasks: {}
puppet_config:
config_volume: ''
step_config: ''
config_image: {get_param: DockerTempestImage}
config_settings: {}

2
environments/enable_tempest.yaml

@ -0,0 +1,2 @@
resource_registry:
OS::TripleO::Services::Tempest: ../puppet/services/tempest.yaml

2
environments/services-docker/tempest.yaml

@ -0,0 +1,2 @@
resource_registry:
OS::TripleO::Services::Tempest: ../../docker/services/tempest.yaml

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

@ -351,6 +351,9 @@ resource_registry:
OS::TripleO::Services::Logging::NovaPlacement: docker/services/logging/files/nova-placement.yaml
OS::TripleO::Services::Logging::PankoApi: docker/services/logging/files/panko-api.yaml
# Tempest
OS::TripleO::Services::Tempest: OS::Heat::None
parameter_defaults:
EnablePackageInstall: false
SoftwareConfigTransport: POLL_TEMP_URL

1
roles/Undercloud.yaml

@ -72,3 +72,4 @@
- OS::TripleO::Services::UndercloudHAProxy
- OS::TripleO::Services::UndercloudKeepalived
- OS::TripleO::Services::Zaqar
- OS::TripleO::Services::Tempest

1
roles/UndercloudLight.yaml

@ -35,3 +35,4 @@
- OS::TripleO::Services::SwiftRingBuilder
- OS::TripleO::Services::SwiftStorage
- OS::TripleO::Services::Zaqar
- OS::TripleO::Services::Tempest

1
roles_data_undercloud.yaml

@ -75,4 +75,5 @@
- OS::TripleO::Services::UndercloudHAProxy
- OS::TripleO::Services::UndercloudKeepalived
- OS::TripleO::Services::Zaqar
- OS::TripleO::Services::Tempest

Loading…
Cancel
Save