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

Bug 1641790

Summary: manage_vlans=[F|f]alse evaluates to True
Product: Red Hat OpenStack Reporter: Dan Radez <dradez>
Component: python-networking-ansibleAssignee: Jakub Libosvar <jlibosva>
Status: CLOSED ERRATA QA Contact: Arkady Shtempler <ashtempl>
Severity: medium Docs Contact:
Priority: medium    
Version: 14.0 (Rocky)CC: bfournie, jlibosva, michapma
Target Milestone: betaKeywords: Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-networking-ansible-1.0.4-3.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-11 11:54:09 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 Dan Radez 2018-10-22 18:57:09 UTC
Description of problem:
When passing the manage_vlans parameter to the switch configuration the functionality intended to be turned off stays on

Version-Release number of selected component (if applicable):
OSP 14 python-networking-ansible 1.0.4

How reproducible:
Everytime

Steps to Reproduce:
1. Deploy OSP 14 with Ironic in the overcloud and networking-ansible
2. do not permit the switch user to create vlans
3. deploy a baremetal guest

Actual results:
Error message stating no permission to create VLANs

Expected results:
No error, configuration successful


Additional info:
If I set manage_vlans='' then empty string resolves false and the functionality is disabled

Comment 5 errata-xmlrpc 2019-01-11 11:54:09 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-2019:0045