Commit Graph

23392 Commits

Author SHA1 Message Date
Daan Hoogland 3142bb7f3a edit checkstyle pom on rc creation 2014-06-30 17:53:17 +02:00
Ian Duffy 6aef8bd906 CLOUDSTACK-7005 - Failed to start MS with latest 4.4 RPM builds
(cherry picked from commit f7417d622a)

Conflicts:
	setup/db/db/schema-430to440.sql
2014-06-29 21:48:07 +02:00
Sheng Yang 8db1b21cc8 CLOUDSTACK-3540: Fix edithosts.sh on matching tag
(cherry picked from commit 46f2b61374)
2014-06-29 11:15:04 +02:00
Daan Hoogland 80f2694443 Revert "CLOUDSTACK-6935 refactor StoragePoolAllocator#filter logic"
This reverts commit 99dd86e588.
2014-06-27 17:45:35 +02:00
Sateesh Chodapuneedi a1a23d2f03 CLOUDSTACK-6996 Adding cluster to legacy zone failed
Lookup zone_id field in legacy_zones table to search the table for legacy zone.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>

(cherry picked from commit 75aa243d1e)
2014-06-27 13:04:37 +02:00
Sanjay Tripathi 8f9458e517 CLOUDSTACK-6884: List Capacity API always returns GPU capacity also even if type is different.
(cherry picked from commit 48646ae186)
2014-06-27 09:41:52 +02:00
Sanjay Tripathi e0d7eb8fc0 CLOUDSTACK-6453: [GPU] Windows 2012 Server instance created with vGPU offering is not coming up after installing PV drivers.
(cherry picked from commit dc22566c64)
2014-06-27 09:30:06 +02:00
Mike Tutkowski 1dbcf8f458 Submitted on behalf of Vetri for Review Request 23008
(cherry picked from commit 9c2e6f5ed4)
2014-06-26 19:16:43 +02:00
Ian Duffy 0296c46f09 remove unused import
(cherry picked from commit 2bb12f2a85)
2014-06-25 21:33:08 +02:00
Ian Duffy c70cadff0e Allow for length of password on VMs to be set via global settings
(cherry picked from commit 96412e3e58)

Conflicts:
	setup/db/db/schema-430to440.sql
2014-06-25 21:22:06 +02:00
Daan Hoogland 86aff86b78 CLOUDSTACK-6747: call a more forgiving test on the supplied peer
cidr-list
(cherry picked from commit 17850c7aff)
2014-06-25 17:18:45 +02:00
Daan Hoogland 8cb2a87815 CLOUDSTACK-6747 test for test to allow all cidrs on other end of a vpc
(cherry picked from commit 3268f5bd1f)
2014-06-25 17:18:07 +02:00
Daan Hoogland ce69bd707d CLOUDSTACK-6747 test to allow all cidrs on other end of vpc, public or
private
(cherry picked from commit 018b471ad3)
2014-06-25 17:17:39 +02:00
Damodar Reddy 3cdcf77933 CLOUDSTACK-6444: Fixing the issue with iSCSI path Format /targetIQN/LUN.
Signed-off-by: Koushik Das <koushik@apache.org>
(cherry picked from commit 24401e0b2b)
2014-06-24 10:14:58 +02:00
Jayapal 861eff98d0 CLOUDSTACK-6923: Fixed issue in lbsticlbsticlbrule with lbrule id
(cherry picked from commit a195e50ae7)
2014-06-24 10:13:46 +02:00
Logan B 6b8b7b82f4 Changed logic for copying snapshot from S3 to NFS staging store to prevent needless failure.
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit 736bf540e8)
2014-06-23 20:28:04 +02:00
Sheng Yang f7dd1720cb CLOUDSTACK-6854: Fix inconsistent IPv6 address formats
fc00:0003:1373::0002 should be treated the same as fc00:3:1373::2.
(cherry picked from commit dfe20f34f2)
2014-06-23 20:25:43 +02:00
Min Chen 0d23ad903d CLOUDSTACK-6971: createAutoScaleVmProfile failed with NPE due to lack of bean
injection.

(cherry picked from commit 31e250a9d2)
2014-06-23 20:19:36 +02:00
Anshul Gangwar af37ade9e3 CLOUDSTACK-6830: Fixed [hyper-v] during VM migration, volumes on zone wide primary
store requires storage migration resulting in failure of VM migration. This also
improves the hostsformigration api. Firstly we were trying to list all hosts and
then finding suitable storage pools for all volumes and then we were checking
whether vm migration requires storage migration to that host. Now the process is
updated. We are checking for only those volumes which are not in zone wide primary
store. We are verifying by comparing volumes->poolid->clusterid to host clusterid.
If it uses local or clusterids are different then verifying whether host has
suitable storage pools for the volume of the vm to be migrated too.

