Bug 2006770 - When trying to boot nodes with ctlplane on anything else than nic1, it's impossible to provision instances.
Summary: When trying to boot nodes with ctlplane on anything else than nic1, it's impo...
Keywords:
Status: ON_QA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-metalsmith
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Alpha
: 17.0
Assignee: Harald Jensås
QA Contact: Jason Paroly
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-22 11:29 UTC by Harald Jensås
Modified: 2023-03-21 18:50 UTC (History)
3 users (show)

Fixed In Version: python-metalsmith-1.4.3-0.20211210121855.324b758.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 810320 0 None MERGED Write network_data.json metadata to config-dirve 2023-03-07 09:51:37 UTC
OpenStack gerrit 810480 0 None MERGED Write network_data.json metadata to config-dirve 2023-03-07 09:51:38 UTC
OpenStack gerrit 810481 0 None MERGED Write network_data.json metadata to config-dirve 2023-03-07 09:51:39 UTC
Red Hat Issue Tracker OSP-9805 0 None None None 2021-11-15 12:44:12 UTC
Storyboard 2009238 0 None None None 2021-09-22 11:29:23 UTC

Description Harald Jensås 2021-09-22 11:29:23 UTC
Description of problem:
When trying to boot nodes with ctlplane on anything else than nic1, it's impossible to provision instances.

This doesn't happen when ctlplane (provisioning NIC) is nic1.





How reproducible:
100% reproducible.

Steps to Reproduce:

I was able to reproduce this in a virtual environment using the manual-management hardware type.
My VM has two NIC's enp1s0 (nic1) and enp7s0 (nic2), it is configured to boot using enp7s0 (nic2).

cloud-init only write a config for enp1s0 (nic1), since there is no DHCP where enp1s0 (nic1) is wired the nodes boots with no network.

cloud-init is doing "Fallback network configuration", which seem to behave as designed. Unfortunately not good for this use case.
https://cloudinit.readthedocs.io/en/latest/topics/network-config.html#fallback-network-configuration
Actual results:


Expected results:

It should be possible to provision nodes even if the NIC used for provisioning is not the first one discovered.

metalsmith should write network metadata to the config drive so that cloud-init can configure instance networking.

Comment 3 Harald Jensås 2023-03-07 09:58:18 UTC
Moving to ON_QA - the fix has been released.

https://access.redhat.com/downloads/content/python3-metalsmith/1.4.3-0.20220712230441.324b758.el9ost/noarch/fd431d51/package-changelog

2021-12-10 OSP Prod Chain <dev-null> 1.4.3-0.20211210130412.324b758
[...]
- Write network_data.json metadata to config-dirve 
[...]


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