Commit Graph

12340 Commits

Author SHA1 Message Date
Edison Su 50ffa95f63 ifix CS-15609 Volumes can be created as a part of VM creation when
un-allocated space is insufficient on primary storage

check the availability of un-allocated primary storage space during
planning stage, for multiple-volume VM creation scenario
modification in StorageManagerImpl.java and StorageManager.java:
add a new method storagePoolHasEnoughSpace(List<Volumes>, StoragePool),
check if storagePool has enough space for all requested volumes
modification in FirstfitPlanner.findPotentialDeploymentResources:
handle multiple volume case, keep track of allocated volumes for pools
and call storagePoolHasEnoughSpace to check space availability
modification in AbstractStoragePoolAllocator.java:
extract capacity computation logic and make a new method in
StorageManagerImpl

RB: https://reviews.apache.org/r/6028/
Send-by: mice_xia@tcloudcomputing.com
2012-07-26 10:10:18 -07:00
Alena Prokharchyk 58a9b94dfb Fixed listNetworks by domainId/aclType=Domain 2012-07-25 14:50:56 -07:00
David Nalley 8b1f7bcdc6 updating announce template 2012-07-25 17:46:46 -04:00
Wido den Hollander 216a44882e waf: Generate sccs-info file
This has been broken for a long time right now, this is a quick fix to get the generation working again.

This enables us to build the Debian packages again with:

$ dpkg-buildpackage

WAF still needs to go though :)
2012-07-25 23:09:32 +02:00
Wido den Hollander 8ddb6272fa debian: Do not include the runners
Agent and Usage no longer use these runners as they run with JSVC
2012-07-25 23:09:10 +02:00
Edison Su f497c7c031 Bug: HA takes a lot of time to migrate VMs (trigger HA) to another KVM
host if there are multiple storage pools in a cluster.

The issue is as follows:
1. When CloudStack detects that a host is not responding to ping
requests it'll send a fence command for this host to another host in the
cluster.
2. The agent takes a long time to respond to this check if the storage
is fenced. This is because the agent checks if the first host is writing
to its heartbeat file on all pools in the cluster. It is doing this in a
sequential manner on all storage pool.

Making a fix to get rid of sleep, wait during HA. The behavior is now
similar to Xenserver.

RB: https://reviews.apache.org/r/6133/
Send-by:devdeep.singh@citrix.com
2012-07-25 10:17:09 -07:00
Pranav Saxena 3fedd56adb CS-12707: UI/API - templates> select view: ISOs filter by: featured or mine> provides unending pages of 2 ISO entries, DB contains only 19 ISO entrie- reviewed by Alena 2012-07-25 22:05:24 +05:30
Wido den Hollander b6b2dc7840 build: Remove some last traces of daemonize 2012-07-25 17:15:28 +02:00
Wido den Hollander ae60cd7b87 init: log_process_msg doesn't work, so use log_daemon_msg for that.
We also exit earlier, we don't display that we are even trying to start.

When we detect the agent is already running we exit right away with a message.
2012-07-25 14:56:30 +02:00
Wido den Hollander 61f38ba1b3 debian: Bump the changelog version
Although this master branch doesn't contain 3.0.2 since we moved passed that
it didn't feel apprioriate to bump the version to 4.0.0 (yet).

This file should be updated to 4.0.0 at the point where we release 4.0
2012-07-25 14:54:25 +02:00
Wido den Hollander de285bd9c8 debian: Update a couple of descriptions for the management server 2012-07-25 14:52:29 +02:00
Wido den Hollander b00f7cc983 debian: Update dependencies
No need for these packages to depend on any cloud-agent package.

If they need files from this packages, then we need to move those files.

The client/management server should never depend on agent packages.
2012-07-25 14:50:37 +02:00
Wido den Hollander 672ceed87d debian: Description update for a couple of packages 2012-07-25 14:48:38 +02:00
Wido den Hollander 0f6150b8b3 debian: Depend on lsb-base package
The init script uses LSB, so we need to depend on that
2012-07-25 14:44:53 +02:00
Wido den Hollander 4d9dd94b53 init: LSB compliant init script
With LSB there is no need for having different init script for different distributions.

This init script should be fully LSB compliant and should work on all Linux platforms we support.

RHEL, (Open)SUSE, Debian and Ubuntu all support at least LSB 3.1
2012-07-25 14:08:41 +02:00
Salvatore Orlando 7b18b72eca CS-15664 There is a typo in component.xml relating to Nicira NVP Integration 2012-07-25 15:14:40 +05:30
olgasmola f090fdeea7 CS-15292: Split long OS Type list when create Template,ISO. 2012-07-25 12:05:05 +03:00
olgasmola 1075344f03 CS-15353: Larger click boxes in UI. 2012-07-25 11:54:45 +03:00
olgasmola 2b1758b233 CS-15391: Add required fields validation when Edit on the Details tab for Infrastructure/Zones, Infrastructure/Pods. 2012-07-25 11:48:25 +03:00
olgasmola 63f6308f03 CS-15393: Scroll bar fix when any point is selected. 2012-07-25 11:41:02 +03:00
olgasmola 85a13dfe1a CS-15478: UI cosmetic fix for empty buttons/viewAll section. 2012-07-25 11:33:35 +03:00
olgasmola dc19c86fde CS-15533: Add instance/Review tab fix empty value. 2012-07-25 10:42:43 +03:00
Brian Federle 71fddd0957 Fix sprite sheet, which was out of date 2012-07-24 15:35:18 -07:00
Brian Federle d7d9b341c8 Notifications widget: support custom interval
If 'interval' attribute is passed in notification object, use that
interval instead of the default.