(cherry picked from commit 64153a4371)

Conflicts:
	engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
2014-06-23 09:56:17 +02:00
Anshul Gangwar 1b1a417bb4 CLOUDSTACK-6968: Allowing cluster scope volumes to attach to any VM. If migration is
needed then first they will be migrated to appropriate cluster before attaching.

(cherry picked from commit e7ba46b5f7)
2014-06-23 09:50:31 +02:00
Anshul Gangwar 423c23af40 CLOUDSTACK-6965: fixed the NullPointerException introduced by fix for cloudstack
6935 in AbstractStoragePoolAllocator#filter method for Zone Wide storage

(cherry picked from commit ef45f06f88)
2014-06-23 09:50:04 +02:00
Kelven Yang c422933719 CLOUDSTACK-6970: Protect event interpretion from causing NPE exception
(cherry picked from commit 06d8d3a03f)
2014-06-20 22:31:56 +02:00
Murali Reddy 6bd9d1241b CLOUDSTACK-6750: [OVS] With stretched network deploying vm in a ovs
disabled zone does not fail

Fix ensures that connectivity service provider is enabled in the zone on
to which nework is being streched.

(cherry picked from commit d8cbba1bc6)
2014-06-19 15:24:05 +02:00
ynojima 99dd86e588 CLOUDSTACK-6935 refactor StoragePoolAllocator#filter logic
to support IOPS capacity control in a cluster wide storage pool and a
local storage pool
to enable hypervisor type check, storage type check for root volume and
avoid list check

Since original commit(31de58edab) contained
a bug, it was reverted and this commit is a revised one.

(cherry picked from commit 45f0c73676)
2014-06-19 09:41:47 +02:00
Jayapal 335f165b5b CLOUDSTACK-6923: updated listLBStickinessPolicies API to list using stickinesspolicy id
(cherry picked from commit b0d726a872)

Conflicts:
	api/src/com/cloud/network/lb/LoadBalancingRulesService.java
2014-06-18 14:12:46 +02:00
Rajesh Battala 6b9ac8be8b CLOUDSTACK-6920 Support listing of LBHealthcheck policy with LBHealthcheck policy ID
(cherry picked from commit 21e452ff4f)

Conflicts:
	api/src/com/cloud/network/lb/LoadBalancingRulesService.java
2014-06-18 13:21:32 +02:00
Murali Reddy 56c2a094f6 CLOUDSTACK-6925: [OVS] get rid custom logic to create bridges on hosts
in the XenServer pool for GRE tunnel networks

Fix uses XenServer recommended way
Network.other_config:assume_network_is_shared=true
which ensures bridge is created automatically on hosts in the pool for
GRE tunnel networks. Fix also gets rid of  error prone custom logic that ensures
bridge is created by plugging a VIF into the dom0 and connected to
GRE tunnel network.

(cherry picked from commit 8ca8a7217e)
2014-06-17 14:34:35 +02:00
Santhosh Edukulla 61cf175f1c Coverity issues: Fixed conflicts
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-06-17 13:49:55 +02:00
Girish chaudhari 5cc5483a78 CLOUDSTACK-5150 - set the template size from source
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit 883d8f1119)
2014-06-17 13:49:25 +02:00
Jayapal c82b61a92f CLOUDSTACK-6922: Updated events for firewall ingress and egress
(cherry picked from commit 2214bd2502)

Conflicts:
	api/src/com/cloud/event/EventTypes.java
2014-06-17 13:21:50 +02:00
amoghvk f8fe4c8795 CLOUDSTACK-6915: Include searching deleted OS entries
(cherry picked from commit de04881da1)
2014-06-17 08:22:27 +02:00
Santhosh Edukulla ade82be393 Fixed few resource leak issues
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit 3c5f64c97a)
2014-06-16 17:16:28 +02:00
Sheng Yang 1369a0dacb CLOUDSTACK-6908: Enable IPv6 in sysctl when only necessary
This new way would only enable IPv6 when VR is created in IPv6 shared network.
Otherwise IPv6 sysctl options remain disable.

(cherry picked from commit 60e4629323)
2014-06-14 02:31:55 +02:00
Murali Reddy 473c2b4806 CLOUDSTACK-6749: [OVS] xe network-param-get with
param-key=is-ovs-vpc-distributed-vr-network alway returns error

fixing unnecessary errors in the logs

(cherry picked from commit 9dfbdb5ffd)
2014-06-13 13:55:55 +02:00
Murali Reddy a4512c0f0c CLOUDSTACK-6832: [OVS]vnet is not released even the network is deleted
fix ensures allocated VNET is released during network shutdown

