Commit Graph

26963 Commits

Author SHA1 Message Date
Rohit Yadav df3dea58a2 CLOUDSTACK-6139: Fix regression, allow zone level systemvm localstorage config
From b3f18e7d74, the zone level systemvm local
storage setting never worked as it needed to be moved to config depot.

(cherry picked from commit 279efb0432)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	plugins/network-elements/internal-loadbalancer/src/org/apache/cloudstack/network/lb/InternalLoadBalancerVMManagerImpl.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2015-05-01 15:27:40 +02:00
Rajani Karuturi fdea7eb472 maven plugin cleanup
1. removed redundant maven-site-plugin
2. added maven-resources-plugin version 2.7 which has the fix for
   http://jira.codehaus.org/browse/MRESOURCES-140

This closes #220
2015-05-01 16:20:08 +05:30
Rajani Karuturi bd71fcb650 Fixed two coverity reported issues
Dereference after null check
Dm: Dubious method used

This closes #219
2015-05-01 16:08:26 +05:30
Koushik Das 3100fc1554 CLOUDSTACK-8438: Proper enforcement of hypervisor capability "max. guest limit"
VMs in transition states - Starting, Stopping, Migrating - are also taken into account for enforcing "max. guest limit"
2015-05-01 12:49:56 +05:30
Daan Hoogland 9e3b825f91 findbugs: make default encoding explicit 2015-05-01 08:20:27 +02:00
Laszlo Hornyak 58e5dca8ef CLOUDSTACK-8335: removed ceph repository - artifact resolved from maven central
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
2015-05-01 11:10:06 +05:30
Abhinandan Prateek 00962d4a5f CLOUDSTACK-8429: removing some tests as they timeout on travis 2015-05-01 09:01:04 +05:30
Rohit Yadav a86034e36c debian: force maven to use the default $home/.m2 repo
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-30 19:03:53 +02:00
Rohit Yadav 67a23554cf debian: don't force local repo this breaks jenkins builds wrt noredist
A better solution in future could be to pass the custom maven repo in local dir
from ACS_BUILD_OPTS instead of putting it here

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-30 18:27:01 +02:00
Wido den Hollander ab1a6912a9 CLOUDSTACK-1302: Make sure the disk cache mode is passed to the KVM Agent
The StartCommand did not contain the proper cache mode due to VolumeJoinVO
not containing the cache_mode field.
2015-04-30 17:32:52 +02:00
Abhinandan Prateek 1441ed1ea7 CLOUDSTACK-8429: fix the path so that it picks all the tests suites properly 2015-04-30 18:00:47 +05:30
Daan Hoogland adcd340986 Merge branch 'upload-findbugs' of https://github.com/karuturi/cloudstack
This closes #215
2015-04-30 14:27:35 +02:00
Anshul Gangwar aa265fe88f CLOUDSTACK-8431: [Hyper-V] Fixed VM deployment failing when the stale vhd already exists Now generating guid when the template copy from secondary to primary storage requested instead of using it same as secondary
this closes #214
2015-04-30 16:07:36 +05:30
sanjeev d9064ecfea Skipping change service offering test for LXC since this is not applicable to containers
This closes #213
2015-04-30 14:49:17 +05:30
Anshul Gangwar 866cc41145 CLOUDSTACK-8423: [Xenserver] Improved the performance for processing of ClusterVMMetaDataSync command which can cause slowness in DB if there are huge number of VMs
this closes #204
2015-04-30 14:44:36 +05:30
Anshul Gangwar f46ed59290 CLOUDSTACK-8422: Fixed unable to delete zone from CCP
this closes #202
2015-04-30 14:44:18 +05:30
Anshul Gangwar 48067e5ecd CLOUDSTACK-8420: [Hyper-V] Fixed number format exception when untagged vlan is used for Hyper-V setup Change the vlan data type to string from int and handled the untagged vlan cases
this closes #201
2015-04-30 14:43:22 +05:30
Anshul Gangwar 7949caf156 CLOUDSTACK-8419: [Hyper-V] corrected the wrong error message in stop command answer
this closes #200
2015-04-30 14:42:46 +05:30
Anshul Gangwar f86c0a23c1 CLOUDSTACK-8418: [Hyper-V] use systemvm.iso from secondary storage and stop copying to local disk
this closes #198
2015-04-30 14:42:24 +05:30
Anshul Gangwar c355810034 CLOUDSTACK-8417 : [Hyper-V] Added support for smb share path in Hyper-V settings virtual disk path
this closes #197
2015-04-30 14:41:50 +05:30
Anshul Gangwar aa7ae1b918 CLOUDSTACK-8416: added support for FIPS compliant checksum. It will now support md5, sha1, sha224, sha256, sha384 and sha512 checksums.
In same checksum parameter user can pass any of the above algorithms hash
This closes #196
2015-04-30 14:38:44 +05:30
Anshul Gangwar c275d6fff8 CLOUDSTACK-8414: fixed template_spool_ref is not getting updated with correct template local_path
this closes #195
2015-04-30 14:36:58 +05:30
Anshul Gangwar fda627d672 CLOUDSTACK-8414: Fixed template_spool_ref table is not getting updated with correct template_size Now returning file size instead of null. 2015-04-30 14:36:39 +05:30
Anshul Gangwar 2133c302f4 CLOUDSTACK-8413: Fixed resource tags on disk are lost when migrate to another storage
During cold volume migration we are duplicating volume entry in volumes table.
When migration is complete, we update the uuid of new entry and expunge the older entry.
This results in removal of resource tags on volume as its resource id still pointing to older volume.
As part of fix while updating uuid for volume, we are updating resource_id for tags also.

