Laszlo Hornyak
f629d405eb
Test for DbUtil
...
test cases for
- isPersistable
- getColumnName
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-11-10 23:24:01 +01:00
Likitha Shetty
a35425eec6
CLOUDSTACK-5122. System VMs are getting recreated with old template after upgrading to 4.2.
...
In VMware during VM start the existing disk information is used to configure the VMs. So even if a new disk is created using the new template VM continues to use the old disk.
Once the old root disk is marked for destroy force expunge it and sync the new disk into the VM folder before VM start
2013-11-10 23:31:56 +05:30
Likitha Shetty
d5632189dc
CLOUDSTACK-5096. Corrupt template is left behind after the copy of a template from secondary to primary fails.
...
If HttpNfcLease initialization fails throw appropriate error
Catch throwable in addition to exceptions during file upload task while importing the OVA into vCenter
2013-11-10 13:15:37 +05:30
Dave Brosius
3fd95fe231
set the state field, not unused local
...
Signed-off-by: Dave Brosius <dbrosius@mebigfatguy.com>
2013-11-09 14:00:19 +01:00
Laszlo Hornyak
b33a8371bc
license headers added
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-11-09 09:06:01 +01:00
Laszlo Hornyak
b2f06aae68
fix long cast to double
...
- the result of dividing long with long resulted in loss of precision both for network and IO
- unit tests included
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-11-09 09:04:05 +01:00
SrikanteswaraRao Talluri
ded8d6592b
fixed indentation error in test_network.py
2013-11-09 11:54:50 +05:30
Sheng Yang
fd2e8c9ac4
Redundant Router: Fix priority records in db
2013-11-08 18:27:31 -08:00
Sheng Yang
333be7de4d
Fix redundant router failed to start
...
ResourceUnavailableException won't be catched by VirtualNetworkApplianceManager
after Alex's refactor, because VirtualMachineManager.start() would cover the
exceptions as well. So changed the calling to advanceStart() instead.
2013-11-08 17:41:47 -08:00
Edison Su
4815b024bf
Add quiesce vm for vmware during vm snapshot
2013-11-08 15:47:11 -08:00
Jessica Wang
d9ebbaeb77
CLOUDSTACK-999: hyper-V: UI > Infrastructure > Secondary Storages > add protocol field to listView, detailView.
2013-11-08 14:54:14 -08:00
Jessica Wang
7d2961a0f3
CLOUDSTACK-999: hyper-V: UI > Infrastructure > Secondary Storages > listView, detailView > remove password from URL property.
2013-11-08 14:37:22 -08:00
Jessica Wang
f3d76dfa9e
CLOUDSTACK-999: hyper-V: UI > Infrastructure > Secondary Storages > Add Secondary Storage > When provider is SMB, show SMB username/password/domain fields and send their value to url parameter of addImageStore API.
2013-11-08 13:02:10 -08:00
Laszlo Hornyak
6f3688d13d
Fill the creationMonitors based on priority
...
If not priotity, append to the end of the list.
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-11-08 21:51:04 +01:00
Alena Prokharchyk
8bd1eaa210
ResourceMetaData: added support for userIpAddress (publicIp) metadata
2013-11-08 10:48:43 -08:00
SrikanteswaraRao Talluri
31b439eab6
fixing indentation problem in test_network.py
2013-11-08 23:40:06 +05:30
Wei Zhou
fdb3b49228
CLOUDSTACK-4923: add missing Network limits in Domain details page
...
(cherry picked from commit 20fd5dc84f0c7e0d639991ca1a8baffffd9538a6)
2013-11-08 16:18:19 +01:00
Wei Zhou
09ca263afd
fix apidocs build error
2013-11-08 16:02:59 +01:00
Rajesh Battala
19e9849d86
Enabled the traffic lable support the hyperv hypervisor type. Modified the physical_network_traffic_types table to introduce hyperv_network lable column.
...
Modified associated VO's and impls classes. Modified the List/Update/Add TrafficType command api's and response classes.
Fixed the Unit tests
2013-11-08 20:21:18 +05:30
Wei Zhou
4674ae4dd3
CLOUDSTACK-5076: fix wrong bridge name in vm domain xml desc after upgrade from 4.0 or before to 4.2
...
(cherry picked from commit 86976fb298bb05b7a5380573e292ec9687169228)
2013-11-08 15:40:14 +01:00
Bharat Kumar
97348217c4
BUG-ID: CS-17753 unable to attach more than 5 data volumes to a VM running on ESX due to SCSI ID conflict between new volume and ID reserved for the virtual SCSI adapter
...
Increasing the max data volumes limit in create-schema.sql to 13 for vmware.
2013-11-08 19:54:14 +05:30
SrikanteswaraRao Talluri
1e57f1cee7
Modified remoteSSHClient references to SshClient
2013-11-08 19:50:22 +05:30
Gaurav Aradhye
a2117d46f9
CLOUDSTACK-5107: Decreasing memory in service offering so as
...
not to run out of resources
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-08 18:56:50 +05:30
SrikanteswaraRao Talluri
011b87eadc
fixed indentaion problem in utils.py :359
...
Conflicts:
tools/marvin/marvin/integration/lib/utils.py
2013-11-08 18:05:05 +05:30
Likitha Shetty
d05891afa1
CLOUDSTACK-4994. Cannot attach VMwareInstallerISO to VMs that are of guest operating system CentOS 6.1 CentOS 6.2 CentOS 6.3 CentOS 6.4.
...
Cause - This issue can occur in VMware setups if the guest operating system is not specified when we install the virtual machine. In which case, since we map the OS to 'Other OS', VMwareInstallerISO attachment fails.
Added the necessary guest OS mapping for VMware.
2013-11-08 17:55:36 +05:30
Syed
0076307863
Squashed merge of Ssl Termination feature
...
Bug: https://issues.apache.org/jira/browse/CLOUDSTACK-4821
FS: https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSL+Termination+Support
This patch implements the SSL offload feature for loadbalancers
and includes the implementaion for this to work with Netscaler.
The following are the new API's that this patch adds
uploadSslCert
deleteSslCert
listSslCert
assignCertToLoadBalancer
removeCertFromLoadBalancer
Unit tests are also included in the patch.
2013-11-08 16:49:16 +05:30
Abhinandan Prateek
07b68742c9
CLOUDSTACK-4916: removing spurious comments
2013-11-08 16:44:32 +05:30
Santhosh Edukulla
c7fe212c3b
CLOUDSTACK-5099: Utils.py-has-wrong-reference, cleaned it. As well added Uniform naming convention
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 16:34:46 +05:30
Devdeep Singh
39c201a593
Changes in hyperv agent to handle an add shared (SMB) storage pool
...
command. ModifyStoragePoolCommand was updated to map (net use) the share
and give an answer with the capacity details of the pool.
2013-11-08 16:34:38 +05:30
Damodar Reddy
dcd3c44279
CLOUDSTACK-4916: To Enable Master High Availability using mysql connector params and mysql's 2 way replication
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-11-08 16:18:14 +05:30
Devdeep Singh
d27c6eb9a9
Fixing build break due to console proxy rdp client.
2013-11-08 16:13:24 +05:30
SrikanteswaraRao Talluri
65b12f45b9
Revert "CLOUSTACK-5099: Utils.py-has-wrong-reference, cleaned it. As well added Uniform naming convention"
...
This reverts commit ec00a6fb74042259ceea6add676de3f15e642d4a.
2013-11-08 16:05:30 +05:30
Santhosh Edukulla
ec00a6fb74
CLOUSTACK-5099: Utils.py-has-wrong-reference, cleaned it. As well added Uniform naming convention
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 16:02:10 +05:30
Santhosh Edukulla
3342a82f39
Increasing the timeout values to 600 seconds from 300 seconds
...
Timeout for ssh related test cases is increased based upon
few test run observations where ssh is taking more time during
restart scenarios as an example. We have done few changes to streamline
ssh library. This is in addition to those to keep less ssh script issues
Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 15:26:44 +05:30
Santhosh Edukulla
089f43a1eb
Added fix for bug 5056.
...
The fix contains fixes related to ssh library majorly.
Complete description should be available under bug
description.
Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 15:21:13 +05:30
John Kinsella
ea2eafcd85
Summary: Implement stored-password encryption for Stratosphere plugin
...
BUG-ID: CLOUDSTACK-4929
Bugfix-for:
Reviewed-by:
Reported-by:
Signed-off-by: John Kinsella <jlk@stratosec.co> 1383882870 -0800
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-11-08 15:18:25 +05:30
Sebastien Goasguen
b36ed1289a
CLOUDSTACK-4998 additional bug fixed
2013-11-08 10:39:49 +01:00
Devdeep Singh
810bfa90e2
Integrating the rdp client to get build in the regular build process.
2013-11-08 14:51:04 +05:30
Devdeep Singh
a98c473dca
Remote Desktop Protocol(RDP) client that is suitable for including in the console VM.
...
The client renders RDP to a window created by Java. It is important for Hyper-V support,
because Hyper-V provides access to the consoles of VMs that it is running over RDP.
2013-11-08 13:35:11 +05:30
Wei Zhou
57ba367f3c
CLOUDSTACK-5042: change cloud.keystore to cloudmanagementserver.keystore and install it (cherry picked from commit de448ec4792eda5b47d79b26e9cb8ce96a2b22f4)
2013-11-08 09:00:29 +01:00
Wei Zhou
edf04a33c1
remove network limitation of nics on systemvms (cherry picked from commit 0227e0013ad90bb66a29e0852d9a114951b8f6fc)
2013-11-08 09:00:24 +01:00
Wei Zhou
958312de4c
CLOUDSTACK-5042: fix NPE error as BroadcastUri is NULL in shared network after upgrade from 2.2.14 (Cherry-picked from commit 09e7ab9750df27d96159bbcf3f41bafc33ac6fbe)
2013-11-08 09:00:15 +01:00
Wei Zhou
c2fc6e69b5
check Linux bridge status before remove it (Cherry-picked from commit a33f0e7bdd3bc359e483eca36cf9faf1f2c7c521)
2013-11-08 09:00:12 +01:00
Rajesh Battala
63b23bb341
Fixed VmSync issues in HyperV.
2013-11-08 13:14:52 +05:30
Gaurav Aradhye
3c350ab0b8
CLOUDSTACK-4648: Fixed Snapshots test cases
...
Fixed following test cases:
1) test_01_volume_from_snapshot
2) test_03_snapshot_detachedDisk
3) test_07_template_from_snapshot
All three test cases are running successfully on XenServer but test cases (01 and 07) failing on KVM due to a common issue.
Product defect logged for this: https://issues.apache.org/jira/browse/CLOUDSTACK-5097
test_03 is running ok on KVM too, the problem was - disk was not getting detached because it was not unmounted before detaching. Added code to unmount the disk.
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-08 12:54:20 +05:30
Prachi Damle
cb6d8d0190
CLOUDSTACK-5045 [Automation][BVT] Affinity group type is missing "create affinity group page" and failed to create Affinity group
...
Changes:
- Changes to Unit tests needed after this fix.
2013-11-07 21:40:39 -08:00
Prachi Damle
1047a5398d
CLOUDSTACK-5045 - [Automation][BVT] Affinity group type is missing "create affinity group page" and failed to create Affinity group
...
Changes:
- Refer the injected list of AffinityGroupProcessor
2013-11-07 21:39:17 -08:00
Gaurav Aradhye
5d6d14bc1f
CLOUDSTACK-4934: Rename Limit resources tests so that they have unique names.
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 10:25:39 +05:30
SrikanteswaraRao Talluri
db3252645d
Revert "Renamed modules with same name to avoid confusion"
...
This reverts commit af8eb63dc6a8be8e47ecb86d1e50b6931e9b0231.
2013-11-08 10:22:59 +05:30
Santhosh Edukulla
af8eb63dc6
Renamed modules with same name to avoid confusion
...
There were two module files with same name and
is creating confusion while reporting the test results.
Renamed them prefixing them with mem\cpu
Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 10:02:41 +05:30