cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jessica Wang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-2730) vmware:addcluster failed in basiczone
Date Fri, 14 Jun 2013 22:48:20 GMT

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

Jessica Wang resolved CLOUDSTACK-2730.
--------------------------------------

    Resolution: Fixed

Venkata,

> So looks like the GUI is sending the securitygroupsenabled flag as true 

If you look at your API call again, you'll find that GUI does NOT send securitygroupsenabled
to the API call.

Here is your API call: 

GET command=createZone&networktype=Basic&name=bzone1&dns1=8.8.8.8&internaldns1=10.223.110.254&domainid=c24461de-c929-11e2-bd29-000c29db3315&response=json&sessionkey=ig%2BOPPVzg%2Fq5kmvsnRyvASKKhsE%3D&_=1369943269624
200  

There is NO securitygroupsenabled parameter in this API call at all.

The basic zone you created is security-group-enabled because the network offering you selected.

You selected "DefaultSharedNetworkOfferingWithSGService", so the zone's securitygroupsenabled
property is true.

If you select "DefaultSharedNetworkOffering", the zone's securitygroupsenabled property will
be false.

Jessica
                
> 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: Critical
>         Attachments: management-server.log
>
>
> 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

Mime
View raw message