Network Namespace extension should support untagged public networks

Abierto
#8 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Área
networking

Línea de trabajo

Comienza con el Network Namespace extension script y la ruta de configuración de la red pública; después, ejecuta las pruebas de Marvin indicadas: test_05_isolated_network_full_lifecycle, test_06_vpc_multi_tier_and_restart, test_07_vpc_network_acl y test_09_vpc_source_nat_ip_update. Verifica que las configuraciones VLAN numéricas mantengan su comportamiento actual y que una configuración untagged explícita complete la configuración de la dirección, la ruta, ARP y NAT sin crear una subinterfaz VLAN.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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_lifecycle
  • test_06_vpc_multi_tier_and_restart
  • test_07_vpc_network_acl
  • test_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:

  1. Skip creation of an ethX.<vlan> VLAN sub-interface.
  2. Use the existing bridge or physical uplink directly.
  3. Continue with the required address, route, ARP, and NAT setup.
  4. 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.

Lenguaje dominante
Sin datos de lenguaje
Estrellas
4
Forks
4
Merge medio
1 h
PR fusionados (30 d)
3

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de apache/cloudstack-extensions

Todos los issues de apache/cloudstack-extensions

Issues similares

Más issues de Networking

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.