rohityadavcloud opened a new issue, #6544: URL: https://github.com/apache/cloudstack/issues/6544
When networks are shared with projects, in the project view (both UI and API) those networks aren't listed and therefore couldn't be used to deploy VM. The feature isn't working as per https://docs.cloudstack.apache.org/en/4.17.0.0/adminguide/networking_and_traffic.html#guest-network-permissions Please test and add support for allowing sharing of following types of networks with other accounts and projects: - L2 networks not in Project - Isolated networks not in Project - Shared networks with scope is Account Please add basic smoketests for this, both as admin and normal user accounts; across accounts and projects (where both the admin and normal user is an owner). ##### ISSUE TYPE <!-- Pick one below and delete the rest --> * Bug Report ##### COMPONENT NAME <!-- Categorize the issue, e.g. API, VR, VPN, UI, etc. --> ~~~ API, Networks ~~~ ##### CLOUDSTACK VERSION <!-- New line separated list of affected versions, commit ID for issues on main branch. --> ~~~ 4.17.0.0 ~~~ ##### 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 --> ~~~ - creating a network "Net1", using offering "DefaultIsolatedNetworkOfferingWithSourceNatService" - creating a project "Proj1" - add permissions for network "Net1" to project "Proj1" - switch to project "Proj1" - (hit refresh/F5 as workaround for the empty resource list bug) - list networks (empty) - create a new instance, but networks is still empty ~~~ <!-- You can also paste gist.github.com links for larger files --> ##### EXPECTED RESULTS <!-- What did you expect to happen when running the steps above? --> ~~~ Networks should list the network permitted to the project (in project view and API) ~~~ ##### ACTUAL RESULTS <!-- What actually happened? --> <!-- Paste verbatim command output between quotes below --> ~~~ The network wasn't list in the API or UI (even with the projectid=-1 param in API) ~~~ -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