This closes #194
2015-04-30 14:34:20 +05:30
Rajani Karuturi d39b993512 Fixed a few findbugs issues after the merge 0b83559
HttpUploadServerHandler.java:142, DM_BOXED_PRIMITIVE_FOR_PARSING
NfsSecondaryStorageResource.java:2630, DM_BOXED_PRIMITIVE_FOR_PARSING
NfsSecondaryStorageResource.java:2775, DM_DEFAULT_ENCODING
EncryptionUtil.java:59, DM_DEFAULT_ENCODING
2015-04-30 13:56:44 +05:30
Jayapal 4b2ce34bc9 CLOUDSTACK-8406: Fixed selecting userdata as VR with dhcp service 2015-04-30 12:21:15 +05:30
Abhinandan Prateek 0bd0a5ec5b CLOUDSTACK-8429: removed duplicate test and replaced with some more limit checks 2015-04-30 11:08:56 +05:30
Gaurav Aradhye dc3c43e607 CLOUDSTACK-8394: Skipping snapshots test cases for HyperV and LXC
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #212
2015-04-30 07:49:14 +05:30
Rohit Yadav 1d99a38096 CLOUDSTACK-8424: enable cpu flags only for guest VMs
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-30 04:13:07 +02:00
SrikanteswaraRao Talluri 3147090e23 skipped iso attach test on lxc setup
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-04-30 06:38:27 +05:30
SrikanteswaraRao Talluri 6202142132 Fixed issues in test path files which are causing failures due to incorrect initialization of _cleanup list and returning after the skip variable is added.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-04-30 06:25:12 +05:30
Rohit Yadav 0fa1453809 systemvmtemplate: use archived debian 7.8.0 iso since Debian8 is released now
This fixes the urls and jenkins build

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-29 17:19:15 +02:00
Rohit Yadav 52a0adad04 CLOUDSTACK-8402: EL7 rpms should depend on openjdk7
Depend on java-1.7.0-openjdk for EL7 rpms as agent fails with openjdk8. This
fix needs to be reverted/removed to use openjdk8 once we start supporting it.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-29 16:49:25 +02:00
Daan Hoogland 7b10591758 findbugs: String.split() will not return nulls by contract 2015-04-29 16:07:38 +02:00
Daan Hoogland 97e4fbc294 Merge branch 'investigator_null_state_fix' of https://github.com/remibergsma/cloudstack
This closes #211
2015-04-29 15:00:00 +02:00
Daan Hoogland 1669bb98a4 spaces in log message 2015-04-29 14:54:13 +02:00
Daan Hoogland 22e71be034 space in log message 2015-04-29 14:54:04 +02:00
Remi Bergsma 78e095e64b return a state instead of null
When a full cluster is down or unreachable,
CloudStack currently reports everything the
same as the last known state, which is usually
Up. When it cannot reach a host and cannot
reach another host in the same cluster either,
it returns null and says "I don't know". This
prevents it from reporting the problem. Now,
we return an Alert or Disconnected state so
proper action can be taken.

Also logging was added, so we know what part
of the code put it to Alert or Disconnected.
2015-04-29 08:09:20 -04:00
wilderrodrigues 23663c940c Merge branch 'fix/citrix_create_directories' of https://github.com/schubergphilis/cloudstack
This closes #210
2015-04-29 13:59:28 +02:00
SrikanteswaraRao Talluri 229f23874a Merging all required changes for these test paths to run properly 2015-04-29 17:09:03 +05:30
wilderrodrigues 3b0c031b9f Using the SSHCmdHelper instead of a SSH Session. 2015-04-29 13:05:21 +02:00
Koushik Das 1664c91214 Fixed RAT build issue 2015-04-29 16:24:00 +05:30
ramamurtis 5646a07513 CLOUDSTACK-8427: Some messages are hard-coded in javascript after Volume upload branch merge(0b835592)
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>

This closes #208
2015-04-29 15:00:11 +05:30
Koushik Das 1a719afb51 CLOUDSTACK-8426: Use a separate thread pool for VR reboot in case of out-of-band movement
Using a cached thread pool for VR reboot task
2015-04-29 12:29:21 +05:30
Gaurav Aradhye 69f239afff CLOUDSTACK-8394: Skipping download ISO tests for simulator
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #207
2015-04-29 11:30:17 +05:30
Koushik Das 6dfb8ab03e CLOUDSTACK-8425: Job framework: Same internal job can execute simultaneously
The same internal job was simultaneously getting executed by 2 worked threads.
The fix is to ensure that job gets scheduled for execution from a single place.
2015-04-29 11:15:59 +05:30
Rajani Karuturi 0b8355920e Merge branch 'volume-upload' into master
This closes #206
2015-04-29 11:12:53 +05:30
Satoru Nakaya 07c30895bb fix CLOUDSTACK-8402
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>

This closes #205
2015-04-29 09:15:28 +05:30
Rohit Yadav 29b8800660 kvm: add VMXNET3 nic adapter to nic models
Linux kernel supports vmxnet3, allowing it in KVM plugin would allow us to
run ESX hosts on KVM hosts using CloudStack with vmxnet3 nic which can be
passed as VM's nicAdapter detail

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit e02d787f30)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-28 18:23:55 +02:00
Rohit Yadav 1f87057248 marvin: set ssl cert verification only if ssl module supports it
ssl._create_unverified_context is not available for all Python 2.x environment,
the fix would check if the attribute is available before trying to set it

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-28 14:24:26 +02:00