Commit Graph

18429 Commits

Author SHA1 Message Date
Laszlo Hornyak c88d8fb3a2 use commons-lang StringUtils
commons-lang is already a transitive dependency of the utils project, which allows removing some duplicated functionality.
This patch replaces StringUtils.join(String, Object...) with it's commons-lang counterpart.
It also replaces calls to String join(Iterable<? extends Object>, String) in cases where an array is already exist and it is only wrapped into a List.

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-06-17 19:17:22 +01:00
Laszlo Hornyak 564013bec0 String instantiation is not needed
Removed a String instntiation, test case added

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-06-17 19:17:22 +01:00
Laszlo Hornyak ce8ada030d Removed String instantiation
String instantiation and redundant method call replaced with a constant.

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-06-17 19:15:37 +01:00
Jessica Wang a2c7d3a8a7 CLOUDSTACK-869: Add VPC dialog - add Public LB Provider dropdown, remove VPC Offering dropdown. When Public LB Provider is selected as Netscaler, pass "Default VPC offering with Netscaler" to createVPC API. When Public LB Provider is selected as VpcVirtualRouter, pass "Default VPC Offering" to createVPC API. 2013-06-17 10:58:58 -07:00
Alena Prokharchyk 952fa2464d LOUDSTACK-2914: handle situation when serviceProvider map is empty 2013-06-17 10:55:33 -07:00
Chip Childers bd699390a6 Correcting ID in the release notes from issues-fixed-4.0 to issues-fixed-4.1 2013-06-17 13:50:53 -04:00
Chip Childers 9ef366e4b3 CLOUDSTACK-2902: Updating repository refs
Conflicts:

	docs/zh-TW/configure-package-repository.po
2013-06-17 13:49:05 -04:00
Chip Childers 2572627797 Revert "CLOUDSTACK-2902: Fixing references to 4.1 repository for this release"
This reverts commit 76d3c27bf4.
2013-06-17 13:49:05 -04:00
Alena Prokharchyk fc16e29f99 CLOUDSTACK-2914: default lb scheme to Public when the service LB is enabled, and scheme is not specified explicitly 2013-06-17 10:10:43 -07:00
Hugo Trippaers b0ea02e65a Allow DSA public keys.
DSA can't be used for encryption with the bouncycastle library, so make
sure this situation is properly handled.
2013-06-17 10:04:59 -07:00
Nils 76d3c27bf4 CLOUDSTACK-2902: Fixing references to 4.1 repository for this release 2013-06-17 13:02:48 -04:00
Prasanna Santhanam 363a7b933c list the VPCs with vpc id not network id
test failed because of incorrectly listing the VPC using the networkid.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-17 22:25:01 +05:30
Prasanna Santhanam f8965b6f07 Concentrated planner granularity is at pod level
user.concentrated pod planner will try and put the VMs in the same pod.
Correcting the assertion to verify same pod and not same cluster. Test
may have passed earlier because of presence of single pod in the
deployment.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-17 19:44:33 +05:30
Gaurav Aradhye 6a5c9d777f CLOUDSTACK-2935: Corrected VPC code related to cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-17 19:40:03 +05:30
Dave Brosius 3a02942123 set rpcProvider field correctly
Signed-off-by: Dave Brosius <dbrosius@mebigfatguy.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-17 19:12:02 +05:30
Likitha Shetty 770cf02ccf Global config to disable an account from acquiring public ips and guest vlans from the system if the account
has dedicated resources and the dedicated resources have all been consumed - use.system.public.ips and use.system.guest.vlans
Both configs are configurable at the account level too.
2013-06-17 17:54:36 +05:30
Prasanna Santhanam 28b598b4ac Fix VPC tests related to user roles
Many vpc tests fail because of incorrect apiClient passed in to create
the VPC, network etc. The exact method used is getUserApiClient to fetch
the apiclient for a specific user.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-17 17:32:05 +05:30
Prasanna Santhanam a5189b1550 Fix the listVPC based on user roles
listVPC based on user roles uses the old account.account reference
causing the test to fail.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-17 17:32:05 +05:30
Wei Zhou f4dcca6e47 CLOUDSTACK-3019: add missing tags for test integration.component.test_advancedsg_networks.py 2013-06-17 10:40:40 +02:00
Prasanna Santhanam 0587d3a496 Moving maintenance mode into component/maint
All tests that could possible disrupt the runs of other tests because of
putting resources into maintenace will be put under maint/. This should
allow us to run the tests sequentially when other tests are not running
on a deployment.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-17 12:33:57 +05:30
Shiva Teja a3d585ea4e Add Shiva Teja's proposal to GSoC docbook 2013-06-17 02:20:37 -04:00
Shiva Teja ac48e5dc67 Add proposal to CloudStack_GSoC_Guide.xml 2013-06-17 02:20:36 -04:00
Radhika PC fcafe28d7b CLOUDSTACK-758 2013-06-17 11:41:07 +05:30
Radhika PC 2f1ed47213 CLOUDSTACK-769 review comments fixed 2013-06-17 11:08:59 +05:30
Ian Duffy 776301ce6f Change listAll to return a boolean and fix a typo
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-17 10:23:48 +05:30
Prasanna Santhanam e405703d5c CLOUDSTACK-3024: Invalid reference to testclient close
Testclient does not expose a close() method anymore for closing the
connection to cloudstack

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-17 10:05:02 +05:30
rayeesn bf0265d21d CLOUDSTACK-3020: Fix assert error
If you do not give a name during vm creation,  UUID will be set for Name
and Display name will be blank.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-17 10:05:02 +05:30
Isaac Chiang ae27d664f8 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cloudstack 2013-06-16 23:07:10 +08:00
Isaac Chiang 2fb18db7b1 CLOUDSTACK-2976: At zone level setting same parameter page is getting
displayed repeatedly when you scroll down
2013-06-16 23:04:33 +08:00
Rohit Yadav 10f9516015 cloumonkey: Remove junk from requester.py
This fix removes junk from 6e22843acb which was
supposed to just improve error messages and not messup the whole async block
logic and go into an infinite recursion or fail with some key error.

