Commit Graph

15942 Commits

Author SHA1 Message Date
Rohit Yadav 72291ef97f CLOUDSTACK-1037: Implement fuzzy parameter completion
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 1fd0563137)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-07 16:01:51 +05:30
Pranav Saxena 7f0e5fefec CLOUDSTACK-1184 Localization - Add Korean label to all locales 2013-02-07 14:17:02 +05:30
Murali Reddy 18bf69696c CLOUDSTACK-1178:DB Commit warning logged for every Deploy VM request
removing the regression that introduced premature transaction commit
2013-02-07 13:20:41 +05:30
Radhika PC 6768f0d1c2 CLOUDSTACK-1050:Documentation for adding load balancer rule 2013-02-07 11:45:44 +05:30
Rohit Yadav f270f627d6 CLOUDSTACK-520: Autorename vmware and manageontap jars
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 5fe1ef47dd)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-07 11:34:39 +05:30
Mice Xia 15d6609468 CLOUDSTACK-1176 1) remove 'final' modifier from id attribute in SnapshotVO 2) make state setter method comply with convention 2013-02-07 13:42:41 +08:00
Rohit Yadav f95b0edaff CLOUDSTACK-1181: Fix NPE, ignore if default path is not readable, we're passing props file anyway
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 7c003611d0)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-07 11:10:37 +05:30
Pranav Saxena 6db11cb7de Enabling Korean Translation on the CloudStack UI 2013-02-07 10:49:28 +05:30
Channy Yun 624ff03f24 Localization:Korean Translation 2013-02-07 10:48:14 +05:30
Sheng Yang 5adcea209d IPv6: One network can have more than one vlan 2013-02-06 20:02:46 -08:00
Hugo Trippaers 76a5bdac70 Before any database calls are made we need to make sure that encryption
is properly initialized if we have an encrypted db.properties.(cherry picked from commit b1d70f7fe3)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-06 23:03:22 +01:00
Hugo Trippaers 1404cf8c1f Summary: fixup spec file
Remove duplicate entries in the config dir

Fix directory permisisons of some directories

Remove the scripts from the webapp as they are packaged inside the cloudstack-common package
(cherry picked from commit 5af6d16c5d)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-06 23:00:28 +01:00
Hugo Trippaers 6287d4512e If encryption is already initialized we don't need to do it again.(cherry picked from commit b28f3addfc)
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-06 23:00:19 +01:00
Sheng Yang 17212984c9 IPv6: CLOUDSTACK-1141: Fix reboot router with IPv6 assigned VM 2013-02-06 13:59:14 -08:00
Jessica Wang 00b2a99e7a CLOUDSTACK-1166: cloudstack UI - dashboard - sanitize content before setting it to a HTML element. 2013-02-06 10:50:07 -08:00
Marcus Sorensen d3ffceb25e Summary: Add default newline after summary in prepare-commit-msg
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360171397 -0700
2013-02-06 10:24:22 -07:00
Marcus Sorensen dc0ef3cef7 Summary: Make prepare-commit-msg hook more compatible with operating systems
Detail: Was using sed -i, which breaks on Mac

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360170672 -0700
2013-02-06 10:24:10 -07:00
Marcus Sorensen 73bb1795cb Summary: Fix NPE when calling createFirewallRule
Detail: CreateFirewallRuleCmd.java was returning 'null' for getTrafficType().
Recently, getTrafficType started being used by createIngressFirewallRule.
Changing getTrafficType() to return ingress per Jayapal Reddy.

BUG-ID: CLOUDSTACK-1168
Bugfix-for: master,4.1
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360170916 -0700
2013-02-06 10:21:20 -07:00
Radhika PC 1ac95e15f1 CLOUDSTACK-722 - Documentation:Changing the SSL proxy console certificate 2013-02-06 20:34:57 +05:30
Marcus Sorensen 87286d0549 Summary: Add missing ResizeVolumeCommand in VmwareResource.java
Submitted-by: hongtu_zang <hongtu_zang@tcloudcomputing.com>
Signed-off-by: Marcus Sorensen <marcus@betterservers.com>
2013-02-06 07:55:11 -07:00
Rohit Yadav 4d9056c2fe ApiDiscovery: Fix tests and make constructor light weight, let spring run init()
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-06 20:09:15 +05:30
Rohit Yadav 2ce6b80a24 cli: Fix attribute error and fix helpdoc
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-06 16:57:29 +05:30
Rohit Yadav e234fcff5a ApiDiscovery: Discovery apis provided by PluggableServices as well
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-06 16:56:48 +05:30
Rohit Yadav 20b74249d5 ApiServer: Ask pluggable services to return list of apis to ApiServer
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-06 16:56:48 +05:30
Rohit Yadav 2e59bcfd7a ManagementServerImpl: Fix NPE, PluggableService should not return null list
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-06 16:56:48 +05:30
Kishan Kavala dd675a16da CLOUDSTACK-1175: PlainTextAuthenticator was being loaded due @Component annotation. Removed the annotation so that MD5 authenticator will be used 2013-02-06 15:24:01 +05:30
Koushik Das 1c88f3c732 CLOUDSTACK-446 : Host going to alert state, if you are adding already added host
Adding an already added host fails with error but in the process incorrectly updates the status of the host to 'Alert'. Put a check to prevent this.
2013-02-06 13:45:48 +05:30
Mice Xia 9a9a4abf9d CLOUDSTACK-1174 rename field status-> state to comply with javabean convetion 2013-02-06 15:56:47 +08:00
Min Chen 4a578852a7 Fix bug CLOUDSTACK-1171 due to spring injection. 2013-02-05 21:59:30 -08:00
Sheng Yang 659955483d IPv6: CLOUDSTACK-1153: Fix integer overflow on IPv6 address calcuation
Use BigInteger, which is 128 bits long.
2013-02-05 17:41:12 -08:00
Hugo Trippaers 5793a0c597 Summary: We need the integrity checkers to run
The EncryptionSecretKeyChecker is required to load db.properties with
encrypted passwords.