(cherry picked from commit be937a0821)
2014-06-13 13:55:16 +02:00
Anshul Gangwar a951b51523 CLOUDSTACK-6865 , CLOUDSTACK-6868: [hyperv] while attaching the volume we were changing the volume's Image format to hypervisor's default Image format, hence it was failing to find the volume with vhdx format. Now changed the behavior to set Image Format for volume only when it is not set
(cherry picked from commit ebff469b46)
2014-06-13 12:41:18 +02:00
Anshul Gangwar 2c5f352e94 CLOUDSTACK-6867: Added option to upload the volume in VHDX format
(cherry picked from commit 2e49ef73bf)
2014-06-13 12:40:29 +02:00
Anshul Gangwar ef0cec9381 CLOUDSTACK-6872: [hyperv] removed the redundant connectToRemote, DisconnectRemote methods which in turn fixes this bug. connectToRemote was used to connect to share, but once the share is domain joined we don't need this method as we already have required permissions
(cherry picked from commit cef29948a7)
2014-06-13 12:39:27 +02:00
Anshul Gangwar 117c8fe5b0 CLOUDSTACK-6897: when we try to attach the uploaded/allocated volume to a VM on zwps, then we were passing the podId of VM instead of storage pool to storage allocator. This resulting in use of Clusterscope storage allocator, allocating a storage pool for VM on zwps beacuse of pod id not null. This was resulting in scope conflict later
(cherry picked from commit 2dc9e2c530)
2014-06-13 12:38:14 +02:00
Joris van Lieshout f26b6d0a78 Cosmetic fixed. three in total. 1. Only run hv_kvp_daemon if it exists. 2. add the -f argument to the rm to make is silent if it doesn't exist. 3. by using log_action_msg instead of log_action_begin_msg the screen output looks way better.
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit 66816827cb)
2014-06-12 14:58:24 +02:00
Santhosh Edukulla 87c3d77518 Fixed coverity issues
(cherry picked from commit 4ba3aae2ea)
2014-06-12 14:44:26 +02:00
Jayapal 80d8cef240 CLOUDSTACK-6899: Added vmId in listnics response
(cherry picked from commit e9f60ee292)
2014-06-12 14:18:42 +02:00
Santhosh Edukulla ce334b4ee5 CLOUDSTACK-6791 Fixed the issue
(cherry picked from commit 62cc238e12)
2014-06-12 13:43:44 +02:00
Murali Reddy 1c17df853f CLOUDSTACK-6755: [OVS] Can't create more than 7 GRE tunnel networks in
xen cluster

XenServer does not create a bridge automatically when VIF from domU is connected
to internal network. So there is logic to force bridge creation by
creating VIF in dom0 connected to GRE tunnel network. But there is no
logic to delete the VIF after bridge gets created. So this fix ensure
VIF is delted when atleast there is one domU VIF connected to the
network.

(cherry picked from commit 9e4e62466a)
2014-06-12 12:38:12 +02:00
Saksham Srivastava 40d3503760 CLOUDSTACK-6812: Do not allow edit of storage.overprovision.factor for non supported types
(cherry picked from commit f14f36170e)
2014-06-12 12:25:55 +02:00
Saksham Srivastava 9771e79b1b CLOUDSTACK-6654: Configkey parameters are not validated
(cherry picked from commit 5bcd017de6)
2014-06-12 12:25:14 +02:00
Saksham Srivastava 23b7993d58 CLOUDSTACK-6864: UploadSSlCert API requires double encoding of URL params
(cherry picked from commit c5ee5ad5c8)
2014-06-12 12:23:52 +02:00
Jessica Wang b24f5355f3 CLOUDSTACK-6602: UI - VPC - createNetworkACL - fix a bug that caused wrong value being passed to action parameter in API call.
(cherry picked from commit 95b7330d56)
2014-06-12 12:21:34 +02:00
Nitin Mehta a1ab3364f4 CLOUDSTACK-6895: 1. Populate firstclass entities as uuids in the context instead of dbids for performance.
2. Add ctxDetails in the ParamGenericValidationWorker to avoid warning for api validation
3. Add some missing events.
4. Correcting mapping for ResourceObjectType.NetworkACL and ResourceObjectType.NetworkACLItem

(cherry picked from commit 8a9092c3cd)

Conflicts:
	api/src/com/cloud/event/EventTypes.java
	api/src/org/apache/cloudstack/api/BaseCmd.java
2014-06-12 12:18:12 +02:00
Milamber d6a92b4c59 Update L10N strings from Transifex to repo (before 4.4 next RC) 2014-06-12 07:55:42 +01:00