13986 Commits

Author SHA1 Message Date
Chip Childers
578bca08cb Dropping .zip archive format from the source build
This is due to the nature of ASF release votes,
and the desire to see each individual artifact be tested.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-10-12 11:08:12 -04:00
Hugo Trippaers
c07d6d28ee Merge branch 'nicira-l3support'
This commit merges the nicira-l3support branch with master. This
effectively adds nicira nvp l3 support to master. The NiciraNVP Provider
can support the following services with this modification: Connectivity,
SourceNat, StaticNat and PortForwarding

Testing done:
Create, Delete network offerings with Nicira Element
Use Gui to add, modify, remove Nicira Element and Provider
Provision, deprovision SourceNat networks
Provision, deprovision Portforwarding and StaticNat rules

Tested with Nicira NVP release 2.1.0, 2.2.0 and 2.2.1 (2.2.x recommended)
2012-10-12 14:15:17 +02:00
Prasanna Santhanam
c86c5d2cc0 Uniting all the READMEs from tools and test
There are various READMEs under Cloudstack. This makes it confusing for
finding the purpose of each directory and tool within the project. All
the necessary information can now be found in the top-level README.tools
that is markdown editable. For the most updated information however it
is best to provide a wiki link to the tool you have added. Each tool
lies in a seperate section, please keep formatting unchanged.
2012-10-12 17:01:20 +05:30
Prasanna Santhanam
780468659f uniting the READMEs
Many READMEs spread over the integration and marvin test related
information can now be found in the single top-level directory
2012-10-12 16:07:03 +05:30
Hugo Trippaers
51f9a98871 Check all TODO and FIXME tasks 2012-10-12 12:02:54 +02:00
Hugo Trippaers
ab8ba3d61d Implement the portforwarding code in the resource
Fix a small naming typo
2012-10-12 11:57:27 +02:00
Prasanna Santhanam
d1e260032f Python style error because of extraneous characters
Presence of Non-ASCII characters caused compilation errors.
2012-10-12 15:27:13 +05:30
Edison Su
513b680d96 CLOUDSTACK-316: if public network is not specified, set to guest network 2012-10-11 16:46:23 -07:00
Jessica Wang
e73cbfe6a9 CS-16344: cloudstack UI - multiEdit widget - remove isOptional property, isDisabled property from field level since they are supposed to be on field.range level. 2012-10-11 14:07:03 -07:00
Chip Childers
fde4fee5d7 Edited release notes to refer to 4.0 as 4.0.0-incubating. 2012-10-11 16:55:31 -04:00
Radhika PC
713599723b Fix for CLOUDSTACK-302 (New Features Are Added to ReleaseNotes)
Added the following new features to ASFCS 4.0 Release Note:
CLVM support reappeared for KVM
RBD support for KVM
Nicira NVP support
Caringo object storage support

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-10-11 16:50:53 -04:00
Brian Federle
ea934c1a02 Update advanced search styling
- Add cancel button

- Move search buttons to the right
2012-10-11 13:27:07 -07:00
Ilya Musayev, CloudSand.com
77ba46e322 CLOUDSTACK-321: Fixed a bug in cloud-set-guest-*.in
Fixed a bug in cloud-set-guest-sshkey.in to properly check the
SSHKEY_SERVER_IP variable
2012-10-12 01:20:15 +05:30
Brian Federle
44996d4611 Style advanced search
-Convert advanced search to a drop-down that overlaps the standard
 search when visible

-Add new arrow icon to show advanced search popup
2012-10-11 12:13:55 -07:00
Edison Su
2c2afda062 jetty:run should use ${project.build.directory}/${project.build.finalName} directory 2012-10-11 12:08:28 -07:00
Hugo Trippaers
553a72047f Implement static nat handling 2012-10-11 18:13:47 +02:00
Rohit Yadav
6dd5c3fd42 CLOUDSTACK-70: Improve restart network behaviour for basic network
If cleanup=true, network elements and resources are shutdown and
reimplemented. Else, shutdown/reimplementation is skipped. Enabled
cleanup checkbox in CS UI.

For both cases, VRs are only deployed for Pods with no running
or starting VRs and Pods having running or starting user vms.

New DAO helpers introduced:
HostPodDao: listByDataCenterIdVMTypeAndStates
DomainRouterDao: listByPodId and listByPodIdAndStates
VMInstanceDao: listByPodId and corrected definition of listByTypeAndState

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-11 19:33:26 +05:30
David Nalley
eac941d590 fixing license header for test_allocation_states.py CLOUDSTACK-314 2012-10-11 08:05:41 -04:00
Rohit Yadav
16fa74b729 Revert "core: Comment testSourceDirectory in pom.xml to fix build"
Had unclean git repo, from switching between 4.0 and master.
This reverts commit c3f9a9b748dba73f0f02a8f93f7c80300b50d6d5.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-11 17:12:20 +05:30
Rohit Yadav
c3f9a9b748 core: Comment testSourceDirectory in pom.xml to fix build
A clean build is breaking due to testSourceDirectory being enabled. The
tests in core/test/com/cloud/hypervisor/vmware/ depend on vmware nonoss
libs and utils's test classes.

