Commit Graph

21382 Commits

Author SHA1 Message Date
Jessica Wang df55a85109 CLOUDSTACK-999: hyper-V: UI > Add Primary Storage > when hypervisor type of selected cluster is Hyperv, populate Protocol dropdown with only one option "SMB/cifs". 2013-11-14 11:41:52 -08:00
Wei Zhou 4cd5f7dc48 remove duplicated scheduled tasks from VpcVirtualNetworkApplianceManagerImpl
(cherry picked from commit e444a03819)
2013-11-14 19:00:49 +01:00
Jessica Wang 2b83fa1593 CLOUDSTACK-999: hyper-V: UI > zone wizard > Add Secondary Storage step > add "SMB/cifs" option in Provider dropdown > When Provider is selected as SMB/cifs, show SMB username/password/domain fields and send their values into url parameter of addImageStore API. 2013-11-13 15:02:36 -08:00
Alena Prokharchyk 0837697f9b Resource Metadata: added implementation for Remote Access VPN 2013-11-13 14:27:06 -08:00
Alena Prokharchyk 2b6ca5af0f listRemoteAccessVpns: implemented search by networkId and id 2013-11-13 14:26:58 -08:00
Jessica Wang b12904bcf2 CLOUDSTACK-999: hyper-V: UI > zone wizard > Add Primary Storage step > add option "SMB/cifs" in protocol dropdown > When protocol is selected as SMB/cifs, show SMB username/password/domain fields and send their values into url parameter of createStoragePool API. 2013-11-13 14:12:34 -08:00
Laszlo Hornyak 9f4c46126f Add assumtion on OpenJDK for tests that build on JCE
This patch adds an assumption that OpenJDK is used in some of the tests.
OpenJDK detection utility also added. By specifying -Dcloudstack.jce.enabled=true in the test parameters the OpenJDK detection can be overridden.

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-11-13 22:28:51 +01:00
Laszlo Hornyak 9a3d32d12e few cleanups in CertServiceTest and CertService
Tests:
- all tests are @Test rather than having one test to call them, so they can be run one by one
- tests that expect exception from a method fail if there is none
- no longer extends TestCase so that the original method names could be kept as test

Implementation:
- include root cause in exceptions when possible - helps at troubleshuting
- close readers

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-11-13 22:28:50 +01:00
Mike Tutkowski 742bf3cccc CLOUDSTACK-4810: Enable hypervisor snapshots for CloudStack-managed storage (for XenServer and VMware) 2013-11-13 14:25:31 -07:00
Jessica Wang 27821d55bd CLOUDSTACK-999: hyper-V: UI > Infrastructure > Primary Storages > Add Primary Storage > add option "SMB/cifs" in protocol dropdown > When protocol is selected as SMB/cifs, show SMB username/password/domain fields and send their values into url parameter of createStoragePool API. 2013-11-13 12:01:01 -08:00
Ashutosh K 7bb7c08e10 Including tests for VPC VM Lifecycle on Tagged hosts 2013-11-13 21:56:20 +05:30
Ashutosh K cd1956e400 Missing tests from QA repo to ASF - 3 tests from test_vmware_drs.py 2013-11-13 21:52:25 +05:30
Gaurav Aradhye 5b5e444861 CLOUDSTACK-5155: Removing basic and sg tags from test case
which is invalid for basic zone
2013-11-13 21:31:30 +05:30
Gaurav Aradhye 4d21591bf8 CLOUDSTACK-5156: Fixed test script issue related to detach volume 2013-11-13 21:17:42 +05:30
Ashutosh K 57c7825275 CLOUDSTACK-5154: Fixed test script issue related to failure
in creating snapshot from volume

Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-13 17:34:41 +05:30
Girish Shilamkar c2ea4fc3c7 CLOUDSTACK-5147: Removing basic and sg tag from the test case which should not be run on basic zone setup
component.test_project_limits.TestMaxProjectNetworks.test_maxAccountNetworks tries to create multiple guest networks in an project of account which is not possible in basic zone as there is only one guest network allowed per zone in basic zone setup.
Hence removing the tags basic and sg so that this test case won't be picked up to run on basic zone setup.
2013-11-13 12:30:24 +05:30
Girish Shilamkar b894a3820c CLOUDSTACK-5146: Removing basic and sg tags from the test
case which is invalid for the basic zone

TestRouterRestart.test_01_restart_network_cleanup test scenario is invalid for basic zone. The test case tries to restart the Router assigned to individual account but in basic zone, there is only one router i.e of shared network and there is only one guest(shared) network per zone. Hence the API fails to list the router of the individual account.

More over, we will not try to restart the Router of the shared network because it is used by many accounts and restarting it may affect the execution of other test cases.
2013-11-13 12:21:15 +05:30
Alena Prokharchyk 09cfcd619e listFirewallRules - added optional networkId parameter allowing to search for firewall rules by guest network id 2013-11-12 17:17:21 -08:00
Mike Tutkowski bb8794203e CLOUDSTACK-4810: Enable hypervisor snapshots for CloudStack-managed storage (for XenServer and VMware) 2013-11-12 16:52:12 -07:00
Jessica Wang cd11d3e9df CLOUDSTACK-3980: UI > Regions > GSLB > detailView > implement Edit action. 2013-11-12 15:34:46 -08:00
Jessica Wang 3972e39129 CLOUDSTACK-4428: UI > volume page > when hypervisor is KVM and kvm.snapshot.enabled is false, still show Take Snapshot on a detached volume. 2013-11-12 11:52:46 -08:00
Alena Prokharchyk 8c61117369 Added resource metadata support for PF rules 2013-11-12 11:03:10 -08:00
Alena Prokharchyk 1585b23eb3 Added log directory to .gitignore 2013-11-12 11:02:55 -08:00
SrikanteswaraRao Talluri 71993c10dd CLOUDSTACK-5149: fixed cls._cleanup initialization issue 2013-11-12 19:25:14 +05:30
Bharat Kumar c9108376b1 CLOUDSTACK-5063 Disk offering tied to a compute offering should not shown in disk offering section 2013-11-12 15:25:47 +05:30
Alena Prokharchyk 9e92206e64 CLOUDSTACK-5084: added missing global config vmware.hung.wokervm.timeout to the 4.2-4.2.1 upgrade path
Conflicts:
	setup/db/db/schema-420to421.sql
2013-11-11 16:30:58 -08:00
Min Chen a888a6950a Delay in displaying VM migrate dialog due to get vm snapshot size for a
storage pool.
2013-11-11 14:29:24 -08:00
Wei Zhou b1c02b4755 Remove cloudmanagementserver.keystore from installation
(cherry picked from commit 3855922378)
2013-11-11 18:12:28 +01:00
Santhosh Edukulla aeb5ec07c6 Fixed a connection issue under asyncmgr.
Fixed a connection issue under asyncmgr.
Added __init__.py files to directory to make it
a package.This file was missing under few directories and
so not appearing as packages while refactoring.
Adding one None Check
2013-11-11 16:59:59 +05:30
Devdeep Singh 61386f4068 Fix the console proxy rdp client build breaking with java 6 and make it part of regular build. 2013-11-11 16:16:34 +05:30
Harikrishna Patnala 6a8ec786ad Template/ISO download fails cause the object to disappear from UI in 4.2
Signed-off-by: Koushik Das <koushik@apache.org>
2013-11-11 11:06:57 +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 20fd5dc84f)
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 86976fb298)
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