apache / apache/cloudstack

SSVM Cannot Mount Secondary Storage on Isolated Storage Network Due to Incorrect Route

Abierto
#13,774 7 comentarios 0 reacciones 0 asignados Ver en GitHub
status:needs-investigation type:question
Lenguaje dominante
Java
Estrellas
3.1k
Forks
1.4k
Merge medio
6 d 19 h
PR fusionados (30 d)
32

Descripción

I am configuring CloudStack 4.22.1.0 and have set up an isolated Storage Network on VXLAN 500 with the subnet **192.168.16.0/24**. My secondary storage (NFS) server is configured with the IP address **192.168.16.16**.

This is the first time I have configured secondary storage on a dedicated storage network. In my previous deployments, both the management and storage traffic shared **cloudbr0**, and everything worked correctly.

After completing the configuration, the SSVM Agent Status remained **"Connecting"**. I logged into the SSVM via SSH and checked the routing table. I found that the route for **192.168.16.0/24** was incorrectly pointing to the **management gateway (10.10.100.1)** instead of the **storage gateway (192.168.16.1)**. Because of this incorrect route, the SSVM was unable to mount the NFS secondary storage.

To verify the issue, I manually deleted the incorrect route and added the correct one:

* Incorrect route: `192.168.16.0/24 via 10.10.200.1 dev eth1`
* Correct route: `192.168.16.0/24 via dev eth3`

**eth3** is the new interface automatically created in SSVM where IP address 192.168.16.192/24 has been assigned.

As soon as I corrected the route, the SSVM Agent Status turned **green**, the secondary storage mounted successfully, and image downloads started normally.

However, after deleting and recreating the SSVM, the same issue occurred again. The incorrect route was added automatically, causing the Agent Status to return to **"Connecting"**. After manually replacing the route with the correct one, everything worked normally again.

Am I missing any configuration? Is this expected behavior, or could this be a bug in CloudStack? How can I permanently ensure that the SSVM uses the storage gateway (**192.168.16.1**) for the **192.168.16.0/24** network instead of the management gateway?

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Recrea la SSVM con la Storage Network aislada y, después, inspecciona su tabla de enrutamiento y sus interfaces mientras el Agent Status está en Connecting. Compara la ruta añadida automáticamente con la configuración de la Storage Network; se considera completado cuando el tráfico de 192.168.16.0/24 usa eth3, los montajes de almacenamiento NFS secundarios están activos y el Agent Status está en verde.

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

Evaluación

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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.