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/04/25 16:36:16 UTC

[jira] [Created] (CLOUDSTACK-2193) [EIP/Optonal PublicIP] associateIpAddress is failing in "basic zone" that is enabled for EIP/ELB

venkata swamybabu budumuru created CLOUDSTACK-2193:
------------------------------------------------------

             Summary: [EIP/Optonal PublicIP] associateIpAddress is failing in "basic zone" that is enabled for EIP/ELB
                 Key: CLOUDSTACK-2193
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2193
             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
            Priority: Critical
             Fix For: 4.2.0


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 acquire an IP to enable staticNAT on a VM deployed in the zone.

Observations:

(i) It fails with the following error

http://10.147.59.194:8080/client/api?command=associateIpAddress&response=json&sessionkey=ccGzfIlngz6WUvPKChBj0be5bw4%3D&networkid=35f5957d-909d-438c-b833-a4effe696a97&domainid=f5c301ee-ad01-11e2-bff9-069f2c0000aa&account=admin&_=1366900182528

{ "associateipaddressresponse" : {"errorcode":431,"cserrorcode":4350,"errortext":"Associate IP address can only be called on the shared networks in the advanced zone with Firewall/Source Nat/Static Nat/Port Forwarding/Load balancing services enabled"} }

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