18076 Commits

Author SHA1 Message Date
Prasanna Santhanam
718bc97a7e CLOUDSTACK-1824: Stop service displayed as cloud-management
service cloudstack-management is being displayed as cloud-management

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-30 11:12:20 +05:30
Ashutosh
85062a75ae Test cases for assignVirtualMachne feature.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-30 11:03:25 +05:30
Prachi Damle
34943adfc6 CLOUDSTACK-2366: Anti-Affinity - DeleteAffinityGroup API should allow for deletion of Afffinity group even when VMs are associated with it.
Changes:
- Allowing group to be deleted even when VMs are associated to it.
2013-05-29 17:59:32 -07:00
Anthony Xu
68275fbd6b only basic zone is pod based network 2013-05-29 17:47:51 -07:00
Anthony Xu
7b8ae4d511 virt-what does't report correct hypervisor on some new platform, use /proc/xen for XS 2013-05-29 17:05:03 -07:00
Anthony Xu
51930405d9 Don't need to handle dhcp entry differently for different guest OS 2013-05-29 16:51:42 -07:00
Anthony Xu
271cf92ab7 allow subdomain access parent domain's network 2013-05-29 16:27:08 -07:00
Anthony Xu
fdc9f10cc1 fix , Windows 2008 32bit instance can't get IP address,
normally, in dhcp reply, the target ip is allocated ip for VM.
but windows 2008 32bit has special field in dhcp reply, which makes dhcp reply use 255.255.255.255 as target ip, which is blocked by SG rule,
2013-05-29 16:01:22 -07:00
Anthony Xu
ddba994a97 unitNumber is per adapter/controller not per VM in wmware, after this patch, you can plug in up to 10 NICs to vmware VM 2013-05-29 15:57:25 -07:00
Anthony Xu
a8bb62c35c lockRow doesn't work without transaction, start transaction before lockRow 2013-05-29 15:48:23 -07:00
Anthony Xu
354d259d55 volume size is virtual disk size not physical size, so uploaded volume should use virtual size 2013-05-29 15:37:13 -07:00
Anthony Xu
56535a7a83 zero size of template/volume being registered causes infinite loop on SSVM,
the fix is if the size is 0, return success without download
2013-05-29 15:18:20 -07:00
Anthony Xu
a4d428434d Don't use volume name as snapshot name because volume name may incude space, \ and other special character, which cannot be part of path name in vmware
after this commit, snapshot name is volumeUuid_timestring.
2013-05-29 15:10:49 -07:00
Anthony Xu
3ae00f4b2f update volume API needs to respect the account and domain 2013-05-29 14:45:15 -07:00
Sheng Yang
83c13fcf27 CLOUDSTACK-2614: Fix the permission of patchviasocket.pl
It's non-executable now, which cause trouble on deb package.
2013-05-29 14:24:49 -07:00
Anthony Xu
a91f04e759 migrate volume in Vmware leaves a copy of this volume untracked in secondary storage,
this patch removes the volume in secondary storag after volume migration
2013-05-29 14:11:57 -07:00
Anthony Xu
0b728f2e77 remove unused file 2013-05-29 13:51:22 -07:00
Anthony Xu
6a7cc2021e when VR is rebooted, CloudStack will reapply all ips/rules to VR,
this patch will reduce time the VR reboot takes
 - remove 1 s sleep in vmware
 - reduce the time arping takes
2013-05-29 13:45:07 -07:00
Anthony Xu
9905f656a5 only check hypervisor type for security enabled advanced zone 2013-05-29 11:32:15 -07:00
Nitin Mehta
8d1189c2ae CLOUDSTACK-2060
Global config to turn off dynamically scale vm functionality
2013-05-29 19:02:06 +05:30
Murali Reddy
cea9e3919a fixing unit tests to comply with bug "CLOUDSTACK-2477: [GSLB]
CloudStack currently allows admin to map LB rule of one account to GSLB
rule of a different account"
2013-05-29 18:54:36 +05:30
Murali Reddy
ee317287b3 CLOUDSTACK-2285: [GSLB] addNetscalerLoadBalancer with GSLB functionality shouldn't be
exposed in basic zone

imposing restriction that NetScaler can only be added when EIP/ELB
service are available in basic zone.
2013-05-29 18:54:36 +05:30
Murali Reddy
c8a0c40a2f CLOUDSTACK-2477: [GSLB] CloudStack currently allows admin to map LB rule
of one account to GSLB rule of a different account

