Commit Graph

23513 Commits

Author SHA1 Message Date
Anshul Gangwar
ef45f06f88 CLOUDSTACK-6965: fixed the NullPointerException introduced by fix for cloudstack
6935 in AbstractStoragePoolAllocator#filter method for Zone Wide storage
2014-06-23 12:11:32 +05:30
Santhosh Edukulla
c690320f0b Fixed Resource Leaks
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-06-23 08:25:36 +02:00
Min Chen
31e250a9d2 CLOUDSTACK-6971: createAutoScaleVmProfile failed with NPE due to lack of bean
injection.
2014-06-20 14:24:03 -07:00
Kelven Yang
06d8d3a03f CLOUDSTACK-6970: Protect event interpretion from causing NPE exception 2014-06-20 10:39:30 -07:00
Girish Shilamkar
ba270efd4b CLOUDSTACK-6906: Fixing volume resize BVT 2014-06-20 20:45:12 +05:30
Anshul Gangwar
e7ba46b5f7 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.
2014-06-20 17:06:02 +05:30
Anshul Gangwar
64153a4371 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.
2014-06-20 16:00:51 +05:30
Girish Shilamkar
9563db7a6d CLOUDSTACK-6943: Skip VM snapshot tests on KVM 2014-06-20 14:39:52 +05:30
Murali Reddy
d8cbba1bc6 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.
2014-06-19 16:04:57 +05:30
Prachi Damle
13bd8beb91 CLOUDSTACK-6941: Can't choose storage for the volume, when attaching uploaded data volume to VM
Changes:
- Only way to choose a certain storage pool is by using disk_offering_tags
- Added a parameter to take in a disk offering Id.
- Admin will have to create a custom sized disk offering and tag it as necessary for the user
- This custom offering Id should be passed during uploadVolume to associate the volume with this disk offering
2014-06-18 16:10:53 -07:00
Min Chen
008162a757 CLOUDSTACK-6940:Templates cannot be downloaded from URLs without
matching file extensions.
2014-06-18 15:48:30 -07:00
Anthony Xu
2ec7359b4e CLOUDSTACK-6662
CLOUDSTACK-6844

 exit status delivery might get delayed

 Please enter the commit message for your changes. Lines starting
