19972 Commits

Author SHA1 Message Date
SrikanteswaraRao Talluri
c853426c76 CLOUDSTACK-4098: Fix the test which deploys a VM from password enabled template.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 64591e65beb5734a2c99d4c2c8b9f03ab064a739)
2013-08-06 18:46:44 +05:30
Wei Zhou
5c23adfff2 CLOUDSTACK-4110: update user_ip_address.dnat_vmip field in 410to420 upgrade
(cherry picked from commit fa094a5d2c9e0274c3dd9c10e3c5ed4df81b67bc)
2013-08-06 14:45:14 +02:00
Bharat Kumar
1a89bc06c8 Cloudstack-4015 No error logged when deleteing all the valns when there are allocateed vnets. Alos not updating the vnet range in physicalnetworks table in the above case.
Signed-off-by: Jayapal <jayapal@apache.org>
2013-08-06 17:28:22 +05:30
Harikrishna Patnala
c1e78809b2 CLOUDSTACK-4070: upgrade from 2.2.14 to 4.2 is failing with 4.0 VMware SystemVm template not found. Cannot upgrade system Vms
System template upgrade is not required during 4.0 upgrade since we handle the same during 4.2 upgrade. So removing the system template update during 4.0 upgrade.
2013-08-06 17:17:20 +05:30
Murali Reddy
42b81009b9 CLOUDSTACK-4013: [PortableIP] [MultiplePhysicalNetworks] Associate
portable IP is trying to insert network id as physical network id

ensuring network id, physical network id, source network id are properly
set for portable ip in user_ip_address and vlan tables
2013-08-06 17:16:58 +05:30
Nitin Mehta
26edfa1b23 CLOUDSTACK-4043
Introduced new column format for volumes as per the hypervisor by joining the storage pool and cluster table. Since pre 4.2 storage pool will always have cluster id populated.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-06 17:15:45 +05:30
Kishan Kavala
95e15833b9 Encrypt pre shared key in Site2Site customer gateway DB entries
Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
2013-08-06 17:01:31 +05:30
Prasanna Santhanam
31493d8d83 add cleanup list
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 7f25510a280271a890a4db8d565fdc75316c66ae)
2013-08-06 16:58:18 +05:30
Devdeep Singh
1741fdfb12 CLOUDSTACK-3774: NPE while creating template from snapshot on a upgraded setup.
After upgrade the SSVM was staying in connecting/alert state. This was because
while handling the processConnect command for ssvm the management server was
trying to template sync. For resource limit calculation it was trying to get the
remote size of the template. If the template was no longer available a number
format exception was thrown. The process connect wasn't getting completed and
the ssvm used to stay in connecting/alert state. While creating template from
snapshot cloudstack looks for up and enabled ssvms and because there wasn't
any available (as the ssvm was in coonecting/alert state) it used to pick the
wrong resource (LocalNfs*Resource) instead of the NfsSecondaryStorageResource.

Fixed the issue by making sure number format exceptions are avoided so that
SSVM moves to the right state.
2013-08-06 16:41:37 +05:30
Jayapal
6164077ee8 CLOUDSTACK-4084 Fixed the static nat vm ip address in public ip address table in external network gc
In external network after network GC the network n/w cidr changes.
    In this case the static nat enable vm ip also chagnes. So updated the new
    vm ip address in user_ip_address table.
