bond interfaces being excluded by sunbeam during deployment
Bug #2048678 reported by
Andre Ruiz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Snap |
New
|
Undecided
|
Unassigned |
Bug Description
I'm installing sunbeam on a machine that has two physical interfaces bonded via LACP resulting in an interface bond0, that has the management IP.
On top of that bond, I created two VLANs, that are meant to be the API and the Provider networks for sunbeam, and they are bond0.1001 and bond0.1002.
During sunbeam installation, it tries to filter the list of interfaces to be able to find unused/free interfaces to offer as the interface for OVN, but it seems to be excluding too much, leaving the list empty and causing an error.
To post a comment you must log in.
The error:
14:43:09,645 sunbeam.utils DEBUG Skipping lo it is virtual openstack/ 324/lib/ python3. 10/site- packages/ sunbeam/ utils.py" , line 274, in __call__ openstack/ 324/lib/ python3. 10/site- packages/ click/core. py", line 1055, in main openstack/ 324/lib/ python3. 10/site- packages/ click/core. py", line 1657, in invoke result( sub_ctx. command. invoke( sub_ctx) ) openstack/ 324/lib/ python3. 10/site- packages/ click/core. py", line 1404, in invoke self.callback, **ctx.params) openstack/ 324/lib/ python3. 10/site- packages/ click/core. py", line 760, in invoke openstack/ 324/lib/ python3. 10/site- packages/ sunbeam/ commands/ configure. py", line 792, in configure openstack/ 324/lib/ python3. 10/site- packages/ sunbeam/ jobs/common. py", line 245, in run_plan prompt( console) openstack/ 324/lib/ python3. 10/site- packages/ sunbeam/ commands/ configure. py", line 684, in prompt for_nic( ) openstack/ 324/lib/ python3. 10/site- packages/ sunbeam/ commands/ configure. py", line 642, in prompt_for_nic bank.nic. ask() openstack/ 324/lib/ python3. 10/site- packages/ sunbeam/ jobs/questions. py", line 153, in ask function( openstack/ 324/lib/ python3. 10/site- packages/ rich/prompt. py", line 141, in ask default= default, stream=stream) openstack/ 324/lib/ python3. 10/site- packages/ sunbeam/ commands/ configure. py", line 95, in __call__ free_nics( include_ configured= False) openstack/ 324/lib/ python3. 10/site- packages/ sunbeam/ utils.py" , line 221, in get_free_nics openstack/ 324/lib/ python3. 10/site- packages/ sunbeam/ utils.py" , line 188, in get_nic_macs .AF_LINK] ])
14:43:09,645 sunbeam.utils DEBUG Skipping enp1s0f0 it is part of a bond
14:43:09,646 sunbeam.utils DEBUG Skipping enp1s0f1 it is part of a bond
14:43:09,646 sunbeam.utils DEBUG Skipping bond0 it is part of a bond
14:43:09,646 sunbeam.utils DEBUG Skipping bond0.1001 it is part of a bond
14:43:09,647 sunbeam.utils DEBUG Skipping bond0.1002 it is part of a bond
14:43:09,655 sunbeam.utils DEBUG Skipping ovs-system it is virtual
14:43:09,656 sunbeam.utils DEBUG Skipping br-int it is virtual
14:43:09,656 sunbeam.utils DEBUG Skipping br-ex it is virtual
14:43:09,656 sunbeam.utils DEBUG Skipping vxlan.calico it is virtual
14:43:09,657 sunbeam.utils DEBUG Skipping genev_sys_6081 it is virtual
14:43:09,657 sunbeam.utils DEBUG 17
Traceback (most recent call last):
File "/snap/
return self.main(*args, **kwargs)
File "/snap/
rv = self.invoke(ctx)
File "/snap/
return _process_
File "/snap/
return ctx.invoke(
File "/snap/
return __callback(*args, **kwargs)
File "/snap/
run_plan(plan, console)
File "/snap/
step.
File "/snap/
self.nic = self.prompt_
File "/snap/
nic = ext_net_
File "/snap/
self.answer = self.question_
File "/snap/
return _prompt(
File "/snap/
self.choices = utils.get_
File "/snap/
macs = get_nic_macs(nic)
File "/snap/
return sorted([a["addr"] for a in addrs[netifaces
KeyError: 17
14:43:09,659 sunbeam.utils WARNING An unexpected error has occurred. Please run 'sunbeam inspect' to generate an inspection report.
14:43:09,659 sunbeam.utils ERROR Error: 17