Zaqar: Match service name with service-net-map
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Tue, 22 Aug 2017 12:06:30 +0000 (12:06 +0000)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Tue, 22 Aug 2017 12:36:25 +0000 (15:36 +0300)
This is required for t-h-t to generate the appropriate hieradata.

Change-Id: I9b451eac4427a52ad8eec62ff89acc6c6d3ab799
Closes-Bug: #1712328

ci/environments/scenario002-multinode-containers.yaml
ci/environments/scenario002-multinode.yaml
docker/services/zaqar.yaml
environments/services/zaqar.yaml
puppet/services/zaqar-api.yaml [moved from puppet/services/zaqar.yaml with 99% similarity]
releasenotes/notes/Change-zaqar-profile-path-7b00c68c0812fb3d.yaml [new file with mode: 0644]

index fe06ef6..584c1e5 100644 (file)
@@ -11,7 +11,7 @@ resource_registry:
   OS::TripleO::Services::BarbicanApi: ../../puppet/services/barbican-api.yaml
   # TODO: Zaqar doesn't work when containerized
   # https://bugs.launchpad.net/tripleo/+bug/1710959
-  OS::TripleO::Services::Zaqar: ../../puppet/services/zaqar.yaml
+  OS::TripleO::Services::Zaqar: ../../puppet/services/zaqar-api.yaml
   OS::TripleO::Services::Ec2Api: ../../docker/services/ec2-api.yaml
   # NOTE: This is needed because of upgrades from Ocata to Pike. We
   # deploy the initial environment with Ocata templates, and
index 513d3f7..5670c21 100644 (file)
@@ -2,7 +2,7 @@ resource_registry:
   OS::TripleO::Controller::Net::SoftwareConfig: ../common/net-config-multinode.yaml
   OS::TripleO::Compute::Net::SoftwareConfig: ../common/net-config-multinode.yaml
   OS::TripleO::Services::BarbicanApi: ../../puppet/services/barbican-api.yaml
-  OS::TripleO::Services::Zaqar: ../../puppet/services/zaqar.yaml
+  OS::TripleO::Services::Zaqar: ../../puppet/services/zaqar-api.yaml
   OS::TripleO::Services::Ec2Api: ../../puppet/services/ec2-api.yaml
   OS::TripleO::Services::RabbitMQ: ../../puppet/services/pacemaker/rabbitmq.yaml
   OS::TripleO::Services::Redis: ../../puppet/services/pacemaker/database/redis.yaml
index 072c675..b6fb400 100644 (file)
@@ -57,7 +57,7 @@ resources:
     type: ../../puppet/services/database/mysql-client.yaml
 
   ZaqarBase:
-    type: ../../puppet/services/zaqar.yaml
+    type: ../../puppet/services/zaqar-api.yaml
     properties:
       EndpointMap: {get_param: EndpointMap}
       ServiceData: {get_param: ServiceData}
index e501b69..f57582c 100644 (file)
@@ -1,3 +1,3 @@
 resource_registry:
-  OS::TripleO::Services::Zaqar: ../../puppet/services/zaqar.yaml
+  OS::TripleO::Services::Zaqar: ../../puppet/services/zaqar-api.yaml
   OS::TripleO::Services::MongoDb: ../../puppet/services/database/mongodb.yaml
similarity index 99%
rename from puppet/services/zaqar.yaml
rename to puppet/services/zaqar-api.yaml
index 4a1ad17..82d105e 100644 (file)
@@ -87,9 +87,9 @@ resources:
 
 outputs:
   role_data:
-    description: Shared role data for the Heat services.
+    description: Shared role data for the Zaqar services.
     value:
-      service_name: zaqar
+      service_name: zaqar_api
       config_settings:
         map_merge:
           - get_attr: [ApacheServiceBase, role_data, config_settings]
diff --git a/releasenotes/notes/Change-zaqar-profile-path-7b00c68c0812fb3d.yaml b/releasenotes/notes/Change-zaqar-profile-path-7b00c68c0812fb3d.yaml
new file mode 100644 (file)
index 0000000..52db34b
--- /dev/null
@@ -0,0 +1,6 @@
+---
+upgrade:
+  - |
+    The path to the zaqar profile has changed from puppet/services/zaqar.yaml to
+    puppet/services/zaqar-api.yaml. Make sure to update any references to this
+    in the resource registry.