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/09/16 11:45:56 UTC

[GitHub] [cloudstack] vdombrovski opened a new issue, #6745: API: list network offerings doesn't work with multiple domains

vdombrovski opened a new issue, #6745:
URL: https://github.com/apache/cloudstack/issues/6745

   <!--
   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.17.0.1
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   N/A
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   N/A
   
   ##### 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.
   -->
   Make sure you have 2 domains (called here X and Y)
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   cmk create networkoffering domainid=X,Y type=shared [...] (just fill in the required args)
   cmk list networkofferings domainid=X type=shared
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Should return the created networkoffering
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   Nothing is returned
   ~~~
   


-- 
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 #6745: API: list network offerings doesn't work with multiple domains

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

   @vdombrovski thanks. I was able to reproduce it. Will create a fix soon


-- 
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 commented on issue #6745: API: list network offerings doesn't work with multiple domains

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

   @vdombrovski Have you enabled the newly created offfering? And there is no `type` parameter for `listNetworkOfferings` 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

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


[GitHub] [cloudstack] vdombrovski commented on issue #6745: API: list network offerings doesn't work with multiple domains

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

   Yes, the offering is enabled. And please replace `type` by `guestiptype`, small typo when creating a ticket (not that it is that relevant to the issue).


-- 
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] vdombrovski commented on issue #6745: API: list network offerings doesn't work with multiple domains

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

   Here, maybe a more detailed example will help. Obviously this also affects functionality inside the UI on the add network page; it won't let you choose a network offering whenever you select a "domain" scope because it can't list networkofferings that belong to multiple domains.
   
   ```
   (default)  > list networkofferings guestiptype=shared name=mynetwork
   count = 1
   networkoffering:
   specifyvlan = true
   conservemode = true
   forvpc = false
   created = 2022-08-30T11:56:14+0200
   id = d507795b-2c7b-466b-8996-211a99706daf
   tags = main
   zone = Z1,Z2
   egressdefaultpolicy = true
   supportspublicaccess = false
   serviceofferingid = 2d881ac5-3526-412a-ad19-8a5444d56e58
   name = mynetwork
   availability = Optional
   state = Enabled
   isdefault = false
   domainid = 53808bfe-c452-4739-bfdd-febbf78cc504,8fbd3ff3-d367-4812-a256-1d918e3e9b8d
   zoneid = 5f924d92-adb9-4907-9bce-0166b80362b2,f88034f2-d4fb-4014-8c14-bb5ac386575e
   guestiptype = Shared
   supportsstrechedl2subnet = false
   traffictype = Guest
   specifyipranges = true
   networkrate = 2000
   service = []
   displaytext = mynetwork
   domain = XXXXXXXXXXX
   ispersistent = false
   internetprotocol = IPv4
   hasannotations = false
   
   (default)  > list networkofferings guestiptype=shared name=mynetwork domainid=53808bfe-c452-4739-bfdd-febbf78cc504
   ```


-- 
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] DaanHoogland closed issue #6745: API: list network offerings doesn't work with multiple domains

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland closed issue #6745: API: list network offerings doesn't work with multiple domains
URL: https://github.com/apache/cloudstack/issues/6745


-- 
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