Commit Graph

23410 Commits

Author SHA1 Message Date
Edison Su dfb59cd6cc CLOUDSTACK-6464: if guest network type is vlan://untagged, and traffic label is used, kvm agent needs to honor traffic label 2014-06-03 13:35:10 -07:00
Edison Su 5e80e5d33d CLOUDSTACK-5505: if vpc public network with snat enabled, then will triger this issue 2014-06-03 11:11:10 -07:00
Daan Hoogland 0329bebac5 update vlan uris
Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade430to440.java

(cherry picked from commit 44012ddadf)
2014-06-03 15:41:47 +02:00
Rajani Karuturi bd5cd69517 Fixed ResouceLeak on pstmtCidr in the function Upgrade430to440.moveCidrsToTheirOwnTable as reported by coverity
Fixed another leak which might occur due to outer while loop.

Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit 004e0cbf61)
(cherry picked from commit fa3bbe9a19)
2014-06-03 15:41:24 +02:00
Rajani Karuturi d511847cfe Fixed Resource leak (RESOURCE_LEAK) 11. overwrite_var: Overwriting "pstmt" in "pstmt = conn.prepareStatement("INSERT INTO `cloud`.`ldap_configuration`(hostname, port) VALUES(?,?)")" leaks the resource that "pstmt" refers to.
Signed-off-by: Koushik Das <koushik@apache.org>
2014-06-03 17:32:43 +05:30
Rajani Karuturi 67d92726cb Fixed ResouceLeak on pstmtCidr in the function Upgrade430to440.moveCidrsToTheirOwnTable as reported by coverity
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-06-03 09:19:29 +02:00
Nitin Mehta 7333016722 CLOUDSTACK-6824: In case there is a failure to delete the soft link of a download url, dont bail out since there can be cases such as destroy ssvm where the soft links do not exist any more. 2014-06-02 17:52:37 -07:00
ynojima 1f7167555d CLOUDSTACK-6816 bugfix: cloudstack-setup-management make /root directory's permission 0777 improperly 2014-05-31 12:54:55 -06:00
Nitin Mehta be765ce868 CLOUDSTACK-6599: Add the column in Java upgrade path since 4.2 already has the extract template/volume columns 2014-05-30 14:53:42 -07:00
Nitin Mehta 48ea9e0b5e CLOUDSTACK-6599:
1. Adding the missing Template/Volume URLs expiration functionality
2. Improvement - While deleting the volume during expiration use rm -rf as vmware now contains directoy
3. Improvement - Use standard Answer so that the error gets logged in case deletion of expiration link didnt work fine.
4. Improvement - In case of domain change, expire the old urls
2014-05-30 10:23:50 -07:00
Rajani Karuturi cc663bb7fc FIXED CLOUDSTACK-6669 Support volume resize in usage server 2014-05-30 14:50:52 +05:30
Rajani Karuturi c5a1423d3d FIXED CLOUDSTACK-6808 Need to add Database Information to Alter table statements in a commit to schema-430to440.sql 2014-05-30 14:50:40 +05:30
Devdeep Singh f5ce280da3 CLOUDSTACK-6810: Fix storage migration of a vm with volume on local was failing. When a plan
with hostid included was passed to the local storage pool allocator, it returned all the local
storage pools in the cluster, instead of just the local pool on the given host in the plan.
This was happening the search at a host level was happening only for data disk. Fixed this.
Additionally, the query to list the storage pools on a host was failing if the pool did have
tags. Fixed the query too.

