Bug 1425067

Summary: openstack-cinder-volume preupgrade validation fails in HA environment because the service is running in active/passive mode
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: openstack-tripleo-heat-templatesAssignee: Emilien Macchi <emacchi>
Status: CLOSED ERRATA QA Contact: Arik Chernetsky <achernet>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 11.0 (Ocata)CC: dbecker, jcoufal, mburns, mcornea, morazi, rhel-osp-director-maint, sathlang, slinaber
Target Milestone: rcKeywords: Triaged
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-6.0.0-7.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-17 20:01:01 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:

Description Marius Cornea 2017-02-20 13:42:58 UTC
openstack-cinder-volume preupgrade validation fails in HA environment because the service is running in active/passive mode so the service is active on a single controller node at a time:

[stack@undercloud-0 ~]$ ## controller-0
[stack@undercloud-0 ~]$ ssh heat-admin.0.11 /usr/bin/systemctl show 'openstack-cinder-volume' --property ActiveState | grep '\bactive\b'
ActiveState=active
[stack@undercloud-0 ~]$ ## controller-1
[stack@undercloud-0 ~]$ ssh heat-admin.0.17 /usr/bin/systemctl show 'openstack-cinder-volume' --property ActiveState | grep '\bactive\b'
[stack@undercloud-0 ~]$ ## controller-2
[stack@undercloud-0 ~]$ ssh heat-admin.0.27 /usr/bin/systemctl show 'openstack-cinder-volume' --property ActiveState | grep '\bactive\b'

We'll probably see this issue with all the pacemaker services which run in active/passive manner: cinder-backup, manila-share

Comment 1 Sofer Athlan-Guyot 2017-03-21 16:39:03 UTC
Resolved by this change.

Comment 2 Sofer Athlan-Guyot 2017-03-22 08:30:34 UTC
Marius could you confirm, so that we can close this one.

Comment 3 Marius Cornea 2017-03-22 12:38:22 UTC
(In reply to Sofer Athlan-Guyot from comment #2)
> Marius could you confirm, so that we can close this one.

Yes, it looks good in the latest build.

Comment 4 Sofer Athlan-Guyot 2017-03-23 11:53:29 UTC
Moving to verified then, right ?

Comment 6 errata-xmlrpc 2017-05-17 20:01:01 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/RHEA-2017:1245