20696 Commits

Author SHA1 Message Date
Laszlo Hornyak
3650f12e9b Do not instantiate long just to generate String
Replaced toString call to the static toString method

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-09-19 17:17:54 +02:00
Laszlo Hornyak
88954053c3 do not instantiate Long just for toString
replaced Long object instantiation with static call to Long.toString in case it was only to generate a string

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-09-19 16:58:59 +02:00
Daan Hoogland
3f18f182b8 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cloudstack.git 2013-09-19 16:47:23 +02:00
Daan Hoogland
284742ad11 add networkofferid to search network for 2013-09-19 16:26:46 +02:00
Girish Shilamkar
a726bfdba5 Storage type was set to local due to which tests failed. Removed it.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-09-19 19:10:44 +05:30
Wei Zhou
e14bd03da5 CLOUDSTACK-1749: change cloud service name in systemvm
(cherry picked from commit 78b912e38f550d93f1cc008236205b4df300e26f)
2013-09-19 10:54:44 +02:00
Kelven Yang
b6d448d1fd apply https://reviews.apache.org/r/14189/ - UserVmDomRInvestigator and ManagementIPSystemVMInvestigator mask adapter name 2013-09-18 17:58:31 -07:00
Kelven Yang
7142cd19f2 Apply https://reviews.apache.org/r/14186/ - Create parent pom to allow maven standard paths in project 2013-09-18 17:53:06 -07:00
Prachi Damle
62d60c2b77 CLOUDSTACK-4664: [ZWPS] High delay to start a stopped VM which has ROOT/DATA volumes migrated to Second Zone wide primary Storage(More than 10 mins)
Changes:
- DeploymentPlanningManager needs to reuse the zone wide primary storage pool when VM's volume is READY
2013-09-18 16:52:07 -07:00
Prachi Damle
7416383fcd CLOUDSTACK-4651: Restarting management server when volume Snapshot is still in progress for root volume of a VM , then there is no way to restart VM since the startVM job is stuck forever since the volume is in "Snapshoting" state.
Change:
-If no volume of the VM is usable, VM cannot be deployed or started. Atleast ROOT volume should always be in usable state to start up the VM
2013-09-18 16:52:04 -07:00
Prachi Damle
f2ea699d12 CLOUDSTACK-4668: Upgrade to 4.2 fails with NullPointerException when hypervisor_type is null for a cluster entry
Changes:
- Care for null value during comparing the hypervisor_type
- Do not consider removed clusters
- Method rename according to coding conventions
2013-09-18 16:52:01 -07:00
Jessica Wang
723ef6e495 CLOUDSTACK-4702: UI > Network menu > Add Guest Network dialog > UI shouldn't pass null zoneid to listnetworkofferings API when zone dropdown is empty (i.e. when no advanced zone exists). 2013-09-18 16:45:01 -07:00
Alena Prokharchyk
3ab8d8d8f2 Fixed non-oss build broken in Juniper SRX with commit 2614b00c513734ce6b1c29e572fbd7a37d4059fc 2013-09-18 16:37:00 -07:00
Alena Prokharchyk
d34b79c970 CLOUDSTACK-4573: fixed resource limit check when acquire public IP in VPC - update resource count for VPC public ip even when network_id is not set yet. 2013-09-18 14:43:42 -07:00
Jessica Wang
9b81c91e31 CLOUDSTACK-4700: UI > Instances > Reset VM action > if the template from which vm is created is password-enabled, pop up "Password hsa been reset to xxxxxxx" dialog. 2013-09-18 11:42:14 -07:00
Alex Huang
bf6a5ff023 Added a ManagementServer scope but it isn't used yet. Added @Deprecated to one of the constructors 2013-09-18 09:34:24 -07:00
Ashutosh K
5b5a617544 Added missing test for VPC load balancing rule from old QA repo to cloudstack repo
def test_04_VPC_CreateLBRuleInMultipleNetworksVRStoppedState

Since VPC now only allows load balancing on a single tier the test case
has been updated to check that condition