Make usre the integrity checkers are run before anything else during
start-up(cherry picked from commit 9d134f0f19)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 23:51:55 +01:00
Kelven Yang 2a63dbe59d CLOUDSTACK-1165, fix nonoss build startup issue 2013-02-05 14:38:13 -08:00
Sheng Yang 5c7ab24b85 IPv6: CLOUDSTACK-1113: Fix the mechanism to find the usable IP in the IPv6
The new policy is:
1. Generate a random IP.
2. Find the next available IP, start from the generated IP.
3. If we cannot find an available IP after certain times(10000 by default,
network.ipv6.search.retry.max) retry, give up.
2013-02-05 14:27:05 -08:00
Sheng Yang 22383d7837 IPv6: Fix ip address in range check 2013-02-05 13:21:41 -08:00
Hugo Trippaers 6a19da78c3 Summary: Path changes for new rpm packaging
The path to the keyfile was hardcoded, so added an alternative path for
compatibility with the packaging locations. Should ideally become a
setting in the config file.(cherry picked from commit cb6b96cda2)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:14:34 +01:00
Hugo Trippaers b920a39eb1 Summary: packaging updates
Empty paths lead to unpleasant surpises later on

Use basename to find the pid file when stopping tomcat
(cherry picked from commit 0cc4636a2d)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:14:25 +01:00
Hugo Trippaers 38f364bb8d Summary: update packaging
Change some paths to use the new cloudstack name
(cherry picked from commit 2234e043e2)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:14:15 +01:00
Hugo Trippaers 212c53c173 Set path to the setup files
(cherry picked from commit 7625de9778)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:14:07 +01:00
Hugo Trippaers f82849d249 This database file does not exist anymore
(cherry picked from commit 798c7c2c18)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:13:59 +01:00
Hugo Trippaers 0c890b1da5 Summary: packaging updates
Renamed a whole bunch of stuff from cloud to cloudstack

Fix startup of cloudstack-agent
(cherry picked from commit 5bf6771e60)

Conflicts:
	packaging/centos63/cloud.spec
2013-02-05 21:13:22 +01:00
Hugo Trippaers 862fc0d55b NiciraNvp Provider should not be marked as external as this will prevent
creation of networks when there is no default CIDR in the zone.(cherry picked from commit 27e5d1fc04)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:12:22 +01:00
Hugo Trippaers cb4d498da1 NiciraNvpElement is loaded twice, but no idea where. This makes it work
however(cherry picked from commit 43dc31bcf2)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:12:11 +01:00
Hugo Trippaers 6dabb5b14c Fix the situation where only a gateway and a netmask is passed with the
createNetwork command.(cherry picked from commit f8a22d7520)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:12:02 +01:00
Hugo Trippaers 8c7f663402 Regression, this file should not be in the tree
(cherry picked from commit 6a601ba068)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:11:52 +01:00
Hugo Trippaers 5b8ecdad0b Summary: Fixup usage server for packaging
Make the start method work again with jsvc

Move the usageApplicationContext to resources and add resources to the pom.xml

Remove the old components file

Add mysql-connector as a runtime dependency

Rename the usage package and the files to cloudstack

Change paths to the new proposed locations
(cherry picked from commit 7ce03b4f8e)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:11:42 +01:00
Hugo Trippaers e72fc821b6 Change the package name to cloudstack and configure empty skeletons for the missing packages
(cherry picked from commit 5476391b9f)

Conflicts:
	packaging/centos63/cloud.spec
2013-02-05 21:11:01 +01:00
Hugo Trippaers f91978fee7 Remove the last remnants of the old build system
(cherry picked from commit e138596aa7)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:09:09 +01:00
Hugo Trippaers 5bc9785bf3 Keep naming more or less consistent
(cherry picked from commit 9755d9b4a2)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:08:23 +01:00
Hugo Trippaers 3b8b02c50c Use align phases between the various packages. Not very handy to use a tgz file in the generate-resources phase when it is created in the package phase
(cherry picked from commit 6c034673a8)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:05:42 +01:00
Hugo Trippaers 3f064ace39 Remove yet another test where the database was not properly mocked. FIXME
(cherry picked from commit 0495f5309e)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:05:31 +01:00