Network device attached via the UI is created as ethN without an interface name, so the reserved ipv4 address is never configured in the instance

Aperta
#1,686 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
networking

Direzione di ricerca

Reproduce with a 3-node MicroCloud, an OVN network, and a container created from the UI with an extra NIC set to a static IPv4. No files are named in the payload; start by comparing the device the UI submits (interface name eth-1) with the device actually created (ethN) and with what LXD receives, then follow where the reserved IPv4 is applied to the NIC. Done means the instance shows 10.54.116.10 on the attached interface.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi,

I just tried a 3 node microcloud but I'm hitting an issue when trying to create multiple containers isolated in ovn networks.

Steps to reproduce:

Env:

  • microcloud 3.4.1, lxd 6.10.1, microvn 26.03, microceph tentacle
  • 3 node cluster on ubuntu 26.04 vms
  • isntance image: 24.04 container

1: create an ovn network, e.g network 01 (10.54.116.1/24, DHCP on by default)
2: in the UI create an instance from 24.04
3: in the networks tab, in addition to eth0 attached to the default network, create an interface eth-1 and attach to network01 and set a static ip like 10.54.116.10

Expected:
the instance gets 10.54.116.10 on the attached nic

actual:
the nic comes up with only an ipv6 SLAAC address. No ipv4

Lingua principale
Go
Stelle
552
Fork
96
Merge medio
4g 10h
PR unite (30g)
21

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di canonical/microcloud

Tutte le issue di canonical/microcloud

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.