Add glance registry service to disable on upgrade
We've broken the upgrade job because anyone upgrading with the glance registry deployed (and defined in their *Services parameters) will try to deploy with the old glance-registry.yaml defined in heat. Instead we define a template which stops and disables the service on upgrade. Closes-Bug: #1659079 Change-Id: I03561954d794afae2be06811375d16611fa45973
This commit is contained in:
parent
7020a72404
commit
4f4582e1b7
@ -130,6 +130,7 @@ resource_registry:
|
||||
OS::TripleO::Services::BlockStorageCinderVolume: puppet/services/cinder-volume.yaml
|
||||
OS::TripleO::Services::Keystone: puppet/services/keystone.yaml
|
||||
OS::TripleO::Services::GlanceApi: puppet/services/glance-api.yaml
|
||||
OS::TripleO::Services::GlanceRegistry: puppet/services/disabled/glance-registry.yaml
|
||||
OS::TripleO::Services::HeatApi: puppet/services/heat-api.yaml
|
||||
OS::TripleO::Services::HeatApiCfn: puppet/services/heat-api-cfn.yaml
|
||||
OS::TripleO::Services::HeatApiCloudwatch: puppet/services/heat-api-cloudwatch.yaml
|
||||
|
30
puppet/services/disabled/glance-registry.yaml
Normal file
30
puppet/services/disabled/glance-registry.yaml
Normal file
@ -0,0 +1,30 @@
|
||||
heat_template_version: ocata
|
||||
|
||||
description: >
|
||||
OpenStack Glance Registry service, disabled since ocata
|
||||
|
||||
parameters:
|
||||
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
|
||||
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 disabled Glance Registry role.
|
||||
value:
|
||||
service_name: glance_registry
|
||||
upgrade_tasks:
|
||||
- name: Stop and disable glance_registry service on upgrade
|
||||
tags: step2
|
||||
service: name=openstack-glance-registry state=stopped enabled=no
|
Loading…
Reference in New Issue
Block a user