Commit Graph

16614 Commits

Author SHA1 Message Date
Chip Childers bf8b09834f CLOUDSTACK-2516: Documenting the required components.xml change to deal
with the authenticator behavior changes in 4.1
2013-05-22 12:01:58 -04:00
Chip Childers c24edb0490 Corrected mailing list addresses in the release notes 2013-05-22 11:50:51 -04:00
Hugo Trippaers 79fd49c181 Update the Logical Router NatRules to be compatible with the NVP 3.x.x
platform

Use the Gson adapters to serialize/deserialize the NatRules

Switch the NiciraNvpApi to a single gson Object with the proper adapters

Fix missing order setting for static nat rules and portforwarding rules

Return an error when a port range is passed in a portforwarding rule

The serializer is not required

Fix a bug where an ip address could be released even if it was still in
use for SourceNat

Throw a json parse exception when the type is unknown to the adapter
2013-05-22 14:39:52 +01:00
Wido den Hollander 8a9206fd28 debian: Correction for packaging AWSAPI 2013-05-21 11:07:49 +02:00
Prasanna Santhanam 8ea1601bd3 CLOUDSTACK-2554: CloudStack fails to load XCP 1.6 hypervisors
Missing default constructor fails the agent manager reloading the XCP
resource on reboot of management server. This is fixed by using the
default constructor as do other Xen resources and include a new resource
ala XenServers for XCP1.6.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 806aeb990d)

Conflicts:
	plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpServerResource.java

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-20 19:50:38 +01:00
Wido den Hollander 61e871136a Better parse domain XMLs so network devices can be detached as well 2013-05-20 18:54:59 +01:00
Wido den Hollander e08dd76b3e rbd: Allow RBD disks to be attached to a Instance 2013-05-20 18:54:34 +01:00
Emerson Pinter 08a3023824 debian: fix build of cloudstack-awsapi package
The debian package cloudstack-awsapi is being built empty. This patch
adds the required files to the package and a symlink for webapps/awsapi so the awsapi can
be found by tomcat, without change in configuration.
2013-05-20 16:35:51 +01:00
Wei Zhou 1a83bf4b44 CLOUDSTACK-2545: Change unit of network statistics from 1000 to 1024 for KVM
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-16 22:07:03 +01:00
Kishan Kavala 3dc916a328 CLOUDSTACK-2516: Added PlainText to Authenticator list for backward compatibility 2013-05-16 21:56:46 +01:00
Chiradeep Vittal 2fdeee4de7 CLOUDSTACK-2492: enable time sync on vmware if ntp is not installed 2013-05-16 18:18:45 +01:00
Marcus Sorensen c7ebcb4e8c Summary: Use hypervisor as clock source for system vms
BUG-ID: CLOUDSTACK-2492
Bugfix-for: 4.1,master
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1368635782 -0600
2013-05-15 19:36:41 +01:00
Wei Zhou aed9a623d8 CLOUDSTACK-685: This is the additional patch for CLOUDSTACK-685 (and
CLOUDSTACK-721 as well) after this commit
https://git-wip-us.apache.org/repos/asf/cloudstack/repo?p=cloudstack.git;a=commit;h=cd7f7716155c3cd2d29b97d7ea302518d81fdfab

