25556 Commits

Author SHA1 Message Date
Min Chen
4e7af26c9f CLOUDSTACK-7981: listVirtualMachine is too slow in case of duplicate
resource tags due to joining user_vm_details to user_vm_view.
2014-11-26 17:23:07 -08:00
Chandan Purushothama
d5761ea65b CLOUDSTACK-7980 : Fixed the script '/maint/test_egress_rules_host_maintenance.py' - Zone Network Type Information should to be passed to VirtualMachine create method 2014-11-26 19:33:23 -08:00
Chandan Purushothama
4f8799315f CLOUDSTACK-7979 : Fixed the script 'test_security_groups.py' - Zone Network Type Information should to be passed to VirtualMachine create method 2014-11-26 19:33:06 -08:00
Chandan Purushothama
b81cf5eab1 CLOUDSTACK-7978 : Fixed the script 'test_egress_rules.py' - Zone Network Type Information should to be passed to VirtualMachine create method 2014-11-26 19:32:46 -08:00
amoghvk
960b7bbf74 CLOUDSTACK-7977
Fix password generator, add guards for minimum length
2014-11-26 15:08:48 -08:00
amoghvk
95ea203907 CLOUDSTACK-7976 : Param validation for global params involving domain name 2014-11-26 14:54:42 -08:00
amoghvk
86895ec13c Add validation for domain names passed via global pamaremets 2014-11-26 14:45:50 -08:00
amoghvk
3d6635a537 Add support for RHEL 6.5 and relevant hypervisor mappings 2014-11-26 14:21:21 -08:00
Brian Federle
837a17b3da Revert "VM detail view: Disable 'change service offering' action per CLOUDSTACK-4200"
This reverts commit 73087bc3ffed4200e4e0a298b9e5539e248449a1.
2014-11-26 14:18:01 -08:00
Brian Federle
db9c97e7f4 UI cleanup 2014-11-26 11:48:27 -08:00
Koushik Das
4798db0de1 CLOUDSTACK-7960: [Automation] Creation of Volume from Snapshot fails due to StringIndexOutOfBoundsException
Fixed the appropriate CopyCommand handler in simulator plugin
2014-11-26 17:30:44 +05:30
Koushik Das
bf56584528 CLOUDSTACK-7973: Proper handler for FenceCommand in simulator
Added a proper handler for FenceCommand in simulator
2014-11-26 17:30:33 +05:30
Sanjay Tripathi
a45ddb514c CLOUDSTACK-7969: SC: Win8.1: Key translation fails for some EN-US keyboard keys. 2014-11-26 13:35:24 +05:30
Daan Hoogland
ef2aa2c529 sign release branch instead of release tree
edit checkstyle pom on rc creation
xapi release version dep
update debian package changelog on version upgrade

sign release branch instead of release tree

(cherry picked from commit dd508b3b9fd4a630545949685beb648115803a85)
2014-11-25 15:11:58 +01:00
SrikanteswaraRao Talluri
8cca0b224d CLOUDSTACK-7865:Wrongly skipping the test if the local storage is enabled.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 19:22:11 +05:30
Rohit Yadav
6ad2f38426 CLOUDSTACK-7679: Bump rabbitmq client library to latest 3.4.1
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 19:16:23 +05:30
Gaurav Aradhye
d0ca2d5d8b CLOUDSTACK-7933: test_escalations_instances.py - Fixed test_13_vm_nics for Vmware
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:58:00 +05:30
Ashutosh K
2fbef677b0 CLOUDSTACK-7934: Fixed cleanup issues test_escalations_volumes.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:53:51 +05:30
Ashutosh K
30a2ade17a CLOUDSTACK-7942: Fixing account permission issue in test_template.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:48:53 +05:30
Ashutosh K
6eb4a40afe CLOUDSTACK-7949: Fixing issue in test_base_image_updation.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:43:07 +05:30
Ashutosh K
50ab04dc0d CLOUDSTACK-7953: Fixed time wait period for verifying snapshot policy
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:39:43 +05:30
Ashutosh K
1db2d14422 CLOUDSTACK-7963: Fixed test case in test_dedicate_guest_vlan_ranges.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:35:13 +05:30
Gaurav Aradhye
684268f4c3 CLOUDSTACK-7938: Marvin - Create a new section in test_data.py for configurable data and change test cases accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:30:33 +05:30
Rohit Yadav
19d73fe67d CLOUDSTACK-7951: Limit amount of memory used by cloudstack-agent jsvc
The -Xms value specifies the minimum heap size the JVM should start with and
-Xmx is the maximum heap size it can grow. The previous fix imposed minimum
limit of 1G which is unreasonably for small deployments. The fix is to start
with 256MB and limit to 2G for cloudstack-agent process. This was tested on
DevCloud/KVM and then again on a ACS/KVM deployment on real hardware.

