-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSVM System VM fails to add static route to NFS server (ip route add x.x.x.x via null) #10163
Comments
Dear @KobesM @DaanHoogland , I hope this message finds you well. I have reviewed the details of the issue regarding the secondary storage VM failing to add the correct route to the NFS server. It seems like a routing misconfiguration or a network connectivity issue is causing the problem. I would like to take this opportunity to work on resolving this issue. If the issue is still open, could you please assign it to me? I will ensure to provide updates regularly and propose a fix after thoroughly investigating the root cause. Looking forward to your confirmation and any additional input or guidance you may have regarding this issue. Best regards, |
Hi @DaanHoogland , My approach to solve this issue would involve the following steps: Investigate Route Table Configuration: I'll start by reviewing the route table configuration on the system VM and identifying why the static route to the NFS server is not being added correctly. It seems that the null value is being passed where an actual device or gateway should be specified. Verify Network Interfaces and Gateway Configuration: I will check the network interfaces on the secondary storage VM and confirm that the correct gateway is set, ensuring it is able to route traffic to the 192.168.1.21 NFS server. Check NFS Mount Configuration: I'll verify the NFS configuration and ensure that the system VM has proper access permissions and that the NFS server is reachable from the secondary storage VM. Manually Add Route (Testing): I’ll test adding the static route manually using the ip route add command to see if it resolves the issue and confirm that the system VM can reach the NFS server. Implement Solution in Code: Once I have identified the root cause, I will make any necessary changes to the code to ensure the system VM correctly adds the route to the NFS server. This may involve updating the networking or route handling logic within CloudStack. I will proceed with debugging the issue and keep you updated on my progress. Let me know if there are any additional details that could assist in troubleshooting. Best Regards, |
@iishitahere by the way, do you have an environment to verify the fix ? |
Yes, I do have the environment to verify the fix. I’m currently working on the PR and will update you once it's ready. |
A small update from my side... I verified if manually adding the route to the nfs server would work: After logging into the SSVM the
At this point there is no route to 192.168.1.21:
So I manually added the route:
The route to 192.168.1.21 now does exist:
Also the
At this point I was also able to upload an image from the UI. |
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
Advanced Networking
Single Zone
physical network
OS / ENVIRONMENT
Almalinux 9.5 Manager and KVM hosts
SUMMARY
I just deployed Apache Cloudstack 4.20 as a fresh install but can't upload images to the secondairy storage. When uploading the image using the UI I receive the following error "Failed to upload Template - Error: Network Error".
STEPS TO REPRODUCE
When logging into the secondarystoragevm (ssh from KVM host) i found the following errors in the /var/log/cloud.log:
and
Requesting the route table there is no route to 192.168.1.21 (nfs server):
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: