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

Bug 1619663

Summary: CinderNetAppBackendName is not reflected in deployed environment
Product: Red Hat OpenStack Reporter: Alan Bishop <abishop>
Component: openstack-tripleo-heat-templatesAssignee: Alan Bishop <abishop>
Status: CLOSED ERRATA QA Contact: Tzach Shefi <tshefi>
Severity: medium Docs Contact: Kim Nylander <knylande>
Priority: medium    
Version: 13.0 (Queens)CC: lmarsh, mburns, mowens, scohen, tquinlan, tshefi
Target Milestone: z3Keywords: OtherQA, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.0.7-2.el7ost Doc Type: Bug Fix
Doc Text:
The TripleO CinderNetappBackendName parameter did not correctly override the default value for cinder's Netapp back end. As a result, the name associated with cinder's Netapp back end could not be overridden. With this release, the CinderNetappBackendName parameter correctly overrides the default back end name.
Story Points: ---
Clone Of: 1599759 Environment:
Last Closed: 2018-11-13 22:28:18 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: 1599759    

Description Alan Bishop 2018-08-21 12:24:44 UTC
+++ This bug was initially created as a clone of Bug #1599759 +++

Description of problem:
When using CinderNetappBackendName in the cinder-netapp-config template, the name provided is not reflected in the deployed environment.

This is because THT/puppet/services/cinder-backend-netapp.yaml passes CinderNetappBackendName to cinder::backend::netapp::title instead of the correct parameter cinder::backend::netapp::volume_backend_name

Version-Release number of selected component (if applicable):
12

How reproducible:
Everytime

Steps to Reproduce:
1. Include name other than tripleo_netapp in environment files via CinderNetappBackendName param.


Actual results:
Backend name will still be tripleo_netapp

Expected results:
Provided backend name is utilized in cinder.conf


Additional info:
Upstream Bug: https://bugs.launchpad.net/tripleo/+bug/1779500

Comment 10 errata-xmlrpc 2018-11-13 22:28:18 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/RHBA-2018:3587

Comment 11 Tzach Shefi 2018-11-13 22:32:10 UTC
Verified (a moment too late) on: 
openstack-tripleo-heat-templates-8.0.7-4.el7ost.noarch

1. I'd had a working OC with default name of tripleo_netapp

2. Changed name to triple_dataontap on strorage yaml

3. Reran overcloud_deploy.sh 
The update changed netapp's backend name as expected.  

| cinder-volume    | hostgroup@tripleo_dataontap | nova | enabled | up    | 2018-11-13T22:30:16.000000 | -               |
| cinder-volume    | hostgroup@tripleo_iscsi     | nova | enabled | up    | 2018-11-13T22:30:23.000000 | -               |
| cinder-volume    | hostgroup@tripleo_netapp    | nova | enabled | down