1061 Commits

Author SHA1 Message Date
Chip Childers
cc46d1cf3b Adding setup/.classpath 2012-08-07 14:52:20 -04:00
Chip Childers
2930eef00c License header updates for the setup folder. 2012-08-03 09:49:02 -04:00
mice xia
895b6a3e4b CS-15780 Global configuration 'account.cleanup.interval' is used by event purge thread
changes:
add a new global configuration event.purge.interval for event purge thread
leave account.cleanup.interval only for account cleanup thread.
2012-08-02 21:50:44 +05:30
Koushik Das
3f571684aa CS-15631 : Support for up to 16 VDIs per VM on XS 6.0 and above
Support for up to 16 VDIs per VM on XS 6.0 and above (16 VDIs => root + cd + 14 data volumes). Currently in CS number of data disk that can be attached to VM is hard-coded to 6. Made this setting configurable by moving it to hypervisor capabilities. Although XS 6.0 and above supports upto 16 VDIs but while testing on XS 6.0.2 found that only 13 data volumes can be attached to a VM. So for XS 6.0 and 6.0.2 max_data_volumes_limit is set to 13 currently.

Signed-off-by: Koushik Das <Koushik.Das@citrix.com>
2012-08-01 19:39:30 +05:30
Nitin Mehta
85398bb2e0 bug CS-13935: correcting description for create.volume.from.snapshot.wait global setting
Reviewed-by: Kishan
2012-08-01 18:16:01 +05:30
Prasanna Santhanam
3610401edc Fail with non-zero exit code when toc category missing 2012-07-31 17:23:41 +05:30
Prasanna Santhanam
911261a2ce Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-07-31 16:40:04 +05:30
Rohit Yadav
b4b1a38f7e Fix typo in create-schema.sql. comma at EOL 2012-07-31 16:39:50 +05:30
Hugo Trippaers
420f08ab4a Add changes in rrq 5839 to the update script 2012-07-31 09:41:14 +02:00
David Nalley
0829ee164a removing lots of web tracking stuff from apidocs stylesheets 2012-07-30 10:42:53 -04:00
David Nalley
048bd2e498 fixing copyright notices on apidocs 2012-07-30 10:32:07 -04:00
Hugo Trippaers
894407caa9 rrq 5839: This table should not have a contraint on device and physical network id. This is dealt with in the code and by using the removed field. 2012-07-30 08:46:56 +02:00
Wido den Hollander
5789cd94a5 setup: Update 3.0.3 to 4.0.0 SQL update file
I noticed that we have pending changes for the resource tags and Nicira integration.

Adding them as a precaution, so they don't get lost.
2012-07-27 23:37:45 -04: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
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
Hugo Trippaers
79c7da07ab Phase 1 of Nicira integration 2012-07-11 17:16:06 -07:00
Edison Su
fa414bbf0a It's due to replace.properties is missing, by default the password is cloud for user cloud
Revert "removing unneeded password from cloud-dev setup-script"

This reverts commit f157b702e4c6821fc4af4c27e085dea097b79101.
2012-07-09 11:48:43 -07:00
David Nalley
f157b702e4 removing unneeded password from cloud-dev setup-script 2012-07-08 22:14:20 -04:00
Alena Prokharchyk
63d6941bdc ResourceTags: respect tag parameter in listTemplates/listIsos commands
Conflicts:

	server/src/com/cloud/storage/dao/VMTemplateDao.java
	server/src/com/cloud/storage/dao/VMTemplateDaoImpl.java
2012-07-06 16:59:14 -07:00
Alena Prokharchyk
85677b71fe Resource tags: CS-15473 - fixed delete/list by resourceId when UUID is specified as a value
Conflicts:

	server/src/com/cloud/network/dao/FirewallRulesDaoImpl.java
	server/src/com/cloud/network/vpc/Dao/StaticRouteDaoImpl.java
	server/src/com/cloud/network/vpc/Dao/VpcDaoImpl.java
	server/src/com/cloud/projects/dao/ProjectDaoImpl.java
2012-07-06 11:43:31 -07:00
Edison Su
27e9cdbece add console proxy support for devcloud 2012-07-03 23:38:39 -07:00
Edison Su
57927c9f23 From: jason.bausewein@tier3.com
Updated script to create cloud_usage database similar to deploy-db-dev.sh.
2012-07-03 15:16:51 -07:00
Edison Su
5f6387e113 add clouddev 2012-06-27 23:28:34 -07:00
David Nalley
fc3ac862dc applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
Vijayendra Bhamidipati
5697ff2baf CS-15181: Remove stale global config parameters from upgrade script
Description:
    Removing stale global config params.
