Secondary Storage NFS custom port
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 1.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 32
Description
### Discussed in https://github.com/apache/cloudstack/discussions/10920
Originally posted by **amosgiture** May 27, 2025
I'm using a Ceph cluster for both primary and secondary storage. Using a floating ceph cluster IP and port 2050 to make NFS highly available. Port 2049 is already in use by the NFS server daemons in Ceph.
Primary storage works great since I can specify port=2050 in the mount options in the cloudstack UI. Secondary storage does not provide a way to customize the NFS port. I'm stuck.
I'm using KVM hosts on Ubuntu 22.04.
Any help would be appreciated to overcome this. If not, I'll try configuring S3 in Ceph instead of NFS for secondary storage.
Contributor guide
Research direction
Start by tracing how CloudStack configures and mounts secondary storage over NFS, focusing on where the secondary-storage port is selected. The issue names no source files or tests, so first locate that entry point and existing primary-storage port handling. Done means secondary storage can use a custom NFS port such as 2050, with verification that the mount works on KVM hosts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100