Bug 1956785 - net_config_override of undercloud.conf only works with json and not yaml
Summary: net_config_override of undercloud.conf only works with json and not yaml
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Steve Baker
QA Contact: David Rosenfeld
Depends On:
TreeView+ depends on / blocked
Reported: 2021-05-04 12:06 UTC by Srinivas Atmakuri
Modified: 2021-05-05 04:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Launchpad 1927090 0 None None None 2021-05-04 12:06:25 UTC
OpenStack gerrit 789554 0 None NEW make net_config_override of undercloud.conf work with yaml 2021-05-04 12:06:25 UTC

Description Srinivas Atmakuri 2021-05-04 12:06:25 UTC
On setting net_config_override parameter, the undercloud uses a JSON or YAML format template to configure the networking with os-net-config and ignores the network parameters set in undercloud.conf. We can this parameter when you want to configure bonding or add an option to the interface.

But currently, the net_config_override is only working when a JSON file is passed and doesn't work for YAML.

Version-Release number of selected component (if applicable):
Red Hat OpenStack Platform - 16.1

Steps to reproduce
1. Deploy undercloud with net_config_override set
2. Pass a yaml file as input instead of JSON

Expected result
Expect the undercloud_config to read the yaml file passed

Actual result
Yaml file is not read, the code runs into errors

Note You need to log in before you can comment on or make changes to this bug.