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
Harikrishna Patnala
0667f678b8
CLOUDSTACK-6869: SSH Public key content is overridden by template's meta data when you create a instance
...
(cherry picked from commit aa75b43885 )
2014-06-11 16:10:49 +02:00
Min Chen
891ec9bd54
CLOUDSTACK-6890:createVPC invoked by admin does not observe start flag.
...
(cherry picked from commit 09a357fb90 )
2014-06-11 10:08:40 +02:00
Joris van Lieshout
99aa7a096a
xenstore-utils on debian wheezy does not have /usr/sbin/xenstore so these commands file. It does have xenstore-write and xenstore-rm so by adding a - this is fixed easily.
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit 2e83baaca2 )
(cherry picked from commit ed330d4dcd )
2014-06-10 16:29:01 +02:00
Joris van Lieshout
8ff5ca0b2f
If for some reason dnsmasq.log does not exist anymore logrotate will create it with nobody as owner. This will prevent dnsmasq deamon from logging to that file.
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit c54ce3cafb )
(cherry picked from commit 94bb5c29b2 )
2014-06-10 16:28:51 +02:00
Daan Hoogland
4262080ba4
rats
...
(cherry picked from commit b85dd956f8 )
(cherry picked from commit 5eb0265349 )
2014-06-10 16:28:41 +02:00
Joris van Lieshout
3394d3c4f5
blacklist pcspkr as cosmetic improvement. aesni_intel blacklisting was not working because the include only works if the file ends with .conf.
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit 11f532bbec )
(cherry picked from commit f94ff4ad04 )
2014-06-10 16:28:34 +02:00
Joris van Lieshout
1e35431dec
By preloading some modules we fix two things. 1. Some sysctl settings like ip_conntrack_max are not set during boot because the module is not loaded at that time. 2. Passive ftp does not work through iptables without these modules.
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit bfccf439cf )
(cherry picked from commit af4e868547 )
2014-06-10 16:28:22 +02:00
Olivier Lemasle
c934e7b052
CLOUDSTACK-6850: Return cpu cores, cpu speed and memory in listUsageRecords
...
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
(cherry picked from commit a1f278e9d4 )
2014-06-10 13:39:43 +02:00
amoghvk
b490da25ba
CLOUDSTACK-6358: Remove hardcoded VMware mappings, handle snapshots
...
(cherry picked from commit a4b401f29f )
2014-06-10 13:18:56 +02:00
amoghvk
04665ee256
CLOUDSTACK-6710: Add missing OS mappings
...
(cherry picked from commit ac92b36903 )
2014-06-10 13:18:08 +02:00
Rajesh Battala
fc7d0b2a33
CLOUDSTACK-6603 [Upgrade]DB Exception while Autoscale monitoring after upgrading from 4.3 to 4.4
...
(cherry picked from commit c282bb3a12 )
2014-06-09 21:20:03 +02:00
Olivier Lemasle
6721701a54
CLOUDSTACK-6669: Fix support resize in usage server
...
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
(cherry picked from commit f0ea44daf1 )
2014-06-07 11:01:07 +02:00
Min Chen
65bffefd0b
CLOUDSTACK-6859:Management Server PermGen run out of memory after some
...
time due to class leak.
(cherry picked from commit 961cd7657e )
2014-06-07 10:17:15 +02:00
Alena Prokharchyk
3a578fff1f
CLOUDSTACK-6585: added missing db upgrade statements
...
(cherry picked from commit 9e2db2f221 )
2014-06-06 22:09:34 +02:00
Daan Hoogland
beaa65f777
try-with-resource to prevent resource leaks
...
(cherry picked from commit 39f775c381 )
2014-06-06 19:28:21 +02:00
sedukull
6c0b43431f
CLOUDSTACK-6793: Fixed an invalid Domain Id Issue
...
Signed-off-by: sedukull <santhosh.edukulla@gmail.com>
(cherry picked from commit 91d054cb00 )
2014-06-06 15:54:45 +02:00
Alena Prokharchyk
0b08d5319c
Fixed unittest
...
(cherry picked from commit 96bfa8a73f )
2014-06-06 13:43:56 +02:00
Alena Prokharchyk
e6c37ffd41
CLOUDSTACK-6853: Search for non-removed nics only when check if the running vm belongs to a certain network
...
(cherry picked from commit 03623fe57e )
2014-06-06 13:42:12 +02:00
Alena Prokharchyk
11d8c953e3
CLOUDSTACK-6676: cleanup ip address details on ip disassoc
...
(cherry picked from commit 66df43572e )
2014-06-06 13:41:23 +02:00
Koushik Das
5fe7eb3357
CLOUDSTACK-6843: [Automation] List listServiceOfferings api fails with NPE
...
Incorrect parameter name used in query building resulted in a bad sql query.
(cherry picked from commit 025c143ac7 )
2014-06-05 15:51:39 +02:00
Rajesh Battala
073928fef5
CLOUDSTACK-6831 [Hyper-V] Improve the logging for VM snapshot failures as it is not supported. Right now it is throwing NPEs
...
(cherry picked from commit d59cc1ff8f )
2014-06-05 14:36:17 +02:00
Rajesh Battala
1f7d2ee091
CLOUDSTACK-6833 [Hyper-V] Volume snapshot creation returns success even though snapshots are not supported for Hyper-V
...
(cherry picked from commit 945e879bf2 )
2014-06-05 12:21:14 +02:00
Edison Su
91391e6779
CLOUDSTACK-6464: if guest network type is vlan://untagged, and traffic label is used, kvm agent needs to honor traffic label
...
(cherry picked from commit dfb59cd6cc )
2014-06-04 16:49:43 +02:00