PrepareStop part in VirtualNetworkApplianceImpl.java need to be changed
as well.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-15 15:54:51 +01:00
Wei Zhou e6af3bf112 CLOUDSTACK-962: Because of the same reason to this (CLOUDSTACK-685)
https://reviews.apache.org/r/11157/

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-15 15:54:03 +01:00
Wido den Hollander 48fc5c886e CLOUDSTACK-2515: Verify if the targetPath isn't null before comparing 2013-05-15 14:54:51 +01:00
Brian Federle 39491fe754 CLOUDSTACK-2463: 4.1 zone wizard: disable SG option for advanced zones
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-14 21:50:22 +01:00
Hugo Trippaers 391bc01a16 CLOUDSTACK-2440 Print a warning if the rpm can't determine the previous configuration for server.xml or tomcat.conf 2013-05-14 12:02:45 +02:00
Gavin Lee 443534dc72 typo when yum install, ws-common-utils should be ws-commons-util 2013-05-14 08:56:01 +01:00
Wei Zhou 5ccdf7dc4a CLOUDSTACK-528: Correct a bunch of mistakes in the 3.0.x to 4.0 db
script
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-13 16:50:29 +01:00
Hugo Trippaers 1508ef98f0 CLOUDSTACK-2440 RedHat (CentOS) expects a directory with the name of the service to store initd.log 2013-05-13 16:26:00 +01:00
Chip Childers 64d13f7e33 CLOUDSTACK-2218: Remove applicationContext.xml from the awsapi
installation logic for DEB

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-13 16:23:38 +01:00
Chip Childers a86e53d187 Merge branch '4.1' of https://git-wip-us.apache.org/repos/asf/cloudstack into 4.1 2013-05-11 18:26:41 +01:00
Kishan Kavala a3b5980510 CLOUDSTACK-2309: Add fix to handle Vmware 4.0 template upgrade 2013-05-11 18:26:11 +01:00
Milamber 840bf2eda4 Documentation - replace cloud-(management|usage|agent) by cloudstack-(management|usage|agent), and some typo 2013-05-10 19:54:26 +01:00
Milamber 1cef9a45b6 CLOUDSTACK-2413 - Display the Name of compute offering in dialog box Change Service Offering (was Description field before) 2013-05-09 11:10:27 +01:00
Edison Su 63630a412f CLOUDSTACK-1907: Debian Squeeze 6.0 (64-bit) is not experimental any more 2013-05-08 19:49:31 +01:00
Wei Zhou e85c0a965a CLOUDSTACK-2318: update volumes.path to fix stop/start vm error after
upgrade from 2.2.14 to 3.0.0

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-08 17:44:46 +01:00
Hiroaki KAWAI 95de7ea69b Fix typo
Reported by Soheil Eizadi <seizadi@infoblox.com>
at dev@cloudstack.apache.org
2013-05-08 10:31:40 +09:00
Wei Zhou b02bbc841e CLOUDSTACK-2319: fix "unable to add egress rules" in SecurityGroup
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-06 20:57:02 +01:00
Wei Zhou 18f0f721d0 CLOUDSTACK-2322: update network.gateway to fix deployVm error on
SharedNetwork after ipv6 support

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-06 20:56:06 +01:00
Sebastien Goasguen 7c04f37c53 CLOUDSTACK-2339: Adding libcloud example 2013-05-06 05:35:58 -04:00
Sebastien Goasguen 7691a899b1 CLOUDSTACK-2338: Adding example of how to sign api requests in python 2013-05-06 05:35:19 -04:00
Wei Zhou 4dbeefcc0d CLOUDSTACK-2303: upgrade failed from 2.2.14 to 4.1.0 - part2
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-03 16:01:44 +01:00
Sheng Yang fcab1e3f18 Fix rat
exclude dnsmasq.conf.tmpl
2013-05-03 15:48:49 +01:00
Sheng Yang 7686489c13 CLOUDSTACK-2044: Use dnsmasq.conf.tmpl to generate dnsmasq.conf
We add something like dhcp-range_ip4/ip6 in the template for implementing
different setups.
2013-05-03 15:48:40 +01:00
Wei Zhou 4640fbf36d CLOUDSTACK-2303: fix upgrade failed from 2.2.14 to 4.1.0 for systemvm changes
The version of systemvm of 3.* and 4.0.* is systemvm-kvm-3.0.0.(from
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/pdf/Release_Notes/Apache_CloudStack-4.0.2-Release_Notes-en-US.pdf)
However, on cloudstack 4.1.0, the systemvm version is 4.1.0. (from
http://dissociatedpress.net/uploads/Apache_CloudStack-4.1.0-Release_Notes-en-US.pdf)
so the upgrade processing from 2.2.14 to 4.1.0 will abort at
updateSystemVms in Upgrade2214to30.java.

Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-05-02 13:10:28 -04:00
Marcus Sorensen 448ebd71af CLOUDSTACK-2110 : allow vm to have multiple dhcp entries on same router
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1367439056 -0600
2013-05-02 15:18:11 +01:00
Kelven Yang c2457b5288 CLOUDSTACK-2194: Fix ApiServer component initialization sequence 2013-04-30 18:44:07 +01:00
Marcus Sorensen 75832c893b CLOUDSTACK-2281: Fix NPE in the planner, in the case that pool ID cannot be looked up in database when deploying a VM
This fixes a null pointer if selected pool on which to deploy is unable
to be looked up via id. Used the same coding style found in the original
code (large if/else block).

If this is accepted, I'll fix master too. This patch doesn't apply
cleanly, but the code is very similar.

Testing:

Fixed broken system, tested against devcloud to ensure that it didn't
break a stock/fresh install (advanced zone with 3 storage pools).
Restarted VMs to ensure that the planner still functioned that way as
well.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-04-30 15:19:30 +01:00
Chip Childers 7d877cea8a Adding tools/transifex/.tx/config to the rat exclude list
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-04-29 16:56:37 -04:00
Marcus Sorensen c7f43d8d69 Look for null pointer on account id before trying to update usage when releasing
an IP. This seems to be possible if expunge fails at some point after freeing
an IP, on subsequent expunge tries the IP is freed already and gets null pointer
when looking for account id.

BUG-ID: CLOUDSTACK-2279
Bugfix-for: 4.1,4.2
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1367251304 -0600
2013-04-29 17:24:15 +01:00
Chip Childers 06371babe8 CLOUDSTACK-2207: Correcting the release notes to include the correct system VM template numbers for 2.x and 3.x to 4.1 upgrade instructions
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-04-29 12:21:43 -04:00
Milamber 2dc278e986 Update l10n resource file Web-UI with latest version from transifex. 2013-04-29 16:23:19 +01:00
Milamber a94433cdc0 Needs to force the download of l10n resource files 2013-04-29 16:18:55 +01:00
Sebastien Goasguen 09044f2713 Adding arabic keys to properties file 2013-04-29 10:42:17 -04:00
Milamber 9ac03ffe07 CLOUDSTACK-2138 - backport automate script to sync L10N resource files CS repo/transifex. First sync (upload source lang / download L10N resource files) 2013-04-29 15:36:26 +01:00
Chip Childers 29be94f3ba Revert "Updating pom.xml version numbers for release 4.1.0"
This reverts commit 9d8c8f2042.
2013-04-26 15:14:00 -04:00
Chip Childers 9d8c8f2042 Updating pom.xml version numbers for release 4.1.0
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-04-26 15:09:47 -04:00
Edison Su 457e85922b CLOUDSTACK-2194: Defer ApiDiscoveryServiceImpl load after db upgrade
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-04-26 19:52:56 +01:00
Marcus Sorensen 2aeb46072c CLOUDSTACK-2195: Don't return a UserVM object if we fail to stop vm
pass back null if we fail to connect to agent or stop the vm, rather
than something that looks like success to the stopVirtualMachine api
command.

Testing:

Applied to 4.1 branch, attempted to stop VM with KVM agent disconnected,
finally saw it fail. The logs also showed why, which is good:

2013-04-25 17:37:09,933 ERROR [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-1:job-44) Unable to stop vm, agent unavailable:
com.cloud.exception.AgentUnavailableException: Resource [Host:1] is
unreachable: Host 1: Host with specified id is not in the right state:
Disconnected

Started the KVM agent, and stopping succeeded.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-04-26 17:25:52 +01:00