Signed-off-by: Rohit Yadav <rohit.yadav@wingify.com>
2013-06-16 18:34:32 +05:30
Rohit Yadav 1a058d7793 cloudmonkey: Bump up version of cloudmonkey to 4.2.xx
Signed-off-by: Rohit Yadav <rohit.yadav@wingify.com>
2013-06-16 18:33:34 +05:30
rayeesn 2f345c5b4d test_accounts.TesttemplateHierarchy;ostype added
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-16 11:10:37 +05:30
Rajesh Battala 6d140538c5 CLOUDSTACK-3004: remove duplicate ssvm-check.sh
ssvm_check.sh remove the duplicate file from consoleproxy and include the
script from secondary storage folder while packing iso

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-15 11:21:46 +05:30
Jessica Wang 8925d39b78 CLOUDSTACK-3016: remove zonetype parameter from listVirtualMachines API. 2013-06-14 16:51:20 -07:00
Jessica Wang b4a692d80f CLOUDSTACK-3016: remove zonetype parameter from listVolumes API. 2013-06-14 16:39:04 -07:00
Jessica Wang ea0de9eaf4 CLOUDSTACK-3016: remove zonetype parameter from listStoragePools API. 2013-06-14 16:33:27 -07:00
Jessica Wang cb37d4cb63 CLOUDSTACK-3016: remove zonetype parameter from listHosts API. 2013-06-14 16:14:45 -07:00
Jessica Wang 4b2eb18cfc CLOUDSTACK-2981: UI - create network offering - fix a bug that provider dropdown always bounced back to the first enabled option. It should only bounce back to the first enabled option when the selected option is disabled. 2013-06-14 14:20:58 -07:00
Brian Federle 3eeca55c76 Remove zone filter drop-down 2013-06-14 12:26:00 -07:00
Wei Zhou 8b4d853091 CLOUDSTACK-3005: fix template_spool_ref.local_patch error after upgrade from 2.2.14 to 3.X 2013-06-14 10:32:47 +02:00
Devdeep Singh 201c0651cc CLOUDSTACK-2948, Explicit dedication processor wasn't added to nonoss components context xml. The processor was never picked up to evaluate which hosts to avoid during deployment. Adding the explicit processor to the list of available processors. 2013-06-14 13:16:21 +05:30
Mice Xia 7663684981 fix CLOUDSTACK-2989 normal user are allowed to create isolated network offerings with vlan assignments
1) only root admin can list network offering with specifyVlan=true
2) only root admin can create network with specifyVlan=true
2013-06-14 14:58:24 +08:00
Radhika PC b2111e46b7 CLOUDSTACK-2986 2013-06-14 12:05:50 +05:30
Mice Xia 5e56e43e31 fix CLOUDSTACK-2930, exception while applying ACL rule with protocol as ALL.
1) change UI, disable startport and endport when protocol=All
2) validate parameters for API createNetworkACL
2013-06-14 13:19:07 +08:00
Sanjay Tripathi 18163eaa4d CLOUDSTACK-1960: Key remapping fails to input the keys \ | . of UK Keyboard 2013-06-14 10:21:22 +05:30
Edison Su 793d549072 fix unit test 2013-06-13 17:02:53 -07:00
Sheng Yang 5a8a2a259e CLOUDSTACK-2792: Send "saved_password" to BACKUP router when reset password for user VM
Otherwise when MASTER failed, the user VM would get password reset again after
reboot.

But this fix still have issues if MASTER is failure before VM boot up, but in
that case, password of user VM won't change and user would request password
change again, then it would be fine.
2013-06-13 16:05:15 -07:00
Sheng Yang fbe6b273e3 CLOUDSTACK-1170: Redundant Router: Ensure MACs are same on other than first public nic 2013-06-13 16:05:15 -07:00
Jessica Wang 2630625260 CLOUDSTACK-2360: UI - Infrastructure menu - zone detail - physical network - network service providers - Netscaler - view devices - device detail page - add GSLB Provider enabled or not, GSLB Provider Public IP, GSLB Provider Private IP field. 2013-06-13 15:03:04 -07:00
Fang Wang bf73d755b0 Add protection for VNC port with password on KVM. 2013-06-13 14:41:09 -07:00