1082 Commits

Author SHA1 Message Date
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
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
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
Alena Prokharchyk
0508090090 CS-14558: db upgrade - fixed inconsistencies fresh vs upgraded 3.0.2 build 2012-04-18 13:28:09 -07:00
Alena Prokharchyk
01274e3af4 CS-14480: db upgrade 3.0.1-3.0.2 - fixed upgrade inconsistencies in default fields values 2012-04-16 16:04:45 -07:00
kishan
35c8c01e9c bug CS-14431: query to drop event table already exists. reverting earlier commit
status CS-14431: resolved fixed
reviewed-by: Nitin
2012-04-16 17:15:08 +05:30
Alena Prokharchyk
b2be0039cb Usage db upgrade from 2.2.14 to 3.0 - don't drop the same fields twice from network_usage table 2012-04-13 13:59:01 -07:00
kishan
7e186fefb6 bug CS-14430, CS-14431: Dropped unused columns in usage_network table, drop event table in cloud_usage db
status CS-14430, CS-14431: resolved fixed
reviewed-by: Nitin
2012-04-13 12:05:20 +05:30
Alena Prokharchyk
14f973ba8c Fixed 2.2.14 to 3.0. upgrade
Conflicts:

	setup/db/db/schema-30to301.sql
2012-04-11 18:01:37 -07:00
frank
726aac5161 set resource_state = allocation_state when doing DB upgrade 2012-04-11 17:47:20 -07:00
Sheng Yang
eb20d63f12 Revert "Fix foreign key "fk_domain_router__element_id" in the upgrade"
This reverts commit 52e334cefc7bd41323ab4295101175849d1556e9.

Conflicts:

	setup/db/db/schema-301to302.sql
2012-04-11 17:37:46 -07:00
frank
9684ea7397 CS-14429 Cloud db schema differences between fresh installed 3.0.2 & upgraded 3.0.2
do check befor droping index i_host__allocation_state`(`allocation_state`)
2012-04-11 17:25:35 -07:00
Sheng Yang
6c9fd606ab Fix foreign key "fk_domain_router__element_id" in the upgrade 2012-04-11 16:51:18 -07:00