You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/07/11 07:40:33 UTC

[GitHub] [cloudstack] rohityadavcloud opened a new issue, #6544: Guest network permissions not working with projects

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: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] shwstppr commented on issue #6544: Guest network permissions not working with projects

Posted by GitBox <gi...@apache.org>.
shwstppr commented on issue #6544:
URL: https://github.com/apache/cloudstack/issues/6544#issuecomment-1200403370

   Fixed with [b62f59a](https://github.com/apache/cloudstack/commit/b62f59ac956f9d8188fe1678d6d20d0b56dd2c93)


-- 
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-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] shwstppr closed issue #6544: Guest network permissions not working with projects

Posted by GitBox <gi...@apache.org>.
shwstppr closed issue #6544: Guest network permissions not working with projects
URL: https://github.com/apache/cloudstack/issues/6544


-- 
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-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org