2012-06-21 13:55:52 -07:00
Alena Prokharchyk
c653b22d94 Api docs: added category for resource tags commands 2012-06-20 15:45:08 -07:00
Alena Prokharchyk
62d45b9670 Initial checkin for resource tags feature
Conflicts:

	api/src/com/cloud/api/ApiConstants.java
	client/tomcatconf/commands.properties.in
	server/src/com/cloud/api/ApiDBUtils.java
	server/src/com/cloud/uuididentity/dao/IdentityDao.java
	server/src/com/cloud/uuididentity/dao/IdentityDaoImpl.java
	setup/db/create-schema.sql
2012-06-20 15:45:08 -07:00
Alena Prokharchyk
d390261710 CS-15197: correct default value for service_offering.nw_rate
Reviewed-by: Will Chan

Conflicts:

	setup/db/db/schema-302to303.sql
2012-06-05 15:09:46 -07:00
Vijayendra Bhamidipati
15d0cf782a CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	Removed the vcenter_dc_name and vcenter_ipaddr
	fields from the virtual_supervisor_module
	table, the CiscoNexusVSMDeviceVO, addClusterCmd,
	and all other references to these two fields.

	Fixing null pointer exceptions when checking
	for nexus related global parameter values in
	addClusterCmd.

Conflicts:

	api/src/com/cloud/api/commands/AddClusterCmd.java
2012-05-25 18:37:20 -07:00
Devdeep Singh
1593900402 CS-9919: Changes to integrate UI changes for nexus feature.
Reviewed by: Sateesh, Pranav.

Conflicts:

	ui/scripts/system.js
2012-05-25 18:33:53 -07:00
Vijayendra Bhamidipati
63de97e63c CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	Modifying column names in db tables to
	adhere to naming conventions.
2012-05-25 18:28:34 -07:00
Vijayendra Bhamidipati
a31aa29423 Bug CS-15020: DB inconsistencies after upgrade from Acton to Bonita
Description:

	Putting in table creation DMLs in upgrade script
	when upgrading from Acton (3.0.2) to Bonita (3.0.3).
	Please note that the field names in the tables need
	to be changed as per naming conventions. Those changes
	will be checked in in an upcoming commit.

Conflicts:

	setup/db/db/schema-302to303.sql
2012-05-25 18:22:41 -07:00
Sateesh Chodapuneedi
04898a0bf9 CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Description:

	Cleanup upgrade script.
2012-05-25 17:29:44 -07:00
Sateesh Chodapuneedi
8ba1d62b50 CS-9919 Support for Nexus Swiches (Cisco Vswitches)
Description:

	Modified upgrade script to include new global
	configuration parameters.
2012-05-25 17:29:28 -07:00
Vijayendra Bhamidipati
781f0b4966 Bug CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	1. Added the PortProfile infrastructure:

	    a. PortProfileVO : The VO class to represent a db
	    record of the table port_profile. Each db record
	    represents one port profile.

	    b. PortProfileDao: The interface that declares search
	    functions on the port_profile table.

	    c. PortProfileDaoImpl: The class that defines the
	    interfaces declared in PortProfileDao.

	    d. PortProfileManagerImpl: The class that contains
	    routines that will add or delete db records from
	    the port_profile table. If you want to create/delete
	    a portprofile, call functions from this class.

	    e. Changes to create-schema.sql to create the port_profile
	    table.

	2. Cleaned up code:

	    a. Removed a number of unused Dao and Manager objects in
	    CiscoNexusVSMDeviceManagerImpl.

	    b. Removed the ListCiscoNexusVSMNetworksCmd command.

	    c. Removed a bunch of import statements in a few files.
2012-05-25 17:17:56 -07:00
Vijayendra Bhamidipati
0f28222cce Bug CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	1. Modify addCiscoNexusVSMCmd to enable a VSM
           by default, when it is added to a cluster.

	2. Put in two new APIs exposed to the user -
                a. EnableCiscoNexusVSMCmd
                b. DisableCiscoNexusVSMCmd

        Disabling a VSM does not delete it. It only
        prevents the Management Server from using that
        VSM. This is useful if the VSM is in
        maintenance mode.
