Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1485015

Summary: On Giveback after A Share Service is Brought Back after Being Shut Down Manila's Access to Shares is Lost
Product: Red Hat OpenStack Reporter: Tom Barron <tbarron>
Component: openstack-manilaAssignee: Tom Barron <tbarron>
Status: CLOSED CURRENTRELEASE QA Contact: Raissa Sarmento <rdearauj>
Severity: medium Docs Contact: Don Domingo <ddomingo>
Priority: high    
Version: 12.0 (Pike)CC: cschwede, ddomingo, dschoenb, tvignaud
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-7.0.3-19.el7ost puppet-manila-11.3.0-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1483160
: 1485016 (view as bug list) Environment:
Last Closed: 2017-12-19 16:21:53 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: 1485016    

Description Tom Barron 2017-08-24 20:47:37 UTC
+++ This bug was initially created as a clone of Bug #1483160 +++

Description of problem:
When the Active share service stops and another, passive share service takes over as the active, when the share service that was stopped comes back, the shares that were on the other share service will become unavailable for Manila to control.

Version-Release number of selected component (if applicable):
openstack-manila-3.0.0-8.el7ost.noarch
openstack-manila-ui-2.5.1-9.el7ost.noarch
puppet-manila-9.5.0-1.el7ost.noarch
python-manilaclient-1.11.0-1.el7ost.noarch
python-manila-3.0.0-8.el7ost.noarch
openstack-manila-share-3.0.0-8.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Use Infrared to deploy an OSP-10z4 deployment with Manila and with at least 2 controller nodes and any number of compute nodes. I used a NetApp backend for the storage.
2. Disable the active Manila Share service. Observe that the service will start on another controller node.
3. Create a share on the new share service.
4. Re-enable the disabled share service and observe that the share that was created is no longer controllable by Manila. 

Actual results:
Manila shares created on the other share service become uncontrollable when the first share service is reactivated.

Expected results:
Disruption of the share service shall not impact Manila shares.

Additional info:
I looked into how Cinder does Volume service HA and they use a hostgroup for all of the volume services so that the "hostname" of the volume service does not change when another volume service takes over the active role. Chances are something similar will need to happen to Manila as well.

Comment 1 Tom Barron 2017-09-01 07:44:14 UTC
                                                                                                                                                                              All required patches (497481, 497482, 498663, and 498664) have merged upstream.

Comment 4 Christian Schwede (cschwede) 2017-12-19 16:14:59 UTC
Fixes already included in openstack-tripleo-heat-templates-7.0.3-19.el7ost and  puppet-manila-11.3.0-2.el7ost.