With these values, it's possible for the agent to work in a DevCloud/KVM
environment and if JVM needs it can increase the heap size to 2G. The fix also
ports these settings to Debian cloud-agent init.d script as well.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit bb81082e58d90da9971b7e06f4c3f8639446b2d2)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 18:27:21 +05:30
Ashutosh K
4f82528829 CLOUDSTACK-7965: Fix script related to force delete domain test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:18:16 +05:30
Harikrishna Patnala
9585aa0b51 CLOUDSTACK-6465: vmware.reserve.mem is missing from cluster level settings
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
(cherry picked from commit eae733817b3670b0151410c027325f78013392ad)
2014-11-25 15:55:54 +05:30
Daniel Vega
93f8213412 CLOUDSTACK-7915: Remove hard-coded values for Load Balancer algorithms in UI
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
(cherry picked from commit ba6dfd84702eeef0362b94068add1328db84133a)
2014-11-25 15:55:44 +05:30
Daniel Vega
02ca6f2e5b CLOUDSTACK-7917: Validating Load Balancer Rule when updating LB + unit test
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
(cherry picked from commit c919ff83d81528b89017b5f5731b2e46350e3dfa)
2014-11-25 15:55:30 +05:30
Rohit Yadav
7ff31f1b22 Merge remote-tracking branch 'origin/inetaddress'
- Tested locally against unit tests
- TravisCI build passed: https://travis-ci.org/apache/cloudstack/builds/41990351
- Manual QA passed for basic auth and saml auth using default IDP settings

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	server/src/com/cloud/api/ApiServlet.java
2014-11-25 14:32:09 +05:30
Edison Su
4e5b3d028d CLOUDSTACK-7966:
remove snapshot_store_ref entry, in which role is Primary, during
storage GC
2014-11-24 14:27:56 -08:00
Brian Federle
73087bc3ff VM detail view: Disable 'change service offering' action per CLOUDSTACK-4200 2014-11-24 13:19:59 -08:00
Brian Federle
fff3b9eda0 Disable quickview for template zone listing
-- Quickviews are not supported when rendering in a list within a detail panel,
   due to technical limitations.
2014-11-24 12:26:33 -08:00
Daan Hoogland
3cb78fc742 4.4.2 upgrade schema
remove 441to450 ddl
(cherry picked from commit 5578616143f2eb1aded26b86101c73858a67fa35)
(cherry picked from commit f18d6238b0219061e5ad81dc8852de6290da9e55)

Conflicts:
	engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java

schema: Add upgrade paths from 4.3.2 to 4.4.0

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 73c62837b5f9e0c4acb1f513c32f3c9579316e00)

Conflicts:
	engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
	engine/schema/src/com/cloud/upgrade/dao/Upgrade441to450.java
	setup/db/db/schema-441to450.sql

merged new work from schema-441to450.sql into schema-442to450.sql
2014-11-24 16:25:44 +01:00
Wido den Hollander
72ba98b1b8 Validate IPv4 address using Apache Commons Validator 2014-11-24 14:43:48 +01:00
Wido den Hollander
87a7810ade Fix UnitTest ApiServlet 2014-11-24 11:48:13 +01:00
Sanjay Tripathi
d475b62838 CLOUDSTACK-7964: listAccounts API is not listing correct value of resource limits. 2014-11-24 13:44:42 +05:30
Saksham Srivastava
c615aafd77 CLOUDSTACK-7962: Change state to Volume State 2014-11-24 12:08:58 +05:30
Saksham Srivastava
690a5ded35 CLOUDSTACK-7962: VM Snaptshot should add check for root volume status also 2014-11-24 11:20:19 +05:30
Laszlo Hornyak
31db58f720 some unused fields deleted
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-11-23 19:49:04 +01:00
Laszlo Hornyak
712a729bd7 unused logger removed
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-11-23 19:49:03 +01:00
Laszlo Hornyak
3577423da9 removed executable flags from java classes
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-11-23 19:49:01 +01:00
Laszlo Hornyak
2a6d6891eb Some simplification on getClientAddress in ApiServlet
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-11-23 19:48:58 +01:00
Laszlo Hornyak
fa52ffad65 unit test for getClientAddress
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-11-23 19:48:57 +01:00
Laszlo Hornyak
55c449aa07 Properties loading simplification
- Using the PropertiesUtil methods, the resource handling could be elliminated

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-11-23 19:48:56 +01:00
Laszlo Hornyak
b2023d04ba Simplification on Properties handling
- Added method to create properties and load contents from file

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-11-23 19:48:56 +01:00
Laszlo Hornyak
ca9dd457f9 Stream handling simplification in PropertiesUtil
- use resource block instead of finally block

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-11-23 19:48:55 +01:00
Chandan Purushothama
71bb436c8d CLOUDSTACK-7955: Fixed the script test_project_limits.py - Register Template in the Project to test the Template limits on the project 2014-11-21 18:25:44 -08:00
Chandan Purushothama
3a6f248e3a CLOUDSTACK-7956: Fixed the script 'test_project_usage.py' - Register Template in the Project to test the Template limits on the project 2014-11-21 18:24:15 -08:00
Min Chen
9ac93d3e43 CLOUDSTACK-7678:volumes are getting uploaded successfully with wrong url. 2014-11-21 14:36:36 -08:00
Sangeetha Hariharan
50bf7496e3 CLOUDSTACK-7732-[Automation] - Automate organization States Test Cases relating to enabling/disabling of zone,pod,host and cluster. 2014-11-21 12:32:14 -08:00