PaulAngus opened a new issue #2690: L2 network offerings are not returned if zoneId is passed in listNetworkOfferings URL: https://github.com/apache/cloudstack/issues/2690 <!-- Verify first that your issue/request is not already reported on GitHub. Also test if the latest release and master 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 master branch. --> ~~~ 4.11.0 ~~~ ##### CONFIGURATION <!-- Information about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise --> CloudStack with 4.11.0 installed ##### 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. --> <!-- Paste example playbooks or commands between quotes below --> ~~~ Create an L2 network and enable it. then either: - use cloudmonkey to list network offerings (including a zoneid): list networkofferings guestiptype=L2 zoneid=dee181ce-78ed-45f2-bcfc-e9935ca63707 - go to UI and try to create an L2 network ~~~ <!-- You can also paste gist.github.com links for larger files --> ##### EXPECTED RESULTS <!-- What did you expect to happen when running the steps above? --> ~~~ cloudmonkey should return the L2 network created earlier AND UI dropdown should include the L2 network offering created earlier ~~~ ##### ACTUAL RESULTS <!-- What actually happened? --> <!-- Paste verbatim command output between quotes below --> ~~~ cloudmonkey returns no network offerings and UI dropdown should include the network offering created earlier _NB if zoneid argument is not passed then response is as expected list networkofferings guestiptype=L2 { "count": 1, "networkoffering": [ { "availability": "Optional", "conservemode": false, "displaytext": "L2-with-ConfigDrive", "egressdefaultpolicy": true, "forvpc": false, "guestiptype": "L2", "id": "da6b6a69-f823-4cb6-be4d-e714fd3bb926", "isdefault": false, "ispersistent": false, "name": "L2-with-ConfigDrive", "networkrate": 200, "service": [ { "name": "UserData", "provider": [ { "name": "ConfigDrive" } ] } ], "serviceofferingid": "579c5e08-048a-4f27-8676-89a41370d806", "specifyipranges": false, "specifyvlan": false, "state": "Enabled", "supportspublicaccess": false, "supportsstrechedl2subnet": false, "traffictype": "Guest" } ] }_ ~~~
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
