apache / apache/cloudstack

With VR + VNF + L2 Network, the VMs in L2 Network cannot be reached from the Internet (But the opposite is possible)

Ouverte
#9,791 15 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
type:enhancement
Langage dominant
Java
Étoiles
3.1k
Forks
1.4k
Merge moyen
6 j 19 h
PR mergées (30 j)
32

Description

##### ISSUE TYPE

* Bug Report

##### COMPONENT NAME

~~~
VR + VNF
~~~

##### CLOUDSTACK VERSION

~~~
4.19.1
~~~

##### CONFIGURATION

Advanced Networking
VPC
VNF + L2 Network

##### OS / ENVIRONMENT

##### SUMMARY

We have 1 VPC and 1 L2 Network connected together with a VNF (PFsense) in between.

Results Summary:
- Test 1: From L2 VM (10.26.8.230) to VPC VM (10.26.1.250) - PASS
- Test 2: From VPC VM (10.26.1.250) to L2 VM (10.26.8.230) - FAILED
- Test 3: From L2 VM (10.26.8.230) to Private Gateway VM (10.88.5.82) - PASS
- Test 4: From Private Gateway VM (10.88.5.82) to L2 VM (10.26.8.230) - FAILED

Background:
We’ve allowed any on the VNF firewall rules as attached in the screenshot below:

![Screenshot 2024-10-14 at 9 03 26 PM](https://github.com/user-attachments/assets/fcddf19d-3c10-4e12-8571-e7144e5a8ea2)

Traffic is allowed any on 10.26.1.254 interface

![Screenshot 2024-10-14 at 9 03 55 PM](https://github.com/user-attachments/assets/b4fe623e-c3f8-42ef-9bfe-f30138b934aa)

Traffic is allowed any on 10.26.8.254

We then run some tests.

Test 1: From L2 VM (10.26.8.230) to VPC VM (10.26.1.250)
![Screenshot 2024-10-14 at 9 04 32 PM](https://github.com/user-attachments/assets/0e003313-9e20-4d48-9da4-9f313a11f2bc)

Results: Ping and traceroute test from 10.26.8.230 to 10.26.1.250 works as expected. (PASS)

![Screenshot 2024-10-14 at 9 05 11 PM](https://github.com/user-attachments/assets/c37a7f27-9a61-49e1-90ca-10dafcf3061a)

Test 2: From VPC VM (10.26.1.250) to L2 VM (10.26.8.230)

![Screenshot 2024-10-14 at 9 05 32 PM](https://github.com/user-attachments/assets/4d9fde56-11c6-411f-9095-53223fe8e3da)

Results: Ping and traceroute test from 10.26.1.250 to 10.26.8.230 is not possible (FAILED)

![Screenshot 2024-10-14 at 9 06 01 PM](https://github.com/user-attachments/assets/8f2d9fa8-a4bf-428d-a82f-fd3f29f1d5a0)

Test 3: From L2 VM (10.26.8.230) to Private Gateway VM (10.88.5.82)
![Screenshot 2024-10-14 at 9 07 42 PM](https://github.com/user-attachments/assets/94cdf87e-7ab1-408d-b22d-36d1dba36e71)
Results: Ping and traceroute test from 10.26.8.230 to 10.88.5.82 works as expected (PASS)

Test 4: From Private Gateway VM (10.88.5.82) to L2 VM (10.26.8.230)
![Screenshot 2024-10-14 at 9 08 14 PM](https://github.com/user-attachments/assets/96a3fd00-2c6a-47d5-a5f6-8fdbf03ededd)

Results: Ping and traceroute test from 10.88.5.82 to 10.26.8.230 does not work (FAILED)
![Screenshot 2024-10-14 at 9 08 36 PM](https://github.com/user-attachments/assets/f2f52757-e0d9-4a5b-beb9-9e084293a244)

We've been trying to debug Tests 2 and 4 for a while now with no sucess. Anyone has any ideas?
Or is Cloudstack designed not to allow this to be possible?

##### STEPS TO REPRODUCE

~~~
NA
~~~

##### EXPECTED RESULTS

~~~
Tests 2 and 4 should be able to work
~~~

##### ACTUAL RESULTS

~~~
Tests 2 and 4 does not work
~~~

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par la configuration documentée de Advanced Networking, VPC, L2 Network et VNF (PFsense), puis reproduisez Tests 2 et 4 en utilisant les chemins de ping et traceroute indiqués. Le travail est considéré comme terminé lorsqu’il est déterminé si l’accessibilité asymétrique est un défaut de CloudStack ou un comportement attendu, et qu’un fix confirmé ou une exigence de configuration est documenté ; aucun fichier source ni test n’est identifié.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Domaine
cloud, infrastructure, networking
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Active
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.