Ref : http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Installation_Guide/configure-vpc.html

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-18 21:48:12 +05:30
Girish Shilamkar
d4dc4f7e70 CLOUDSTACK-4637: Add 30sec sleep before router is ssh'd
Egress rules testcases access vm via router. Sleep before
accessing router else the expect fails since router is not
accessible. Also use router.hostid instead of vm.hostid
to identify the host.

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 7d06e77ed9bfacf6d3b74f396c705567d4bf8ba2)
2013-09-18 21:41:46 +05:30
Daan Hoogland
2614b00c51 sdn hosted vpc gateways (using lswitch) 2013-09-18 16:56:56 +02:00
Harikrishna Patnala
62b0ad03c8 CLOUDSTACK-2247: Automation - Reset a VM on Reboot
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-09-18 09:37:37 +05:30
Girish Shilamkar
dd4b1cbf44 CLOUDSTACK-1800: Add automation tests for reset sshkey to access VM
Reviewed-By: Harikrishna Patnala <harikrishna.patnala@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-09-18 09:33:01 +05:30
Anshul Gangwar
955408166c CLOUDSTACK-2266: marvin tests for IP Address reservation within a network it also adds the ipaddress parameter to virtual machine's create method in base.py
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-09-18 09:21:24 +05:30
Alena Prokharchyk
d3d49bd0aa CLOUDSTACK-4632: updateNetwork with the new network offering - log original and new network offerings' ids in the Action event 2013-09-17 17:11:09 -07:00
Jessica Wang
4f61396c61 CLOUDSTACK-4688: UI > (1) Notifications widget - pollTimer() - error handling - check if args is null before trying to access args.message property (2) sharedFunctions.js - pollAsyncJobResult() - error handling - pass message argument to args.error(). 2013-09-17 16:38:33 -07:00
Kelven Yang
832db1b398 Apply https://reviews.apache.org/r/14084/ 2013-09-17 16:29:48 -07:00
Sheng Yang
37f4a120fd CLOUDSTACK-4698: Check DHCP service in the network before get dhcp service provider 2013-09-17 16:01:29 -07:00
Min Chen
6fccd74ae8 CLOUDSTACK-4534:[object_store_refactor] Deleting uploaded volume is not
deleting the volume from backend.
2013-09-17 15:20:20 -07:00
Kelven Yang
f10601ef8c forgot to commit a modified file 2013-09-17 14:46:57 -07:00
Kelven Yang
1598571dfc CLOUDSTACK-4659: Fix the regression caused by worker VM consolidation for GC purpose 2013-09-17 14:07:14 -07:00
Kelven Yang
5820b071b8 CLOUDSTACK-4659: Add the missing feature back for GC VMware worker VMs 2013-09-17 14:06:52 -07:00
Marcus Sorensen
2b4e994a4d CLOUDSTACK-3565 - fix for new libvirt behavior when defining NFS
pools that are already mounted in KVM hypervisor
2013-09-17 10:53:35 -06:00
Jessica Wang
59c6fb7ff2 CLOUDSTACK-4687: UI > infrastructure > zone > UCS > blades > add extra properties (Chassis, Blade ID) to ucsblade object returned by API which has only bladedn property. 2013-09-16 14:59:54 -07:00
Jessica Wang
12e295d757 CLOUDSTACK-4687: UI > listView widget > actions in a grid row > when an action is completed, refresh the grid row with only data returned by getUpdatedItem() instead of combination of data returned by getUpdatedItem() and original embedded data in grid row. 2013-09-16 13:59:05 -07:00
Gaurav Aradhye
51da534cce CLOUDSTACK-4634: Fixed issue arising due to wrong indentation 2013-09-16 15:59:51 +05:30
Gaurav Aradhye
4b79858c01 CLOUDSTACK: 4635 - Fixed test case issues due to wrong indentation 2013-09-16 15:55:07 +05:30
Gaurav Aradhye
f1f5f2eec1 CLOUDSTACK: 4640 - Fixed indentation issues in function createInstance 2013-09-16 15:39:42 +05:30
Wido den Hollander
a709f34ff9 kvm: During migrate change the VNC listen address
The migrate method from libvirt supports passing down a different XML for running
the instance of the target hypervisor.

This enables the VNC to bind to the private IP Address of the hypervisor and during
migration this will be changed to the private IP address of the target host.

This way VNC doesn't listen world wide and is much safer.
2013-09-16 11:57:16 +02:00
radhikap
5410901aeb release notes structure issue fixed, links to known issues and fixed issues have been added 2013-09-14 10:48:56 +05:30
radhikap
94377dd842 known issues added, 4.1 reference removed 2013-09-14 10:39:53 +05:30
radhikap
f9fb940e7f known issues added, 4.1 reference removed 2013-09-14 09:12:33 +05:30
Min Chen
22c5ea0ebe CLOUDSTACK-4671:ListZone API failed with Assertion error if assertion is
turned on for MS.
2013-09-13 17:21:24 -07:00
Brian Federle
fea5ba72e2 CLOUDSTACK-4669: Fix disassociateProfileFromBlade action icon 2013-09-13 16:10:29 -07:00
Jessica Wang
6751a81a7e CLOUDSTACK-4669: UI > Infrastructure > zone > UCS manager > UCS blade > implement new action disassociateProfileFromBlade. 2013-09-13 15:40:09 -07:00
Ian Duffy
9febf4c43e Return name for getName() on LdapAuthenticator 2013-09-13 17:22:52 +01:00
Gaurav Aradhye
ae1cebf4e9 Automation - Portable Ip feature test cases
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 23c759ec356d90801b7117cbb4b44e730bcad374)
2013-09-13 17:35:08 +05:30
Gaurav Aradhye
f946747091 Automation: Resource Limits - memory limits test cases 2013-09-13 15:34:12 +05:30
Wei Zhou
3f42601c6d fix different type issue in write_rule_log_for_vm in security_group.py 2013-09-13 12:02:24 +02:00
Wei Zhou
83d3f7d2f3 change return value of getvmId() from int to string in security_group.py 2013-09-13 11:37:30 +02:00
Jessica Wang
2e2d1acefc CLOUDSTACK-4662: UI > Network > IP Address > select a portable IP Address > Port Forwarding > VM grid - select a VM - dropdown of VM NIC IP appears - dropdown option value is networkID + VmGuestIp, split it and pass only VmGuestIp to API call. 2013-09-12 19:21:57 -07:00
Min Chen
1042136c23 CLOUDSTACK-4661:[DB Upgrade] SecondaryStorage entry in host table before
upgrade is not marked as removed after migrating them to image_store
table.
2013-09-12 18:55:41 -07:00