2012-05-25 17:17:37 -07:00
Vijayendra Bhamidipati
037ac6592e Bug CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

        1. Changed AddCiscoNexusVSMCmd to:
             a. Extend BaseCmd instead of BaseAsyncCmd.
             b. Take in more required parameters (viz
                vCenterDCName and vCenterIpAddress)

        1a. Changed DeleteCiscoNexusVSMCmd to also
            extend BaseCmd.

        2. Put in changes that will ensure that
           When a VSM is added, it is disabled by default.

        3. Fixed code that was leading to exceptions
           related to DB reads/writes to VSM related tables.

        4. Added new API Constants in ApiConstants.java.
           NOTE - Always initialize new attributes in
           ApiConstants.java to values in small case.
           Never put in upper case there. Also regardless
           of what names you give attributes in the
           *Cmd.java's class, you pass in parameters via
           API calls by specifying <key>=<value> where the
           <key> is taken from the value you specified in
           ApiConstants.java.

        5. Modified the addCiscoNexusVSM() function in
           CiscoNexusVSMDeviceManagerImpl.java to write VSM
           records to the db.
2012-05-25 17:17:18 -07:00
Vijayendra Bhamidipati
5109902c9f CS-9919: Support for Nexus Swiches (Cisco Vswitches)
Description:

	Update create-schema.sql to create tables for
	VSM and VSM-Cluster mapping.

	Fixed an incorrect exception path in
	CSExceptionErrorCode.

Conflicts:

	utils/src/com/cloud/utils/exception/CSExceptionErrorCode.java
2012-05-25 17:11:49 -07:00
prachi
49cdc2317b merge awsapi build script changes to master 2012-05-25 14:40:56 -07:00
Alena Prokharchyk
4b67937556 CS-15089: cloud-sysvmadm - fixed broken parsing in queryAsyncJobResult part of the code
reviewed-by: Frank Zhang
2012-05-25 10:15:51 -07:00
Alena Prokharchyk
96d7dca68b CS-15070: remove invalid refs from storage_pool_host_ref
Conflicts:

	setup/db/db/schema-302to303.sql
2012-05-23 14:50:48 -07:00
Ewan Mellor
93ce302db3 Added a category declaration for CiscoNexus (I put it in the Network category)
and improved the exception.
2012-05-23 12:06:45 -07:00
Nitin Mehta
09b711b131 bug CS-14931: Put in 'Disk' during upgrade for putting in disk offerring 2012-05-16 18:48:42 +05:30
Nitin Mehta
c01d03e53f bug CS-14249: cluster.localStorage.capacity.notificationthreshold text is incorrect 2012-05-15 19:58:30 +05:30
kishan
d82158d0ae bug CS-14890: Set vnc password for removed Vms as empty. vnc_password is not null column.
status CS-14890: resolved fixed
reviewed-by: Nitin
2012-05-15 15:27:42 +05:30
Murali reddy
3b1aca19b3 bug CS-14291: support EIP with multiple NetScalers in basic zone
This fix will enable support for multiple NetScaler devices providing EIP service in same zone.

    - Introduced global setting "eip.use.multiple.netscalers" to turn multiple netscaler support
    - Enhanced configureNetscalerLoadBalancer API to take the PBR setup between the POD's subnet
      and NetScaler device
    - logic to pick a NetScaler (based on the guest IP and corresponding pod) while configuring INAT rule
2012-05-15 14:00:32 +05:30
kishan
ca5683e29d bug CS-14890: Set vnc password for removed Vms as null. vnc_password is not used once the Vm is removed.
status CS-14890: resolved fixed
reviewed-by: Nitin

Conflicts:

	setup/db/db/schema-2214to30.sql
2012-05-15 12:05:25 +05:30
Sheng Yang
ccc737e8c0 Remove the extra drop sql line
This would result in 3.0.1 to 3.0.2 upgrade failed, due to index not found.
2012-05-10 14:44:01 -07:00
Abhi
69c4438df3 bug CS-14515: adding centos 5.7 to supported os, supported in xen 6.0.2 2012-05-03 12:32:17 +05:30
Nitin Mehta
f49628df1d bug CS-10789: Some upgerade change that tdidnt get merged. 2012-05-03 10:50:59 +05:30