21446 Commits

Author SHA1 Message Date
Jessica Wang
253da8f6ba 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:01:59 -08:00
Alena Prokharchyk
4a8e9f8b8d Resource Metadata: added implementation for Remote Access VPN 2013-11-13 14:26:16 -08:00
Alena Prokharchyk
96b9ebafc0 listRemoteAccessVpns: implemented search by networkId and id 2013-11-13 14:26:15 -08:00
Jessica Wang
5a12165db7 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:11:06 -08:00
Jessica Wang
a1dd6728f3 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:00:10 -08:00
Anthony Xu
a1d09ae16f XS host free memory might change, if user manually changes dom0 memory,
this patch makes CS update latest XS host free memory on host connect process.
2013-11-13 10:59:36 -08:00
Ashutosh K
401e0ca0ba Including tests for VPC VM Lifecycle on Tagged hosts 2013-11-13 21:56:51 +05:30
Ashutosh K
cb918928e6 Missing tests from QA repo to ASF - 3 tests from test_vmware_drs.py 2013-11-13 21:51:35 +05:30
Gaurav Aradhye
6aff6aa601 CLOUDSTACK-5155: Removing basic and sg tags from test case
which is invalid for basic zone
2013-11-13 21:29:47 +05:30
Gaurav Aradhye
2e373d58e0 CLOUDSTACK-5156: Fixed test script issue related to detach volume 2013-11-13 21:16:13 +05:30
Murali Reddy
0068da7198 CLOUDSTACK-5142: Guest IP address for F5 is not being selected from the
defined IP Range in Shared Network

ensure that for shared network, acuqire guest ip should return IP from
the 'startip'-'endip' range of the network.
2013-11-13 18:21:55 +05:30
Ashutosh K
52b0484812 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:35:28 +05:30
Jayapal
553a9ab853 CLOUDSTACK-4958 Removing installing monit from the postinstall.sh template script
Monit is AGPL package so removing it from the script which installs in template
2013-11-13 15:15:31 +05:30
Kelven Yang
07c4aec64b Newly added VR monitoring service has broken VMware basic network mode. 2013-11-12 23:49:45 -08:00
Girish Shilamkar
c6195c3556 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:28:44 +05:30
Girish Shilamkar
967a5bded4 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:22:02 +05:30
Kelven Yang
fc9adec72e CLOUDSTACK-669: Add host level side-by-side VM state report for graceful sync model migration 2013-11-12 18:32:51 -08:00
Alena Prokharchyk
d905c10214 listFirewallRules - added optional networkId parameter allowing to search for firewall rules by guest network id 2013-11-12 17:17:48 -08:00
Jessica Wang
81949ec644 CLOUDSTACK-3980: UI > Regions > GSLB > detailView > implement Edit action. 2013-11-12 15:34:10 -08:00
Laszlo Hornyak
f091b6ae1d 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-12 22:06:12 +01:00
Jessica Wang
5d41d79802 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:41:50 -08:00
Alena Prokharchyk
9f8f74c4ed Added resource metadata support for PF rules 2013-11-12 10:55:27 -08:00
Hugo Trippaers
c3b60fad9b Just one level higher 2013-11-12 17:35:25 +01:00
Hugo Trippaers
34b6a395ce Fix pom problems causing compilation failures. No master pom was set and this module uses maven standard directory locations 2013-11-12 17:16:57 +01:00
SrikanteswaraRao Talluri
c2078cd60c CLOUDSTACK-5149: fixed cls._cleanup initialization issue 2013-11-12 19:24:12 +05:30
Bharat Kumar
5e14e1692d CLOUDSTACK-5063 Disk offering tied to a compute offering should not shown in disk offering section 2013-11-12 15:15:35 +05:30
Laszlo Hornyak
bd67ccdd6d 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-12 08:13:59 +01:00
Laszlo Hornyak
5420cbe981 added license header
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-11-12 08:09:37 +01:00
Alena Prokharchyk
04884b8f04 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:32:48 -08:00
Alena Prokharchyk
268c27b4f2 ListPortFowardingRules: added networkId to the list of optional parameters to list by 2013-11-11 16:17:43 -08:00
Min Chen
8b7b7a041d Delay in displaying VM migrate dialog due to get vm snapshot size for a
storage pool.
2013-11-11 14:40:16 -08:00
Alena Prokharchyk
4f0dbaa44a Added log directory to .gitignore 2013-11-11 09:15:53 -08:00
Wei Zhou
eb4c52ebca Remove cloudmanagementserver.keystore from installation
(cherry picked from commit 38559223780fa0471f9b497102c3c727ae47382f)
2013-11-11 18:11:06 +01:00
Santhosh Edukulla
aebbb15a64 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:55:09 +05:30
Devdeep Singh
1b2f1d7454 Fix the console proxy rdp client build breaking with java 6 and make it part of regular build. 2013-11-11 16:19:08 +05:30
Daan Hoogland
fb8c58a3cf retrieving network might fail if it exists in a different datacentre 2013-11-11 10:32:06 +01:00
Sateesh Chodapuneedi
a70bbdb139 CLOUDSTACK-4993 [VMware] When issuing detach ISO to Vcenter, MS should prevent Vcenter from posting Virtual Machine question dialog waiting for user response
During ISO detach operation, answer question from vCenter by programmatically answering for VM question in detaching process.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-11-11 09:11:54 +05:30
Prasanna Santhanam
951336c3e4 CLOUDSTACK-5124: Adopt GetDomRVersionAnswer to VR upgradability
While VRs upgrade, cloudstack should still be able to work with older
/newer version of the scripts within VRs. To allow this, the simulator
needs to send the version strings for the domr version response or the
VR start is interrupted.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-11-11 13:49:55 +05:30
David Grizzanti
dfb81ac127 CLOUDSTACK-5080: Hypervisor Capabilities table missing entry for Simulator
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-11-11 12:11:28 +05:30
Harikrishna Patnala
53b0bf6733 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 10:58:43 +05:30
Santhosh Edukulla
4473bb2185 Fixed few indentation errors and removed unwanted imports 2013-11-11 10:32:01 +05:30
Santhosh Edukulla
175ead4ea9 CLOUDSTACK-5121: There was one wrong initialization of cloudstackConnection.
The bug mentioned is causing test cases to fail.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2013-11-11 10:26:32 +05:30
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