You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "venkata swamybabu budumuru (JIRA)" <ji...@apache.org> on 2013/07/24 06:32:48 UTC

[jira] [Closed] (CLOUDSTACK-2192) [EIP/Optonal PublicIP] listNetworkOfferings is not returning info about the capability "AssociatePublicIP"

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

venkata swamybabu budumuru closed CLOUDSTACK-2192.
--------------------------------------------------


Verified it with latest build. listNetworkOfferings now lists the information about associatePublicIp.

<service><name>StaticNat</name><provider><name>Netscaler</name></provider><capability><name>ElasticIp</name><value>true</value><canchooseservicecapability>false</canchooseservicecapability></capability><capability><name>AssociatePublicIP</name><value>true</value><canchooseservicecapability>false</canchooseservicecapability></capability></service><service>
                
> [EIP/Optonal PublicIP] listNetworkOfferings is not returning info about the capability "AssociatePublicIP"
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2192
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2192
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller
>    Affects Versions: 4.2.0
>         Environment: commit # 0e2ffe72aa641f4551cae63fbc36454c5934342f
>            Reporter: venkata swamybabu budumuru
>            Assignee: Murali Reddy
>             Fix For: 4.2.0
>
>         Attachments: logs.tgz
>
>
> Steps to reproduce :
> 1. Have latest setup from master with EIP offering that has the capability "AssociatePublicIP" set to "False"
>                        id: 15
>                      name: EIPOffering
>                      uuid: 6207d909-c780-4661-8a61-7e397aad7b77
>               unique_name: EIPOffering
>              display_text: EIPOffering
>                   nw_rate: NULL
>                   mc_rate: 10
>              traffic_type: Guest
>                      tags: NULL
>               system_only: 0
>              specify_vlan: 1
>       service_offering_id: NULL
>             conserve_mode: 0
>                   created: 2013-04-24 17:23:07
>                   removed: NULL
>                   default: 0
>              availability: Optional
>      dedicated_lb_service: 0
> shared_source_nat_service: 0
>                  sort_key: 0
>  redundant_router_service: 0
>                     state: Enabled
>                guest_type: Shared
>        elastic_ip_service: 1
>   eip_associate_public_ip: 0
>        elastic_lb_service: 1
>         specify_ip_ranges: 1
>                    inline: 0
>             is_persistent: 0
> select * from networks;
>                        id: 15
>                      name: EIPOffering
>                      uuid: 6207d909-c780-4661-8a61-7e397aad7b77
>               unique_name: EIPOffering
>              display_text: EIPOffering
>                   nw_rate: NULL
>                   mc_rate: 10
>              traffic_type: Guest
>                      tags: NULL
>               system_only: 0
>              specify_vlan: 1
>       service_offering_id: NULL
>             conserve_mode: 0
>                   created: 2013-04-24 17:23:07
>                   removed: NULL
>                   default: 0
>              availability: Optional
>      dedicated_lb_service: 0
> shared_source_nat_service: 0
>                  sort_key: 0
>  redundant_router_service: 0
>                     state: Enabled
>                guest_type: Shared
>        elastic_ip_service: 1
>   eip_associate_public_ip: 0
>        elastic_lb_service: 1
>         specify_ip_ranges: 1
>                    inline: 0
>             is_persistent: 0
> mysql> select * from ntwk_service_map;
> +----+------------+---------------+-----------------------+---------------------+
> | id | network_id | service       | provider              | created             |
> +----+------------+---------------+-----------------------+---------------------+
> |  1 |        204 | SecurityGroup | SecurityGroupProvider | 2013-04-24 17:30:05 |
> |  2 |        204 | Dns           | VirtualRouter         | 2013-04-24 17:30:05 |
> |  3 |        204 | StaticNat     | Netscaler             | 2013-04-24 17:30:05 |
> |  4 |        204 | Dhcp          | VirtualRouter         | 2013-04-24 17:30:05 |
> |  5 |        204 | UserData      | VirtualRouter         | 2013-04-24 17:30:05 |
> |  6 |        204 | Lb            | Netscaler             | 2013-04-24 17:30:05 |
> +----+------------+---------------+-----------------------+---------------------+
> 2. Try to fire "listNetworkOfferings" API and verify the output
> Observations:
> (i) Here is the snippet of output
> http://10.147.59.194:8096/api?command=listNetworkOfferings&id=6207d909-c780-4661-8a61-7e397aad7b77&account=admin&response=json
> { "listnetworkofferingsresponse" : { "count":1 ,"networkoffering" : [  {"id":"6207d909-c780-4661-8a61-7e397aad7b77","name":"EIPOffering","displaytext":"EIPOffering","traffictype":"Guest","isdefault":false,"specifyvlan":true,"conservemode":false,"specifyipranges":true,"availability":"Optional","networkrate":200,"state":"Enabled","guestiptype":"Shared","serviceofferingid":"56ae83b7-2674-482b-a302-603fb326a370","service":[{"name":"StaticNat","provider":[{"name":"Netscaler"}],"capability":[{"name":"ElasticIp","value":"true","canchooseservicecapability":false}]},{"name":"UserData","provider":[{"name":"VirtualRouter"}]},{"name":"Lb","provider":[{"name":"Netscaler"}],"capability":[{"name":"SupportedLBIsolation","value":"shared","canchooseservicecapability":false},{"name":"ElasticLb","value":"true","canchooseservicecapability":false},{"name":"InlineMode","value":"false","canchooseservicecapability":false}]},{"name":"Dns","provider":[{"name":"VirtualRouter"}]},{"name":"SecurityGroup","provider":[{"name":"SecurityGroupProvider"}]},{"name":"Dhcp","provider":[{"name":"VirtualRouter"}]}],"forvpc":false,"ispersistent":false} ] } }
> (ii) It doesn't give information about capability : AssociatePublicIP in the response.
> Attaching all the required logs to bug.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira