Activity log for bug #2018557

Date Who What changed Old value New value Message
2023-05-05 05:41:17 Andrew Bobulsky bug added bug
2023-05-05 05:43:13 Andrew Bobulsky description os-net-config walks the submitted yaml file to build out an inteface config file in /etc/sysconfig/network-scripts. Code for this can be seen here: https://github.com/openstack/os-net-config/blob/29028c14d71a5dc8f8b296ba1596757ade1255b6/os_net_config/impl_ifcfg.py#L435C1-L438 I think that os-net-config should support writing `ZONE=name` to these files. At present, this is not supported, and I do not see any mechanism for writing arbitrary keys with os-net-config either. At present, every time I run os-net-config, I lose all of my firewalld zone assignments because these files are regenerated without their ZONE keys. os-net-config walks the submitted yaml file to build out an inteface config file in /etc/sysconfig/network-scripts. Code for this can be seen here: https://github.com/openstack/os-net-config/blob/29028c14d71a5dc8f8b296ba1596757ade1255b6/os_net_config/impl_ifcfg.py#L435C1-L438 Every time I run os-net-config, I lose all of my firewalld zone assignments because these files are regenerated without their ZONE keys. Please extend os-net-config to support writing `ZONE=name` to these files, or add a mechanism for writing arbitrary k/v pairs to interface config files via the config yaml.
2023-05-05 05:44:12 Andrew Bobulsky summary os-net-config should be able to write firewalld ZONE to the interface config file os-net-config breaks firewalld ZONE assignments
2023-05-09 06:07:29 Vijayalakshmi os-net-config: assignee Vijayalakshmi (vcandapp)