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 52e334cefc .
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
frank
d91fbab9cf
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:12 -07:00
Alena Prokharchyk
8084318e5e
Remove obsolete network_tags table as a part of db upgrade cleanup
2012-04-11 16:23:51 -07:00
Alena Prokharchyk
85b35978de
Db upgrade path for 3.0.2 to 3.0.3
2012-04-09 15:50:10 -07:00
Alena Prokharchyk
98fd5cf959
bug 14622: introduced ha tagging for host
...
status 14622: resolved fixed
Conflicts:
server/src/com/cloud/host/dao/HostDao.java
2012-04-09 15:18:01 -07:00
Alena Prokharchyk
2d1a6b0b35
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:48 -07:00
Alena Prokharchyk
b14bac0977
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:52:32 -07:00
frank
2f634c0913
Switch to Apache license
2012-04-03 04:50:05 -07:00
prachi
23915b7481
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:15:30 -07:00
Alena Prokharchyk
ca981e209a
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:24 -07:00
frank
eb8975670f
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
Conflicts:
setup/db/db/schema-30to301.sql
2012-03-26 14:55:27 -07:00
Alena Prokharchyk
ce8e9a9f51
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
Conflicts:
server/test/com/cloud/network/MockNetworkManagerImpl.java
setup/db/db/schema-30to301.sql
2012-03-26 10:27:15 -07:00
Nitin Mehta
2a837c3ebd
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-22 10:01:49 +05:30
kishan
e84f29e37b
bug 14290: in 3.0 upgrade insert CentOS 5.6 template with ID 5
...
status 14290: resolved fixed
2012-03-21 17:25:38 +05:30
Alena Prokharchyk
81d7f9bdbf
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:40:32 -07:00
Alena Prokharchyk
8dafe972fe
bug 14341: fixed issue #3
...
status 14341: resolved fixed
2012-03-19 16:41:12 -07:00
Sheng Yang
32c0068ae3
bug 14341: Fix #2
2012-03-19 15:18:31 -07:00
Alena Prokharchyk
c01ed2f754
Added upgrade path from 3.0.x to 3.0.1
2012-03-19 13:38:38 -07:00
Alena
bb5a99f017
bug 14345: fixed #1,8,14 and 15
2012-03-19 10:56:13 -07:00
Alena Prokharchyk
167b0367b3
bug 14305: set name for the guest network in basic zone
...
status 14305: resolved fixed
2012-03-15 11:57:13 -07:00
Edison Su
a1e85cdd6d
bug 14201: delete duplicate guest os type. status 14201: resolved fixed
2012-03-14 11:49:15 -07:00
Abhi
d71ab32900
bug 14218: fixing category for redhat
2012-03-14 17:22:49 +05:30
Abhi
0c180a2cf6
bug 14217: added the missing guest oses
2012-03-14 15:15:53 +05:30
U-aprateek-PC\aprateek
52c3d5c792
bug 14219: 6.0 is now not in beta
2012-03-14 15:06:12 +05:30
Alena Prokharchyk
ad1192e264
bug 14239: limit number of Isolated account specific networks per account
...
status 14239: resolved fixed
Conflicts:
api/src/com/cloud/api/commands/CreateNetworkCmd.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/test/com/cloud/network/MockNetworkManagerImpl.java
2012-03-12 15:53:30 -07:00
kishan
14e2dd67bc
Bug 14195: Changed category of Usage and Secure configs
2012-03-12 16:10:05 +05:30
Alena Prokharchyk
681f80cc4d
bug 14221: fixed description for default network offering
...
status 14221: resolved fixed
2012-03-09 11:38:06 -08:00
Alena Prokharchyk
2fb4a97837
bug 14195: fixed category for Project related global config values
2012-03-09 11:19:08 -08:00
Nitin Mehta
ce8787ec80
Bug 14199: Add allocated workd to the config values.
...
Reviewed-By: Kishan
2012-03-09 12:19:36 +05:30
Alena Prokharchyk
8155b63c88
bug 14199: added missing config values during the db upgrade
2012-03-08 14:29:39 -08:00
Alena Prokharchyk
69d269df08
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:24 -08:00
frank
e358c45e8a
Bug 14170 - 2.2.14(KVM) - 3.0.1 Upgrade: DB inconsistencies after Upgrade
...
default resource_state should be Enabled
2012-03-08 10:25:34 -08:00
Sheng Yang
5f387762ed
bug 14170: Fix issue #7
2012-03-07 16:54:12 -08:00
Alena Prokharchyk
686761686f
bug 14170: fixed #4-6 and #9-13
2012-03-07 16:37:24 -08:00
Alena Prokharchyk
4f741c833c
bug 14170: issues #1-#3 are fixed
2012-03-07 13:37:16 -08:00
frank
4ff6fdf05f
2214to30 DB upgrade:
...
directly put simulator_network_label, ovm_network_label when creating physical_network_traffic_types
table
2012-03-06 11:11:48 -08:00
frank
a1e0771616
set xen.storage.network.device1 xen.storage.network.device2 to null when upgrade
2012-03-05 15:38:13 -08:00
frank
8890fbd1f8
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 15:37:53 -08:00
frank
77ba5d0f8e
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 15:37:46 -08:00
kishan
de997c1e45
Bug 13952: Changed category of Usage configs
...
Status 13952: resolved fixed
Reviewed-By: Abhi
2012-03-05 18:58:49 +05:30
Alena Prokharchyk
6a1d7e309d
More fixes to 2.2.x - 3.0 db upgrade
2012-03-01 18:31:50 -08:00
Sheng Yang
6e95f8a4a0
bug 14085: Upgrade: Update domain_router's Role
...
status 14085: resolved fixed
2012-03-01 14:58:40 -08:00
kishan
3bf242c664
Drop security group usage table and add again for upgrade
2012-02-29 14:44:58 +05:30
Alena Prokharchyk
e01088f4a6
DB upgrade: added missing account_details table
2012-02-28 17:19:17 -08:00
Edison Su
8fb378ac53
fix db upgrade
2012-02-28 17:03:18 -08:00
Edison Su
215bcb1ce6
fix db upgrade
2012-02-28 16:38:53 -08:00
Alena Prokharchyk
6ac729e294
Add is_system field to user_ip_address table during the db upgrade
2012-02-28 16:30:56 -08:00
Sheng Yang
0d2693c1c4
Add element_id for 3.0 upgrade
2012-02-28 16:19:38 -08:00
Edison Su
66b4351caf
fix db upgrade
2012-02-28 15:39:32 -08:00
Alena Prokharchyk
9b6c3867c7
Updated test data for db upgrade unittest
2012-02-28 15:27:03 -08:00
Alena Prokharchyk
2eaefc4aa8
Fixed unittest and some issues with 2.2.14-3.0 upgrade
2012-02-28 15:17:14 -08:00
anthony
b16eb44a9c
bug 13975: use correct hypervsor_version
...
status 13975: resolved fixed
reviewed-by : edison
2012-02-23 17:05:44 -08:00
Alena Prokharchyk
80a48e7a1a
2.2.x-3.0 upgrade - column name change
2012-02-22 16:38:52 -08:00
Alena Prokharchyk
2e9511e2ae
Changed isElastic to isSystem for the publicIpAddress assigned during the vm deployment in EIP enabled network
...
Reviewed-by: Chiradeep
2012-02-21 15:39:49 -08:00
Sheng Yang
2c27de0042
bug 12974: Update system template info in templates.sql
...
status 12974: resolved fixed
Reviewed-by: Frank Zhang
2012-02-21 13:50:17 -08:00
frank
e7d51ed5b6
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:24:47 -08:00
frank
a1fa313902
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:24:32 -08:00
kishan
ced6fd46b8
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 13:50:18 +05:30
Jessica Tomechak
4d517435b8
Update documentation headers for v3.0 in API Reference.
2012-02-16 02:04:30 -08:00
frank
ede4c502f2
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:12:46 -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
Ewan Mellor
22119a33b5
Added build-apidocs-zip build target that generates HTML versions of the
...
API docs. Uses XML/XSLT generation system originally by Abhinandan Prateek
(I think). CSS updates from Jessica Tomechak. gen_toc.py and build script
changes by me.
2012-02-08 20:40:29 -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
frank
2b9fe25fcd
Bug 13529 - Multiple Management Servers: cloud-setup-databases script fails to execute
...
status 13529: resolved fixed
2012-02-08 16:58:17 -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
20f0e1f86a
Bug 13034 - Error when executing cloud-setup-databases
...
fix typo
2012-01-11 21:02:05 -08:00
frank
676ac955cb
Bug 13034 - Error when executing cloud-setup-databases
...
status 13034: resolved fixed
2012-01-11 20:41:48 -08:00
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
frank
0526a8f337
Bug 12777 - Add storage network configuration into CloudStack
...
add DB upgrade schema
2012-01-06 16:08:37 -08:00
frank
51dc4aff80
Bug 12777 - Add storage network configuration into CloudStack
...
move cidr from op_dc_storage_network_ip_address to dc_storage_network_ip_range
2012-01-06 11:06:18 -08:00
frank
f72940e041
Bug 12777 - Add storage network configuration into CloudStack
...
most finish
2012-01-06 11:06:18 -08:00
frank
0b01c5dc1a
Bug 12777 - Add storage network configuration into CloudStack
...
create APIs
2012-01-06 11:06:17 -08:00
Sheng Yang
aa8bf6c135
Make networkoffering.conserve_mode not a required parameter for API
...
Also fix some NPEs
2012-01-06 11:02:13 -08:00
Sheng Yang
d3b4163dac
Add conserve_mode change in db upgrade
2012-01-05 21:12:39 -08:00
Sheng Yang
5e60228d2b
bug 12656: Add conserve mode for network offering
...
Conserve mode means, we can use same IP for different purposes, in order to
"conserve" ip resources. But in this offering, all the service providers should
be the same, and the network created from this offering may be prohibited from
update to different network offering whose services are provided by different
service providers - because different service providers would need different IPs
for different services.
If user want to update the "conserve mode" network with the network offering
that has different service providers, each public IP should have only one usage,
only them the update is allowed.
2012-01-05 21:08:23 -08:00
Kelven Yang
dcdd87b30f
bug 12709: add management server active fencing
2012-01-05 15:00:35 -08:00
kishan
151bbf286d
Bug 11823: Added cloud-setup-encryption script for encryption upgrade
...
Status 11823: resolved fixed
2012-01-05 17:11:35 +05:30
anthony
6c953ebe48
SWIFT : db upgrade
2011-12-28 16:01:10 -08:00
Alena Prokharchyk
1d0429233d
bug 12361: db upgrade for network offering22s
2011-12-28 15:52:43 -08:00
frank
54613c3989
add `host`.`update_count` to 2214to30 upgrade script
2011-12-28 15:36:59 -08:00
frank
25c6dac464
deploy cloud_usage when ant deploydb
...
correct fix
2011-12-28 14:45:16 -08:00
anthony
1f7a811bac
SWIFT : sync swift with secondary storage
2011-12-28 11:47:55 -08:00
Alena Prokharchyk
ff93f7ec54
Fixed db upgrade for security_group_rules table - at the moment when indexes are dropped, the table is already renamed
2011-12-28 10:34:29 -08:00
Alena Prokharchyk
ba1f21c29e
Unittest for db upgrade
2011-12-28 10:34:29 -08:00
Naredula Janardhana Reddy
93fcd024a5
Bug 12679: Database Upgrade script added for rp_filter from 2.2.12 to 2.2.13
2011-12-22 11:46:14 +05:30
Abhinandan Prateek
3e5e36e767
bug 12583: updated scripts
2011-12-20 13:24:52 +05:30
Prasanna Santhanam
18f865fc3e
Reviving the simulator
...
* SSVM to act as a direct connect agent
* Storage Resources handle SSVM commands
* create-schema.sql already has simulator_network_label. removing the label from create-schema-simulator.sql
2011-12-19 15:03:19 +05:30
Prasanna Santhanam
c3903673bc
upgrade schema changes for simulator_name_label on physical_network_traffic_type
2011-12-19 15:03:19 +05:30
Edison Su
e60f356f62
set the cpu weight based on cpu * cores
2011-12-15 15:13:33 -08:00
Sheng Yang
67fe67ea8c
Fix simulator_network_label in db
...
Commit 4f904d5fd9dbe5252b7a6075f712e9254059e2c0 "Changes to
PhysicalNetworkTrafficType to accomodate the simulator hypervisor type" broke
master. This patch fixes it.
2011-12-15 11:03:43 -08:00
frank
436af31a01
Bug 12565 - no check for correctness of the options given during cloud-setup-database steps
...
fix a typo
2011-12-15 10:59:54 -08:00
frank
5dbe84e2ee
Bug 12565 - no check for correctness of the options given during cloud-setup-database steps
...
status 12565: resolved fixed
2011-12-15 10:34:06 -08:00
Prasanna Santhanam
f9aaa42347
a) the new column for simulator_network_label b) re-enabling listener processing for SimulatorDiscoverer
2011-12-15 19:12:21 +05:30
kishan
c3ed426837
bug 12206: Added op_user_stats_log table to store historic user stats. Network stats update thread will update aggregate bytes and log the entry in this table. Mgmt server with min id will run this job.
...
status 12206: resolved fixed
reviewed-by: Nitin
2011-12-15 16:46:41 +05:30
Sheng Yang
ab50f65ed8
bug 12483: Discard zone's cidr
...
status 12483: resolved fixed
2011-12-14 17:23:24 -08:00
Alena Prokharchyk
2d169039ff
firewall.rule.ui.enabled is Enabled by default
2011-12-14 16:42:58 -08:00
Sheng Yang
e393dcd069
server-setup.xml: Add physical network enabled by default
...
Also add uuid for physical networks and zones. And fix server-setup.xml example.
2011-12-13 18:33:05 -08:00
Sheng Yang
3263fd596e
bug 10904: add a global config to enable/disable automatically add the vm to the default security group
...
status 10904: resolved fixed
2011-12-13 14:48:44 -08:00
kishan
bc32e0e60c
bug 12245: Added config parameters custom.diskoffering.size.min, custom.diskoffering.size.max. Added check while adding volumes with custom offering.
...
status 12245: resolved fixed
reviewed-by: Nitin
2011-12-13 15:04:37 +05:30
Alena Prokharchyk
c701eb8ca5
bug 12464: removed obsolete config value 'wait.cmd' as a part of db upgrade
...
status 12464: resolved fixed
2011-12-09 16:57:32 -08:00
Alena Prokharchyk
7ff1417cbb
bug 12229: added restartRequired field to the network object
...
The value is set to true when shutdownResources or implementResources fail.
2011-12-09 15:37:11 -08:00
prachi
bab29c4207
Bug 12361 DB upgrade from 2.2 to Acton
...
- Changes to schema file schema-2214to30.sql: moved out cleanup to separate file, added some NAAS changes
- Added physicalNetwork setup to Upgrade2214to30.java data migration
- Unit test and sample file
2011-12-10 00:01:15 +05:30
Alena Prokharchyk
3a94a41baf
bug 12305: drop max_connections from the network offering as this information is being set on network element level now
...
status 12305: resolved fixed
2011-12-09 09:00:08 -08:00
Alena Prokharchyk
d77d3f5cd0
bug 12387: relaxed not null constraint for unique_name - we set it to be NULL when it gets removed
2011-12-08 14:38:21 -08:00
kishan
c8dd7ec52f
bug 12436: Add new parameter external.network.stats.interval to upgrade script
...
status 12436 : resolved fixed
reviewed-by: Nitin
2011-12-08 12:16:51 +05:30
Alena Prokharchyk
5e3d93e908
bug 11542: public_ip is not unique in console_proxy/secondary_storage_vm tables
...
status 11542: resolved fixed
2011-12-07 16:44:25 -08:00
Sheng Yang
c05b4dbfb8
Add router.check.interval configuration for interval of checking redundant router status
2011-12-06 17:05:41 -08:00
frank
b6d6d8a66a
fix typo in 9e6b19e5a7d590b43745d2796fed01f60267b9be
...
resource_state ---> allocation_state
2011-12-06 10:35:02 -08:00
frank
91476b40ce
2214to30 db upgrade scripts for:
...
1. new agent manager, delete allocation_state column, add resource_state
2. add enable_sshkey in vm_template
3. add sort_key to vm_template, service_offering, disk_offering, network_offering
2011-12-06 10:33:18 -08:00
Alena Prokharchyk
7b8287d323
bug 10804: Api and middle layer support for default route feature
2011-12-05 14:53:45 -08:00
Sheng Yang
02e0296484
bug 12234: NaaS: Dynamic CIDR for virtual router
...
bug 12318: NaaS: Dynamic CIDR for virtual router
This patch in fact use ExternalGuestNetworkGuru to replace GuestNetworkGuru. The
problem is the virtual router would normally use 10.1.1.0/8 as CIDR, but when we
want to upgrade to external firewall e.g. Netscaler, the CIDR would need to be
changed to different value e.g. 10.x.x.0/24 based on VLAN, because the external
firewall can not support one CIDR for multiply VLAN right now. So we have to use
the same policy for virtual router.
This patch also add one field "specified_cidr" to the networks table. If this
field is true, then it means user specify the CIDR of this network, thus we can
not granutee the CIDR after upgrade is valid, so we would like to prohibit the
upgrade of network offering.
This should also fix bug 12318. The reason for bug 12318 is the pre-set gateway
address of domR is overrided by ExternalGuestNetworkGuru. After this patch,
ExternalGuestNetworkGuru would respect the existed value in Nic, rather than
simply wiping it out. It would do calcuation to get the relevant address after
VLAN changed.
More clean up can be done in the future, when we proved that this policy change
doesn't break...
status 12234: resolved fixed
status 12318: resolved fixed
2011-12-03 17:32:31 -08:00
frank
22f6ad7566
make vm_template.enable_sshkey default to 0
2011-12-02 15:42:00 -08:00
frank
0d7dc40189
Bug 11689 - Templates need a ssh key enabled attribute
...
status 11689: resolved fixed
2011-12-02 14:20:08 -08:00
frank
f4010f2215
better error message when checking hostname failed in cloud-setup-database
2011-12-01 10:40:38 -08:00
Naredula Janardhana Reddy
09905b641b
bug 10617: merge code from branch bug10617.
2011-12-01 14:17:52 +05:30
Naredula Janardhana Reddy
e4b5a62402
bug 10796: merging code from branch
2011-11-30 15:03:43 +05:30
frank
5800a88757
Bug 12220 - Unable to start management server due to "org.jasypt.exceptions.EncryptionOperationNotPossibleException"
...
don't encrypt empty password
status 12220: resolved fixed
2011-11-29 10:33:53 -08:00
Alena Prokharchyk
628ca6c6d7
bug 11018: removed private_netmask from vm_instance table
...
status 11018: resolved fixed
2011-11-28 14:15:14 -08:00
frank
c50250ca43
make encryption default while running cloud-setup-database
2011-11-28 13:26:35 -08:00
kishan
4e8a0a65f8
bug 12187, 12188: Encrypt system, admin user passwords. Use configDao for ssl.keystore. Set configuration init to null instead of false.
...
status 12187, 12188: resolved fixed
reviewed-by: Abhi
2011-11-28 18:21:20 +05:30
kishan
06ad936192
bug 12134: Added uuid column to cloud_usage account table
...
status 12134: resolved fixed
reviewed-by: Abhi
2011-11-28 13:05:02 +05:30
frank
7402ff0b8c
Bug 11990 - Add encryption properties to db.properties during install
...
better help message
2011-11-23 17:32:55 -08:00
frank
a23e8af810
Bug 11990 - Add encryption properties to db.properties during install
...
status 11990: resolved fixed
2011-11-23 16:54:45 -08:00
Nitin Mehta
cdd94c1b9a
bug 11811: Introduce a global config to disable extraction altogether for all users except root admin. Make changes so that volumes are based out of ISO. Take care of upgrade as well for this global config.
...
Reviewed by : Kishan.
2011-11-24 00:12:24 +05:30
Nitin Mehta
e034e3d7a3
Revert "bug 11811: Changing permissions for extraction of volumes based out of isos."
...
This reverts commit 9ed2be7ecda7c0bad05aec8e0213e95507ad9be6.
2011-11-23 18:38:37 +05:30
Murali Reddy
beb38c8310
making devices enabled independent of config commands
...
adding default device capacity when admin does not specify a vlaue
fixed bug in device allocation logic
2011-11-22 19:52:07 -08:00
frank
0f0729d2a0
Refine cloud-setup-database script
2011-11-22 18:23:03 -08:00
prachi
a8ffd0ea06
Added unique constraint on providername <-> physical network mapping.
2011-11-22 13:11:02 -08:00
Alena Prokharchyk
e014426889
Added global flag defining if the regular user is allowed to create a project
2011-11-22 10:04:32 -08:00
Murali Reddy
54f4ebf08c
changes for SRX add/config commands for UI integration
2011-11-21 16:57:41 -08:00
Murali Reddy
c9b2031fa9
changes in add/configure API commands for F5 & Netscaler for UI integration
2011-11-21 13:31:54 -08:00
Nitin Mehta
57aa7dec91
bug 11811: Changing permissions for extraction of volumes based out of isos.
...
As per the new design following would be done.
(a) any ISO-derived disk can be extracted
(b) there will be a global config to disable extraction of ISO based volumes.
That way people concerned about (a) can just use (b) to fix it.
Reviewed by : Kishan.
status 11811: resolved fixed
2011-11-21 16:58:09 +05:30
frank
284e72fd02
Fix colon in COMMENT of db schema which makes cloud-setup-database failed
2011-11-18 14:09:42 -08:00
Alena Prokharchyk
71ff88f211
bug 12067: set 'extractable' field default value to 0 as a part of 2.2.13 to 2.2.14 db upgrade
...
status 12067: resolved fixed
Conflicts:
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
server/src/com/cloud/upgrade/PremiumDatabaseUpgradeChecker.java
setup/db/create-schema.sql
2011-11-18 13:44:59 -08:00
prachi
b8b08555e6
Removing garbled characters.
2011-11-18 13:35:48 -08:00
prachi
313e6ca284
Bug 8791 user dispersing allocator
...
Changes:
- Added a two new deployment planners 'UserDispersingPlanner' and 'UserConcentratedPodPlanner' to the DeploymentPlanners
- Planner can be chosen by setting the global config variable 'vm.allocation.algorithm' to either of the following values:
('random', 'firstfit', 'userdispersing', 'userconcentratedpod')
- By default, the value is 'random'. When the value is 'random', FirstFitPlanner is invoked as before that shuffles the resource lists.
- Now Admin can choose whether the deployment heuristic should be applied starting at cluster or pod level. This can be done by using the
global config variable 'apply.allocation.algorithm.to.pods' which is false by default. Thus by default as earlier, planner starts at clusters directly.
'UserConcentratedPodPlanner' changes:
- Earlier to 3.0, FirstFitPlanner used to reorder the clusters in case this heuristic was chosen.
- Now this is done by a separate planner and is applied only when 'vm.allocation.algorithm' is set to this planner
- It reorders the capacity based clusters/pods such that those pods having more number of Running Vms for the given account are tried first.
- Note that this userconcentration is applied only to pods and clusters. Not to hosts or storagepools within a cluster.
'UserDispersingPlanner' changes:
- 'UserDispersingPlanner' reorders the capacity ordered pods and clusters based on number of 'Running' VMs for the given account in ascending order. Aim is to choose thodes pods/clusters first which have less number of Running VMs for the given account
- Admin can provide weights to capacity and user dispersion so that both parameters get considered in reordering the pods/clusters. This can be done by setting
the global config parameter 'vm.user.dispersion.weight'. Default value is 1. Thus if this planner is chosen, by default, ordering will be done only by number of Running Vms, unless the weight is changed.
- HostAlllocators and StoragePoolAllocators also reorder the hosts and pools by ascending order of number of Running VMS/ Ready Volumes respectively for the given account. Thus try to choose that host or pool within a cluster with less number of VMs for the account.
2011-11-17 18:29:39 -08:00
Nitin Mehta
e39498f1e7
bug 11997: Introduce created and update_time in the op_host_capacity table.
...
status 11997: resolved fixed
2011-11-17 18:10:59 +05:30
Sheng Yang
3aef381b37
NaaS: Add service provider to server-setup.xml
2011-11-15 17:09:55 -08:00
Edison Su
b2a5e26c06
bug 10792: add default system wide firewall rule
...
status 10792: resolved fixed
2011-11-15 16:51:30 -08:00
Kelven Yang
277c60e4f6
bug 11814: Allow template to have details info in key/value pairs.
2011-11-15 15:01:46 -08:00
Murali Reddy
0b05badaaa
bug 11817: NAAS external network device support
...
-made Netscaler, SRX, F5 network elements as pluggable service
-added abstract load balancer device manager ExternaLoadBalancerDeviceManager
-made both F5 and Netscaler pluggable service to extend ExternaLoadBalancerDeviceManager
-added abstract firewall device manager ExternalFirewallDeviceManager
-made SRX pluugable service to extende ExternalFirewallDeviceManager
-added API's to configure and manage netscaler devices
2011-11-15 12:18:59 -08:00
Alena Prokharchyk
bb2a8cf7ea
NaaS: added "subdomainAccess" parameter to domain level network object. The parameter defines whether the network can be accessed from the subdomains. If the parameter is not specified, it would be defaulted to allow.subdomain.network.access Global Config param
2011-11-14 18:13:47 -08:00
prachi
d7ae15beea
- Fixed missing UUId in listNetworkServiceProviders API
...
- BroadcastDomainRange will be 'POD' for 'basic' zone and 'ZONE' for an advance zone.
2011-11-14 17:39:09 -08:00
Alena Prokharchyk
591ba4f0ae
bug 11938: don't index usage tables when do upgrade from 2211 to 2212.
...
status 11938: resolved fixed
reviewed-by: Frank Zhang
This fix would cover following scenario:
* the customer is upgrading from 2.2.11 to 2.2.13.
* the incorrect indexes are being dropped as a part of 2.2.12 to 2.2.13 upgarde, but we still insert them as a part of 2.2.11 to 2.2.12, and it might lead to the db upgrade failure. The only one way to handle this case - remove them from 2.2.11 to 2.2.12 upgrade path
2011-11-14 16:00:41 -08:00
Naredula Janardhana Reddy
ca3ab3b0ca
Revert "Fixed deploydb"
...
This reverts commit 72844cd6156c37e73fd43eb1b3cecbbbff871eaa.
Conflicts:
setup/db/create-index-fk.sql
2011-11-14 10:16:51 +05:30
Sheng Yang
cdfac9a5e1
NaaS: Fix UUID of virtual router providers
2011-11-11 13:42:19 -08:00
prachi
da846e9c08
Adding UUID to new entities and API commands. PhysicalNetwork, PhysicalNetworkTrafficType, PhysicalNetworkServiceProviders changed.
2011-11-11 13:23:23 -08:00
Naredula Janardhana Reddy
f1b99f4f07
Revert "bug 10617: merging code from branch bug10617"
...
This reverts commit 8bc33448b9220534ba0ddc6c642ffb1e69d5844e.
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
2011-11-11 20:23:26 +05:30
Naredula Janardhana Reddy
3fffff8966
Revert "bug 10617: alter the sequence of add column"
...
This reverts commit ad17e0970e2a82d5870e455f5616aa9747825d8c.
2011-11-11 20:19:58 +05:30
Alena Prokharchyk
039e09ce93
* Introduced aclType parameter for createNetwork command (can hold 2 values now: Account and Domain). This parameter defines the access control type to the network object. If it's account -
...
only owner of the network can access it; if it's domain - all accounts in the domain and domain children can have an access.
* aclType replaces 2 old fields: isShared and isDomainSpecific.
* All 2.2.x account specific networks will have aclType=Account; 2.2.x Domain specific networks - aclType=domain; 2.2.x Zone level networks - aclType=Domain with domainId = Root domain id
2011-11-10 18:34:56 -08:00
Alena Prokharchyk
17cca192c7
Fixed deployDB broken with the merge
2011-11-10 16:47:41 -08:00
Sheng Yang
8b9b2d0f1a
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
...
Conflicts:
setup/db/create-index-fk.sql
setup/db/create-schema.sql
2011-11-10 16:40:54 -08:00
Sheng Yang
bde1f6d2de
Merge branch 'networkasservice'
...
Conflicts:
api/src/com/cloud/api/commands/CreateRedundantVirtualRouterElementCmd.java
api/src/com/cloud/api/commands/CreateVirtualRouterElementCmd.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/network/ExternalNetworkDeviceManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/offerings/NetworkOfferingVO.java
setup/db/create-schema.sql
2011-11-10 16:36:08 -08:00
Alena Prokharchyk
c6dc572ebe
Fixed deploydb
2011-11-10 16:00:54 -08:00
Alena Prokharchyk
5452705175
Fixed couple of merge db schema bugs
2011-11-10 15:57:19 -08:00
Alex Huang
d6c22c42fe
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-11-10 15:26:39 -08:00
Alex Huang
f6fcaa49ec
Merge complete except for virtualnetworkappliancemanager
2011-11-10 15:18:16 -08:00
Murali Reddy
122b62066a
bug 11817: NAAS: device allocation logic
...
- adding a allocation state to device
- change device allocation logic based on network offering and device state
2011-11-10 09:55:23 -08:00
Naredula Janardhana Reddy
b53dc42d0a
bug 10617: alter the sequence of add column
2011-11-10 15:37:02 +05:30
Naredula Janardhana Reddy
02adbd4bd3
bug 10617: merging code from branch bug10617
2011-11-10 15:23:48 +05:30
Sheng Yang
47114af94b
NaaS: Add redundant capability for Gateway service
2011-11-09 17:09:46 -08:00
Alena Prokharchyk
8d128fa737
bug 11573: made network wait timeout configurable
...
status 11573: resolved fixed
reviewed-by: Alex Huang
Conflicts:
setup/db/db/schema-2212to2213.sql
2011-11-09 13:14:27 -08:00
kishan
507bc20c03
bug 11938: Removed unique constraint on usage_network_offering table.
...
status 11938: resolved fixed
reviewed-by: Abhi
2011-11-09 16:28:22 +05:30
Murali Reddy
db991dd8f6
NAAS : adding support for service capabilities to be specified as part of network offering
2011-11-08 13:01:44 -08:00
prachi
8836a08e60
Added tp the table op_dc_vnet_alloc foreign key references to physical_network & data_center
2011-11-08 11:23:37 -08:00
alena
3a845d2d75
Keep Service/Provider map per network as well as per networkOffering (to handle the case when there are multiple providers defined for the same service in the network offering, and only one is picked when the network is created)
2011-11-07 16:16:03 -08:00
frank
d6db4a686e
Bug 11313 - Add an account param/detail/map in the XXXAccount API calls
...
status 11313: resolved fixed
2011-11-07 14:24:36 -08:00
prachi
5f93665a30
- Send network labels to hypervisor recource during processConnect
...
- Create Default physicalnetwork and add traffic types while creating a zone
- DeleteProvider should error out if there are networks using the provider.
- Other validations
2011-11-04 17:57:05 -07:00
Kelven Yang
2b6f3d458e
UUID support for XML responses
2011-11-04 17:38:22 -07:00
Murali Reddy
f58eab684f
bug 11817: NAAS: extenal LB/firewall device support
...
- guest network to device mapping using first fit allocation when there are multiple instance of provider in a physical network
2011-11-03 18:04:51 -07:00
Sheng Yang
3de3fc69d2
NaaS: Implement shutdownProviderInstances for virtual router
2011-11-03 13:44:26 -07:00
Murali Reddy
7b51782163
bug 11817: NAAS: extenal LB/firewall device support
...
-introducing the notion of capacity of LB device
-managing network to device mapping
2011-11-03 11:19:55 -07:00
frank
92edf56ccc
Bug 7883 - Add support to allow admins to sort templates, isos, offerings...
...
status 7883: resolved fixed
2011-11-03 10:54:00 -07:00
Kelven Yang
924e556c95
bug 6745: Using UUID instead of integers - for all commands
2011-11-03 07:34:00 -07:00
Kelven Yang
8d8775b533
bug 6745: Using UUID instead of integers - for Async Jobs
2011-11-03 07:33:58 -07:00
Kelven Yang
fa2dd8e93a
bug 6745: Using UUID instead of integers - for VM instances
2011-11-03 07:33:56 -07:00
Abhinandan Prateek
fab2d1f880
bug 11678: added vm.destory.forcestop config var to set force when destroying a vm
2011-11-03 15:51:02 +05:30
Sheng Yang
b646f07f9c
NaaS: Add back service offering ID for network offering
...
It would be used to adjust service offering of virtual router
2011-11-02 19:08:37 -07:00
Sheng Yang
3fc9b149e4
NaaS: Add portforwarding and staticnat service provider
...
Make them service rather than capability of firewall. Now firewall only means
open/close the port.
2011-11-02 15:18:39 -07:00
prachi
6aa743165a
Changes to support Enable/ Disable services of a service provider added to physical network:
...
- ListSupportedNetworkServiceProvidersCmd will now return Providers along with its element's services and boolean 'canEnableIndividualServices' that indicates if for this Provider services can be enabled/disabled
- add & update NetworkServiceProvider changed to take in the list of services to enable. While adding a provider, if list is null then all services supported by the element are enabled by default.
- ListNetworkServices enhanced to take in a provider name and returns services of that specific provider.
2011-11-01 18:03:55 -07:00
alena
2250dff349
1) Removed tags from the network object
...
2) Get hypervisor tags from the physical network instead.
2011-11-01 17:42:06 -07:00
kishan
18ef8ca3b4
bug 11173: Added usage for VPN users
...
status 11173: resolved fixed
2011-11-01 17:01:48 +05:30
Sheng Yang
a43364f0a4
NaaS: Rename virtual_router_elements to virtual_router_provider
2011-10-31 15:59:53 -07:00
Sheng Yang
cd3fbf0548
NaaS: Create AddVirtualRouterElementCmd
...
As DhcpElement/VirtualRouterElement/RedundantVirtualRouterElement is decided to
be the service provider of the physical network, this API should be called to
add a new element, with correlated network service provider ID.
Then e.g. ConfigureVirtualRouterElementCmd should be called to configure and
enable the element.
2011-10-31 15:59:44 -07:00
Sheng Yang
00bb63ac67
NaaS: Remove separate configuration fields for virtual router elements
...
The fields are duplicated with network offerings.
2011-10-31 15:59:36 -07:00
anthony
46dac852fa
Merge branch 'swift'
...
Conflicts:
server/src/com/cloud/agent/AgentManager.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/host/dao/HostDao.java
server/src/com/cloud/host/dao/HostDaoImpl.java
server/src/com/cloud/resource/ResourceManagerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/download/DownloadMonitorImpl.java
server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
2011-10-31 15:04:48 -07:00
prachi
818df189c5
changes to Create Vlan & Public IPs
2011-10-31 09:53:25 -07:00
kishan
284ee3909e
bug 9842: Added task to update user stats agg bytes in sync with aggregation range
...
status 9842: resolved fixed
2011-10-31 17:15:36 +05:30
Nitin
bbbfdd52ec
bug 10848: Minor fixes.
2011-10-31 17:00:11 +05:30
Nitin
2b370ab535
bug 10657: Introducing cluster level global thresholds for cpu and ram so that these resources do not go beyond these thresholds. The reason for this is because, if the admn needs to provide maintenance, they don't have to add new machines or have ones on standby if the entire zone/pod/cluster is at 100% allocated capacity. Also introducing pool level global thresholds for allocated storage. There are other changes like DB upgrade and introduction of transaction.
2011-10-29 16:51:37 +05:30
frank
3f630ebe08
add upgrade path from 2.2.x to 2.2.13 for baremetal
2011-10-28 14:30:57 -07:00
prachi
6d5601a84d
Added commands and framework for PhysicalNetwork trafficTypes
2011-10-27 17:32:15 -07:00
frank
171e11a89b
fix deploydb due to new agent manager merge
2011-10-27 17:18:18 -07:00
alena
d315e57b0e
Renamed "type" to "guestType"
2011-10-27 16:51:42 -07:00
alena
fe0b685e95
Security group is a service now
2011-10-27 16:49:20 -07:00
anthony
4116d0d4e4
Swift : bug fix
2011-10-27 16:04:18 -07:00
Sheng Yang
b369e45c78
NaaS: Remove some configure items for virtual router
...
DHCP range, domain name, etc. are the property of network, not virtual router
specific.
The focus of virtual router configuration would on separate enable/disable each
service it provided.
2011-10-27 11:55:03 -07:00
anthony
d1141aff7d
Swift : add Swift api
2011-10-27 11:48:48 -07:00
frank
cef30956e9
Merge branch 'newagentmgr'
...
Conflicts:
agent-simulator/src/com/cloud/api/commands/ConfigureSimulator.java
ovm/src/com/cloud/ovm/hypervisor/OvmDiscoverer.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/capacity/CapacityManagerImpl.java
server/src/com/cloud/network/F5BigIpManagerImpl.java
server/src/com/cloud/network/JuniperSrxManagerImpl.java
server/src/com/cloud/resource/ResourceManagerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
utils/src/com/cloud/utils/db/GenericDao.java
2011-10-27 11:09:56 -07:00
Nitin
f85d558b6e
bug 10774: Introduce percentage in list commands and cluster id in alert table
2011-10-27 11:23:57 +05:30
frank
1883afeaa3
Bug 11522 - New agent manager
...
add update count into host table in order to make agent status update atomic
2011-10-26 16:14:57 -07:00
Murali Reddy
a48ee9c568
add support for multiple provider instanes per physical network
...
refactor NetworkDevicemanager and ExternalnetworkdeviceManager in to one single manager
2011-10-27 03:07:30 +05:30
frank
cb3c2699b7
Add Solaris support for Ovm
...
Conflicts:
setup/db/templates.sql
2011-10-25 18:12:18 -07:00
prachi
07591807af
Removing isolationMethods from UpdatePhysicalNetwork API.
2011-10-25 11:39:41 -07:00
Nitin
d684796e07
bug 10848: DB upgrade changes for dashboard work
2011-10-25 15:32:53 +05:30
anthony
510d1dbef7
Swift : upload template to Swift and sync between Swift and secondary storage
2011-10-24 18:48:16 -07:00
alena
75c8e33226
Removed guestIpType from network/networkOffering
2011-10-24 17:05:00 -07:00
Edison Su
92eaf49f29
Add storage migration
2011-10-24 15:59:47 -07:00
Kelven Yang
fc3d93e3e7
bug 9614: let root volume use IDE disk controller by default to ensure backwards compatibility with existing CloudStack deployments
2011-10-24 15:28:51 -07:00
kishan
83b4d2f7f9
bug 5822, 10783: Security enhancements initial checkin. Added encryption support to db.properties and some DB values.
2011-10-24 10:26:02 +05:30
Kelven Yang
443c175793
bug 9614: enable SCSI device controller for root disk.(default root disk controller type can be conifgured through global configuration)
2011-10-21 18:44:56 -07:00
anthony
6c5c24dd6b
swift: create volume from template works
2011-10-21 12:53:58 -07:00
Kelven Yang
590ce6d78a
bug 11774: refactor guest OS mapping to avoid conflicts with changes in master branch
2011-10-20 17:38:57 -07:00
prachi
0d7ddb5d58
Changes:
...
- Make all API commands Async and add events
- Make BroadcatsDomainRange case insensitive
- Process all _networkElements to build the Service -> Provider map during NetworkMgr::configure()
2011-10-20 17:11:30 -07:00
Sheng Yang
fdc354adb5
NaaS: Add VirtualRouterElements table
...
It would cover the configuration of DHCPElement, VirtualRouterElement and
RedundantVirtualRouterElement.
Also add foreign key in domain_router table to reflect the domain_router is
created from which element and use what configuration.
2011-10-20 13:59:02 -07:00
prachi
654eaec663
NAAS: Configuring Zone
...
- Create Zone changes and changes to data_center table to remove vlan, securityGroup fields
- Physical Network lifecycle APIs
- Physical Network Service Provider APIs
- DB schema changes
2011-10-19 22:44:03 -07:00
anthony
c97010a160
BackupSnapshot to Swift
2011-10-18 18:11:09 -07:00
frank
cd929e69fa
correct ant build-apidoc
...
use right script path
2011-10-18 14:40:28 -07:00
frank
625a601615
correct ant build-apidoc
2011-10-18 14:31:33 -07:00
alena
c00058adc2
Added type (Shared/Isolated) to the networkOffering/networks
2011-10-13 17:33:41 -07:00
alena
7433d5314a
1) Refactored networkOfferings:
...
* moved all services to the separate table, map them to the network_offering+provider.
* added state/securityGroupEnabled properties for the networkOffering
* added ability to list by state/securityGroupEnabled in listNetworkOfferings api command
2) New service: SourceNat
2011-10-12 16:38:59 -07:00
frank
dc7a391413
Bug 11640 - Upgrade from 2.2.9 FOSSOVM to 2.2.12- OVM hypervisor is not provided as one of the options for "Hypervisor" when adding a cluster
...
add Ovm in hypervisor.list of configuration table
status 11640: resolved fixed
2011-10-12 15:08:35 -07:00
Sheng Yang
30d48c40b3
Network as a service(NaaS): Separate redundant virtual router as a standalone element
...
Since we would introduce a way to specify each service provider in the network
offering, it's better for redundant virtual router as a separate service
provider.
Also isRedundant() flag in the network offering would be removed. Redundant
virtual router temporality won't work from now. Until we're able to add
different network elements/service providers in network_offering.
2011-10-10 15:41:07 -07:00
alena
eba6864965
bug 11667: drop primary keys in cloud_usage.usage_load_balancer_policy and cloud_usage.usage_port_forwarding
...
status 11667: resolved fixed
Conflicts:
server/src/com/cloud/user/AccountManagerImpl.java
2011-10-07 11:02:14 -07:00
alena
a17570ef51
1)Implemented Suspend/Activate project
...
2)Email/token based invitation system
2011-10-06 16:10:36 -07:00
alena
25c2734e03
More stuff to Projects feature - added support for adding resources (vms, templates, isos) to the project
2011-10-05 13:24:25 -07:00
Sheng Yang
b8f8989821
bug 11130: Update template and script version in the database when domR started
2011-09-29 14:51:20 -07:00
alena
53b1b9f63b
bug 11603: for OSS build - update guru_name from GuestNetworkGuru to ExternalGuestNetworkGuru.
...
status 11603: resolved fixed
2011-09-29 10:43:01 -07:00
frank
e5fca855c1
Bug 11522 - New agent manager
...
register/unregister resource state adapter in configure/stop of implementations
2011-09-27 11:51:03 -07:00
alena
ccd47c1b21
Implemented Project Invitations
2011-09-26 17:47:20 -07:00
Sheng Yang
abcf246293
bug 11513: Fix public IP release in advance network
...
We should only persist DomR's public ip, not console proxy and ssvm.
Reviewed-by: Edison
2011-09-21 19:16:41 -07:00
alena
9f9b60a287
1) Added resource limits for the Projects - the same as for the account
...
2) Added "Project" limit type for the Domain object
2011-09-21 17:09:49 -07:00
kishan
6303ab8a10
Remove unused tables event and usage_security_group from cloud_usage schema.
2011-09-21 18:12:44 +05:30
alena
a1331d1cfc
Intermidiate checkin to Project feature:
...
1) Introduce new managers - ProjectManager and DomainManager. Moved all domain related code from AccountManager to DomainManager.
2) Moved some code from ManagementServerImpl to the correct managers.
3) New resource limit for Domain - Project
2011-09-20 18:35:28 -07:00
Sheng Yang
fdfb4d3678
bug 11504: Fix source nat ip's NIC strategy from upgrading
...
We've added "Strategy.Managed" for source nat ip address, to prevent it from
releasing when we try to execute restartNetwork command. But we didn't update
the existed nics when mgmt upgraded. This would result in restartNetwork command
fail(NPE) when try to restart an existed network.
status 11504: resolved fixed
Reviewed-by: Alena
2011-09-20 17:49:34 -07:00
keshav
e801a21001
Added inline load balancer nic map table to 2.2.11 -> 2.2.12 upgrade script.
2011-09-16 10:15:31 -07:00
kishan
96c51df0d5
bug 11344: Added constarints on usage helper tables. Added corresponding alter queries in upgrade script
...
status 11344: resolved fixed
Reviewed-by: Nitin
2011-09-16 18:21:06 +05:30
Naredula Janardhana Reddy
10fb507609
bug 11372:
...
Added two New values "all" and "default" to global config "network.loadbalancer.haproxy.stats.visibility" . With this change, it can take six possible value:
global - stats visible from public network.
guest-network - stats visible only to guestnetwork.
link-local - stats visible only to link local network(for xen and kvm).
disabled - stats disabled.
all - stats available on public,guest and link-local. (Newly added)
default - stats availble on the serving http port, this does need any specific http port.(Newly added)
Except "default" and "disabled", all the rest of 4 need to configure the stats port.
2011-09-15 11:46:34 +05:30
Sheng Yang
e330e97f4b
bug 11307: Mark router as to-be-stopped, rather than force stop it.
...
Force stop the router would release all the resources it used, but router may
still running. Add a column "stop_pending" in the database, and stop it when the
router come back.
Admin would able to choose to force destroy such router, then recover the
network using restartNetwork command with cleanup=false.
2011-09-14 16:23:17 -07:00
Sheng Yang
dfd36e4ae2
bug 11307: Add Bumped field for domain_router
...
Only used for redundant virtual router.
2011-09-14 16:22:11 -07:00
alena
c4efac2083
Added back changed reverted by merge
2011-09-13 11:19:48 -07:00
anthony
162e5cf50a
storage_ip_address in host table can be NULL
2011-09-13 11:15:47 -07:00
anthony
7da10dc158
bug 11403:
...
use unique_name to do update
2011-09-13 11:08:27 -07:00
kishan
d2293137c7
bug 11199: Moved DB upgrade changes to schema-2211to2212-premium
...
status 11199: resolved fixed
2011-09-13 23:28:54 +05:30
alena
f6a79c603f
bug 11036: resource count update is refactored
...
status 11036: resolved fixed
1) Use row locks instead of global lock when update resource_count table. When update resource_count for account, make sure that we lock account+all related domains
2) Insert resource_count records for account/domain at the moment when account/domain is created.
3) As a part of DB upgrade, insert missing resource_count records for all non-removed accounts/domains
Conflicts:
core/src/com/cloud/alert/AlertManager.java
server/test/com/cloud/agent/MockAgentManagerImpl.java
2011-09-13 10:47:36 -07:00
kishan
7840302c70
bug 11199: Added indexes to upgarde 2211 to 2212 script
...
status 11199: resolved fixed
2011-09-13 18:01:51 +05:30
kishan
1b44c0c8f5
bug 11199: Added indexes to tables in cloud_usage DB in create-schema-premium.sql
...
status 11199: resolved fixed
2011-09-13 17:57:21 +05:30
Edison Su
d461cfbf1b
fix security group rule which not get updated into db, and simulator agents reports the wrong security group to mgt server
2011-09-12 19:09:41 -07:00
Chiradeep Vittal
fae5e84699
if the xenserver host cannot do bridge firewalling do not attempt to retry the security rule updat
...
change some logs to debug level
2011-09-12 18:20:24 -07:00
Chiradeep Vittal
d03c5af720
make instance_id unique to allow usage of ON DUPLICATE KEY
...
useful logging
Reduce batch size to 16 to avoid sql errors
try using multi inserts to overcome deadlock during batch update
2011-09-12 18:20:23 -07:00
Chiradeep Vittal
e216686029
Revert "bug 10617: Intermediate checking"
...
revert pending review
This reverts commit 561b27565512d438db3d8896df6f97b644b0b498.
2011-09-12 14:45:58 -07:00
Nitin
cbe996e1ce
bug 11403: Making hypervisor_type of xs-tools.iso (id=200) as XenServer. Made the corresponding DB changes as well.
2011-09-13 03:07:32 +05:30
Prasanna Santhanam
53b8b99d57
* Added indexes to some of the mock tables
...
* Moving the mocksecurityrules to Memory
(cherry picked from commit 76b07b040fc62a4f56e85a2d113eec8e4dc60c54)
2011-09-12 17:09:21 +05:30
alena
5a67bfd7f0
bug 11393: insert agent.lb.enabled config parameter (if doesn't exist) as a part of db upgrade
...
status 11393: resolved fixed
2011-09-09 14:06:11 -07:00
Naredula Janardhana Reddy
f9b0962ad9
bug 10617: Intermediate checking
...
Changes :
- Fixing API doc +response name + errorMessage
- Adding seperate events to Egress rules
- Egress rules Using the same database table as that of ingress with new column type.
Pending Tasks:
- db upgrade
- database table rename from security_ingress_rule to generic name, renaming some of the jave class from ingress to generic name.
- Retesting on kvm
2011-09-09 18:14:19 +05:30
kishan
4e663bbef9
bug 8338: Added usage.aggregation.range parameter. Also included in 2211 to 2212 upgrade
2011-09-09 13:43:13 +05:30
prachi
bd09e70509
Bug 11200 - maximum number of guests per host
...
Changes to schema file to insert default records in hypervisor_capabilities table.
2011-09-08 18:23:37 -07:00
Kelven Yang
048dc4eb62
bug 11381: Set HypervisorVersion to StartupRoutingCommand when a VMWare host connects
2011-09-08 17:04:48 -07:00
Kelven Yang
aa7f06d7eb
bug 11384: deprecate vmware.guest.nic.device.type global configuration variable
2011-09-08 16:11:17 -07:00
Kelven Yang
f70958809b
bug 11360: make user_vm_details generic to all VMs instead of user-only VMs, VM details info will be carried down to hypervisor resource
2011-09-07 15:42:40 -07:00
prachi
84868b7f9c
Bug 11200 - maximum number of guests per host
...
Changes:
- Adding a new table 'hypervisor_capabilities' that will record capabilities for each hypervisor version. Added db schema changes for this.
- Currently a few capabilities have been added, namely, 'max_guests_limit' and 'security_group_enabled'
- Added a new column 'hypervisor_version' to host table. StartupRouting command now takes in this parameter. It should be set when a host connects.
- If a host's hypervisor version is not present, we find all the capabilities rows for that hypervisor type and use the first record.
- 'max_guests_limit' is the maximum number of running guest Vms that a host can have for the given hypervisor.
- Host Allocators use this limit and skip a host if the number of running VMs on that host exceeds this limit.
2011-09-07 14:53:05 -07:00
alena
b883b25a12
bug 11348: make content type for "json" files configurable
...
status 11348: resolved fixed
2011-09-07 14:22:01 -07:00
alena
6dfd2f280b
1) More logging to cloud-sysvmadm script - to give the user better details on which domR is being restarted at the moment
...
2) When domR is executed in parallel thread, make sure that the thread "exit 0" after the restart is done
2011-09-06 16:11:17 -07:00
alena
fb01f58bcb
bug 11329: changed default number of parallel threads to be 10 in cloud-sysvmadm
...
status 11329: resolved fixed
2011-09-06 11:31:50 -07:00
alena
8fb76e747e
bug 11321: update vms in obsolete "Creating" state to "Error" state.
...
status 11321: resolved fixed
2011-09-02 17:30:50 -07:00
kishan
8d5e7ff659
bug 11316: In 2.2.y, removed new template upgrade changes. Added upgrade path from 2210 to 2211. Moved existing changes to 2211to2212
...
status 11316: resolved fixed
2011-08-31 15:16:12 +05:30
kishan
2ff1e4f92a
bug 11316: Removed new template upgrade changes. Added upgrade path from 2210 to 2211. Existing changes moved to 2211to2212 upgrade
...
status 1316: resolved fixed
2011-08-31 14:19:20 +05:30
alena
0b95ad2f0f
bug 11290: insert VPN config values as a part of 229-2210 upgrade
...
status 11290: resolved fixed
2011-08-29 11:22:42 -07:00
Naredula Janardhana Reddy
db0d6329d8
bug 11253:
...
Added New value "link-local" to global config network.loadbalancer.haproxy.stats.visibility . With this change it can take new parameter "link-local" value apart from the existing 3 values global,guest-network,disabled.
global - stats visible from public network
guest-network - stats visible only to guestnetwork.
link-local - stats visible only to link local network.
disabled - stats disabled.
2011-08-26 15:21:49 +05:30
Naredula Janardhana Reddy
cbed4c7a44
bug 11253:
...
Added New value "link-local" to global config network.loadbalancer.haproxy.stats.visibility . With this change it can take new parameter "link-local" value apart from the existing 3 values global,guest-network,disabled.
global - stats visible from public network
guest-network - stats visible only to guestnetwork.
link-local - stats visible only to link local network
disabled - stats disabled.
2011-08-26 15:21:29 +05:30
alena
a11b7de9fe
Set firewall.rule.ui.enabled to false by default
...
Conflicts:
server/src/com/cloud/configuration/Config.java
2011-08-25 16:12:55 -07:00
Kelven Yang
97a7dddf7d
bug 11162: support memory overprovisioning in VMware
2011-08-25 15:38:28 -07:00
prachi
05440f0905
Bug 9921 - template tags
...
Changes:
- CreateTemplate and RegisterTemplate now support adding a template tag. It is a string value. This is root-admin only action - only admin can add template tags.
- ListTemplates will return the template tag in response.
- HostAllocator changed to use template tag along with the existing tag on service offering. If both tags are present, allocator now finds hosts satisfying both tags. If no hosts have both tags, allocation will fail.
- DB changes to add new column to vm_template table.
- DB upgrade changes for upgrade from 2.2.10 to 2.2.11
2011-08-25 12:03:59 -07:00
Naredula Janardhana Reddy
145a4aad37
bug 11191: Added global config to disable/enable rp_filter for domR(public interfaces)
2011-08-24 13:30:23 +05:30
Naredula Janardhana Reddy
4169be9e49
bug 11191: Added global config to disable/enable rp_filter for domR(public interfaces)
...
Conflicts:
setup/db/db/schema-228to229.sql
2011-08-24 13:28:48 +05:30
frank
b3478c377e
Full opensource
2011-08-23 19:52:19 -07:00
alena
8a7feb8ec1
Merge branch '2.2.y'
...
Conflicts:
agent/src/com/cloud/agent/resource/computing/LibvirtComputingResource.java
api/src/com/cloud/agent/api/routing/LoadBalancerConfigCommand.java
api/src/com/cloud/agent/api/to/FirewallRuleTO.java
api/src/com/cloud/agent/api/to/IpAddressTO.java
api/src/com/cloud/agent/api/to/PortForwardingRuleTO.java
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/BaseCmd.java
api/src/com/cloud/api/ResponseGenerator.java
api/src/com/cloud/api/commands/CreateFirewallRuleCmd.java
api/src/com/cloud/api/commands/CreateIpForwardingRuleCmd.java
api/src/com/cloud/api/commands/CreateLoadBalancerRuleCmd.java
api/src/com/cloud/api/commands/CreatePortForwardingRuleCmd.java
api/src/com/cloud/api/commands/DeleteLoadBalancerRuleCmd.java
api/src/com/cloud/api/commands/ListCapabilitiesCmd.java
api/src/com/cloud/api/commands/UpdateNetworkCmd.java
api/src/com/cloud/api/response/CapabilitiesResponse.java
api/src/com/cloud/network/Network.java
api/src/com/cloud/network/NetworkService.java
api/src/com/cloud/network/firewall/FirewallService.java
api/src/com/cloud/network/lb/LoadBalancingRule.java
api/src/com/cloud/network/lb/LoadBalancingRulesService.java
api/src/com/cloud/network/rules/FirewallRule.java
api/src/com/cloud/network/rules/RulesService.java
api/src/com/cloud/offering/NetworkOffering.java
client/tomcatconf/commands.properties.in
cloud.spec
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
core/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java
core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
core/src/com/cloud/storage/template/DownloadManagerImpl.java
core/src/com/cloud/vm/DomainRouterVO.java
debian/cloud-deps.install
patches/systemvm/debian/config/etc/init.d/cloud-early-config
patches/systemvm/debian/config/root/ipassoc.sh
patches/systemvm/debian/config/root/loadbalancer.sh
scripts/vm/hypervisor/kvm/rundomrpre.sh
scripts/vm/hypervisor/xenserver/vmops
server/src/com/cloud/agent/manager/AgentAttache.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/agent/manager/AgentMonitor.java
server/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
server/src/com/cloud/alert/ClusterAlertAdapter.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/cluster/ClusterManagerImpl.java
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/configuration/ConfigurationManager.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/deploy/FirstFitPlanner.java
server/src/com/cloud/ha/HighAvailabilityManagerImpl.java
server/src/com/cloud/host/dao/HostDaoImpl.java
server/src/com/cloud/hypervisor/xen/discoverer/XcpServerDiscoverer.java
server/src/com/cloud/network/LoadBalancerVO.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/dao/FirewallRulesDao.java
server/src/com/cloud/network/dao/FirewallRulesDaoImpl.java
server/src/com/cloud/network/element/DhcpElement.java
server/src/com/cloud/network/element/VirtualRouterElement.java
server/src/com/cloud/network/firewall/FirewallManagerImpl.java
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/network/rules/FirewallManager.java
server/src/com/cloud/network/rules/FirewallRuleVO.java
server/src/com/cloud/network/rules/PortForwardingRuleVO.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
server/src/com/cloud/network/rules/StaticNatRuleImpl.java
server/src/com/cloud/network/security/SecurityGroupListener.java
server/src/com/cloud/network/security/SecurityGroupManagerImpl.java
server/src/com/cloud/offerings/NetworkOfferingVO.java
server/src/com/cloud/server/ConfigurationServerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/StorageManager.java
server/src/com/cloud/storage/StorageManagerImpl.java
server/src/com/cloud/storage/dao/VMTemplateHostDaoImpl.java
server/src/com/cloud/storage/download/DownloadMonitorImpl.java
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
server/src/com/cloud/upgrade/dao/Upgrade228to229.java
server/src/com/cloud/upgrade/dao/Upgrade229to2210.java
server/src/com/cloud/user/AccountManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
server/src/com/cloud/vm/dao/DomainRouterDao.java
server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
setup/db/create-index-fk.sql
setup/db/create-schema.sql
setup/db/db/schema-222to224.sql
setup/db/db/schema-227to228.sql
setup/db/db/schema-228to229.sql
setup/db/db/schema-229to2210.sql
tools/testClient/README
ui/scripts/cloud.core.instance.js
utils/src/com/cloud/utils/SerialVersionUID.java
utils/src/com/cloud/utils/db/ConnectionConcierge.java
utils/src/com/cloud/utils/db/Merovingian2.java
utils/src/com/cloud/utils/db/Transaction.java
utils/src/com/cloud/utils/nio/Link.java
utils/src/com/cloud/utils/nio/NioConnection.java
utils/src/com/cloud/utils/time/InaccurateClock.java
2011-08-22 20:28:30 -07:00
Naredula Janardhana Reddy
4369b0ba96
bug 1067:
...
- covered basic impelementation for xen, need to test corner cases.
- Not implemneted: kvm, vmware , listing of egress rules.
2011-08-19 11:10:16 +05:30
Edison Su
e8a62cc4a9
add security table
2011-08-18 11:38:26 -07:00
Edison Su
bdb325609d
simulate more commands
2011-08-18 11:38:18 -07:00
Edison Su
df6bee4061
add template for simulator
2011-08-18 11:37:50 -07:00
Edison Su
1cf4db7276
add security table
2011-08-16 10:30:52 -07:00
Edison Su
3dc2e0a919
simulate more commands
2011-08-16 10:30:52 -07:00
Edison Su
0be1510496
add template for simulator
2011-08-16 10:30:51 -07:00
kishan
1b6f583748
Added sql queries and script to update new template and restart networks
2011-08-16 19:51:11 +05:30
kishan
db6c0e810b
Added sql queries and script to update new template and restart networks
2011-08-16 19:42:51 +05:30
alena
5fcc2616a1
bug 11120: elb/load balancer config values should be the part of 229 to 2210 db upgrade, not 228 to 229
...
status 11120: resolved fixed
2011-08-15 10:20:35 -07:00
alena
803255b0ba
bug 11029: db upgrade from 2.2.9 to 2.2.10 includes firewall_rule upgrade now
...
status 11029: resolved fixed
Commit also includes the following:
* map firewall rule to pf/lb/staticNat/vpn when the firewall rule is created as a part of pf/lb/staticNat/vpn rule creation
* when delete firewall rules, also delete related firewall rule
2011-08-15 10:18:09 -07:00
alena
6b9603bc4c
bug 10561: intermidiate checkin for FirewallRuleFeature
...
1) Added new apis: createFirewallRule, deleteFirewallRule, listFirewallRules
2) Modified existing apis - added boolean openFirewall parameter to createPortForwardingRule/createIpForwardingRule/createRemoteAccessVpn. If parameter is set to true, open firewall on the domR before creating an actual PF rule there
Modified backend calls appropriately.
3) Schema changes for firewall_rules table:
* startPort/endPort can be null now
* added icmp_type, icmp_code fields (can be not null only when protocol is icmp)
4) Added new manager - FirewallManagerImpl
Conflicts:
api/src/com/cloud/api/BaseCmd.java
client/tomcatconf/commands.properties.in
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
2011-08-09 15:51:56 -07:00
alena
f521b6844d
Revert "Network_domain is supported in nectarine 2.2.8, so adding corresponding db upgrade step to 228-229 upgrade"
...
This reverts commit bc43d5ba5c6b329f39b2ab89256c381e3ca677f6.
Conflicts:
setup/db/db/schema-228to229.sql
2011-08-09 15:07:21 -07:00
Kelven Yang
eb28549e6c
Seperate template cleanup control to enable template preloading
2011-08-09 13:42:50 -07:00
Kelven Yang
fe9ccf33b5
Seperate template cleanup control to enable template preloading
2011-08-09 13:38:27 -07:00
Chiradeep Vittal
924961d898
merge nectarine
2011-08-08 21:45:37 -07:00
alena
06d007337a
bug 10561: intermidiate checkin for FirewallRuleFeature
...
1) Added new apis: createFirewallRule, deleteFirewallRule, listFirewallRules
2) Modified existing apis - added boolean openFirewall parameter to createPortForwardingRule/createIpForwardingRule/createRemoteAccessVpn. If parameter is set to true, open firewall on the domR before creating an actual PF rule there
Modified backend calls appropriately.
3) Schema changes for firewall_rules table:
* startPort/endPort can be null now
* added icmp_type, icmp_code fields (can be not null only when protocol is icmp)
4) Added new manager - FirewallManagerImpl
2011-08-08 20:59:40 -07:00
Kelven Yang
02e64f90de
Add prepareTemplate command(admin only) to allow pre-loading template into primary storage
2011-08-08 18:45:47 -07:00
Kelven Yang
39a3d82f11
Add prepareTemplate command(admin only) to allow pre-loading template into primary storage
2011-08-08 18:37:26 -07:00
Chiradeep Vittal
8277584b8a
merge ELB / nectarine branch
2011-08-08 15:20:56 -07:00
Chiradeep Vittal
52e8d5c4da
bug 11005: upgrade must enable lb on system guest network
2011-08-05 23:21:23 -07:00
alena
cb9998be53
Network_domain is supported in nectarine 2.2.8, so adding corresponding db upgrade step to 228-229 upgrade
2011-08-05 21:43:29 -07:00
Chiradeep Vittal
1e82b65983
Ensure upgrade picks up new db configs
2011-08-05 18:13:52 -07:00
anthony
fb46a7f1d6
bug 10849: storage ip is not require NOT NULL
...
status 10849: resolved fixed
2011-08-05 11:27:02 -07:00
anthony
355be3a417
bug 10849: storage ip is not require NOT NULL
...
status 10849: resolved fixed
2011-08-05 11:26:10 -07:00
Nitin
f6e2669a6e
bug 9345: Remove pool_id from template_host_ref. Add upgrade changes for the same.
...
status 9345: resolved fixed
2011-08-05 13:49:55 +05:30
Chiradeep Vittal
a671a78da4
handle upgrade from 2.2.8
2011-08-04 23:13:21 -07:00
Sheng Yang
38366074c9
Add some default values for 2.2.9-2.2.10 scheme
2011-08-04 12:10:56 -07:00