wilderrodrigues
c3b4c7a9cf
Coverity issue 1116509 - Assigning the the new returned ResultSet to the rs variable in order to get it closed in the finally block
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-06-04 12:34:04 +02:00
wilderrodrigues
abe0990259
Formatting the code - Adding final modifier and indenting the code
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-06-04 12:34:04 +02:00
wilderrodrigues
fe78c76691
Coverity issue: 1012179 - Commenting out unused variable.
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-06-04 12:34:03 +02:00
wilderrodrigues
159d8c2c97
Formatting the code - Adding final modifier to attributes and indenting the code.
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-06-04 12:34:03 +02:00
Gaurav Aradhye
f92a50363c
CLOUDSTACK-8515: Skipping snapshots tests on HyperV and LXC hypervisors
...
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #350
2015-06-04 10:56:28 +05:30
Rafael da Fonseca
00884b3b0b
Fixes LB certificate tests failure when the full path has a special character like whitespace or many others.
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #336
2015-06-04 00:11:09 +02:00
Daan Hoogland
3d4d152753
CID 1302976 Scanner in try-with-resource
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #352
2015-06-04 00:09:40 +02:00
Daan Hoogland
109b6e94d3
CID 1302974: Scanner in try-with-resource
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #353
2015-06-04 00:09:16 +02:00
pritisarap12
9c2a1ea81e
CLOUDSTACK-8532: Modification in setupClass to skip testcases rather than throwing an exception on "Exceeding connection limit to Netscaler device"
...
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #343
2015-06-03 15:19:04 +05:30
Rajani Karuturi
b31b8425df
CLOUDSTACK-8525: NPE while updating the state of the volume after deletion
...
The volume is already deleted (may be by the cleanup thread) and hence
the NPE. Added a not null check for the volumevo and returning false
from the state transition
This closes #321
2015-06-03 11:45:02 +05:30
Rafael da Fonseca
bec44bffb3
Upgrade Reflections to 0.9.9
...
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
This closes #333
2015-06-03 11:01:32 +05:30
Rajani Karuturi
c2f2f77ab1
Merge branch 'fast_tests' of https://github.com/rsafonseca/cloudstack
...
This closes #330
2015-06-03 10:08:11 +05:30
miguelaferreira
e983246cd4
Set the url accordingly when installing a system vm template
...
The script that installs the system vm templates sets the uuid column
for the template being installed, however it does not set the respective
url column. This commit changes that.
Signed-off-by: Remi Bergsma <apache@remi.nl>
This closes #348
2015-06-02 16:00:15 +02:00
Rohit Yadav
f341246888
CLOUDSTACK-8530: KVM hosts without active agents should be in Disconnected state
...
KVM hosts which are actuall up, but if their agents are shutdown should be put
in disconnected state. This would avoid getting the VMs HA'd and other commands
such as deploying a VM will exclude that host and save us from errors.
The improvement is that, we first try to contact the KVM host itself. If it fails
we assume that it's disconnected, and then ask its KVM neighbours if they can
check its status. If all of the KVM neighbours tell us that it's Down and we're
unable to reach the KVM host, then the host is possibly down. In case any of the
KVM neighbours tell us that it's Up but we're unable to reach the KVM host then
we can be sure that the agent is offline but the host is running.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>
This closes #340
2015-06-02 13:27:16 +02:00
Gaurav Aradhye
f2b1ec2c7d
CLOUDSTACK:8515: Skipping snapshot test case for HyperV and LXC
...
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #347
2015-06-02 16:18:51 +05:30
pritisarap12
d6052a31a3
Modified test_lb_secondary_ip.py file: Local variable accessed as class variable
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
This closes #344
2015-06-02 12:33:06 +02:00
Gaurav Aradhye
06f9ee63bb
CLOUDSTACK-8534: Fixed import and pep8 issues in test_redundant_router_upgrades.py
...
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #346
2015-06-02 15:52:11 +05:30
Gaurav Aradhye
8bf59b5393
CLOUDSTACK-8521: Improving logging in test case - test_egress_fw_rules.py
...
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #345
2015-06-02 13:31:29 +05:30
Abhinav Roy
108a74a6b8
CLOUDSTACK-8487 : Add vMotion related tests
...
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #268
2015-06-02 12:01:12 +05:30
wilderrodrigues
607a63b12d
Mocking the Connect object used in the LibvirtMigrateCommandWrapper
...
When executing the tests in an environment where Libvirt is also installed, it
caused errors.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #342
2015-06-01 21:11:25 +02:00
Rohit Yadav
6c1dde8f86
schema: Encode URL safe random vnc password string
...
/+= may break on some environments, url safe encoded passwords will have -_,
characters which are more acceptable
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 19cc5eb9e6f1b5127bf01e4c1ae061875e61cb4c)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-06-01 14:23:42 +02:00
pdion891
23c990f7c9
fix centos63 build in master. not working since removal of awsapi
...
Signed-off-by: pdion891 <pdion891@apache.org>
2015-05-31 21:50:32 -04:00
Vadim Kimlaychuk
94f1ebb60a
CLOUDSTACK-8231: Fixed UI empty drop-down list for LB rules
...
This closes #302
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-29 21:18:49 +02:00
René Moser
666263e84d
template, api: fix format desc, add OVA format
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #331
2015-05-29 21:02:03 +02:00
Rafael da Fonseca
9030036bb1
And now with the argLine in the right plugin :)
2015-05-29 20:43:33 +02:00
Rafael da Fonseca
82847d4405
Change tests random number generator to /dev/urandom
...
This fixes a big performance issue with random number generation with more recent kernels and java versions in linux
2015-05-29 20:24:41 +02:00
Rafael da Fonseca
1958a8e9c1
Cleanup awsapi leftovers
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #328
2015-05-29 19:15:51 +02:00
Rohit Yadav
ab3b3c7fa1
framework: don't use raw SQL statements to save certificate in KeystoreDaoImpl
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit fb88a11f8228a3ff4798333a46c5c72b6b5ad88c)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-29 18:33:30 +02:00
Rohit Yadav
ca3ac68517
utils: add findCookie value by key helping method in HttpUtils
...
finds cookie value from an array of cookie by key name
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 78ea36d099371b9a59cbf1e3efd48b853ecc37ca)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-29 15:42:21 +02:00
Gaurav Aradhye
3e21c9bf2b
CLOUDSTACK-8526: Use more memory for VM deployment on HyperV when SSH is tried to VM
...
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
Reviewed-by: Gaurav
2015-05-29 16:40:33 +05:30
Gaurav Aradhye
900b656d12
CLOUDSTACK-8527: Skipping VPC tests on HyperV
...
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #326
2015-05-29 15:15:52 +05:30
wilderrodrigues
b267c5fc5a
Replacing real IPs by 127.0.0.1. - It was causing problems in some environments - The Ips should have been removed in a previous commit, but some of them were missed
...
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>
This closes #325
2015-05-29 11:25:40 +02:00
Gaurav Aradhye
8315be61ad
CLOUDSTACK-8515: Skipping snapshot test cases for HyperV and LXC
...
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #324
2015-05-29 12:38:53 +05:30
Stefan Magnus Landrø
161cc194d5
Fixed yum and apt repo locations used by chef in devcloud4
...
The testing repos seem to be gone, change to upstream
This closes #323
Signed-off-by: Erik Weber <erik@huug.no>
2015-05-28 22:50:02 +02:00
Gaurav Aradhye
f2d056ee1e
CLOUDSTACK-8526: Use more memory for HyperV VMs in case SSH is tried to VM
...
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #322
2015-05-28 21:18:05 +05:30
Jayapal
b616522088
CLOUDSTACK-8324: Corrected the file paths for xenserver command files
...
This closes #315
2015-05-28 17:02:09 +05:30
Jayapal
6e96fc6f38
CLOUDSTACK-8324: Updated import and added ResourceWrapper annotation
2015-05-28 15:56:37 +05:30
Jayapal
3a8d1f7c55
CLOUDSTACK-8324: Added unit test cases for GetVmIpAddressCommand
2015-05-28 15:56:37 +05:30
Jayapal
69ea932897
CLOUDSTACK-8324: Config drive changes for xenserver
2015-05-28 15:51:50 +05:30
Jayapal
e407986183
CLOUDSTACK-8324: Added config drive support for xenserver
2015-05-28 15:51:50 +05:30
Jayapal
7984ae5283
CLOUDSTACK-8324: Resource base changes for vm ip fetch
2015-05-28 15:42:08 +05:30
Jayapal
733ac2b728
CLOUDSTACK-8324: Added vm ip fetch logic
2015-05-28 15:42:08 +05:30
Jayapal
70934e8c1a
CLOUDSTACK-8324: Skip ip allocation for external dhcp
2015-05-28 15:42:07 +05:30
Jayapal
599125499b
CLOUDSTACK-8324: shared network without any service
2015-05-28 15:42:07 +05:30
wilderrodrigues
b155129ae8
Fixing the packaging of the Xen resource tests - The package declaration of all Test classes was point to a package that was not represented as a directory - For example: Class A had "package b.c.d;" as declaration, but the class A was under directory "c"
...
Maven was bulding the project and executing the tests just fine because it uses "-sourcepath". However,
with IDEs and javac it would fail.
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>
This closes #317
2015-05-27 16:06:33 +02:00
sanjeev
fabbfe5f9a
If storage pool of type RBD is not found then skip the tests for LXC
...
This closes #320
2015-05-27 18:48:29 +05:30
wilderrodrigues
7563ed46fe
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cloudstack
2015-05-27 14:59:27 +02:00
Gaurav Aradhye
d406e5b83e
CLOUDSTACK-8518: Fix issues in testpath_disable_enable_zone.py
...
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #319
2015-05-27 18:27:21 +05:30
Daan Hoogland
bbebd2d314
CLOUDSTACK-8506 extra check on unknown vlan
...
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>
This closes #306
2015-05-27 14:39:16 +02:00
David Bierce
646e0d99dd
Always enter chap-secrets as a quoted field. In the event of special characters it creates and deletes the entry properly, in the event there are not special characters there is no change behavior.
...
Signed-off-by: Remi Bergsma <apache@remi.nl>
This closes #307
2015-05-27 13:42:48 +02:00