CLOUDSTACK-6802: Fix for not being able to attach data disk on local. This issue gets fixed
with the above issue too. The query to list pools on a host was failing if there were no
tags on the storage pool.
2014-05-30 14:34:53 +05:30
Jessica Wang 76c71c7bc1 CLOUDSTACK-6805: UI > create account > fix a bug that account creation failed when password contains # character. 2014-05-29 11:52:42 -07:00
Daan Hoogland f9c57daf28 Merge branch '4.4-forward' of https://git-wip-us.apache.org/repos/asf/cloudstack into 4.4-forward 2014-05-29 19:22:04 +02:00
Hiroki Ohashi 0710c089c2 Allow usaage reporting on removed service offering 2014-05-29 19:21:42 +02:00
Gaurav Aradhye 323de6823d CLOUDSTACK-6782: Egress FW rules test cases - Format unicode to string before string matching 2014-05-29 11:08:38 +05:30
Harikrishna Patnala 80b9849981 Disabling the failed test cases mentioned in the following tickets integration.smoke.test_iso - CLOUDSTACK-6769, CLOUDSTACK-6774
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-28 11:51:49 +05:30
rayeesn 63090434b1 CLOUDSTACK-6392: system template always create with name master instead of specific branch
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-28 11:36:31 +05:30
Abhinandan Prateek a3dd5d1522 Revert "CLOUDSTACK-6781: Disabling failing test corresponding to this bug"
This reverts commit 5c30809a7d.
2014-05-28 10:48:44 +05:30
Rajani Karuturi c91780449a FIXED CLOUDSTACK-6781 [Automation] integration.smoke.test_portable_publicip.TestPortablePublicIPRange.test_createPortablePublicIPRange failing on 4.4
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-28 10:46:18 +05:30
Jessica Wang 3d1bbeb262 CLOUDSTACK-6789: UI > User page > fix a bug that a domain-admin was unable to delete other domain-admin in the same domain. 2014-05-27 15:44:20 -07:00
Nitin Mehta 18c6ae0796 CLOUDSTACK-6597: Updatevm - root admin should be allowed to change instance name 2014-05-27 14:55:22 -07:00
Jessica Wang a553bb516d CLOUDSTACK-6744 > UI > zone wizard > baremetal hypervisor > support EIP ELB feature.
This reverts commit 65bb733a42.
2014-05-27 11:39:08 -07:00
Koushik Das 5c30809a7d CLOUDSTACK-6781: Disabling failing test corresponding to this bug
Once the bug is fixed this needs to be enabled back
2014-05-27 20:35:24 +05:30
Wido den Hollander 7415a27184 CLOUDSTACK-6783: Return a proper LibvirtStoragePool object after creating the pool
In situations where libvirt lost the storage pool the KVM Agent will re-create the
storage pool in libvirt.

This could be then libvirt is restarted for example.

The object returned internally was missing essential information like the sourceDir
aka the Ceph pool, the monitor IPs, cephx information and such.

In this case the first operation on this newly created pool would fail. All operations
afterwards would succeed.
2014-05-27 16:21:55 +02:00
Harikrishna Patnala 2a28a3c5a4 Fixed Regression issues mentioned in following test failures
integration.smoke.test_iso - CLOUDSTACK-6774, CLOUDSTACK-6769
integration.smoke.test_non_contigiousvlan - CLOUDSTACK-6776
integration.smoke.test_primary_storage - CLOUDSTACK-6770
integration.smoke.test_secondary_storage – CLOUDSTACK-6777, CLOUDSTACK-6773
integration.smoke.test_scale_vm - CLOUDSTACK-6768

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-27 16:32:56 +05:30
Gaurav Aradhye 24ef79aef8 CLOUDSTACK-5342: Fix for failure in adding network to VM 2014-05-27 14:47:43 +05:30
Gaurav Aradhye 50d4963d53 CLOUDSTACK-6764: Marvin - Accomodating networkid parameter while deploying VM in advanced zone and account contains mor than one network 2014-05-27 14:47:34 +05:30
Gaurav Aradhye 3125ae5c6a CLOUDSTACK-6726: Fixing BVT test case test_network.py 2014-05-27 14:47:10 +05:30
Jayapal c535b89484 CLOUDSTACK-6328: added license header and removed white space 2014-05-27 14:30:12 +05:30
Anshul Gangwar b85f687cd7 CLOUDSTACK-6663: Fixed Hyper-V agent fails to start on some setups. During startup agent tries
to get nic info of 0.0.0.0. To get it, it iterates through all nics and return the last NIC in
the list if it doesn't match with any IP address. In case last NIC doesn't have unicastAddress,
Hyper-V agent will fail to start. We don't need IP address during initialization. It get
initialized with startupcommand later.
2014-05-27 11:59:07 +05:30
Koushik Das 60b82abe20 CLOUDSTACK-6767: [Automation] integration.smoke.test_volumes.TestVolumes.test_07_resize_fail is failing on simulator
This test is not supported for simulator, updated tags from 'selfservice' to 'provisioning'
2014-05-27 11:43:22 +05:30
Jayapal 37a3a65c7c CLOUDSTACK-6761: Fixed removing proxy arp rule on deleting static nat or PF rule on ip
The proxy-arp add/del is done on firewall rule add/del.
    The proxy-arp rule is deleted only when there is no static nat or dest nat rule is not using the ip.

    When there is static nat or PF and firewall rule
     a. Delete firewall rule. It skips delete proxy-arp because the rule is used by static nat rule.
     b. After deleting fw rule if we disable static nat there is no way to delete proxy-arp rule.

     On VM expunge we are deleting firewall rules first then static nat rules. This caused the stale proxy-arp
     rules.

    With this fix adding/deleting proxy arp rule on static nat/PF rule add/del.
