You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "sadhu suresh (JIRA)" <ji...@apache.org> on 2013/05/29 09:21:20 UTC

[jira] [Created] (CLOUDSTACK-2730) vmware:addcluster failed in basiczone

sadhu suresh created CLOUDSTACK-2730:
----------------------------------------

             Summary: vmware:addcluster failed in basiczone
                 Key: CLOUDSTACK-2730
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2730
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: VMware
    Affects Versions: 4.2.0
            Reporter: sadhu suresh
            Priority: Blocker


In case of vmware ,when i try to configure basic zone with shared network.addcluster failed with 
"Creating cluster Something went wrong; please correct the following:Don't support hypervisor type VMware in advanced security enabled zone" even though i select the bassic and shared network.

1.select the  zone type as basic
2.select the network type as shared
3.provide pod ,guest details  and configure primary and secondary detaisl
4.click on "finish" to create basic zone with shared network mode


Actual result:
even though i select shared network in basic zone,it sends security group enble to true internally. due to this  addcluster failed .

It throws following error:
Creating cluster Something went wrong; please correct the following:Don't support hypervisor type VMware in advanced security enabled zone




mysql> select * from data_center where id=2\G;
*************************** 1. row ***************************
                       id: 2
                     name: zone1
                     uuid: c642382d-8587-4cd7-a1e9-5a488bb47da7
              description: NULL
                     dns1: 10.103.128.16
                     dns2: NULL
            internal_dns1: 10.103.128.16
            internal_dns2: NULL
                  gateway: NULL
                  netmask: NULL
       router_mac_address: 02:00:00:00:00:01
              mac_address: 23
       guest_network_cidr: NULL
                   domain: NULL
                domain_id: NULL
              networktype: Basic
             dns_provider: VirtualRouter
         gateway_provider: NULL
        firewall_provider: NULL
            dhcp_provider: VirtualRouter
              lb_provider: ElasticLoadBalancerVm
             vpn_provider: NULL
        userdata_provider: VirtualRouter
         allocation_state: Disabled
               zone_token: 68de3ddf-3a08-3371-9506-a57a4a0a8af5
is_security_group_enabled: 1
 is_local_storage_enabled: 0
                  removed: NULL
                    owner: NULL
                  created: NULL
              lastUpdated: NULL
             engine_state: Disabled
                 ip6_dns1: NULL
                 ip6_dns2: NULL
1 row in set (0.00 sec)


mysql> select * from networks where id=209\G;
*************************** 1. row ***************************
                   id: 209
                 name: defaultGuestNetwork
                 uuid: eca88272-2ad4-47a8-ab90-442393b6d034
         display_text: defaultGuestNetwork
         traffic_type: Guest
broadcast_domain_type: Native
        broadcast_uri: vlan://untagged
              gateway: NULL
                 cidr: NULL
                 mode: Dhcp
  network_offering_id: 7
  physical_network_id: 201
       data_center_id: 2
            guru_name: DirectPodBasedNetworkGuru
                state: Setup
              related: 209
            domain_id: 1
           account_id: 1
                 dns1: NULL
                 dns2: NULL
            guru_data: NULL
           set_fields: 0
             acl_type: Domain
       network_domain: cs1cloud.internal
       reservation_id: NULL
           guest_type: Shared
     restart_required: 0
              created: 2013-05-29 12:21:04
              removed: NULL
    specify_ip_ranges: 1
               vpc_id: NULL
          ip6_gateway: NULL
             ip6_cidr: NULL
         network_cidr: NULL
      display_network: 1
       network_acl_id: NULL
1 row in set (0.00 sec)


http://10.147.59.83:8080/client/api?command=createZone&networktype=Basic&name=zone1&dns1=10.103.128.16&internaldns1=10.103.128.16&response=json&sessionkey=6%2BUi17Y6gpixRBAR9s4yhQCQkhs%3D&_=1369810303912


{ "createzoneresponse" :  { "zone" : {"id":"c642382d-8587-4cd7-a1e9-5a488bb47da7","name":"zone1","dns1":"10.103.128.16","internaldns1":"10.103.128.16","networktype":"Basic","securitygroupsenabled":true,"allocationstate":"Disabled","zonetoken":"68de3ddf-3a08-3371-9506-a57a4a0a8af5","dhcpprovider":"VirtualRouter","localstorageenabled":false} }  }



http://10.147.59.83:8080/client/api?command=addCluster&zoneId=c642382d-8587-4cd7-a1e9-5a488bb47da7&hypervisor=VMware&clustertype=ExternalManaged&podId=2d5d2425-993c-466c-ba48-12268389b4aa&username=administrator&password=xxxx&publicvswitchtype=vmwaredvs&guestvswitchtype=vmwaredvs&url=http%3A%2F%2F10.147.60.15%2FSadhu%2Fcluster&clustername=10.147.60.15%2FSadhu%2Fcluster&response=json&sessionkey=6%2BUi17Y6gpixRBAR9s4yhQCQkhs%3D&_=1369810340547

{ "addclusterresponse" : {"uuidList":[],"errorcode":431,"cserrorcode":4350,"errortext":"Don't support hypervisor type VMware in advanced security enabled zone"} }





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