The issue here is that core's test classes depend on utils's test
classes.

Commenting testSourceDirectory for now.

The following patch should be added when this issue is fixed, only if
VMWare related tests are moved from core/test:

+  <profiles>
+    <profile>
+      <id>vmware</id>
+      <activation>
+        <property>
+          <name>nonoss</name>
+        </property>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>com.cloud.com.vmware</groupId>
+          <artifactId>vmware-vim</artifactId>
+          <version>1.0</version>
+          <scope>provided</scope>
+        </dependency>
+        <dependency>
+          <groupId>com.cloud.com.vmware</groupId>
+          <artifactId>vmware-vim25</artifactId>
+          <version>1.0</version>
+          <scope>provided</scope>
+        </dependency>
+        <dependency>
+          <groupId>com.cloud.com.vmware</groupId>
+          <artifactId>vmware-apputils</artifactId>
+          <version>1.0</version>
+          <scope>provided</scope>
+        </dependency>
+        <dependency>
+          <groupId>com.cloud.com.vmware</groupId>
+          <artifactId>vmware-lib-jaxrpc</artifactId>
+          <version>1.0</version>
+          <scope>runtime</scope>
+        </dependency>
+        <dependency>
+          <groupId>org.apache.cloudstack</groupId>
+          <artifactId>cloud-plugin-hypervisor-vmware</artifactId>
+          <version>${project.version}</version>
+          <exclusions>
+            <exclusion>
+              <groupId>org.apache.cloudstack</groupId>
+              <artifactId>cloud-core</artifactId>
+            </exclusion>
+         </exclusions>
+        </dependency>
+     </dependencies>
+    </profile>
+  </profiles>

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-11 15:47:36 +05:30
Rohit Yadav
2e6ddc6c36 install-non-oss: mvn install file vmware-lib-jaxrpc.jar
installing nonoss libs to ~/.m2 should include vmware-lib-jaxrpc jar

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-11 15:03:34 +05:30
Rohit Yadav
e528ef0377 patches: add nonoss profile
Add nonoss profile, and dependency vmware-base and plugin-hypervisor-vmware

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-11 14:40:38 +05:30
Rohit Yadav
32f4257416 awsapi: Fix axiom-impl duplicate dependency
Maven warns that we're duplicate dependency block for axiom-impl.
Patch rename one of the axiom-impl dependencies to axiom-api

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-11 13:56:14 +05:30
Edison Su
ac97d67528 add nonoss maven build 2012-10-11 01:15:52 -07:00
Edison Su
06d516a80c if db.properties.override missing, shouldn't panic 2012-10-10 16:20:35 -07:00
Alena Prokharchyk
339aa41442 CLOUDSTACK-304: Synchronization support for createSnapshot command - don't sent more than "concurrent.snapshots.threshold.perhost" createSnapshots commands to the backend host.
Conflicts:

	core/src/com/cloud/async/AsyncJobVO.java
	core/src/com/cloud/async/SyncQueueVO.java
	server/src/com/cloud/api/ApiDispatcher.java
	server/src/com/cloud/api/ApiServer.java
	server/src/com/cloud/async/AsyncJobManagerImpl.java
	server/src/com/cloud/async/SyncQueueManager.java
	server/src/com/cloud/async/SyncQueueManagerImpl.java
	server/src/com/cloud/async/dao/SyncQueueDao.java
	server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java
	server/test/com/cloud/async/TestSyncQueueManager.java
	setup/db/create-schema.sql
2012-10-10 13:40:00 -07:00
Alena Prokharchyk
c36744a18c Fixed deployVR - used to fail in case when system.vm.default.hypervisor was set to not NULL value 2012-10-10 13:05:39 -07:00
Jessica Wang
ad280bd174 CLOUDSTACK-228: cloudstack UI - host page - hide Force Reconnect option when host state is Disconnected. 2012-10-10 12:40:39 -07:00
Brian Federle
65a526fa54 Quick view: fix for dialog actions
In some cases, clicking out of an overlayed dialog will cause an open
quick view to become stuck. This fixes via a new class 'hovered-elem'
which, when attached to any DOM element, will have its 'mouseleave'
triggered once the dialog is closed.
2012-10-10 11:18:03 -07:00
Brian Federle
33da9cb1e2 Container/list view: Fix for floating elements
Fix for cases where floating elements are cut off, such as quickview
and tooltips attached to the container. This makes overflow visible.
2012-10-10 11:18:02 -07:00
Brian Federle
991557bfb6 UI: Add quick view to table list
For any list view that has a corresponding detail view, adds a tooltip
to display the compact overview of the detail view contents, including
all available actions. This avoids a user from having to click into a
new panel to see more details and actions for an item.

