Commit Graph

16604 Commits

Author SHA1 Message Date
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
Prachi Damle 15c791d7f5 CLOUDSTACK-2158: 'userconcentratedpod_firstfit failed to find alternate host to run VM
In the applicationContext .xml , the context of the 'UserConcentratedPodPlanner' needs to include the list of allocators.
This will ensure that when this component is loaded by Spring, the allocators gets initialized.
2013-04-26 01:15:05 +01:00
Min Chen 6dbf3e7b35 CLOUDSTACK-2196 and CLOUDSTACK-2126: fix missing async job status in listXXX api and incorrect async job status in other async api. 2013-04-26 00:56:01 +01:00
Chip Childers 3eeaff03ec CLOUDSTACK-2190: Syncing AWSAPI packaging from master to 4.1
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-04-25 17:16:32 +01:00
Nicolas Lamirault 41e6e9f30f CLOUDSTACK-2172: adding database upgrade to 4.1.0 in PremiumDatabaseUpgradeChecker
Add migration to 4.1.0 in the PremiumDatabaseUpgradeChecker, like in the
DatabaseUpgradeChecker.

I opened the ticket CS 2172, and this fix corrects the issue.
Regards.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-04-25 15:14:34 +01:00
Marcus Sorensen 8836c85f2d CLOUDSTACK-2173: Don't do KVM heartbeat on secondary storage sources, primary only
The KVM HA runner uses any NFS secondary storage resource available to a
host to store it's HA data. This causes template deletes to fail because
it cannot delete KVMHA, which is a directory that is not empty. So if
KVMHA directory is found, delete it's contents before trying to delete
it.

Tested with a new 4.1 zone deployment. Verified bug was reproducable
with 4.1 HEAD, applied patch, ran through adding two NFS primary
storages, verified KVM heartbeat was working on them, then ran various
secondary storage operations (register template, download volume, take
snapshot) and verified that they worked, and that KVM heartbeat
operations were NOT acting on them.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-04-25 14:45:42 +01:00
Chip Childers 3be1754626 Revert "Updating pom.xml version numbers for release 4.1.0"
This reverts commit ba7ba61671.
2013-04-23 15:22:01 -04:00
Chip Childers ba7ba61671 Updating pom.xml version numbers for release 4.1.0
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-04-23 15:18:19 -04:00
Chip Childers 9086343703 Correcting variable escape errors in RC script
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-04-23 15:15:55 -04:00
Chip Childers 7e5c6b9330 Ensuring the correct dir
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-04-23 15:06:27 -04:00
Chip Childers e3af51bfc5 Revert "Updating pom.xml version numbers for release 4.1.0"
This reverts commit 88098e0c81.
2013-04-23 14:58:55 -04:00