Bug 2162114

Summary: [Manila] Multivalued options created with wrong syntax
Product: Red Hat OpenStack Reporter: Eric Nothen <enothen>
Component: puppet-manilaAssignee: Alan Bishop <abishop>
Status: CLOSED ERRATA QA Contact: lkuchlan <lkuchlan>
Severity: low Docs Contact: Andy Stillman <astillma>
Priority: medium    
Version: 17.0 (Wallaby)CC: abishop, gouthamr, jjoyce, jschluet, slinaber, tkajinam, tvignaud, vhariria
Target Milestone: betaKeywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-manila-18.5.2-1.20230127001703.a72a7d5.el9ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-16 01:13:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eric Nothen 2023-01-18 19:37:33 UTC
This bug was initially created as a copy of Bug #2042429

I am copying this bug because: 

The issue was resolved for:

- nova
- neutron
- keystone

But the same issue is still present in other services, such as:

- glance
- cinder
- octavia
- manila
- ceilometer
- heat
- designate
- barbican
- aodh
- ironic


Description of problem:
The notification_driver is a multivalued parameter, i.e. several drivers can be enabled, but the current code only enables the first string.

Given this code:
~~~
(admin@standalone) [stack@allinone170 ~]$ cat templates/notifications.yaml 
parameter_defaults:
  ExtraConfig:
    manila::notification_driver:
      - "log"
      - "messagingv2"
~~~

The following is implemented:
~~~
[root@allinone170 ~]# egrep "\[oslo_messaging_notifications|^driver" /var/lib/config-data/manila/etc/manila/manila.conf 
[oslo_messaging_notifications]
driver=log
[root@allinone170 ~]# 
~~~

It should actually look like this:
~~~
[oslo_messaging_notifications]
driver=log
driver=messagingv2
~~~

Comment 14 errata-xmlrpc 2023-08-16 01:13:15 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 (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), 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-2023:4577