2014-05-27 10:56:21 +05:30
Saurav Lahiri 587ee544f2 CLOUDSTACK-6328: run.sh check if an existing java process is running, before spawining new ones
Signed-off-by: Jayapal <jayapal@apache.org>
2014-05-27 10:56:04 +05:30
Rajani Karuturi 2ab7bcade2 Fixed CLOUDSTACK-6756: usage id is not being returned for an ip in deleted ip range 2014-05-27 09:32:05 +05:30
SrikanteswaraRao Talluri 30bd9b8fe0 CLOUDSTACK-6760: skipping unsupported scale VM test on KVM 2014-05-26 19:25:08 +05:30
Gaurav Aradhye 2cf16e5147 Fixing syntax error in base library 2014-05-26 14:52:40 +05:30
Gaurav Aradhye c3c8096476 Fixed issues in regression suite project cpu limits
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-26 10:47:13 +05:30
vinayvarmav 7dc0fca2e9 CLOUDSTACK-6282-Added Automated testes for Networks and VPC API's
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-26 10:46:00 +05:30
Gaurav Aradhye d9066f8d29 CLOUDSTACK-6758: [Marvin] Detect failed job and throw exception
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-26 10:45:12 +05:30
santhosh 6f3ff06827 Added fix for CLOUDSTACK-6529
Fixed to continue adding all hosts, even if any addition fails and remove
unused args from host class.

Signed-off-by: santhosh <santhosh.edukulla@gmail.com>
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-26 10:44:23 +05:30
Min Chen d5fbcafc2f Convert windows line ending to unix forIAMService.java. 2014-05-23 14:47:17 -07:00
Gabor Apati-Nagy 3f1dc2534f CLOUDSTACK-6565: [UI] New Zones tab for Templates and ISOs 2014-05-23 10:54:44 -07:00
Koushik Das 917d7b8b72 CLOUDSTACK-6708: [Automation]: Few suites were failing on simulator run
Disabled test_deploy_vm_start_failure test case which is failing. This is based on the new simulator changes and would need to be executed sequentially.
2014-05-23 15:30:54 +05:30
Doug Clark 960b4d1896 Add the shrinkok flag to allow volume shrinking in resize tests
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-05-23 11:53:10 +05:30
Ian Duffy 12e552b06d Resolve issue with build script for systemvm hanging due to libssl waiting on a input prompt caused by apt-get update 2014-05-22 19:04:04 -06:00
Min Chen da5ad74d5f CLOUDSTACK-6752: IAM command class separation caused ApiDoc warning of
duplicated cmd class for the same api name.
2014-05-22 16:57:00 -07:00
Anthony Xu 40207929f7 fixed a typo 2014-05-22 15:46:48 -07:00
Koushik Das 120da605b0 CLOUDSTACK-6740: Direct agent command throttling improvements
List of changes:
1. Created a separate thread pool for handling cron and ping tasks. The size of the pool is based on direct.agent.pool.size. The existing direct agent pool will run all commands other than cron and ping.
2. For normal tasks (generated as part of user/admin API calls), if throttle limit is reached then tasks get queued up for subsequent execution once threads are available.
3. For cron and ping tasks (internally generated by MS like ping, VM sync etc.), if throttle limit is reached then these gets rejected. Since these are internally generated these can be rejected without any issues.
2014-05-22 14:07:13 +05:30