Sateesh Chodapuneedi
d8685d9e68
CS-9919 Support for Nexus Swiches (Cisco Vswitches)
...
Description:
Modified upgrade script to include new global
configuration parameters.
2012-05-14 18:48:10 -07:00
Vijayendra Bhamidipati
de30d66fd8
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-14 18:42:29 -07:00
Vijayendra Bhamidipati
978732ead9
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-14 18:41:02 -07:00
Vijayendra Bhamidipati
685427b1b7
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-14 18:25:55 -07:00
Vijayendra Bhamidipati
f43968c4a9
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.
2012-05-14 18:21:21 -07:00
Sheng Yang
5c8d968eea
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:43:07 -07:00
Salvatore Orlando
f33fb0f6ab
CS-14741: Reverting db upgrade script from 2.2.14 to 3.0 to commit 72b5a94af8
2012-05-09 13:59:36 +01:00
Rajesh Battala
44f3846168
Modified S3RestServlet to turn down request if enable.s3.api is false. Changed upgrade script for S3 API Feature
2012-05-09 15:25:39 +05:30
prachi
53ff666788
Changes to Upgrade script for EC2 API feature.
2012-05-08 16:13:04 -07:00
Abhi
637ed8ce26
bug CS-14515: adding centos 5.7 to supported os, supported in xen 6.0.2
2012-05-03 12:30:32 +05:30
JohnZ
ef2c7423f1
S3 API merged branch
2012-05-02 15:51:10 +01:00
Salvatore Orlando
486d962f09
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 13:14:47 +01:00
Nitin Mehta
9b1fd4d414
bug CS-10789: Some upgerade change that tdidnt get merged.
2012-05-02 11:47:32 +05:30
Nitin Mehta
77f1db5e41
bug CS-10789: Some upgerade change that tdidnt get merged.
2012-05-02 11:41:53 +05:30
Nitin Mehta
540f4e1431
bug CS-10789: Put zone id in the volumehost ref table. make list volume to show the percent uploaded.
2012-05-01 18:36:31 +05:30
Edison Su
1926df31e5
fix db upgrade
2012-05-01 13:34:56 +01:00
Alena Prokharchyk
0077234576
Fixed unittest and some issues with 2.2.14-3.0 upgrade
2012-05-01 13:34:05 +01:00
Alena Prokharchyk
3a3dbd2465
2.2.x-3.0 upgrade - column name change
2012-05-01 13:15:22 +01:00
Likitha Shetty
6ab04076b5
Implementation of api 'markDefaultZoneForAccount'(to enable a user to mark a zone as default for an account).
...
reviewed-by: prachi
2012-04-30 17:08:32 -07:00
frank
e6a60dfdc3
CS-14610
...
Management server not able to connect to DB when there is no password set for cloud user/ if password is set to anything other than 'cloud'
fixed
2012-04-30 17:08:22 -07:00
frank
0f542545e3
fix cloudbridge setup database script
2012-04-30 17:08:21 -07:00
frank
2f87c2212f
merge cloud-setup-bridge-db to cloud-setup-databases
2012-04-30 17:08:08 -07:00
Nitin Mehta
6a056ad139
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-30 11:14:43 +05:30
Nitin Mehta
2d7471adb5
Bug 10808: More changes for uploadVolume. Create framework for upload volume progress communication between MS and SSVM.
2012-04-30 09:46:23 +05:30
Alena Prokharchyk
f27a0a0386
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:15:58 -07:00
Salvatore Orlando
ce56ddf75a
CS-14606: Restoring config parameter which was accidentally removed
2012-04-27 17:13:10 +01:00
Salvatore Orlando
6e024e945d
CS-14606: Change name for config parameter
2012-04-27 16:38:33 +01:00
Alena Prokharchyk
62093a4308
CS-14633: db upgrade - remove config values that no longer exist on fresh setup
2012-04-26 11:05:50 -07:00
Alena Prokharchyk
7e4c5e1267
CS-14637: db upgrade - fixed inconsistencies in category/component fields for a bunch of global config variables
2012-04-26 10:09:53 -07:00
Alena Prokharchyk
12255db122
CS-14629: added missing global config variables
...
Conflicts:
setup/db/db/schema-301to302.sql
2012-04-25 13:43:40 -07:00
Salvatore Orlando
fc3eaad0c6
CS-14605: OVS cleanup
...
DB scripts cleanup
2012-04-25 18:11:04 +01:00
Alena Prokharchyk
319d4c5cfd
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:14 -07:00
Salvatore Orlando
56d496ac60
CS-14619: Add missing INSERT statements
2012-04-24 15:58:57 +01:00
Salvatore Orlando
5c58aeaa04
CS-14613: syntax error in create-schema.sql for 3.0.x
2012-04-24 10:34:12 +01:00
Salvatore Orlando
2459b16b81
Adding ovs_tunnel_interface to schema;
...
adding new tables to update script (3.0.2 to 3.0.3)
Conflicts:
setup/db/db/schema-2214to30.sql
setup/db/db/schema-302to303.sql
2012-04-24 02:20:39 +01:00
Salvatore Orlando
8c398654d3
Open vSwitch tunnel manager
...
Applying patch with new ovs-tunnel-manager on top of cloudstack oss-master
Conflicts:
api/src/com/cloud/network/ovs/OvsCreateTunnelAnswer.java
2012-04-24 02:20:37 +01:00
Alena Prokharchyk
47a1527719
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:24 -07:00
Alena Prokharchyk
74aa4974c0
CS-14589: change engine and row_format for op_lock op_nwgrp_work during the db upgrade
2012-04-23 10:55:15 -07:00
Alena Prokharchyk
7d3eea8225
Fixed db upgrade for 2.1-3.0
2012-04-20 12:00:24 -07:00
Alena Prokharchyk
d51d018a1b
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:41 -07:00
Alena Prokharchyk
b142911515
Fixed spelling mistake in db upgrade script
2012-04-18 14:28:08 -07:00
Alena Prokharchyk
1584a26ef9
CS-14558: db upgrade - fixed inconsistencies fresh vs upgraded 3.0.2 build
2012-04-18 13:27:59 -07:00
Alena Prokharchyk
c652a4b15f
CS-14480: db upgrade 3.0.1-3.0.2 - fixed upgrade inconsistencies in default fields values
2012-04-16 16:04:32 -07:00
kishan
72b5a94af8
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:16:01 +05:30
Alena Prokharchyk
c5a9c6c556
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:58:49 -07:00
kishan
ff2252b347
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 13:54:12 +05:30
Alena Prokharchyk
6a30005493
Fixed 2.2.14 to 3.0. upgrade
...
Conflicts:
setup/db/db/schema-30to301.sql
2012-04-11 18:01:08 -07:00
frank
78e72df13f
set resource_state = allocation_state when doing DB upgrade
2012-04-11 17:47:42 -07:00
Sheng Yang
419faa1f90
Revert "Fix foreign key "fk_domain_router__element_id" in the upgrade"
...
This reverts commit 52e334cefc .
Conflicts:
setup/db/db/schema-301to302.sql
2012-04-11 17:37:32 -07:00
frank
2530ea17dd
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:15 -07:00
Sheng Yang
2252d6db1c
Fix foreign key "fk_domain_router__element_id" in the upgrade
2012-04-11 16:50:38 -07:00
frank
3e968d2b9d
CS-14429 Cloud db schema differences between fresh installed 3.0.2 & upgraded 3.0.2
...
drop index i_host__allocation_state`(`allocation_state`)
2012-04-11 16:42:41 -07:00
Alena Prokharchyk
be04f2bd63
Remove obsolete network_tags table as a part of db upgrade cleanup
2012-04-11 16:23:39 -07:00
Alena Prokharchyk
cd774c9fab
Db upgrade path for 3.0.2 to 3.0.3
2012-04-09 15:50:23 -07:00
Alena Prokharchyk
b7f5bc099d
bug 14622: introduced ha tagging for host
...
status 14622: resolved fixed
2012-04-09 15:17:13 -07:00
Alena Prokharchyk
d3bca8df8f
bug 14615: deployVm can work 2 diff ways now: 1) Default way - create and start the vm. 2) Create the vm without starting it. Note that vm's volumes stay in Allocated state -not created on the backend till the point where vm starts
...
status 14615: resolved fixed
2012-04-06 11:30:26 -07:00
Alena Prokharchyk
0bd655f79b
bug 14539: 1) introduced 2 new config parameters defining default offerings for ssvm and cpvm - consoleproxy.service.offering and secstorage.service.offering
...
2) Added new api - changeServiceForSystemVm - to support service offering upgrade for system vms
3) Removed global config parameters that are not in use anymore: consoleproxy.ram.size, consoleproxy.cpu.mhz, secstorage.vm.ram.size, secstorage.vm.cpu.mhz
2012-04-03 10:51:35 -07:00
frank
72d284de7d
Switch to Apache license
2012-04-03 04:54:14 -07:00
prachi
2b6712b7a8
Bug 14536 - DB exception while trying to delete physical network
...
Reviewed-By: Sheng Yang
Changes:
Added 'removed' column to physical_network_service_providers to avoid the Foreign Key constraint error.
Conflicts:
setup/db/db/schema-30to301.sql
2012-03-29 10:08:47 -07:00
Alena Prokharchyk
28e2626567
bug 14169: show error on the console in addition to logging it when restart operation fails for ssvm/consoleProxy/domR
...
status 14169: resolved fixed
2012-03-28 16:17:11 -07:00
frank
436ed88175
Bug 14497 - 3.0->3.0.1Upgrade: Defualt value for "resource_state" field in host table differs from upgraded to fresh installed 3.0.1 schema.
...
status 14497: resolved fixed
reviewed-by: edison
2012-03-26 14:55:55 -07:00
kishan
e30e008644
bug 14499: Added account uuid unique contstraint for upgrade in usage DB
...
status 14499: resolved fixed
reviewed-by: Nitin
2012-03-26 23:52:48 +05:30
Alena Prokharchyk
3f58fc707d
bug 14500: set default value for is_system field as a part of 3.0 to 3.0.1 upgrade
...
status 14500: resolved fixed
reviwed-by: Frank Zhang
2012-03-26 10:25:28 -07:00
Nitin Mehta
220c904be3
Bug 14345: DB discrepecy for capacity.check.period, cluster.memory.allocated.capacity.disablethreshold, pool.storage.allocated.capacity.disablethreshold, pool.storage.capacity.disablethreshold.
...
Reviewed-By: Kishan
2012-03-21 17:53:22 +05:30
kishan
8cf29bfe2c
bug 14290: in 3.0 upgrade insert CentOS 5.6 template with ID 5
...
status 14290: resolved fixed
2012-03-21 17:27:54 +05:30
Likitha Shetty
24b4007149
Bug 13842 Mark the snapshots that belong to a removed secondary storage as removed.
...
Reviewed-By: Nitin
Status 13842: resolved fixed
2012-03-21 10:42:51 +05:30
Alena Prokharchyk
da2be577a2
bug 14407: update network count for account/domain as a part of 3.0 to 3.0.1 upgrade
...
status 14407: resolved fixed
2012-03-20 10:39:47 -07:00
Alena Prokharchyk
393afa7a10
bug 14341: fixed issue #3
...
status 14341: resolved fixed
2012-03-19 16:40:58 -07:00
Sheng Yang
2af7e95436
bug 14341: Fix #2
2012-03-19 15:17:40 -07:00
Alena Prokharchyk
46f09b3c34
Added upgrade path from 3.0.x to 3.0.1
2012-03-19 13:34:05 -07:00
Alena
73da5a437a
bug 14345: fixed #1,8,14 and 15
2012-03-19 10:55:52 -07:00
Alena Prokharchyk
ba79da6aea
bug 14305: set name for the guest network in basic zone
...
status 14305: resolved fixed
2012-03-15 11:56:39 -07:00
Edison Su
503ddd7282
bug 14201: delete duplicate guest os type. status 14201: resolved fixed
2012-03-14 11:48:22 -07:00
Abhi
967ce1aa4c
bug 14218: fixing category for redhat
2012-03-14 17:11:14 +05:30
U-aprateek-PC\aprateek
20936514f7
bug 14219: 6.0 is now not in beta
2012-03-14 15:08:15 +05:30
abhi
f2cddc880c
bug 14217: added the missing guest oses
2012-03-13 20:09:10 +05:30
Alena Prokharchyk
9e9ff4f363
bug 14239: limit number of Isolated account specific networks per account
...
status 14239: resolved fixed
2012-03-12 15:50:49 -07:00
kishan
b22232c0e3
Bug 14195: Changed category of Usage and Secure configs
2012-03-12 16:11:22 +05:30
Alena Prokharchyk
a7eeea576c
bug 14221: fixed description for default network offering
...
status 14221: resolved fixed
2012-03-09 11:37:51 -08:00
Alena Prokharchyk
9cdbb07ee4
bug 14195: fixed category for Project related global config values
2012-03-09 11:18:02 -08:00
Nitin Mehta
395ef70f6f
Bug 14199: Add allocated workd to the config values.
...
Reviewed-By: Kishan
2012-03-09 12:22:44 +05:30
Alena Prokharchyk
56d611c3cc
bug 14199: added missing config values during the db upgrade
2012-03-08 14:30:42 -08:00
Alena Prokharchyk
5cf04ee03c
bug 14200: remove skip.steps config param as a part of 2.2.x-3.0 upgrade. Fixed the name for vm.destroy.forcestop config as well
2012-03-08 14:12:10 -08:00
frank
e9d33fa1ae
Bug 14170 - 2.2.14(KVM) - 3.0.1 Upgrade: DB inconsistencies after Upgrade
...
default resource_state should be Enabled
2012-03-08 10:24:28 -08:00
Sheng Yang
0379f0fdcd
bug 14170: Fix issue #7
2012-03-07 16:53:54 -08:00
Alena Prokharchyk
4330183d2b
bug 14170: fixed #4-6 and #9-13
2012-03-07 16:36:42 -08:00
Alena Prokharchyk
3df2bd98fc
bug 14170: issues #1-#3 are fixed
2012-03-07 13:35:26 -08:00
frank
1aa15bdb1c
2214to30 DB upgrade:
...
directly put simulator_network_label, ovm_network_label when creating physical_network_traffic_types
table
2012-03-06 11:10:22 -08:00
frank
ec3878955e
set xen.storage.network.device1 xen.storage.network.device2 to null when upgrade
2012-03-05 15:15:43 -08:00
frank
381c049369
Bug 14068 - Db upgrade: resource_state is incorrect for the host in UP state after the db upgrade from 2.2.x to 3.0
...
fix typo
2012-03-05 14:09:54 -08:00
frank
6f68edfe83
Bug 14068 - Db upgrade: resource_state is incorrect for the host in UP state after the db upgrade from 2.2.x to 3.0
...
Bug 14099 - Db upgrade for storage network
status 14068: resovled fixed
status 14099: resovled fixed
2012-03-05 13:35:06 -08:00
kishan
63704eb758
Bug 13952: Changed category of Usage configs
...
Status 13952: resolved fixed
Reviewed-By: Abhi
2012-03-05 18:57:10 +05:30
Alena Prokharchyk
70ea01d0c6
More fixes to 2.2.x - 3.0 db upgrade
2012-03-01 18:31:35 -08:00
Sheng Yang
0be40ede02
bug 14085: Upgrade: Update domain_router's Role
...
status 14085: resolved fixed
2012-03-01 14:59:14 -08:00
kishan
7dc4a7b226
Drop security group usage table and add again for upgrade
2012-03-01 12:15:53 +05:30
Sheng Yang
46d2b49edf
Add element_id for 3.0 upgrade
2012-02-29 11:09:27 -08:00
Alena Prokharchyk
cc10e01895
DB upgrade: added missing account_details table
...
Conflicts:
setup/db/db/schema-2214to30.sql
2012-02-29 11:07:37 -08:00
Alena Prokharchyk
b3f9fc7bf8
Add is_system field to user_ip_address table during the db upgrade
...
Conflicts:
setup/db/db/schema-2214to30.sql
2012-02-29 11:07:09 -08:00
Alena Prokharchyk
9e0ec73fcf
Updated test data for db upgrade unittest
2012-02-29 11:06:28 -08:00
Alena Prokharchyk
bbb3314dd1
Fixed unittest and some issues with 2.2.14-3.0 upgrade
...
Conflicts:
setup/db/db/schema-2214to30.sql
2012-02-29 11:06:17 -08:00