Commit Graph

23398 Commits

Author SHA1 Message Date
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
Min Chen 0d243ec7f2 CLOUDSTACK-6745:DomainAdmin is not able to deploy Vm for users in his
domain/subdomain.
2014-05-21 21:58:17 -07:00
ynojima b4457d92f4 bugfix: systemvm template build failed
since newer vboxmanage generates $appliance-$branch-vmware-disk3.vmdk
2014-05-21 19:54:34 -06:00
Jessica Wang 65bb733a42 CLOUDSTACK-6744 > UI > zone wizard > baremetal hypervisor > support EIP ELB feature. 2014-05-21 17:17:20 -07:00
Min Chen 356f6121a7 CLOUDSTACK-6742: listVolumes - As regularuser , able to list Vms and
volumes of other users.
2014-05-21 16:26:20 -07:00
Kelven Yang e3bb8b98bd CLOUDSTACK-5485: Use edge-triggering in MessageDetector to handle bogus wakeup gracefully. Level triggering plus bogus wakeup can cause a tight loop to spin 2014-05-21 16:14:14 -07:00
Anthony Xu 8c5a9ec4de if networkID is not specified, get one network with free ips. 2014-05-21 14:39:48 -07:00
Amogh Vasekar 7bbad0491f CLOUDSTACK-6671: Fixing NPE when a mapping is missing
Adding missing KVM mappings

Testing Done:
Local testing with removing CentOS mapping and launch a VM.

Signed-off-by: Nitin Mehta <nitin.mehta@citrix.com>
2014-05-21 08:27:27 -07:00
Doug Clark 751f0ac518 Fix for Marvin utils.py:checkVolumeSize Fix for test_01_create_volume to use the correct volume name for XenServer
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-05-21 17:25:56 +05:30
santhosh e5de1cb7c2 CLOUDSTACK-6736: Added version informatoin, fixed data corruption, regression issues.
Signed-off-by: Jayapal <jayapal@apache.org>
2014-05-21 16:36:37 +05:30
Jessica Wang 22f503aa2b CLOUDSTACK-6729: UI - create compute offering/create disk offering - determine whether to pass certain data to API comamnd upon isCustomized checkbox/isPublic checkbox's value. 2014-05-20 15:50:27 -07:00
santhosh c7f5077ab1 Fixed Regression issues mentioned under CLOUDSTACK-6708
Signed-off-by: santhosh <santhosh.edukulla@gmail.com>
2014-05-20 21:20:35 +05:30
Gaurav Aradhye 02f769c4d5 Fixing issues in regression test suite test_accounts.py 2014-05-20 20:30:48 +05:30