apache / apache/cloudstack

NFS mounting on VM

未关闭
#8,990 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
archive no-issue-activity type:question
主要语言
Java
星标
3.1k
派生
1.4k
平均合并
6 天 19 小时
30 天内合并 PR
32

描述

##### ISSUE TYPE

* Other

##### COMPONENT NAME

UI

##### CLOUDSTACK VERSION

14.19.1

##### CONFIGURATION

Advance networking

##### OS / ENVIRONMENT

Ubuntu 22.04 and using KVM hypervisor

##### SUMMARY

I am trying to get NFS storage on the ACS VM. But VM virtual routers don't have a route or interface to that.
I am running the environment as below:
ACS Portal: 10.10.40.252
NFS server: 10.10.40.250
KVM host: 172.16.0.100 (Have to NIC 1 for local and 1 for public configured as cloudbr0 for private and cloudbr1 as public.)

ACS Management Range: 172.16.0.10–172.16.0.50 (cloudbr0)
ACS Public Range: 232.28.15.16 - 232.28.15.23 (cloudbr1)

I had trunked KVM Privet NIC to talk to the ACS and NFS subnets. So through 172.16.0.0, I can communicate with the 10.10.40.0 network.

I bring up a VM with isolated network 10.1.1.5 and it creates VR with 10.1.1.1 and 232.28.15.19. I am getting internet, and the rest is fine.
I need to mount NFS server with this VM. While checking the VR route, I can see the default route to the public NIC. Through that NIC, I won't get the 10.10.40.250 system as it passed out from KVM through cloudbr1.

It is not advised to trunk KVM host cloudbr1 NIC and allow 10.10.40.250 traffic to route through the public network. What will be the best solution for this in this case?

##### EXPECTED RESULTS

Most of the production environment ACS will be running on a DC, which will have a NAS or SAN for NFS storage and which will be on some other LAN vlan. I can see an option like configuring VPC and adding site-site VPN. But in most cases, all devices have the same DC, which will affect NFS performance when traffic moves out and in through a VPN. So CloudStack should have some option to add this storage to VMs and Kubernetes clusters.

贡献指南

打开贡献指南

调研方向

从报告的 CloudStack 14.19.1 配置开始,包括隔离的 VM、虚拟路由器路由、KVM 网桥和 NFS 服务器网络。检查虚拟路由器如何处理对 10.10.40.0 网络的访问,并确定 VM 和 Kubernetes 访问 NFS 所需的受支持配置。完成标准是形成一个定义清晰且受支持的解决方案,避免通过公共网络路由 NFS 流量。

由索引模型根据 Issue 内容生成。

评估

技术栈
kubernetes, ubuntu
领域
cloud, infrastructure, networking
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。