2013-08-06 16:25:51 +05:30
Wei Zhou
5cb090ed40 CLOUDSTACK-2729: move unlock to finally block to handle failed libvirt operations 2013-08-06 12:40:06 +02:00
Likitha Shetty
eac3631abe CLOUDSTACK-4038. State of the DATA volumes remains in Allocated state if they are deleted before using them.
If a volume is in Allocated state i.e. not present in primary or secondary mark the volume as removed.
2013-08-06 16:02:40 +05:30
Murali Reddy
323f246765 CLOUDSTACK-2955: [PortableIPrange deletePortableIpRange fails because of
UI firing an incorrect API

adding 'portableiprange' tag to the job result of
CreatePortableIpRangeCmd api job response
2013-08-06 16:01:11 +05:30
Prasanna Santhanam
c5054d8957 Fix egress rules offering - rvr not required
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b1e6188308d43183219e9844fa7465a66064c586)
2013-08-06 15:55:46 +05:30
Wei Zhou
5cfc69a7aa CLOUDSTACK-3947: Fix similar issues related to getSyncObjType / getSyncObjId 2013-08-06 10:42:31 +02:00
Thomas O'Dowd
a764cb91b3 CLOUDSTACK-3211: Add help docs to S3 secondary storage configuration.
When adding an S3 secondary storage, the administrator will
now be shown help for each input field making it friendlier
to use.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 74643c9561b1ea564f180c3780ef762e97e7c10b)
2013-08-06 13:22:59 +05:30
Prasanna Santhanam
8d0f08a4b8 Egress Rules: Corrections to few areas
1. correcting the log_test_exceptions decorator so nose testrunner can
detect and document the running test
2. correct the wait for network cleanup -> network.gc
3. Remove commented skips
4. Sanitize host passwords

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 13:22:59 +05:30
ashutoshkelkar
c1f8dc982d Adding Tests for Egress Firewall rules advance zone. Code review changes and added tests for RVR and DB table value checks
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 13:22:59 +05:30
Sateesh Chodapuneedi
80dd653caa CLOUDSTACK-4006 [VMWAREDVS] vmware.use.dvswitch global config is missing after upgrade
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-06 07:29:05 +05:30
Sateesh Chodapuneedi
f17e6fc0a6 CLOUDSTACK-4097 2 optional parameters of addCluster API are not declared correctly
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-06 06:49:09 +05:30
Radhika PC
8339a22feb CLOUDSTACK-3181 and CLOUDSTACK-847 2013-08-06 12:00:17 +05:30
Prasanna Santhanam
0eafc0c0d8 CLOUDSTACK-4064: Missed renaming the config for KVM snapshots
KVM.snapshot.enabled is lowercased by f025db95 to keep the configs
uniformly lower-case. But it missed the upgrade script and the
references in SnapshotManagerImpl. This commit will fix the issue in all
locations

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 0e216fa7e41bdfe0cc744006bb896c8b00138ca2)
2013-08-06 10:39:14 +05:30
Radhika PC
cfac58493f CLOUDSTACK-804 2013-08-06 10:29:43 +05:30
Edison Su
36c7a56d12 CLOUDSTACK-4073: fix s3 on vmware
Conflicts:

	plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareStorageProcessor.java
2013-08-05 20:23:01 -07:00
Murali Reddy
56d7ccef97 CLOUDSTACK-4037: [GSLB] removeFromGSLBRule is not cleaning the
cloudsite1 infro from the second site NetScaler device

ensuring when a site no longer participates in GSLB, complete GSLB
config for that rule is wiped out on the GSLB provider for that site
2013-08-06 05:56:26 +05:30
Jessica Wang
12d6249502 CLOUDSTACK-4051: UI > Infrastructure > zone > UCS > Add UCS Manager dialog > not show password in plain text. 2013-08-05 15:31:59 -07:00
Brian Federle
76fece149b CLOUDSTACK-4077: Fix refresh issue; localization labels
-Localize labels for event/alerts