2014-06-18 15:05:24 -07:00
ynojima
45f0c73676 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.
2014-06-18 13:56:25 -06:00
Alena Prokharchyk
92fea032da CLOUDSTACK-6934: don't try to detach volume from host when volume was never allocated to a primary storage 2014-06-18 12:40:02 -07:00
Jessica Wang
b8a2961583 CLOUDSTACK-6936: UI - (1)dialog widget > dropdown field > provide a blank option if there is no data for option(s) in a dropdown field. (2) Add Primary Storage dialog - cluster dropdown field - still calls args.response.success() when there is no data for option(s). 2014-06-18 12:20:43 -07:00
ynojima
a61f77523d Revert "CLOUDSTACK-6935 refactor StoragePoolAllocator#filter logic"
This reverts commit cd414a0f56.
2014-06-18 13:09:17 -06:00
ynojima
cd414a0f56 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
2014-06-18 11:56:21 -06:00
Gaurav Aradhye
7e43038215 CLOUDSTACK-6932: Removing redundant file test_escalations.py 2014-06-18 16:45:49 +05:30
Rajesh Battala
21e452ff4f CLOUDSTACK-6920 Support listing of LBHealthcheck policy with LBHealthcheck policy ID 2014-06-18 15:42:23 +05:30
Gaurav Aradhye
095be48314 Fixing indetation issue 2014-06-18 13:23:22 +05:30
Gaurav Aradhye
588e3e37af CLOUDSTACK-6887: Code enhancement to ensure better cleanup 2014-06-18 13:06:55 +05:30
Gaurav Aradhye
8aea23a4e3 CLOUDSTACK-6906: Fixed volume resize BVT failure 2014-06-18 13:04:35 +05:30
Gaurav Aradhye
a0f19d4bd5 CLOUDSTACK-1466: Automation - Priamary Storage Limits 2014-06-18 12:04:39 +05:30
Nitin Mehta
6fca4eb0f1 CLOUDSTACK-6929: HAPlanner (SkipHeuresticsPlanner) gets added into the list of regular planners currently, add it in the exclude list. Also create allocator order list 2014-06-17 16:59:30 -07:00
Murali Reddy
8ca8a7217e 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.
2014-06-17 17:36:15 +05:30
Girish chaudhari
883d8f1119 CLOUDSTACK-5150 - set the template size from source
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-06-17 13:41:23 +02:00
Jayapal
b0d726a872 CLOUDSTACK-6923: updated listLBStickinessPolicies API to list using stickinesspolicy id 2014-06-17 16:14:54 +05:30
Girish Shilamkar
a5415d93eb CLOUDSTACK-6861: Fixing nfs mount path 2014-06-17 15:37:25 +05:30
Jayapal
2214bd2502 CLOUDSTACK-6922: Updated events for firewall ingress and egress 2014-06-17 12:08:18 +05:30
Alena Prokharchyk
146867eb07 CLOUDSTACK-6919: don't attempt to restart user vms having no Root volume attached 2014-06-16 14:59:12 -07:00
amoghvk
de04881da1 CLOUDSTACK-6915: Include searching deleted OS entries 2014-06-16 14:29:14 -07:00
Santhosh Edukulla
dbfce8b11e June14: Fixed few coverity issues reported
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-06-16 15:16:00 +02:00
Santhosh Edukulla
3c5f64c97a Fixed few resource leak issues
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-06-16 14:14:33 +02:00
Santhosh Edukulla
54e4c07528 CLOUDSTACK-6914: Fixed the Issue
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-06-16 17:04:41 +05:30
VinayV
89c35abb4d CLOUDSTACK-6282: Modified IPAddress tests to fix the failures. Modified Instances, snapshots, templates tests to handle KVM Hypervisor 2014-06-16 16:54:03 +05:30
Jessica Wang
497042508a UI - modules - replace addExtraPropertiesIfDrModuleIncluded() with cloudStack.dr.sharedFunctions.addExtraProperties(). 2014-06-13 16:43:13 -07:00
Jessica Wang
508a966aa1 CLOUDSTACK-6852: UI - modules - remove variable drModuleIncluded. 2014-06-13 15:20:13 -07:00
Sheng Yang
60e4629323 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.
2014-06-13 11:05:35 -07:00
Gaurav Aradhye
b849b7ee3d CLOUDSTACK-6887: Fixing account cleanup issue across multiple test cases 2014-06-13 19:06:47 +05:30
Murali Reddy
be937a0821 CLOUDSTACK-6832: [OVS]vnet is not released even the network is deleted
fix ensures allocated VNET is released during network shutdown
2014-06-13 17:03:28 +05:30
Murali Reddy
9dfbdb5ffd 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
2014-06-13 15:56:26 +05:30
Anshul Gangwar
2dc9e2c530 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 2014-06-13 12:16:03 +05:30
Anshul Gangwar
cef29948a7 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 2014-06-13 12:15:28 +05:30
Anshul Gangwar
2e49ef73bf CLOUDSTACK-6867: Added option to upload the volume in VHDX format 2014-06-13 12:15:02 +05:30
Anshul Gangwar
ebff469b46 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 2014-06-13 12:14:23 +05:30
Girish Shilamkar
49467f2954 CLOUDSTACK-6888: Read postable IP configuration from config 2014-06-13 09:38:16 +05:30
Alena Prokharchyk
43e479d238 CLOUDSTACK-6907: lisVolumes - make a decision whether to set service or disk offering in the response, based on the DiskOfferingVO type entry, not the volume Type 2014-06-12 16:16:04 -07:00
Joris van Lieshout
2d96ad987e 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:57:31 +02:00
Santhosh Edukulla
4ba3aae2ea Fixed coverity issues 2014-06-12 14:25:19 +02:00
Jayapal
e9f60ee292 CLOUDSTACK-6899: Added vmId in listnics response 2014-06-12 17:16:02 +05:30