This will happen automatically for any list view with a 'detailView'
sub-option, and will append a new column to the end of each item
row. If 'noCompact: true' is specified in the detailView's options,
then the quick view will not be rendered.

** Note: This also removes the existing list actions for the instances
         and zones tables.

Example, to show a quick view:

listView: {
  detailView: {
    // Specify noCompact: true to not render a quick view
    //
    // noCompact: true
    ...
  },
  ...
}

Conflicts:
	ui/scripts/ui/widgets/detailView.js
2012-10-10 11:18:02 -07:00
Mice Xia
a5edef06c9 CLOUDSTACK-256 vpn:As an admin user , not able to delete VPN user which is present in a regular user's network. 2012-10-10 13:43:30 +08:00
Chip Childers
7de6992fa2 Removed build instructions from README, because they are referenced in INSTALL
Conflicts:

	README.md
2012-10-10 00:15:58 -04:00
Chip Childers
724cd6868c Added legal docs for axis2-codegen-1.4.1.jar 2012-10-09 23:14:39 -04:00
Chip Childers
9a3f5e2420 Added wss4j legal documentation
Conflicts:

	NOTICE
	tools/whisker/descriptor.xml
2012-10-09 23:14:39 -04:00
David Nalley
03248f36e1 adding crypto details to README 2012-10-09 22:10:24 -04:00
Alena Prokharchyk
839929b9b2 Fixed lineendings and trailing whitespaces in a bunch of files
Conflicts:

	core/src/com/cloud/async/SyncQueueItemVO.java
	core/src/com/cloud/async/SyncQueueVO.java
	server/src/com/cloud/async/dao/SyncQueueDaoImpl.java
	server/src/com/cloud/async/dao/SyncQueueItemDaoImpl.java
2012-10-09 17:17:36 -07:00
Alena Prokharchyk
290e8954f7 Removed more unused imports in Snapshots code
Conflicts:

	server/src/com/cloud/storage/dao/SnapshotScheduleDao.java
2012-10-09 17:07:03 -07:00
Alena Prokharchyk
823f0c9669 Fixed ipAssoc and createNetworkACL (for vpc) commands - didn't work in Project scenario
Conflicts:

	server/src/com/cloud/network/vpc/NetworkACLManagerImpl.java
2012-10-09 16:26:26 -07:00
Alena Prokharchyk
43b406279a listTemplates/listIsos - template filter "all" can be specified by admin only. Throw an error when user tries to use it 2012-10-09 16:23:05 -07:00
Wido den Hollander
f4a2298ca9 rbd: Make secret usage names unique for all pools
Since only the cephx user like 'admin' was passed we couldn't define two RBD storage pools
using the cephx user admin, even if they were running on different Ceph clusters.

By adding the monitor hostname and poolname to the secret's usage (which we don't even use) it becomes
unique.
2012-10-10 00:21:14 +02:00
Chip Childers
c235073042 Changed link to docs from docs.cs.o to i.a.o/cs/docs 2012-10-09 17:03:34 -04:00
Chip Childers
0dde8645ee Fixed verison number of CHANGES file from 4.0.0 to 4.0.0-incubating 2012-10-09 16:22:13 -04:00
Chip Childers
bfd320e0e5 Removing references to the Nexus 1KV from the documentation, due to delaying CLOUDSTACK-301 to a later release. 2012-10-09 15:50:37 -04:00
Chip Childers
ba18b7870e Removing references to the Nexus 1KV as a functional switching option, due to delaying CLOUDSTACK-301 to a later release. 2012-10-09 15:47:11 -04:00
Chip Childers
f1e05ac344 Added CVE-2012-4501 as fixed in the CHANGES file 2012-10-09 15:16:56 -04:00
Alena Prokharchyk
c9aa9a5557 CLOUDSTACK-287: don't allow API call against system account (adding users to system account is prohibited; can't delete/update System account)
Conflicts:

	server/src/com/cloud/user/AccountManagerImpl.java
2012-10-09 09:37:27 -07:00
Alena Prokharchyk
ffa5276222 Fixed CLOUDSTACK-287
1) Always fail to authenticate system user.
2) DB - always create system user with RANDOM not null password
3) Don't allow modifying (setting api/secretKeys, etc) system user via API

Conflicts:

	server/src/com/cloud/user/AccountManagerImpl.java
	setup/db/db/schema-305to306.sql
2012-10-09 09:37:27 -07:00
David Nalley
0da71be9fd fixing release note validity issues 2012-10-09 11:52:07 -04:00
David Nalley
57e01ec2ca moving file to proper name 2012-10-09 11:49:14 -04:00