apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.06k stars 1.1k forks source link

Template Upload from local depends (wrongly) on the routes being added for internal sites #9530

Closed andrijapanicsb closed 1 month ago

andrijapanicsb commented 2 months ago
ISSUE TYPE
COMPONENT NAME
API
CLOUDSTACK VERSION
4.16.1 tested, haven't reproduced/tested it in newer versions (but somewhat sure it's still there)
CONFIGURATION

2024-08-12 07:11:45,428 INFO [handler.logging.LoggingHandler] (nioEventLoopGroup-4-1:null) [id: 0xb5b790d0] CLOSE() 2024-08-12 07:11:45,430 INFO [handler.logging.LoggingHandler] (nioEventLoopGroup-4-1:null) [id: 0xb5b790d0] UNREGISTERED 2024-08-12 07:11:45,435 INFO [storage.resource.NfsSecondaryStorageResource] (Thread-4:null) shutting down post upload server 2024-08-12 07:11:53,237 WARN [storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-4:null) Error in configuring route to internal ip err=Error: Invalid prefix for given prefix length.

Routes should not be added during Upload from Local - they are/should be added when downloading a template from a URL (ideally, routes should be added during starting of the SSVM, but I guess that is not the topic now)

OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
rohityadavcloud commented 1 month ago

Fixed by https://github.com/apache/cloudstack/pull/9567