Conflicts:
	ui/scripts/ui/widgets/notifications.js
2012-07-24 15:30:47 -07:00
Brian Federle 003c62583c Add tags to FW rule multi-edit 2012-07-24 15:22:37 -07:00
Brian Federle 50322b4762 Fix tagger UI wrapping in some browsers 2012-07-24 15:22:37 -07:00
David Nalley 3129d0c8e5 adding jsvc as a dependency in the spec file 2012-07-24 18:11:18 -04:00
Pranav Saxena ab6ef4bceb TAGS feature implementation throughout CloudStack UI 2012-07-24 15:07:43 -07:00
Brian Federle 2ec005c628 Fix tag widget being appended to all dialogs 2012-07-24 15:05:30 -07:00
Edison Su e5f0799b7a CS-15048: Log rotation functionality in system VMs is broken resuting in
100% of disk space getting consumed.
RB: https://reviews.apache.org/r/5907/
Send-by: saksham.srivastava@citrix.com
2012-07-24 15:04:42 -07:00
Wido den Hollander fb16545510 Fix include location for the SUSE init script. 2012-07-25 00:02:42 +02:00
Wido den Hollander 5c5a4e3a10 Modify the other Agent init scripts so they use JSVC as well 2012-07-24 23:59:37 +02:00
Wido den Hollander 8dfaa76d87 Fix for the Ubuntu Agent init script.
The last commit didn't use some tokens, revert that
2012-07-24 23:56:08 +02:00
Edison Su b7d4e54317 Using the CloudApi didn't work as parms and self were passed on as part
of the request. Making parms a copy of the locals() dict will prevent it
from being changed later on.
RB: https://reviews.apache.org/r/5828/
Send-by: htrippaers@schubergphilis.com
2012-07-24 14:07:07 -07:00
Edison Su 576d093e9c fix CS-15432 Failed to detach VMware tools ISO after VMware tools
installation
RB: https://reviews.apache.org/r/5738/
Send-by: mice_xia@tcloudcomputing.com
2012-07-24 13:44:55 -07:00
David Nalley 71050bb37f Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-07-24 15:50:52 -04:00
Hugo Trippaers 766a17b3ef Typo in components.xml.in 2012-07-24 15:47:40 -04:00
Alena Prokharchyk 7d0338bd82 listPublicIpAddresses: when do join with nics table, count only non-removed nics
Conflicts:

	server/src/com/cloud/server/ManagementServerImpl.java
2012-07-24 12:42:46 -07:00
Brian Federle a924eb196f Fix tag notification messages 2012-07-24 12:24:25 -07:00
Brian Federle 06101ea27e Add tags to edit PF dialog 2012-07-24 12:24:25 -07:00
Brian Federle 17ac3a7e3e Add tag edit to LB rule 2012-07-24 12:24:24 -07:00
Brian Federle 53cc0a953d multiEdit: Pass context to tagger widget 2012-07-24 12:24:11 -07:00
Brian Federle 874536a768 Always make tags editable 2012-07-24 12:24:05 -07:00
Brian Federle 7a2be05c24 Pass projectId to listTags, when viewing a project resource 2012-07-24 12:23:57 -07:00
bfederle 8e1b8d1f56 Implement tags for project detail view 2012-07-24 12:23:45 -07:00
Brian Federle e13a7a8387 Revert "CS-15572 : StartIndex handled incorrectly when switching between the various Filter by options while listing ISOs in the UI"
This was reverted, as another commit fixed the issue already:

commit 2b2e491f27
Author: bfederle <bfederle@gmail.com>
Date:   Tue Jul 17 11:38:56 2012 -0700

    CS-15572: Fix page index for list view filters

This reverts commit 374be31b63.
2012-07-24 11:56:11 -07:00
Pranav Saxena 5ba20b328d Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-07-25 00:06:39 +05:30
Wido den Hollander a1d53f288b libvirt: Replace the libvirt bindings with upstream 0.4.8
Although these bindings have to be removed for the first Apache release
we place the upstream JAR here.

The 0.4.5 bindings were homebrew and contained own code which wasn't sent upstream.

These changes were sent upstream and got into 0.4.8.

For now we keep  the 0.4.8 bindings in the repo until we have a new build system in place
which handles this.

This is still however a release blocker since we can't distribute these bindings from the Apache servers!
2012-07-24 20:11:18 +02:00
Wido den Hollander eab3e4783e Remove cloud-daemonize and use JSVC
We now use JSVC for daemonizing our agent and usage server.
2012-07-24 19:32:39 +02:00
Alena Prokharchyk c99b1d104a Fixed broken unittest 2012-07-24 10:30:39 -07:00