Bug 1470033

Summary: OSP11 -> OSP12 upgrade: docker services are missing preupgrade validation tasks in the upgrade tasks
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: openstack-tripleo-heat-templatesAssignee: Jose Luis Franco <jfrancoa>
Status: CLOSED ERRATA QA Contact: Marius Cornea <mcornea>
Severity: urgent Docs Contact:
Priority: high    
Version: 12.0 (Pike)CC: ccamacho, dbecker, jamsmith, jfrancoa, jschluet, mandreou, mbultel, mburns, morazi, rhel-osp-director-maint, sathlang, tvignaud, yprokule
Target Milestone: z3Keywords: Triaged, ZStream
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-7.0.9-13.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-20 12:58:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1399762    

Description Marius Cornea 2017-07-12 10:11:40 UTC
Description of problem:
OSP11 -> OSP12 upgrade: docker services are missing preupgrade validation tasks in the upgrade tasks.

Comparing the upgrade tasks, for neutron-api for example:

docker services:
https://github.com/openstack/tripleo-heat-templates/blob/master/docker/services/neutron-api.yaml#L172-L175

puppet services:
https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/services/neutron-api.yaml#L217-L230

We can see that the preupgrade validation task is missing from docker:
        - name: "PreUpgrade step0,validation: Check service neutron-server is running"
          shell: /usr/bin/systemctl show 'neutron-server' --property ActiveState | grep '\bactive\b'
          when: neutron_server_enabled.rc == 0

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-7.0.0-0.20170628002128.el7ost.noarch

Comment 5 Marios Andreou 2017-11-09 06:09:01 UTC
Jose can you please add the validations reviews to trackers?

Comment 16 Yurii Prokulevych 2018-07-31 15:01:04 UTC
Verified with openstack-tripleo-heat-templates-7.0.12-5.el7ost.noarch

Comment 18 errata-xmlrpc 2018-08-20 12:58:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2331