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
Starting backports to stable/queens and stable/pike.
Verified on: openstack-tripleo-heat-templates-7.0.12-17.el7ost.noarch Deployed with none default name resource_registry: OS::TripleO::Services::CinderBackendNetApp: /usr/share/openstack-tripleo-heat-templates/puppet/services/cinder-backend-netapp.yaml parameter_defaults: CinderEnableNetAppBackend: true CinderNetappBackendName: 'tripleo_netapp2' CinderNetappLogin: 'XXXXXXXX' CinderNetappPassword: 'XXXXXXX' CinderNetappServerHostname: 'w.x.y.z' CinderNetappServerPort: 80 CinderNetappTransportType: 'http' CinderNetappStorageProtocol: 'iscsi' CinderNetappVolumeList: 'rhos_cinder' CinderNetappVserver: 'vserver-rhos-qe' Deployment completed successfully $ cinder service-list +------------------+---------------------------+------+---------+-------+----------------------------+-----------------+ | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason | +------------------+---------------------------+------+---------+-------+----------------------------+-----------------+ | cinder-scheduler | hostgroup | nova | enabled | up | 2018-11-23T07:31:22.000000 | - | | cinder-volume | hostgroup@tripleo_iscsi | nova | enabled | up | 2018-11-23T07:31:26.000000 | - | | cinder-volume | hostgroup@tripleo_netapp2 | nova | enabled | up | 2018-11-23T07:31:23.000000 | - | +------------------+---------------------------+------+---------+-------+----------------------------+-----------------+ $ cinder create 1 | id | a29ca29d-74bd-4fdc-9f55-ea290dafe1b4 | | os-vol-host-attr:host | hostgroup@tripleo_netapp2#rhos_cinder | | status | available | As seen above backend name tripleo_netapp2 And a cinder volume was successfully created on that backend.
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:3789