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
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
Edison Su
c4922068bc
fix db upgrade
2012-02-28 16:35:45 -08:00
Edison Su
7221d5ff68
fix db upgrade
2012-02-28 15:37:20 -08:00
anthony
60a6fb8dba
bug 13975: use correct hypervsor_version
...
status 13975: resolved fixed
reviewed-by : edison
2012-02-23 17:06:12 -08:00
Alena Prokharchyk
12aade4dc7
Changed isElastic to isSystem for the publicIpAddress assigned during the vm deployment in EIP enabled network
...
Reviewed-by: Chiradeep
2012-02-21 15:38:31 -08:00
Sheng Yang
3b2d78a86d
bug 12974: Update system template info in templates.sql
...
status 12974: resolved fixed
Reviewed-by: Frank Zhang
2012-02-21 13:49:57 -08:00
frank
70865a8aa4
Bug 13568 - secondary storage VM's static route for nfs server breaks things!
...
add DB upgrade script.
Now storage network requires gateway when adding range
reviewed-by: Sheng Yang
2012-02-17 16:23:32 -08:00
frank
e7a445d268
Bug 13568 - secondary storage VM's static route for nfs server breaks things!
...
status 13568: resolved fixed
reviewed-by: Sheng Yang
2012-02-17 16:19:38 -08:00
kishan
e8bee34179
Bug 12954: Added usage for security groups. Usage will be generated for each security group that is assigned to a Vm.
...
Status 12954: resolved fixed
Reviewed-By: Nitin
2012-02-17 17:35:59 +05:30
frank
cd40f61a29
Bug 13662 - OVM host remain in Alert state, Unable to create deployment for OVM instance
...
Bug 13641 - OVM add host to OVM cluster results in host remaining in state: Alert
Bug 13652 - OVM add primary storage to OVM cluster FAIL
making Ovm work on Acton
status 13662: resolved fixed
status 13641: resolved fixed
status 13652: resolved fixed
reviewed-by: edison
2012-02-14 15:11:50 -08:00
Edison Su
1ab89dd436
add cert chain in db, and also open the api to upload a cert chain
2012-02-09 14:56:40 -08:00
prachi
05af078358
Bug 8791 - user dispersing allocator
...
Changes:
To migrate systems using 'use.user.concentrated.pod.allocation' as true and 'vm.allocation.algorithm' as true, we need to
add following changes:
- There will be 5 values to 'vm.allocation.algorithm': 'random', 'firstfit', 'userdispersing', 'userconcentratedpod_random', 'userconcentratedpod_firstfit'
- 'userconcentratedpod_random' means we apply user concentration to pods and clusters. To hosts and pools we use random ordering.
- 'userconcentratedpod_firstfit' means we apply user concentration to pods and clusters. To hosts and pools we use firstfit ordering.
2012-02-08 17:03:38 -08:00
Sheng Yang
9317eb6bc3
Revert dynamic cidr change
2012-02-08 15:54:22 -08:00
Sheng Yang
18ec438793
Revert zone guest cidr setting
2012-02-08 15:54:16 -08:00
prachi
d0e63bc377
Bug 13099 - table physical-network-traffic-types needs to be updated when xen network device setting is modified in the global settings
...
Changes:
- DB upgrade changes
-- make the global setting hidden.
-- During upgrade set network labels from global config
2012-02-07 18:41:29 -08:00
Alena Prokharchyk
c17e9344a7
bug 13508: fixed inconsistencies in key names during db upgrade
...
status 13508: resolved fixed
Reviewed-by: Will Chan
Conflicts:
setup/db/db/schema-2213to2214.sql
2012-02-07 13:40:53 -08:00
Alena Prokharchyk
c2bca1a424
bug 13489: when add foreign key, index is created automatically
...
status 13489: resolved fixed
reviwed-by: Will Chan
Conflicts:
setup/db/create-schema.sql
2012-02-07 09:47:14 -08:00
Nitin Mehta
ce26703e5c
Bug 13059: Make DB changes to list top consumed resources for enabled resources only. For this introdiuced a new state called capacity state in the op_host_capacity table and would be updated on every operation of zone pod cluster and host
...
Reviewed-By: Kishan
2012-02-07 20:53:25 +05:30
Alena Prokharchyk
d7b290cb9c
bug 13474: fixed 1) 2) and 4)
...
reviewed-by: Frank
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade2213to2214.java
setup/db/db/schema-2213to2214.sql
2012-02-06 18:35:51 -08:00
Alena Prokharchyk
baddd97732
bug 13433: fixed db upgrade for domain_router table
...
status 13433: resolved fixed
reviewed-by: Sheng Yang
Conflicts:
setup/db/db/schema-2213to2214.sql
2012-02-06 16:00:52 -08:00
frank
074d33d9f3
DB upgrade for Bug 6849 - Randomize systemvm passwords
2012-02-03 17:40:07 -08:00
kishan
531906f039
Bug 13407: sanity check interval is not applicable in 2214. Moved insert query to 30 upgrade
...
Reviewed-By: Abhi
2012-02-03 18:01:30 +05:30
kishan
a388ed792f
Bug 13326: Added is_elastic flag to IP address usage. Added new column in usage_ip_address, defaults to false. size column will contain is_elastic info in cloud_usage table
...
Status 13326: resolved fixed
Reviewed-By: Nitin
2012-02-03 18:01:30 +05:30
Nitin Mehta
deadf815ca
Bug 13423: Drop i_op_vm_ruleset_log__instance_id, u_op_vm_ruleset_log__instance_id key (if exists) and re-add u_op_vm_ruleset_log__instance_id again.
...
Reviewed-By: Kishan
2012-02-03 15:54:48 +05:30
Alena Prokharchyk
a8476ac0de
bug 12361: 2214-3.0 db upgrade for redundant routers
2012-02-02 14:43:37 -08:00
abhi
44f248b9a5
bug 13407: adding missing conf variables
...
reviewed-by: kishan
2012-02-02 13:34:03 +05:30
Alena Prokharchyk
78f6fc9e43
bug 12361: Inermediate checkin to 2.2.14-3.0 db upgrade
2012-02-01 16:46:56 -08:00
Alena Prokharchyk
2f17d465dc
Fixed 2.2.14-3.0 db upgrade for usage
...
Added unittest as well
2012-02-01 13:33:53 -08:00
prachi
08bb9eaf47
Bug 11426 - UpdateResourceCount api: don't recalculate the resources for System account
...
Changes:
- Throw error is anyone tries to update the resource limits for ROOT domain using updateResourceLimit API
- For ROOT domain always return -1 (infinite) limit
- DB upgrade: remove any limits set for ROOT domain
2012-01-31 14:21:03 -08:00
Kelven Yang
cb959aa377
bug 13369: recycle roger hung worker VMs in vCenter
2012-01-30 14:21:56 -08:00
Alena Prokharchyk
9219d4c41d
bug 12361: more fixes to DB upgrade for network_offerings table
...
Added unittest for testing network offerings db upgrade
2012-01-30 11:20:13 -08:00
Alena Prokharchyk
3b1db5fa20
bug 13203: removed firewall.rule.ui.enabled global config
...
status 13203: resolved fixed
2012-01-25 16:49:31 -08:00
anthony
48943f52bf
retire centos5.3
...
introduce centos5.6 with xs-tools
2012-01-24 20:09:00 -08:00
Alena Prokharchyk
8bcf30da85
bug 12869: more changes to NAAS feature
2012-01-20 14:16:30 -08:00
anthony
99cbef154d
bug 13187: remove duplicate Red Hat Enterprise Linux 6 os type
...
status 13187: resolved fixed
2012-01-20 10:54:55 -08:00
Alena Prokharchyk
212c22b256
Added isElastic flag to ip address
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
1d0ffc4575
EnableStaticNat for newly allocated address - if eIp is enabled, and the target vm already assigned to the ip, reassign the vm to the new ip
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
6325d21c50
Get new elasticIp when releaseIpAddress is called for elasticIP of the vm
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
ff1e8413f1
1) Added StaticNat/Firewall/Lb capabilities to Netscaler element. Renamed it to "NetscalerElement" from NetscalerLoadBalancingElement as it serves more services now
...
2) Added elasticIp and elasticLb network capabilities. Provided support to create network offering with these capabilities.
3) Added one more default network offering having elasticip and elasticlb
4) Public network support to Basic zone. You can associate/disassociate IP addresses now
2012-01-19 13:56:59 -08:00
kishan
5d266b3b4b
Bug 12072: Add premium configs if they do not exist. Upgrades from OSS will be missing there configs.
...
Status 12072: resolved fixed
Reviewed-By: Nitin
2012-01-19 12:05:52 +05:30
kishan
a068475dcb
Bug 12477: Adding missing wait configs to upgrade script
...
Status 12477: resolved fixed
Reviewed-By: Nitin
2012-01-18 11:32:01 +05:30
Kelven Yang
b1376e1f04
bug 13021: add a global configuration variable to let control default network adapter type inside system VMs
2012-01-12 14:21:11 -08:00
kishan
b589e49263
Bug 12929: Added domain_id to event table. Populate domain_id while persisting events. Cleanedup EventUtils.
...
Status 12929: resolved fixed
Reviewed-By: Nitin
2012-01-12 16:16:06 +05:30
frank
52610ffcb3
add copyright header to shell scripts
2012-01-11 18:41:53 -08:00
frank
9c1b8ef673
add copyright delcartion to all sql files
2012-01-11 17:31:10 -08:00
frank
82cf4e2a31
Bug 12777 - Add storage network configuration into CloudStack
...
add DROP statement for new tables according to our code convention guide
http://docs.cloud.com/CloudStack_Documentation/Design_Documents/Coding_Conventions
2012-01-11 13:57:39 -08:00
Nitin Mehta
2ce205725d
Change of description text for some global configs
2012-01-11 17:30:24 +05:30
Sheng Yang
fb596aa003
bug 12974: Update system template in template.sql
2012-01-10 15:01:28 -08:00
Alena Prokharchyk
adaea570e4
bug 12934: added name to physical network
...
status 12934: resolved fixed
2012-01-09 14:20:37 -08:00
frank
1355a7d622
Bug 12777 - Add storage network configuration into CloudStack
...
DB upgrade:
update networks set guru_name='StorageNetworkGuru' where traffic_type='Storage';
2012-01-06 16:47:36 -08:00