Network Namespace extension should support untagged public networks
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 55/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Bereich
- networking
Rechercherichtung
Beginne mit dem Network Namespace extension script und dem Pfad für die Einrichtung des öffentlichen Netzwerks, und führe dann die aufgeführten Marvin-Tests aus: test_05_isolated_network_full_lifecycle, test_06_vpc_multi_tier_and_restart, test_07_vpc_network_acl und test_09_vpc_source_nat_ip_update. Überprüfe, dass numerische VLAN-Konfigurationen ihr aktuelles Verhalten beibehalten und dass eine explizite untagged-Konfiguration die Einrichtung von Adresse, Route, ARP und NAT abschließt, ohne eine VLAN-Subschnittstelle zu erstellen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Summary
The current Network Namespace extension code does not support an untagged public network. It treats the public VLAN value as a numeric VLAN ID and attempts to create a VLAN sub-interface. In an environment where the public network is intentionally untagged, this causes the following Marvin tests to fail if the Public network is not tagged (a valid scenario):
test_05_isolated_network_full_lifecycletest_06_vpc_multi_tier_and_restarttest_07_vpc_network_acltest_09_vpc_source_nat_ip_update
The later Static NAT and port-forwarding errors appear to be consequences of the initial public-network setup failure, rather than four unrelated test failures.
Environment
- CloudStack Marvin smoke tests
- Network Namespace extension
- Public network is untagged and uses the existing bridge/uplink path
- No tagged public VLAN is available on this test network
Observed behavior
The extension attempts to create a VLAN interface using the literal value untagged, resulting in an error similar to:
Error: argument "untagged" is wrong: id is invalid
The Network Namespace extension script then exits with code 2, and the dependent network operations fail.
Expected behavior
When the configured public network is untagged, the extension should:
- Skip creation of an
ethX.<vlan>VLAN sub-interface. - Use the existing bridge or physical uplink directly.
- Continue with the required address, route, ARP, and NAT setup.
- Preserve the current behavior for numeric VLAN configurations.
A public network does not inherently require VLAN tagging; both tagged and untagged deployments are valid. Supporting the explicit untagged mode would allow the same tests to run on simple bridge/NAT-based lab networks without requiring an artificial VLAN configuration.
Validation
Please consider adding coverage for both:
- Numeric VLAN configuration, preserving current tagged behavior.
- Explicit untagged configuration, without creating a VLAN sub-interface.
It would also be helpful if the extension scripts used by a test run could be pinned to a commit or release, rather than fetched from a moving branch at runtime, so that failures remain reproducible.
This issue concerns the Network Namespace extension only; it is not a change to the default CloudStack Virtual Router path.
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 4
- Forks
- 4
- Ø Merge
- 1 Std.
- Gemergte PRs (30 T.)
- 3
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus apache/cloudstack-extensions
-
apache/cloudstack-extensions#5 · 1 Kommentar · 1 zugewiesene Person ·
Alle Issues in apache/cloudstack-extensions
Ähnliche Issues
-
type/automation type/performance
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
TheManticoreProject/Manticore#1380 ·
-
enhancement new
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
-
P3 sonic-vpp
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
sonic-net/sonic-buildimage#29662 ·