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