Commit Graph

1037 Commits

Author SHA1 Message Date
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
Nitin Mehta 688f715b2c bug CS-10789: Some upgerade change that tdidnt get merged. 2012-05-03 10:50:46 +05:30
Nitin Mehta 9097b53eab bug CS-10789: Put zone id in the volumehost ref table. make list volume to show the percent uploaded. 2012-05-03 10:46:02 +05:30
Salvatore Orlando a794e49545 CS-14724 : Making the default network label configurable, improving exception management
Please also see notes added to wiki.cloudstack.org/display/QA/Open+vSwitch+Tunnel+Manager
2012-05-02 15:16:10 +01:00
Alena Prokharchyk 6165f89a13 Mark local storages as removed when they have no ref in storage_pool_host_ref
Conflicts:

	setup/db/db/schema-301to302.sql
2012-04-27 13:17:01 -07:00
Salvatore Orlando 469ed78a58 CS-14606: Restoring config parameter which was accidentally removed 2012-04-27 17:17:49 +01:00
Salvatore Orlando 8080bc2d26 CS-14606: Change name for config parameter 2012-04-27 17:17:34 +01:00
Alena Prokharchyk 4cbc148a52 CS-14633: db upgrade - remove config values that no longer exist on fresh setup 2012-04-26 11:06:40 -07:00
Alena Prokharchyk 5da0fdaecb CS-14637: db upgrade - fixed inconsistencies in category/component fields for a bunch of global config variables 2012-04-26 10:10:05 -07:00
Alena Prokharchyk 83eae0c4bf CS-14629: added missing global config variables
Conflicts:

	setup/db/db/schema-301to302.sql
2012-04-25 13:44:07 -07:00
Salvatore Orlando 1b42828f1a CS-14605: OVS cleanup
DB scripts cleanup
2012-04-25 11:42:50 +01:00
Alena Prokharchyk eaf9d3d820 Catch all exceptions when change engine and row_format - can fail when table is full. Just skip as its not a critical fix 2012-04-24 15:49:28 -07:00
Salvatore Orlando bbd2e06366 CS-14619: Add missing INSERT statements 2012-04-24 15:56:23 +01:00
Salvatore Orlando f5952ef685 Adding ovs_tunnel_interface to schema;
adding new tables to update script (3.0.2 to 3.0.3)
2012-04-23 22:34:38 +01:00
root 3513551ae3 Hacking for demo 2012-04-23 22:33:19 +01:00
Abhi b62c26c606 bug 14218: fixing category for redhat 2012-04-23 22:32:16 +01:00
Salvatore Orlando 9f321ffeac Open vSwitch tunnel manager
Applying patch with new ovs-tunnel-manager on top of cloudstack oss-master
2012-04-23 22:32:16 +01:00
Alena Prokharchyk 61a10de627 CS-14591: added XenServer 6.0.2 and VmWare 5.0 as supported hypervisors to fresh 3.0.2 and to the 3.0.1-3.0.2 db upgrade
Conflicts:

	setup/db/db/schema-301to302.sql
2012-04-23 11:19:58 -07:00
Alena Prokharchyk 051416ec5a CS-14589: change engine and row_format for op_lock op_nwgrp_work during the db upgrade 2012-04-23 10:55:08 -07:00
Nitin Mehta 6fd42b831d bug CS-10789: upgrade changes for the new table and custome disk offering. 2012-04-23 21:10:36 +05:30
Nitin Mehta 4434aa0d2d bug CS-10789: More changes for the imageformat, introdueced new column in db for the format, created scripts for doffernt hypervisors ...and the list goes on. 2012-04-23 13:44:34 +05:30
Nitin Mehta 564cef8ddf More changes for uploadVolume. Create framework for upload volume progress communication between MS and SSVM. 2012-04-23 12:14:35 +05:30
Alena Prokharchyk e4e0fff2eb Fixed db upgrade for 2.1-3.0 2012-04-20 12:00:37 -07:00
Alena Prokharchyk d7f4d5d4ec CS-14553: db upgrade - for default network offerings:
1) Change display text to match fresh 3.0.2
2) Delete lb service for the offerings using VR as a provider and not having source nat service
2012-04-18 17:10:52 -07:00
Alena Prokharchyk 92c8c80978 Fixed spelling mistake in db upgrade script 2012-04-18 14:28:16 -07:00