12859 Commits

Author SHA1 Message Date
Alena Prokharchyk
7d406bf3d1 Added missing action events for enable/disable static nat 2012-07-26 15:28:50 -07:00
Brian Federle
a440c1fbf5 Move position of VPC tier loading icon 2012-07-26 15:24:22 -07:00
Brian Federle
21290ef8f1 Networks section: Only show VPC dropdown for Advanced zones 2012-07-26 15:22:03 -07:00
Brian Federle
ae45ed65c6 VPC tier UI: Fix loading state for other actions
Fix actions other than the add VM action, whose loading state was
never removed
2012-07-26 14:41:37 -07:00
Brian Federle
1ba451b65f VPC UI: Better launch VM loading state for tiers
When launching a VM via the 'add VM' button on a VPC tier, show
loading icon to the side of the VM count, so that the tier area isn't
blocked, allowing the user to add more VMs or do other actions to the
tier.
2012-07-26 14:33:14 -07:00
Wido den Hollander
bf2e3d6ae1 setup: Initiate SQL upgrade file from 3.0.3 to 4.0.0
This only adds the user_info column to the storage_pool table, but we'll probably have more SQL changes coming up.

They can all go into this file.
2012-07-26 23:03:34 +02:00
Alena Prokharchyk
3f4b7602f4 CS-15628: ip address id is required by createFirewallRule command 2012-07-26 13:36:35 -07:00
Wido den Hollander
406fd95d87 Add RBD support for primary storage
This patch adds RBD (RADOS Block Device) support for primary storage in combination with KVM.

To get this patch working you need:
- libvirt-java 0.4.8
- libvirt with RBD storage pool support (>0.9.13)
- Qemu with RBD support (>0.14)

The primary storage does not support all the functions of CloudStack yet, for example snapshotting is disabled
due to the fact that backupping up a RBD snapshot is not possible in the way CloudStack wants to do it.

Creating templates from RBD volumes goes well, creating a VM from a template however is still a hit-and-miss.

NFS primary storage is also still required, you are not able to run your System VM's from RBD, they will need
to run on NFS.

Other then these points you can run instances with RBD backed disks.
2012-07-26 22:22:26 +02:00
Edison Su
764678f558 CS-15521 Xenserver based User VM failed to HA when vrouter runs on ESXi
return false as an answer when executing PingTestCommand in
VMwareResource
RB:https://reviews.apache.org/r/5903/
Send-by: mice_xia@tcloudcomputing.com
2012-07-26 10:43:33 -07:00
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
chip.childers@gmail.com
ff71dd0525 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-07-26 09:16:07 -04:00
Sheng Yang
522bdf8163 S2S VPN: Fix incorrect conn returned by resetVpnConnection cmd 2012-07-25 19:27:16 -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
Alena Prokharchyk
6420ecbd6f Merge branch 'master' into vpc
Conflicts:
	server/src/com/cloud/server/ManagementServerImpl.java
2012-07-24 16:13:06 -07:00
Alena Prokharchyk
119e4e7443 VPC: CS-15681 - execute VPC related methods only when router is a vpc router
Conflicts:

	server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java
2012-07-24 16:12:13 -07:00
Pranav Saxena
12ee8810f6 TAGS feature implementation throughout CloudStack UI 2012-07-24 15:36:43 -07:00
Brian Federle
71fddd0957 Fix sprite sheet, which was out of date 2012-07-24 15:35:18 -07:00
Brian Federle
e626291a34 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:57 -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
8683fc4e05 Add tag UI support for VPC resource types:
-        Vpc,
-        NetworkACL,
-        StaticRoute
2012-07-24 15:26:59 -07:00
Brian Federle
5126ca95e6 Add tags to FW rule multi-edit 2012-07-24 15:26:27 -07:00
Brian Federle
bdc376d42f Fix tagger UI wrapping in some browsers 2012-07-24 15:26:17 -07:00
Brian Federle
f01f687601 Fix tag widget being appended to all dialogs 2012-07-24 15:26:09 -07:00
Brian Federle
c839cf68a6 Add tags to edit PF dialog 2012-07-24 15:25:57 -07:00
Brian Federle
87f0ec6796 Fix tag notification messages 2012-07-24 15:25:57 -07:00
Brian Federle
a59afac31f Add tag edit to LB rule 2012-07-24 15:25:57 -07:00
Brian Federle
c5dc569aaa multiEdit: Pass context to tagger widget 2012-07-24 15:25:56 -07:00
Brian Federle
e97c47b9ae Always make tags editable 2012-07-24 15:25:56 -07:00
Brian Federle
2fdf6837ec Pass projectId to listTags, when viewing a project resource 2012-07-24 15:25:13 -07:00
bfederle
ea35f48d7e Implement tags for project detail view 2012-07-24 15:23:58 -07:00