Commit Graph

15930 Commits

Author SHA1 Message Date
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
Hugo Trippaers
ed4dbb4104 We don't need logs in out source tree
(cherry picked from commit e04d8f3fcf)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:05:20 +01:00
Marcus Sorensen
77d65b3e08 Summary: Disallow shrinking volume type QCOW2 to fail with better message
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360093176 -0700
2013-02-05 12:41:20 -07:00
Marcus Sorensen
35f7ac307a Summary: resizeVolume needs to be available in UI
Detail: Adds UI element for resizing a volume

BUG-ID: CLOUDSTACK-644
Reported-by: hongtu_zang@tcloudcomputing.com
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360091087 -0700
2013-02-05 12:08:18 -07:00
Marcus Sorensen
7ceea3aa3b Summary: Fix improper variable assignment in resizevolume.sh (remove $)
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360089640 -0700
2013-02-05 11:41:52 -07:00
Prasanna Santhanam
90da9abacb CLOUDSTACK-1160: remove refs to invalid ACS release
@since tag in API cmd /responses has been given an invalid ACS release
version. This fix removes these references.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-02-05 20:57:17 +05:30
Jessica Tomechak
dbd9d080ec Docs. Remove redundant inclusion of add-security-group.xml, which was breaking the docs build. 2013-02-05 05:41:01 -08:00
Jessica Tomechak
e6e09eb230 Docs. Fix broken hyperlink to Creating Network Offerings. Add the section to the book, and add conditional cross-references so it will build in either book (admin or install). This section was already in the repo, but was not previously included in any book. Also removes stray reference to obsolete software version number 3.0.3 in the Creating Network Offerings section. 2013-02-05 05:40:59 -08:00
Jessica Tomechak
aca52b1a9f Docs. Fix broken hyperlink. 2013-02-05 05:40:57 -08:00
Jessica Tomechak
ff43afc226 Docs. Change software version number in book title pages to 4.1. 2013-02-05 05:40:56 -08:00
Jessica Tomechak
dc9c4d919d Docs. CLOUDSTACK-1152. Restore second half of paragraph which was deleted in error. 2013-02-05 05:40:54 -08:00
Kishan Kavala
cffa45f710 CLOUDSTACK-1154: Added @Component annotation to RegionServiceImpl and RegionManagerImpl 2013-02-05 17:17:13 +05:30
Kishan Kavala
7970384f6e CLOUDSTACK-786, CLOUDSTACK-1014: Moved usage APIs to cloud-api. Removed ManagementServerExt. Usage API related implementation is added to UsageServiceImpl 2013-02-05 16:43:40 +05:30