ensuring account id of GSLB rule and LB rule are same
2013-05-29 18:54:35 +05:30
Murali Reddy
2b93969823 add upgrade path to "cloud.dns.name" global config value.
fail creating GSLB rule if DNS name is not confiugred
2013-05-29 18:54:35 +05:30
Kishan Kavala
e3a104aa58 fix networkAclServiceTest failure 2013-05-29 17:14:36 +05:30
Koushik Das
84d904abf2 CLOUDSTACK-2719: Additional public IP is getting acquired during Cisco VNMc provider Guest Network restart (cleanup=true)
An extra public ip is acquired while implementing the vnmc element as there is a limitation where in the source nat cannot be used as asa outside ip.
As a result of this when the network gets re-implemented an additional ip is acquired every time. The fix involves checking for existing public ips
in the network and reuse it in case it is not a source nat ip for assigning to asa outside interface.
2013-05-29 14:20:21 +05:30
Prasanna Santhanam
7fb6eaa0ca Attributes for tests
Removing simulator attribute as the NetworkACL related support is to be
extended on the simulator.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-29 10:01:20 +05:30
Prasanna Santhanam
be5639f7e2 Adding environment attributes to tests
- test_internal_lb
_ test_privategw_acl

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-29 09:48:25 +05:30
Chiradeep Vittal
ccac84c469 Workaround for broken bvt/ simulator tests
Actually this check makes no sense since it breaks basic zone for all hypervisors except KVM, XS
Will revisit later
2013-05-28 17:05:51 -07:00
Jessica Wang
ab2e3b9e07 CLOUDSTACK-2678: portable IP ranges - regions menu - region detailView - show "View Portable IP Ranges" for root-admin, hide it for regular-user/domain-admin. 2013-05-28 16:16:34 -07:00
Min Chen
6e55776795 CLOUDSTACK-2331: Failed to display exception object information in case of CloudRuntimeException. 2013-05-28 16:01:33 -07:00
Jessica Wang
560fa52fdc CLOUDSTACK-2678: portable IP ranges - Associate IP Address - pop up a dialog that have cross zone dropdown (yes/no) and send selected option to API call. 2013-05-28 15:59:37 -07:00
Alena Prokharchyk
f2c468d00c Removed unused imports and obsolete methods from ConfigurationManager/ConfigurationServer, NetworkManager/NetworkService 2013-05-28 15:40:44 -07:00
Jessica Wang
ecc30ddc0d CLOUDSTACK-2678: portable IP ranges - regions menu - Portable IP Ranges - implement Delete Portable IP Range action. 2013-05-28 15:18:36 -07:00
Jessica Wang
78e50c3bc8 CLOUDSTACK-2678: portable IP ranges - regions detailView - Portable IP Ranges - implement Add Portable IP Range action. 2013-05-28 14:17:47 -07:00
Jessica Wang
7ee71dfd87 CLOUDSTACK-1974: Dedicate Guest VLAN Range - UI - Infrastructure menu - physical network - Guest - Dedicated Guest VLAN Range tab - Dedicate VLAN Range dialog - change VLAN Range field from textbox to dropdown that lists all existing Guest VLAN Ranges under the physical network. 2013-05-28 11:51:46 -07:00
Anthony Xu
19a1116df2 Merge branch '4-2-advanced-zone-security-group' 2013-05-28 11:03:56 -07:00
Alena Prokharchyk
b0a9adeffe Advance SG enabled zone. Moved following db upgrade change from 40-41 to 41-42 db upgrade path:
Adnvace Zone with SG enabled: DB upgrade for Advance SG enabled zone - setup name/displayText for Guest Shared SG enabled network (it used to be system network, and name was never set for it in 2.2.x)
2013-05-28 10:51:12 -07:00
Hiroaki KAWAI
cfd8056c14 remove a call path that cause NullPointerException
QemuImg.convert expects the arguments not null.
2013-05-28 20:54:01 +09:00
Prasanna Santhanam
4a563b64ee CLOUDSTACK-2713: StoragePoolResponse for a createTemplate
createTemplate returns a templateresponse and not a storagepool
response. Correcting the mapping to fix API docs.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-28 16:37:23 +05:30
Prasanna Santhanam
75a8c1ca88 CLOUDSTACK-2712: updateHvCapability mapped to serviceOfferingResponse
response object of updateHypervisorCapabilities is set to
ServiceOfferingResponse

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-28 16:22:06 +05:30
radhikap
565d740e5d fixing build error 2013-05-28 15:00:07 +05:30
radhikap
8ebf2ca3d7 CLOUDSTACK-2709 2013-05-28 14:40:47 +05:30
Prasanna Santhanam
a0d5b78e84 CLOUDSTACK-2708: AutoScale listConditions response wrongly mapped
AutoScale - listConditions was mapped to CounterResponse instead of
ConditionResponse

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-28 14:14:19 +05:30
Pranav Saxena
b03e419bf9 Merge branch 'ui-vpc-redesign' 2013-05-28 13:21:22 +05:30
Wei Zhou
2e8d1264a2 CLOUDSTACK-2707: use executeBatch instead of persist when Usage Server createNetworkHelperEntry 2013-05-28 09:43:23 +02:00
SrikanteswaraRao Talluri
8fd476e2fd CLOUDSTACK-2557: Fix add primary storage tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-28 11:17:42 +05:30
ashutoshkelkar
204bdac77f Fix for repeated log lines in test case logs.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-28 11:15:57 +05:30
Hiroaki KAWAI
e9a6d47316 agent: fix network.bridge.type to be optional
New network.bridge.type was introduced, but for
buckward compatibility, the key should be optional.

Signed-off-by: Hiroaki KAWAI <kawai@stratosphere.co.jp>
2013-05-28 11:56:42 +09:00
Murali Reddy
883333c214 CLOUDSTACK-2700:on network/vpc delete, portable IP should be still
associated with account

Unlike public ip which gets dis-associated (released) with the account
on network/VPC delete, portable IP should continue to be associated with
the account even when the network/VPC with which it is currently
associated in deleted. This fix ensures portable IP are associated to
account even after network/vpc is deleted.
2013-05-27 18:44:41 +05:30