andrijapanicsb opened a new issue, #9530: URL: https://github.com/apache/cloudstack/issues/9530
<!-- Verify first that your issue/request is not already reported on GitHub. Also test if the latest release and main branch are affected too. Always add information AFTER of these HTML comments, but no need to delete the comments. --> ##### ISSUE TYPE <!-- Pick one below and delete the rest --> * Bug Report ##### COMPONENT NAME <!-- Categorize the issue, e.g. API, VR, VPN, UI, etc. --> ~~~ API ~~~ ##### CLOUDSTACK VERSION <!-- New line separated list of affected versions, commit ID for issues on main branch. --> ~~~ 4.16.1 tested, haven't reproduced/tested it in newer versions (but somewhat sure it's still there) ~~~ ##### CONFIGURATION <!-- Information about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise --> - Ensure a wrong value/unreachable network CIDR is set as "secstorage.allowed.internal.sites" e.g. set a value "10.16.30.16/24" (wrong CIDR notation btw). - When uploading templates from local, SSVM will fetch the data from the browser, then it will try (for whatever reason/bug) to create routes towards the CIDR defined in the "secstorage.allowed.internal.sites" - but the OS will fail to add such route due to the combination of a wrong CIDR value in the global setting (and perhaps Pod management network gateway) - This result with the error below in the SSVM log, after which the template is left/stuck in the NotUploaded state: `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 <!-- Information about the environment if relevant, N/A otherwise --> ##### SUMMARY <!-- Explain the problem/feature briefly --> ##### STEPS TO REPRODUCE <!-- For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate. For new features, show how the feature would be used. --> <!-- Paste example playbooks or commands between quotes below --> ~~~ ~~~ <!-- You can also paste gist.github.com links for larger files --> ##### EXPECTED RESULTS <!-- What did you expect to happen when running the steps above? --> ~~~ ~~~ ##### ACTUAL RESULTS <!-- What actually happened? --> <!-- Paste verbatim command output between quotes below --> ~~~ ~~~ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org