-Fix UI refresh issue when performing delete/archive actions
2013-08-05 15:26:12 -07:00
Brian Federle
099d351227 CLOUDSTACK-4077: Correct docs for delete/archive alerts 2013-08-05 15:15:02 -07:00
Jessica Wang
0a0aae5f72 This reverts commit c4589e6ec7d2c34096644161824d80aa2d39ff93. Should not unescape queryFilter on server-side. 2013-08-05 15:06:40 -07:00
Alena Prokharchyk
beabf596ba CLOUDSTACK-4080: don't GC the network when it has vms in Starting state even when the nics are not allocated for them yet (can happen when vm is being created) 2013-08-05 14:15:04 -07:00
Brian Federle
4c89be144a CLOUDSTACK-4089: (WIP) Add new fields to zone wizard for configuring traffic type for VMware 2013-08-05 12:08:28 -07:00
Brian Federle
554c8b7ac1 CLOUDSTACK-2340: Display service state for health-checked VMs 2013-08-05 11:42:46 -07:00
Wei Zhou
1e4ff7f453 CLOUDSTACK-2729: use file lock to prevent concurrent refreshPool/deleteVolume on KVM shared storage pool
Signed-off-by: Edison Su <sudison@gmail.com>
2013-08-05 11:24:03 -07:00
Daan Hoogland
d9202100e0 fix warnings in NetworkServiceImpl: removed unused code and add cases to switches 2013-08-05 11:21:39 -07:00
frank
84ed1fee6b CloudStack CLOUDSTACK-3307
UCS:DB: Same UCS manager can be added multiple times
2013-08-05 11:10:54 -07:00
Alena Prokharchyk
a5c2d24ee2 CLOUDSTACK-4087: updateTemplatePermissions - derive domainId from the template owner, not from the operation caller
Conflicts:
	server/src/com/cloud/template/TemplateManagerImpl.java
2013-08-05 10:39:48 -07:00
Prasanna Santhanam
da1a79dab7 remove hardcoded vlan for shared network test
use a vlan outside of the vlans managed by cloudstack.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-05 22:05:21 +05:30
Alena Prokharchyk
19c7cecde4 CLOUDSTACK-4065: db upgrade - when insert placeHolder nic for Shared networks, always mark this nic as non-default explicitly
Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
2013-08-05 09:21:08 -07:00
Wido den Hollander
6906a9016d config: Only user low-case names for variables 2013-08-05 17:37:57 +02:00
Wido den Hollander
52099e42b8 rbd: Move some logic from LibvirtComputingResource into KVMStorageProcessor
All this logic was in LibvirtComputingResource but seems redundant. Move it
into the KVMStorageProcessor
2013-08-05 17:34:13 +02:00
Prasanna Santhanam
f17e046319 Log the API exception for debugging
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-05 20:16:15 +05:30
Prasanna Santhanam
0561daa54d No need to cleanup lightweight entities like offerings
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 1670aeac360b591f513a76a0c77158672f3e387f)
2013-08-05 20:14:07 +05:30
Sanjay Tripathi
8845aae0bc CLOUDSTACK-4075: User unable to archive events 2013-08-05 20:01:40 +05:30
Murali Reddy
ea5be13761 CLOUDSTACK-4048:[GSLB] Failed to assign more than one LB rule to a GSLB rule that is
created with gslbmethod=leastconn

Netscaler nitro api to add gslb virtual servers fails for some reason if
both netmask and round robin methods are specified. So working around
with settign netmask to be null while updating vserver.
2013-08-05 19:36:25 +05:30
Devdeep Singh
7b5f4bd99c CLOUDSTACK-4079: Made a change to make sure we are setting the hypervisor capabilities for storage motion to true.
If an upgrade is taking place from an older setup which supported a hypervisor but not storage motion on that
hypervisor, the upgraded setup will not have the storage motion field enabled. Enabled it explicitly.
2013-08-05 18:57:44 +05:30
Harikrishna Patnala
506f2a4b94 CLOUDSTACK-3228: system vms are not comming up in zone with two cluster xen and kvm CLOUDSTACK-3631: Enhance System vm deployment retry mechanism
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-08-05 18:19:16 +05:30
Nitin Mehta
f28a28dc77 CLOUDSTACK-3913
Private templates would now get copied to only one of image  storage chosen randamly as was the case earlier. Dont throw an exception for uploading volumes when there are multiple image stores, instead choose one of them randomly
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-05 17:43:57 +05:30
Radhika PC
f673167d09 CLOUDSTACK-804 review comemnts 2013-08-05 16:36:23 +05:30
Radhika PC
5d29dc0b33 CLOUDSTACK-817 likitha/community doc comments fixed 2013-08-05 14:48:45 +05:30
Radhika PC
d197687a64 CLOUDSTACK-850 fixed review comments from sheng/community 2013-08-05 14:17:42 +05:30