Prachi Damle
ec3f844ef1
Correcting the rebase merge issues.
2013-04-11 13:23:15 -07:00
Prachi Damle
c8ae2a9d25
API to list planners and set the planner in Service offering
...
Conflicts:
server/src/com/cloud/server/ManagementServerImpl.java
setup/db/db/schema-410to420.sql
2013-04-11 13:22:56 -07:00
Prachi Damle
1ba6740fc1
Schema changes to create affinity group tables
2013-04-11 13:22:49 -07:00
Mice Xia
b646e43a1a
use hypervisor capabilities to control if vm snapshot is enabled for hypervisors
2013-04-10 12:36:42 +08:00
Mice Xia
bd7a38957a
1)use vmsnapshot.create.wait to control vmsnapshot timeout 2)remove global configuration vmsnapshot.expunge.interval and vmsnapshot.expunge.workers since vmsnapshot expunge is synchronous
2013-04-10 11:35:58 +08:00
Kelven Yang
913f73ab6b
Apply patch https://reviews.apache.org/r/10137/
2013-04-09 17:29:21 -07:00
Min Chen
b2d5535bba
Remove State from image_store db table, and removed enableImageStore
...
api.
2013-04-09 15:38:33 -07:00
Min Chen
a872d6d306
Renamed internal classes to use "imageStorexxx" instead of previous
...
"imageDataStorexxx". Add new addImageStoreCmd to use 3 image store
provider plugins.
2013-04-05 17:33:35 -07:00
Min Chen
7699485b4f
Create DB view for Image Data Store.
2013-04-05 11:18:33 -07:00
Min Chen
86a3840412
Fix AddSecondaryStorageCmd to use CloudStack default secondary storage
...
store plugin.
2013-04-05 11:18:33 -07:00
Min Chen
ae14d4bab4
add image_data_store_details to store more properties for s3, swift like
...
data store properties.
2013-04-05 11:18:32 -07:00
Min Chen
b0cbe260f9
New VO and DAO for snapshot, template and volume association table with
...
image_data_store.
2013-04-05 11:18:32 -07:00
Kishan Kavala
7ea0d7bce4
CLOUDSTACK-1874: Removed region_id column from cloud_usage db account table
2013-04-05 13:57:27 +05:30
Chip Childers
94960cc722
CLOUDSTACK-1842: adding the missing os type in upgrade script
...
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-04-04 17:36:00 +01:00
Edison Su
f18a1d6f14
fix bunch of bugs related to zone wide storage
2013-04-03 21:51:17 -07:00
Alex Huang
d24a45abaa
Added fixes for CLOUDSTACK-1839. Missing lots of indexes due to a rollback to 4.0 by Rohit
2013-04-03 14:42:47 +01:00
Alena Prokharchyk
2313676857
41-42 db upgrade - added `cloud` db reference to the upgrade statements for remote access vpn
2013-04-02 11:11:18 -07:00
Prasanna Santhanam
b798c45114
maven+marvin+simulator: Changes to the lifecycle steps
...
integration test is now run as follows:
Build
$ mvn -Pdeveloper -Dsimulator clean install
DB:
$ mvn -Pdeveloper -pl developer -Ddeploydb
$ mvn -Pdeveloper -pl developer -Ddeploydb-simulator
Setup:
$ mvn -Pdeveloper,marvin.setup -Dmarvin.config=setup/dev/advanced.cfg -pl :cloud-marvin integration-test
Test:
$ mvn -Pdeveloper,marvin.test -Dmarvin.config=setup/dev/advanced.cfg -pl :cloud-marvin integration-test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-04-02 19:56:33 +05:30
Prasanna Santhanam
2e2046fe38
marvin changes to do an pre-integration and integration test
...
Introducing the simulator spring context -
simulatorComponentContext.xml.in. This separates the simulator beans so
that production deployments don't have the simulator in them. Context is
enabled with -Dsimulator as part of the developer profile.
Also adding config files - Simulator Config for advanced zone and basic
zone deployments under setup/dev.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-04-02 18:31:29 +05:30
Phong Nguyen
aa79ccf985
CLOUDSTACK-922: LXC Support in Cloudstack.
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-04-01 15:41:42 -07:00
Alena Prokharchyk
e00f22df8a
CLOUDSTACK-240: added id/uuid fields to remote_access_vpn table and corresponding VO/Dao objects. The DB upgrade is covered as well. Now tags can be created for the VPN object
2013-03-29 10:40:28 -07:00
Prasanna Santhanam
d13c18516a
CLOUDSTACK-1841: Missing `cloud`.`configuration` stmts in upgrade
...
Following global configurations introduced b/w 3.0.2 and 4.1 were
missed.
concurrent.snapshots.threshold.perhost | NULL
network.ipv6.search.retry.max | 10000
traffic.sentinel.exclude.zones |
traffic.sentinel.include.zones | EXTERNAL
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-29 13:25:20 +05:30
Sanjay Tripathi
18695276f7
CLOUDSTACK-1156: Limit Primary and Secondary storage for domain/accounts
...
Addition of two new resource types i.e. Primary and Secondary storage space in the existing pool of
resource types.
Added methods to set the limits on these resources using updateResourceLimit
API command and to get a count using updateResourceCount. Also added calls in the
Templates, Volumes, Snapshots life cycle to check these limits and to increment/decrement the new
resource types
Resource Name :: Resource type number
Primary Storage 10
Secondary Storage 11
Also added jUnit Tests for the same.
Reviewed by : nitin mehta<nitin.mehta@citrix.com>
2013-03-29 11:26:38 +05:30
Murali Reddy
c5fb8349bf
CLOUDSTACK-653 : High Availability: implement GSLB (Global Server Load
...
Balancing) capability for ELB service
merging GSLB feature
2013-03-27 17:54:07 +05:30
Kishan Kavala
00742e524c
Added / to the end_point of default local region. UI expects / while switching to other regions using single sign-on
2013-03-22 10:34:01 +05:30
Edison Su
33937c980e
CLOUDSTACK-1744: It's due to db upgrade issue. On master, deploydb will upgrade db to 4.2, which will update vm_template's image_data_store_id, while deploydb-simulator adds a new column in vm_template table, which doesn't set image_data_store_id, thus causing NPE.
2013-03-21 18:25:02 -07:00
Edison Su
3ed6200ef8
move default primary storage plugin into its own pom
2013-03-20 17:21:40 -07:00
Min Chen
6bc12fa66d
CLOUDSTACK-1511 and CLOUDSTACK-1446
2013-03-20 00:45:47 +00:00
Kishan Kavala
217ebf20a6
CLOUDSTACK-1717, CLOUDSTACK-1718: Corrected RemoveRegion response. Removed /api in Local region end_point
2013-03-19 16:58:43 +05:30
Rajesh Battala
183b989d30
CLOUDSTACK-664:AWS-Health Check feature: Patch applied cleanly , RAT build is successful
2013-03-18 14:01:15 +05:30
Kishan Kavala
2dd31f331d
CLOUDSTACK-1636: Removed the concept of owner region.
...
Removed region_id from user/account and domain tables.
Removed forwarding of api calls to owner region.
Removed api_key and secret_key from region table.
Included related DB upgrade changes.
2013-03-14 11:53:40 +05:30
Sanjay Tripathi
f539f40e35
CLOUDSTACK-874: Ability to delete Events and Alerts
...
This feature will provide the functionality to delete or archive
the Alerts/Events.
Delete or archive alerts APIs are available only for root-admin,
delete or archive events are available for regular users.
2013-03-08 11:59:53 -08:00
Chip Childers
bd4508589b
Revert "CLOUDSTACK-874 Ability to delete Events and Alerts"
...
This reverts commit 5e4c2c8a9e .
2013-03-08 14:28:23 -05:00
Sanjay Tripathi
5e4c2c8a9e
CLOUDSTACK-874 Ability to delete Events and Alerts
...
Signed-off-by: Min Chen <min.chen@citrix.com>
2013-03-08 10:52:40 -08:00
Kishan Kavala
a1fdb0c2d4
CLOUDSTACK-241: Remove API sync. Merge changes from 4.1 branch. Converted tabs to spaces.
2013-03-08 19:02:41 +05:30
Min Chen
9c5c4753e9
CLOUDSTACK-1484: provide api.throttling.enabled gloabl configuration settings to enable/disable api throttling feature.
2013-03-05 09:44:09 -08:00
Venkata Swamybabu Budumuru
5b8f0791ec
Accounts can hold multiple vnets. Same vnets can exist across multiple pnets. It is sufficient to constrain a single vnet in a given pnet within a datacenter. `i_op_dc_vnet_alloc__vnet__data_center_id` covers all use cases for the table.
...
Having `i_op_dc_vnet_alloc__vnet__data_center_id__account_id` will restrict
same account holding the same vnet across different physical networks.
Signed-off-by: Kishan Kavala <kishan@cloud.com>
2013-03-05 13:59:02 +05:30
Min Chen
613a061977
Merge branch 'master' into vim51_win8
...
Conflicts:
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareManagerImpl.java
2013-03-04 17:32:52 -08:00
Jayapal Uradi
aedb8c478e
CLOUDSTACK-24: mipn feature for isolated and vpc networks
...
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Multiple+IP+address+per+NIC
https://issues.apache.org/jira/browse/CLOUDSTACK-24
2013-03-04 11:02:09 +05:30
Min Chen
8b9c45b96d
Merge branch 'master' into vim51_win8
...
Conflicts:
setup/db/db/schema-40to410.sql
2013-03-01 16:46:58 -08:00
Abhinandan Prateek
14791a9d8f
Revert "CLOUDSTACK-24: multiple ip address per vm nic changes for isolated and vpc networks changes."
...
This reverts commit f9d96c9169 .
2013-03-01 22:29:47 +05:30
Jayapal Uradi
f9d96c9169
CLOUDSTACK-24: multiple ip address per vm nic changes for isolated and vpc networks changes.
2013-03-01 16:40:26 +05:30
frank
bd0fc2f354
CloudStack CLOUDSTACK-723
...
Enhanced baremetal servers support on Cisco UCS
change UcsXxxDao to Spring xml loading
change ListxxxCmd to inherit ListCmd
change API response in line with current API architecture
adding missing db schema to db upgrade schemaOh
Conflicts:
client/pom.xml
plugins/hypervisors/ucs/src/com/cloud/ucs/database/UcsBladeDaoImpl.java
plugins/hypervisors/ucs/src/com/cloud/ucs/database/UcsManagerDaoImpl.java
2013-02-28 15:42:48 -08:00
Min Chen
801e5269ea
Merge branch 'master' into vim51_win8
2013-02-28 14:25:26 -08:00
Kishan Kavala
1d31c3ecaf
CLOUDSTACK-241: Moved regions upgrade changes to Upgrade40to41.jav from schema file. Sets the right regins_id from db.properties instead of using default 1.
...
Conflicts:
setup/db/db/schema-40to410.sql
2013-02-28 14:35:23 +05:30
Min Chen
8aba25f18d
Merge branch 'master' into vim51_win8
...
Conflicts:
setup/db/db/schema-410to420.sql
2013-02-26 14:12:36 -08:00
Kishan Kavala
e37fdce125
CLOUDSTACK-241: Removed API based account sync. Removed all the related API changes and RegionsAPIUtil.
...
Converted tabs to spaces in the related files.
Verified account, user and domain APIs.
2013-02-26 14:21:21 +05:30
Rohit Yadav
755ddc52d1
db: Re-enable db foreign key checking at the end of the upgrade path
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-26 12:32:21 +05:30
Sheng Yang
cf90b6cd10
CLOUDSTACK-1332: Add ip6dns to zone and domainrouter response
2013-02-25 19:12:09 -08:00
Sheng Yang
1b408509d6
CLOUDSTACK-1332: Add IPv6 DNS for Zone
2013-02-25 16:08:10 -08:00
frank
cd291f6b4b
From c72615de97b007517fb324044cb4625258c5fc61 Mon Sep 17 00:00:00 2001
...
From: Vijayendra <vijayendra.bhamidipati@citrix.com>
Date: Mon, 25 Feb 2013 14:37:27 -0800
Subject: [PATCH] CS-670: Configurable setting to use linked clones or not on
VMware
Description:
Providing support for creation of user VMs as full clones on ESX.
Putting in unit tests for VO and Dao classes introduced in this commit.
Signed-off-by: Vijayendra <vijayendra.bhamidipati@citrix.com>
---
core/src/com/cloud/vm/UserVmCloneSettingVO.java | 50 ++++++
.../hypervisor/vmware/manager/VmwareManager.java | 3 +
.../vmware/manager/VmwareManagerImpl.java | 18 +-
.../hypervisor/vmware/resource/VmwareResource.java | 117 +++++++++----
server/conf/migration-components.xml | 1 +
server/src/com/cloud/configuration/Config.java | 1 +
server/src/com/cloud/vm/UserVmManagerImpl.java | 184 ++++++++++-----------
.../com/cloud/vm/dao/UserVmCloneSettingDao.java | 37 +++++
.../cloud/vm/dao/UserVmCloneSettingDaoImpl.java | 74 +++++++++
.../vm/dao/UserVmCloneSettingDaoImplTest.java | 62 +++++++
.../UserVmCloneSettingDaoTestConfiguration.java | 52 ++++++
.../test/resources/CloneSettingDaoTestContext.xml | 42 +++++
setup/db/db/schema-410to420.sql | 9 +
13 files changed, 527 insertions(+), 123 deletions(-)
create mode 100755 core/src/com/cloud/vm/UserVmCloneSettingVO.java
create mode 100755 server/src/com/cloud/vm/dao/UserVmCloneSettingDao.java
create mode 100755 server/src/com/cloud/vm/dao/UserVmCloneSettingDaoImpl.java
create mode 100644 server/test/com/cloud/vm/dao/UserVmCloneSettingDaoImplTest.java
create mode 100644 server/test/com/cloud/vm/dao/UserVmCloneSettingDaoTestConfiguration.java
create mode 100644 server/test/resources/CloneSettingDaoTestContext.xml
2013-02-25 14:57:57 -08:00
Min Chen
fbfc5c6894
Merge from master and fix conflicts
2013-02-25 11:53:24 -08:00
Vijayendra Bhamidipati
6675d2c1a3
CLOUDSTACK-778: user provided hostname to be specified in vCenter instead of CloudStack generated name
...
Introducing flag to allow display name to be appended to internal instance name.
2013-02-25 18:57:18 +05:30
Kishan Kavala
836ce6c11a
CLOUDSTACK-749: External device support for VPC. VPC offering can be created with providers other than VPCVirtualRouter
2013-02-25 18:32:23 +05:30
Hugo Trippaers
8761a1d0db
CLOUDSTACK-1373: Fix regression in db-schema due to recent branch merges
...
Missed a few lines, did someone mention something about testing
recently?
2013-02-22 22:30:28 +01:00
Hugo Trippaers
1ad363e44a
CLOUDSTACK-1373: Fix regression in db-schema due to recent branch merges
...
related to commit 5f8a2ee9be . The field image_data_store_id should not be used in templates.sql as it does not exist yet. Should be filled during the upgrade from 4.1 to 4.2, but i'm leaving that to Edison.
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-22 16:22:17 +01:00
Rohit Yadav
54f7933f11
CLOUDSTACK-1355: Don't check foreign key constraint during db upgrades
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-22 19:28:07 +05:30
Rohit Yadav
5f8a2ee9be
CLOUDSTACK-1373: Fix regression in db-schema due to recent branch merges
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-22 19:15:01 +05:30
Saksham Srivastava
ea3db2f073
CLOUDSTACK-705 IP Address reservation for Isolated Guest Networks
...
CloudStack uses Guest CIDR for dhcp-range for the Guest VMs. The entire
CIDR is used by CloudStack for assigning IPs to Guest VMs. IP Address
Reservation will allow part of address space to be used fornon CloudStack
hosts/physical servers also, by restricting the address space of CloudStack
Guest VMs. Reservation can be configured using update Network API by specifying
guestvmCidr as an additional parameter. Reservation will be applicable for
Isolated Guest Networks including VPC. reservediprange in the response
will return the IP range that can be used for non Cloudstack hosts.
Tested manually the following scenarios:
Applying reservation when there are running VMs inside the
guest_vm_cidr.
Applying reservation when there are running VMs outside the
guest_vm_cidr.(not allowed)
Applying reservation when external device like Netscaler is configured
in the guest_cidr.
Applying reservation in VPC tiers.
Applying reservation outside the range of guest_cidr.(not allowed)
2013-02-22 15:50:33 +05:30
frank
8a523476ec
CloudStack CLOUDSTACK-774
...
Supporting kickstart in CloudStack baremetal
remove workaround for unable to deploydb
remove wrongly added region upgrade entries
2013-02-21 15:48:26 -08:00
frank
15ead099a1
CloudStack CLOUDSTACK-774
...
Supporting kickstart in CloudStack baremetal
able to start vm
Conflicts:
client/tomcatconf/componentContext.xml.in
server/src/com/cloud/baremetal/BareMetalTemplateAdapter.java
server/src/com/cloud/baremetal/BareMetalVmManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2013-02-21 15:48:08 -08:00
Edison Su
18e496b057
rebase to master
2013-02-21 11:22:50 -08:00
Edison Su
a22403edcd
squash changes into one giant patch
2013-02-21 11:22:48 -08:00
Rohit Yadav
59db01ce6e
CLOUDSTACK-1347: Don't enforce not null rule on queue_proc_time of sync_item_queue
...
In c63dbb8804 I removed the rule from create-schema:
- `queue_proc_time` datetime COMMENT 'when processing started for the item',
But, upgrade path schema-40to410.sql had a different rule which caused the bug:
+ALTER TABLE `cloud`.`sync_queue_item` ADD `queue_proc_time` DATETIME NOT NULL
COMMENT 'when processing started for the item' AFTER `queue_proc_number`;
In this fix we just revert to whatever rule was defined in create-schema as the
developer may have forgetten to fix same rule in create-schema and upgrade path.
This commit can be reverted or the code be fixed if we want that queue_proc_time
cannot be null.
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-21 15:01:00 +05:30
Harikrishna Patnala
7a3f072a50
CLOUDSTACK-745: Reset a VM on reboot. On every reboot of VM, the root disk state is reset. This is for the VMs created using service offering where an optional parameter isvolatile is set true.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-02-21 14:59:35 +05:30
Rohit Yadav
c8a2eb5387
CLOUDSTACK-1312: Remove remaining db schema diversions since 4.0
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 15:52:44 +05:30
Sheng Yang
483a11ce95
IPv6: Fix build of master
...
All the table column should be modified before view was added
2013-02-19 21:13:12 -08:00
Sheng Yang
4d80b71ec0
IPv6: Revoke the change of create-schema.sql
...
The change is in scheme-40to410.sql now.
2013-02-19 16:46:03 -08:00
Sheng Yang
817548bac1
IPv6: Add ipv6 for user vm view
2013-02-19 15:50:55 -08:00
Sheng Yang
da75e4ac8a
IPv6: Add IPv6 for domain router view
2013-02-19 15:50:23 -08:00
Sheng Yang
05069bb4d9
Add db upgrade path for ipv6
2013-02-19 12:10:09 -08:00
Kishan Kavala
cc2a3c5498
CLOUDSTACK-651: Removed 7 nics limitation for VR on XenServer
...
# of nics can be configured using global param xen.nics.max. Param defaults to 7
Added new param to upgrade schema.
2013-02-18 20:30:03 +05:30
Koushik Das
ed757f24ae
As part of the upgrade changes, some db changes got removed from create-schema.sql.
...
Moved the changes to the corresponding upgrade sql.
2013-02-18 15:25:09 +05:30
Rohit Yadav
31d6f03308
db: Remove create-schema-view.sql, views are created using schema-40to410.sql
...
- Remove create-schema-view.sql, views are created when mgmt server does rolling
upgrade from 4.0.0 to 4.1.0
- Fix reference and usage of the sql file in scripts
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-17 23:49:27 +05:30
Rohit Yadav
c63dbb8804
db: Refactor new change in create-schema/premium to schema40-410.sql
...
- Move changes since 4.0 to schema upgrade path (schema40-410.sql)
- Comment out some table names where we're trying to copy uuid from id, they
don't exists
- We don't run above step for tables which are newly created for 410 and don't
exist in 4.0 for example autoscale related ones, code is commented and not removed
- Drop indexes which are removed before dropping the column
- Comment out insertion, as for default region we're inserting the same in
code, in ConfigurationServerImpl:createDefaultRegion(), fix same in premium
Testing;
Deployed fresh 4.0 database, compiled and ran mgmt server. It did a smooth
rolling upgrade from 4.0 to 4.1.0 with no database exceptions or any other db error.
TODO:
- 4.2.0 relates changes like ipv6 should go into its schema-410to420.sql
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-16 17:12:26 +05:30
Rohit Yadav
0e354473f7
db: Add stubs for Upgrade410to420, schema-410to420.sql and schema-410to420-cleanup.sql
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-16 13:31:58 +05:30
Rohit Yadav
44c8a33cf2
db: Fix commas which should be dots in create-schema, fix debug msg
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-16 13:31:46 +05:30
Rohit Yadav
f2ae6dcda9
db: Remove and merge 4.1-new-db-schema.sql to schema-40to410.sql
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-16 12:44:45 +05:30
Rohit Yadav
46ab973143
db: Fix Upgrade40to41 and add cleaning path schema-40to410-cleanup.sql
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-16 12:28:00 +05:30
Kishan Kavala
7d61ee6e99
CLOUDSTACK-1295 : Added usage unit tests
...
Fixed Component annontation for usage parsers
Fixed mvn target to run usage
removed UsageServerComponentConfig which is not required
Added region_id to account table in cloud_usage db
Conflicts:
setup/db/db/schema-40to410.sql
2013-02-15 18:41:28 +05:30
Koushik Das
bc493bd39b
CLOUDSTACK-672: Set VMware cluster max. limit based on HV version
...
Max. number of hosts in a Vmware clueter is specific to the version of the HV. This limit is read from the hypervisor_capabilities table
2013-02-15 16:19:40 +05:30
Marcus Sorensen
8652e5f87e
Summary: Fix hanging references to /var/lib/cloud, changed to /var/cloudstack
...
BUG-ID: CLOUDSTACK-1201
BUG-ID: CLOUDSTACK-1196
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360786749 -0700
2013-02-13 13:22:28 -07:00
Mice Xia
9a12756ae4
CLOUDSTACK-684 support vm snapshot
2013-02-14 01:26:30 +08:00
Min Chen
c20ea048b4
Add new windows 8 guest os entries to DB.
2013-02-12 16:57:20 -08:00
Sanjay Tripathi
5828e526b3
CLOUDSTACK-713: Limit Resources(CPU and Memory) to domain/accounts
...
Addition of two new resource types i.e. CPU and Memory in the existing pool of
resource types.
Added some methods to set the limits on these resources using updateResourceLimit
API command and to get a count using updateResourceCount. Also added calls in the
Virtual machine life cycle to check these limits and to increment/decrement the new
resource types
Resource Name :: Resource type number
CPU 8
Memory 9
Also added Unit Tests for the same.
2013-02-12 12:02:07 -08:00
Rohit Yadav
3e613788e9
CLOUDSTACK-1226: Fix 4.1-new-db-schema.sql, use cloud before exec statements
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-11 16:36:41 +05:30
Rohit Yadav
0895c34002
CLOUDSTACK-1222: Remove double quotes in upgrade script s/"//g
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-11 14:06:38 +05:30
Min Chen
0b1e3a4af0
Move Api rate limit configurations from xml file to global
...
configuration, and also modify listCapabilitiesCmd to also return api
limit interval and max for UI consumption.
2013-02-08 00:02:25 -08:00
Kelven Yang
296c20332d
Merge javelin into master
2013-02-01 14:40:45 -08:00
Kelven Yang
7b75f0d990
Sync master to javelin one more time
2013-02-01 11:37:33 -08:00
Likitha Shetty
13ee8d1865
Persistent Networks support
...
Signed-off-by: Murali Reddy <murali.reddy@citrix.com>
2013-02-01 15:10:06 +05:30
Kishan Kavala
fc925022bd
Upgrade changes for Region schema. Made region_id not null
2013-02-01 13:49:57 +05:30
Kanzhe Jiang
736b236eaf
bigswitch controller support
...
Reviewed-by: Chiradeep Vittal <chiradeepv@gmail.com>
Signed-off-by: Murali Reddy <murali.reddy@citrix.com>
2013-02-01 12:42:04 +05:30
Kishan Kavala
9ea90c3359
Merge branch 'master' into regions
...
Conflicts:
client/tomcatconf/components.xml.in
server/src/com/cloud/api/ApiResponseHelper.java
2013-02-01 11:38:16 +05:30
Kishan Kavala
33b87d8985
CLOUDSTACK-686: Modified unique constraint to include physical_network_id
2013-02-01 07:54:31 +05:30
Kelven Yang
7bd8bec68a
Sync javelin with master up to 894cb8f7d9
2013-01-31 17:20:19 -08:00
Sheng Yang
5cb9df91a1
Merge branch 'ipv6'
...
Conflicts:
api/src/com/cloud/network/NetworkProfile.java
2013-01-31 15:07:33 -08:00
Kishan Kavala
8b1a5b1de2
- Separated RegionServiceImpl and RegionManagerImpl
...
- Added comments
- Changed package name to org.apache.cloudstack.region
2013-01-31 18:08:20 +05:30
Sheng Yang
ed547d91f7
IPv6: Rename public_ipv6_address to user_ipv6_address
2013-01-30 17:05:47 -08:00
Kishan Kavala
d3089ba2a5
Merge branch 'master' into regions
2013-01-29 11:50:49 +05:30
Kishan Kavala
158ee8b2fa
Add sync entry to region_sunc table on region api failure
2013-01-29 11:49:23 +05:30
Kishan Kavala
def9fd1f2e
remove finduser, findaccount, finddomain APIs
2013-01-28 17:04:25 +05:30
Rohit Yadav
2fb346ab62
Merge branch 'master' into javelin
2013-01-27 05:20:49 -08:00
Sheng Yang
bd4bc025d1
IPv6: Accept IPv6 parameter for createNetworkCmd
...
Also ass public_ipv6_address for ipv6 address management.
Extend nics and vlans for ipv6 address.
Add dependency to com.googlecode.ipv6(java-ipv6).
Modify dhcpcommand for ipv6.
2013-01-26 23:14:15 -08:00
Kishan Kavala
c6ae19d12f
Merge branch 'master' into regions
2013-01-25 18:49:47 +05:30
Kishan Kavala
1f57d925eb
Apply API refactoring changes. Make changes to Regions API to work with new code
2013-01-25 18:41:59 +05:30
Rohit Yadav
f56b96ad19
merge: Fast forward merge branch 'javelin'
...
FF merge commit due to recent merge of master and then Edison's commit.
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-01-24 19:30:28 -08:00
Rohit Yadav
356866c72b
Merge branch 'master' into javelin
...
- Fixed new join dao impls as spring components
- Fixed component context xml to load api rate limit checker
- Fixed root pom.xml for duplicate plugin
- Fixed list data centers method
- Fixed following conflicts:
api/src/org/apache/cloudstack/api/command/admin/network/CreateNetworkOfferingCmd.java
api/src/org/apache/cloudstack/api/command/user/offering/ListServiceOfferingsCmd.java
api/src/org/apache/cloudstack/api/command/user/template/DeleteTemplateCmd.java
api/src/org/apache/cloudstack/api/command/user/template/ExtractTemplateCmd.java
plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/api/query/QueryManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/swift/SwiftManagerImpl.java
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-01-24 19:18:53 -08:00
Edison Su
6f5655cb03
generalize storage orchestration: DataObjectManager will handle all the object life cycle management
2013-01-24 18:30:08 -08:00
Alex Huang
8e2a96923c
delete some old sql files
2013-01-23 17:18:54 -08:00
Min Chen
285e8213fe
Add DB index to Alert.last_sent column to speed up listAlertsCmd.
2013-01-23 12:38:37 -08:00
Min Chen
26be5ce2df
CLOUDSTACK-355: create DB view for ZoneResponse to fix count for
...
listZonesByCmd.
2013-01-22 16:39:45 -08:00
Edison Su
c921118c58
add image create test case
2013-01-22 13:25:48 -08:00
Prachi Damle
1cb0ce44df
Removing BareMetalService referrences. We will load UserVMService by default.
2013-01-22 12:54:20 -08:00
Prachi Damle
3cc9f3ff06
Adding defaults to new columns
2013-01-22 12:54:12 -08:00
Prachi Damle
ef4d04f289
Removing the alter table statement - data_center already has a removed column
2013-01-22 12:54:09 -08:00
Prachi Damle
e6cd47ddc0
More changes for deployVM flow.
2013-01-22 12:54:07 -08:00
Prachi Damle
94e8090bf3
Deploy, Start, Stop, Destroy VM orchestration service changes
2013-01-22 12:54:04 -08:00
Min Chen
2130a418e0
Formatting db view sql creation, and also addressed FIXME in Hugo's
...
change.
2013-01-22 10:08:57 -08:00
Hugo Trippaers
3bac7b8c07
Summary: Fix schema-40to410.sql
...
Applied some formatting
Changed invalid comment
Added workaround for non existing table vm_template_iso
Fix non prefixed table names in views
Removed 'use cloud' statement
2013-01-22 11:01:22 +01:00
Edison Su
4fbecf15ec
add unit test back, primary storage life cycle is tested
2013-01-21 17:01:00 -08:00
Min Chen
6e40c33628
CLOUDSTACK-355: create DB view for ServiceOfferingResponse to fix count
...
for ListServiceOfferingsCmd.
2013-01-21 15:25:49 -08:00
Min Chen
6db719d58b
CLOUDSTACK-355: Create DB view to fix count issue for
...
listDiskOfferingsCmd.
2013-01-21 10:50:10 -08:00
Kelven Yang
2c5859dbd4
Bring javelin back to the status of being able to start System VMs after another round of master branch merge
2013-01-18 19:15:32 -08:00
Alex Huang
10d9c019a9
All merge conflicts resolved
2013-01-18 12:14:57 -08:00
Koushik Das
cd37e22f9b
CLOUDSTACK-810: Make DirectAgent thread pool size configurable Removed hard-coding of directagent thread pool size and now reading it from configuration
...
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-17 17:21:52 -08:00
Marcus Sorensen
975021dda1
Summary: adding resizeVolume api call
...
Detail: This merges the resizevolume feature branch, which provides the
ability to migrate a disk between disk offerings, thereby changing its
size, or specifying a new size if current disk offering is custom.
BUG-ID: CLOUDSTACK-644
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1358358209 -0700
2013-01-16 17:43:35 -07:00
Murali Reddy
c7840cf91f
reverting the earlier commit 432ea9c7d4
...
done for bug CLOUDSTACK-265 due to IP clearence issues.
2013-01-16 15:10:27 +05:30
Wido den Hollander
95222cdb6d
Templates: Add Ubuntu 12.04 to the templates
...
Although I still think the templates aren't well maintained, I just
added 12.04 since this is an LTS and people probably want it in the
list of templates.
This system should be more generic I think though.
2013-01-15 13:25:48 +01:00
Rohit Yadav
fdc9103fbe
create-schema: Fix deploydb, drop existing (new) tables
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-01-12 03:43:35 -08:00
Prachi Damle
ad2cd775e0
fixing errors
2013-01-09 11:00:18 -08:00
Alex Huang
b6c56736e5
merge from master
2013-01-09 05:20:36 -08:00
Alex Huang
14bd345f1f
merge compiles
2013-01-09 04:41:27 -08:00
Min Chen
d22229eb9d
Remove updateUuids code in ConfigurationServerImpl (which is not the
...
right approach to populate uuid column since it will impact upgrade as
well), and populate UUID column in seed data sql script.
Signed-off-by: Min Chen <min.chen@citrix.com>
2013-01-08 17:12:14 -08:00
Alex Huang
30f2565d98
Merge branch 'api_refactoring' into javelin
2013-01-08 12:36:04 -08:00
Min Chen
74c15a22a0
Create DB view for ListStoragePools API performance optimization.
...
Signed-off-by: Min Chen <min.chen@citrix.com>
2013-01-08 12:33:18 -08:00
Prachi Damle
a4f4c98670
OrchestrationService: some changes for DeployVM
2013-01-08 11:53:54 -08:00
Min Chen
0894822651
DB view dao cleanup, and introduce global configuration parameter for
...
entity detail batch query size to remove hard-coded
VM_DETAILS_BATCH_SIZE.
Signed-off-by: Min Chen <min.chen@citrix.com>
2013-01-07 16:40:31 -08:00
Rohit Yadav
b720675bfe
Merge branch 'master' into api_refactoring
...
Getting ready for merge request for master, sync changes
Conflicts:
client/tomcatconf/commands.properties.in
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-01-06 01:11:16 -08:00
Sheng Yang
aa9701a10c
CLOUDSTACK-799: Redundant router: Speed up RvR status update
...
The basic idea behind this is, deploy a fix sized threadpool for updating RvR
status, then using producer/consumer model. There is a global configuration
router.check.poolsize(10 by default) to control the pool size.
Using pool size 100 for 1000 RvR is tested with simulator and works well.
Also we can adjust the global configuration option router.check.interval to e.g.
60s from default 30s to mitigate the issue.
2013-01-05 21:02:37 -08:00
Rohit Yadav
5119785cf7
Get latest changes, merge branch 'master' into api_refactoring
...
Conflicts:
api/src/com/cloud/network/element/RemoteAccessVPNServiceProvider.java
server/src/com/cloud/network/ExternalFirewallDeviceManagerImpl.java
server/src/com/cloud/network/ExternalLoadBalancerDeviceManagerImpl.java
setup/db/db/schema-40to410.sql
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-01-04 22:21:20 -08:00
Sheng Yang
42c8c73ab6
CLOUDSTACK-306: Introducing IpDeployingRequester and implement inline mode
...
For LB device in inline mode, the ip deployer(the owner of public ip) is the
firewall in front of it, not itself. So check if it's inline or not, if it's
inline, return the firewall as ip deployer
2013-01-04 19:18:03 -08:00
Sheng Yang
177e157cbf
CLOUDSTACK-306: Move inline mode parameter from device to network offering
...
One F5 device can be used as inline and side-by-side at the same time(for
different networks). So we can define inline or not on network base.
2013-01-04 19:17:58 -08:00
Min Chen
32f035c9fa
Separate db view creation into create-schema-view.sql.
2013-01-03 18:23:09 -08:00
Min Chen
daeb4abcca
Create DB views for AsyncJobResponse to speed up listAsyncJobsCmd.
...
Signed-off-by: Min Chen <min.chen@citrix.com>
2013-01-03 15:35:26 -08:00
Rohit Yadav
c0a0318f29
setup/db: Fix missing semicolon in db create view command
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-01-03 11:24:12 -08:00
Min Chen
ebfb90e217
Create DB view for Account to speed up ListAccountsCmd, and add missing async job information for some response objects.
...
Signed-off-by: Min Chen <min.chen@citrix.com>
2013-01-02 17:38:58 -08:00
Rohit Yadav
d8d87adc22
Merge branch 'master' into api_refactoring
...
Conflicts:
api/src/com/cloud/api/commands/ListS3sCmd.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
setup/db/db/schema-40to410.sql
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-01-02 13:57:55 -08:00
Wido den Hollander
3d2fefabdd
db / upgrade: Add columns to sync_queue and sync_queue_item
...
These columns were not added by the upgrade from 4.0 to 4.1 causing SQL-errors
These columns are present in create-schema.sql, so by adding them here the upgrade also works to 4.1
2013-01-02 17:01:23 +01:00
Min Chen
21c1623a03
Create DB view for Volume to speed up ListVolumesCmd.
...
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-25 17:08:50 -08:00
Rohit Yadav
78d70d349b
Merge branch 'master' into api_refactoring
...
- Applies Isaac Chian'gs fix (CLOUDSTACK-648) to allow user change their password
- TODO: Fix response, only partially applied
Conflicts:
api/src/org/apache/cloudstack/api/response/UserResponse.java
client/tomcatconf/commands.properties.in
server/src/com/cloud/api/ApiResponseHelper.java
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-25 09:51:17 -08:00
Prasanna Santhanam
1f1a13448f
simulator: resurrect simulator hypervisor as plugin
...
Multiple fixes:
1. changes to the mvn configuration
a. include simulator to client.war
b. activate simulator by profile
2. templates for simulator
3. developer prefill for simulator
a. Use deplydb-simulator to setup simulator db
4. Inherit components-simulator.xml from components.xml
5. ListVolumesCommand missed for MockStorageManager
6. Include simulator properties into utils/db.properties
TODO:
Secondary storage VMs don't come up because ComponentLocator doesn't
retain a unique set of adapaters by name. Fix this in subsequent
checkin.
2012-12-23 19:28:57 -08:00
Rohit Yadav
296b49c2f8
Merge branch 'master' into test-merge-api
...
Conflicts:
api/src/com/cloud/agent/api/BackupSnapshotCommand.java
api/src/com/cloud/agent/api/storage/PrimaryStorageDownloadCommand.java
api/src/com/cloud/agent/api/to/PortForwardingRuleTO.java
api/src/com/cloud/network/NetworkService.java
api/src/com/cloud/resource/ResourceService.java
api/src/org/apache/cloudstack/api/ApiConstants.java
api/src/org/apache/cloudstack/api/ResponseGenerator.java
api/src/org/apache/cloudstack/api/response/SSHKeyPairResponse.java
client/tomcatconf/commands.properties.in
core/src/com/cloud/storage/SnapshotVO.java
pom.xml
server/src/com/cloud/api/ApiDispatcher.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
server/src/com/cloud/offerings/NetworkOfferingVO.java
server/src/com/cloud/resource/ResourceManagerImpl.java
server/src/com/cloud/upgrade/dao/Upgrade40to41.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/test/com/cloud/vpc/MockNetworkManagerImpl.java
setup/db/create-schema.sql
setup/db/db/schema-40to410.sql
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-23 13:54:46 -08:00
Min Chen
3aad2ba972
Add DB host view into fresh install schema and upgrade schema.
2012-12-22 21:49:51 -08:00
Prasanna Santhanam
f0c3b4c62a
simulator:Using the priority to decide b/w MASTER/BACKUP
...
BootArgs carry router priority for master and backup and simulator will
reuse the priority to decide RvR status. Deprecating the odd/even logic.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2012-12-22 14:09:59 -08:00
Kishan Kavala
3ae5986b87
Update DB version during DB deploy
...
1. Modified create-schema.sql to add version as 4.1.0 instead of 4.0.0
2. Removed schema-40to41.sql amd moved the content to schema-40to410.sql
3. Added to schema-40to410.sql Upgrade40to41.java
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade40to41.java
setup/db/create-schema.sql
setup/db/db/schema-40to41.sql
setup/db/db/schema-40to410.sql
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-21 15:11:05 -08:00
Kishan Kavala
8acc85ca53
Update DB version during DB deploy
...
1. Modified create-schema.sql to add version as 4.1.0 instead of 4.0.0
2. Removed schema-40to41.sql amd moved the content to schema-40to410.sql
3. Added to schema-40to410.sql Upgrade40to41.java
2012-12-21 15:27:00 +05:30
Sheng Yang
d72f8a695d
Add new global configuration option to enable user specify guest OS DHCP policy
...
This is improvement of:
commit 1ca493e4fa
Author: Sheng Yang <sheng.yang@cloud.com>
Date: Wed Feb 29 17:43:50 2012 -0800
bug 14042: Don't set dhcp:router option on DHCP server for non-default
network on CentOS/RHEL
The old solution only works on CentOS/RHEL, this one would enable the ability to more
guest OS, and enable user to choose what policy should be for each guest os
type.
2012-12-20 19:21:02 -08:00
Min Chen
e4dbc2033f
Add upgrade script from 4.0 to 4.1.
...
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-20 18:18:06 -08:00
Min Chen
b14b39a69f
Remove IdentityProxy from BaseResponse, ExtractResponse. Now
...
IdentityProxy is only referenced in CreateCmdResponse, which involves
some async job logic change. Since it is not impacting list performance,
will leave it there for now.
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-20 16:52:52 -08:00
Edison Su
aefb657c41
Finally, get async api call works for storage subsystem
2012-12-17 18:12:46 -08:00
Edison Su
b70c1a5a84
Backs NFS-based secondary storage with an S3-compatible object store. Periodically, a reaper thread synchronizes templates and ISOs stored on a NFS secondary storage mount with a configured S3 object store. It also pushes snapshots to the object store when they are created and downloads them in other zones on-demand. In addition to permitting the use of commodity or IaaS storage solutions for static assets, it provides a means of automatically synchronizing template and ISO assets across multiple zones.
2012-12-13 23:18:37 -08:00
Min Chen
472f4f91b9
Refactor ListProjectInvitationsCmd and ProjectInvitationResponse.
2012-12-12 09:04:43 -08:00
Min Chen
9c93fee0dc
Refactor ListProjectAccountCmd and ProjectAccountResponse.
2012-12-11 15:49:15 -08:00
Min Chen
8735716ba0
Refactor ListProjectsCmd and ProjectResponse.
2012-12-11 12:51:08 -08:00
Murali Reddy
432ea9c7d4
CLOUDSTACK-265: provide option to turn-off automatic public IP association for each VM when using EIP service.
...
- introduces Capability in the network offering, which
decides when EIP service is enabled, by defualt public IP
should be assigned to the VM or not
- default network offering with EIP/ELB service will still work with old EIP
semantics, i.e) assign a public IP to each VM on start
2012-12-11 23:06:13 +05:30
Min Chen
c83323fea7
api: Refactoring ListUsersCmd and UserResponse.
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-10 17:45:40 -08:00
Min Chen
bba96254f5
Refactoring ListVMGroupsCmd and InstanceGroupResponse.
2012-12-10 13:59:20 -08:00
Kishan Kavala
199806c1be
CLOUDSTACK-560 : Add default zone column to account table in cloud_usage table in fresh install and upgrade
2012-12-10 19:37:57 +05:30
Edison Su
cdf5511664
finish configurator, the default primary storage provider can cover all the hypervisors and protocols
2012-12-08 03:16:03 -08:00
Min Chen
30941c2d31
api: Refactoring ListEventsCmd and EventResponse, and create Event db view.
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-07 16:54:45 -08:00
Min Chen
acf7afd7f5
api: Refactor ResourceTagResponse and ListTagsCmd, add db view for ResourceTag.
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-07 09:57:52 -08:00
Min Chen
2bbd023eb6
api: Add SecurityGroup DB view creation into db create_schema and fix a bug in ListSecurityGroupsCmd
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-07 09:45:16 -08:00
Min Chen
b0ce8fd4ff
api: Optimize and improve api, db call perfomance
...
This is part 1 of list API refactoring. Commands covered:
listVmsCmd, listRoutersCmd Response covered:
UserVmResponse, DomainRouterResponse. DB views created:
user_vm_view, domain_router_view.
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-05 20:06:20 -08:00
Edison Su
e436d4327f
create volume from template unit test is passed
2012-11-26 11:42:34 -08:00
Edison Su
550f4fbcdc
create template/primary data store is done
2012-11-20 18:57:19 -08:00
Vijay Venkatachalam
527b5c8ee2
Autoscale: Supporting network element independent counter parameters Reviewed-By:Devdeep
2012-11-16 10:57:00 +05:30
Vijay Vekatachalam
35b0e086d4
enable Autoscale VMs to be named as Autoscale-LB-<lbname>
2012-11-16 10:56:59 +05:30
Vijay Venkatachalam
58db4d0d88
CS-15729:AutoScale. Aligning the NetScaler response time counter, and correcting duration check against interval
2012-11-16 10:56:57 +05:30
Deepak Garg
25b853b7d5
CS-16052 Introducing data-base indexes for autoscale db schema
2012-11-16 10:56:56 +05:30
Vijay
f96810b9ae
AutoScale. Adding default counters
...
Conflicts:
server/src/com/cloud/server/ConfigurationServerImpl.java
setup/db/create-schema.sql
setup/db/db/schema-304to305.sql
2012-11-16 10:56:44 +05:30
Vijay
dda4d39b55
AutoScale changes in Apache master
2012-11-16 10:56:44 +05:30
Alex Huang
50f175e3f9
Finally got rid of create-index-fk.sql. Merged everything into create-schema.sql
2012-11-01 13:40:16 -07:00
Edison Su
ad3e98c1eb
@DB works on spring
2012-10-25 10:27:22 -07:00
Edison Su
b57be3389e
add apidocs/devcloud projects
2012-10-21 00:01:47 -07:00
Kishan Kavala
f0f33bf4da
Added Mock ApiServer, Regions API calls with api keys
2012-10-17 14:16:36 +05:30
Hugo Trippaers
c07d6d28ee
Merge branch 'nicira-l3support'
...
This commit merges the nicira-l3support branch with master. This
effectively adds nicira nvp l3 support to master. The NiciraNVP Provider
can support the following services with this modification: Connectivity,
SourceNat, StaticNat and PortForwarding
Testing done:
Create, Delete network offerings with Nicira Element
Use Gui to add, modify, remove Nicira Element and Provider
Provision, deprovision SourceNat networks
Provision, deprovision Portforwarding and StaticNat rules
Tested with Nicira NVP release 2.1.0, 2.2.0 and 2.2.1 (2.2.x recommended)
2012-10-12 14:15:17 +02:00
Kelven Yang
5fee891162
merge from master
2012-10-11 17:42:25 -07:00
Alena Prokharchyk
339aa41442
CLOUDSTACK-304: Synchronization support for createSnapshot command - don't sent more than "concurrent.snapshots.threshold.perhost" createSnapshots commands to the backend host.
...
Conflicts:
core/src/com/cloud/async/AsyncJobVO.java
core/src/com/cloud/async/SyncQueueVO.java
server/src/com/cloud/api/ApiDispatcher.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/async/AsyncJobManagerImpl.java
server/src/com/cloud/async/SyncQueueManager.java
server/src/com/cloud/async/SyncQueueManagerImpl.java
server/src/com/cloud/async/dao/SyncQueueDao.java
server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java
server/test/com/cloud/async/TestSyncQueueManager.java
setup/db/create-schema.sql
2012-10-10 13:40:00 -07:00
John Kinsella
a964d7859e
Ensuring system user has password set.
2012-10-07 12:51:52 -07:00
frank
7282f4355a
port fix for CS-16214
2012-10-05 19:41:51 -07:00
Edison Su
62153bba86
CLOUDSTACK-273: backport fixes from 3.0.x branch: 70d41f103b
2012-10-05 19:21:38 -07:00
Kishan Kavala
89779cceb8
Merge branch 'master' into regions
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/ResponseGenerator.java
client/tomcatconf/commands.properties.in
core/src/com/cloud/user/UserVO.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/user/AccountManagerImpl.java
setup/db/create-schema.sql
2012-10-03 14:09:01 +05:30
Hugo Trippaers
dd68a00338
Persist the uuid of the logical router once created
2012-09-27 22:16:11 -07:00
Kishan Kavala
4fcf64dd74
updated regions branch with changes from master
2012-09-27 17:04:59 +05:30
Mice Xia
7e75140537
CLOUDSTACK-204 Setting global config 'consoleproxy.service.offering' causes mgmt failed to start
2012-09-26 14:05:37 +08:00
Hugo Trippaers
21ee8982a1
Add a proper contraint to the nicira nic map
2012-09-22 11:29:39 +02:00
Alex Huang
387c6fc135
Merge branch 'master' into javelin
2012-09-17 15:31:37 -07:00
Prasanna Santhanam
6e9d7aa45b
property files and build file fixes for simulator db changes
2012-09-17 17:33:26 +05:30
Alex Huang
db9cc97ab3
Brought over new changes from master
2012-09-13 11:43:22 -07:00
Saksham Srivastava
a56631bc66
bug CS-15278: Added global setting login.attempts.allowed which defines the maximum incorrect password attempts allowed.
...
Also after the maximum attempts are reached the user account is disabled
2012-09-12 19:35:24 +05:30
Koushik Das
2404d3493d
CS-14277
...
Support for local data disk. Currently enable/disable config is at zone level, in subsequent checkins it can be made more granular.
Following changes are made:
- Create disk offering API now takes an extra parameter to denote storage type (local or shared). This is similar to storage type in service offering.
- Create/delete of data volume on local storage
- Attach/detach for local data volumes. Re-attach is allowed as long as vm host and data volume storage pool host is same.
- Migration of VM instance is not supported if it uses local root or data volumes.
- Migrate is not supported for local volumes.
- Zone level config to enable/disable local storage usage for service and disk offerings.
- Local storage gets discovered when a host is added/reconnected if zone level config is enabled. When disabled existing local storages are not removed but any new local storage is not added.
- Deploy VM command validates service and disk offerings based on local storage config.
- Upgrade uses the global config 'use.local.storage' to set the zone level config for local storage.
(cherry picked from commit 62710aed37606168012a0ed255a876c8e7954010)
2012-09-11 17:38:15 -07:00
Prachi Damle
176259e7d5
deadlock on host_details: Missed adding the unique key constraint needed on host_details table in create_schema
2012-09-11 17:33:01 -07:00
Koushik Das
65eeeaf071
CS-14277
...
Support for local data disk. Currently enable/disable config is at zone level, in subsequent checkins it can be made more granular.
Following changes are made:
- Create disk offering API now takes an extra parameter to denote storage type (local or shared). This is similar to storage type in service offering.
- Create/delete of data volume on local storage
- Attach/detach for local data volumes. Re-attach is allowed as long as vm host and data volume storage pool host is same.
- Migration of VM instance is not supported if it uses local root or data volumes.
- Migrate is not supported for local volumes.
- Zone level config to enable/disable local storage usage for service and disk offerings.
- Local storage gets discovered when a host is added/reconnected if zone level config is enabled. When disabled existing local storages are not removed but any new local storage is not added.
- Deploy VM command validates service and disk offerings based on local storage config.
- Upgrade uses the global config 'use.local.storage' to set the zone level config for local storage.
(cherry picked from commit 62710aed37606168012a0ed255a876c8e7954010)
2012-09-11 17:22:43 +05:30
Prachi Damle
5629165877
deadlock on host_details: Missed adding the unique key constraint needed on host_details table in create_schema
2012-09-06 16:35:28 -07:00
Alex Huang
1d0a10c69e
Merged master over to javelin to get new poms and maven build
2012-09-05 14:31:24 -07:00
Mice Xia
dd07d1598f
Fix Bug CloudStack-9 can not change OS preference from OS to none
2012-09-04 20:51:03 +08:00
Hugo Trippaers
afb05ef3dc
Fix the right file
2012-08-31 14:30:25 +02:00
Hugo Trippaers
db4a435a84
Add mysql-connector-java to the classpath
2012-08-31 13:26:38 +02:00
Alex Huang
6309253de1
Deleted some useless files
2012-08-30 09:59:25 -07:00
Gavin Lee
d3921139ed
Patch from Gavin Lee: Change license to ASL2.0 in server and tools
...
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-08-30 10:36:29 -04:00
Hugo Trippaers
0d7601d2d7
Add a limit statement to the subquery
2012-08-27 09:14:38 +02:00
Abhinandan Prateek
cebd9444be
fixing the xen systemvm template guest os to reflect the right one
2012-08-23 12:25:46 +05:30
Sheng Yang
6ec5bdbab6
S2S VPN: CS-16035: Add missing global configuration items
2012-08-17 16:52:06 -07:00
Edison Su
87378c3f3a
add db upgrade for ha.workers
2012-08-17 13:15:49 -07:00
Alena Prokharchyk
0c0165e19b
CS-16037: db upgrade - fixed component/category/description fields for several global configs
2012-08-16 15:03:16 -07:00
Sheng Yang
cbcd5cace1
S2S VPN: Add db upgrade
2012-08-13 17:37:51 -07:00
Alena Prokharchyk
7120ce0717
Fixed version number in upgrade script comment (replaced 3.0.3 with 3.0.2)
2012-08-13 16:50:06 -07:00
Alena Prokharchyk
4433c5a51a
Database upgrade from 302 to 40
2012-08-13 16:20:09 -07:00
Sheng Yang
48b46fce5c
S2S VPN: Fix db schema issue
2012-08-13 10:26:34 -07:00
Alena Prokharchyk
32f55f3e3c
Merge branch 'master' into vpc
2012-08-12 10:22:54 -07:00
Koushik Das
9adf91f7b9
CS-15879 Removed safe update flag as it is a client only setting
2012-08-12 16:34:02 +05:30
Kelven Yang
3a6d890741
Commit for review-request: https://reviews.apache.org/r/6458/
2012-08-08 17:18:31 -07:00
Alena Prokharchyk
048c5e50cf
Merge branch 'master' into vpc
...
Conflicts:
utils/test/com/cloud/utils/component/MockComponentLocator.java
2012-08-08 11:50:39 -07:00
Mice Xia
a74c6e3104
fix CS-15814 Description of global configuration 'encode.api.response' is incorrect
2012-08-08 16:29:53 +08:00
Alena Prokharchyk
5a72044dc7
Merge branch 'master' into vpc
2012-08-03 14:30:54 -07:00
Chip Childers
2930eef00c
License header updates for the setup folder.
2012-08-03 09:49:02 -04:00
Alena Prokharchyk
0e0b75a041
Merge branch 'master' into vpc
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
2012-08-02 18:45:37 -07:00
mice xia
895b6a3e4b
CS-15780 Global configuration 'account.cleanup.interval' is used by event purge thread
...
changes:
add a new global configuration event.purge.interval for event purge thread
leave account.cleanup.interval only for account cleanup thread.
2012-08-02 21:50:44 +05:30
Alena Prokharchyk
ce9f1afa78
Merge branch 'master' into vpc
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2012-08-01 19:04:28 -07:00
Koushik Das
3f571684aa
CS-15631 : Support for up to 16 VDIs per VM on XS 6.0 and above
...
Support for up to 16 VDIs per VM on XS 6.0 and above (16 VDIs => root + cd + 14 data volumes). Currently in CS number of data disk that can be attached to VM is hard-coded to 6. Made this setting configurable by moving it to hypervisor capabilities. Although XS 6.0 and above supports upto 16 VDIs but while testing on XS 6.0.2 found that only 13 data volumes can be attached to a VM. So for XS 6.0 and 6.0.2 max_data_volumes_limit is set to 13 currently.
Signed-off-by: Koushik Das <Koushik.Das@citrix.com>
2012-08-01 19:39:30 +05:30
Nitin Mehta
85398bb2e0
bug CS-13935: correcting description for create.volume.from.snapshot.wait global setting
...
Reviewed-by: Kishan
2012-08-01 18:16:01 +05:30
Alena Prokharchyk
7706a9c32f
Merge branch 'master' into vpc
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
2012-07-31 13:37:28 -07:00
Prasanna Santhanam
911261a2ce
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack
2012-07-31 16:40:04 +05:30
Rohit Yadav
b4b1a38f7e
Fix typo in create-schema.sql. comma at EOL
2012-07-31 16:39:50 +05:30
Hugo Trippaers
420f08ab4a
Add changes in rrq 5839 to the update script
2012-07-31 09:41:14 +02:00
Hugo Trippaers
894407caa9
rrq 5839: This table should not have a contraint on device and physical network id. This is dealt with in the code and by using the removed field.
2012-07-30 08:46:56 +02:00
Wido den Hollander
5789cd94a5
setup: Update 3.0.3 to 4.0.0 SQL update file
...
I noticed that we have pending changes for the resource tags and Nicira integration.
Adding them as a precaution, so they don't get lost.
2012-07-27 23:37:45 -04:00
Sheng Yang
72a4b2f410
S2S VPN: Add name field for customer gateway
...
Easier for user to identify the correct gateway
2012-07-27 16:27:36 -07:00
Alena Prokharchyk
a39fd61249
Merge branch 'master' into vpc
...
Conflicts:
server/src/com/cloud/network/rules/RulesManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineGuru.java
2012-07-27 13:47:46 -07:00
Wido den Hollander
38a140ecb4
setup: Update 3.0.3 to 4.0.0 SQL update file
...
I noticed that we have pending changes for the resource tags and Nicira integration.
Adding them as a precaution, so they don't get lost.
2012-07-27 08:53:44 +02:00
Wido den Hollander
bf2e3d6ae1
setup: Initiate SQL upgrade file from 3.0.3 to 4.0.0
...
This only adds the user_info column to the storage_pool table, but we'll probably have more SQL changes coming up.
They can all go into this file.
2012-07-26 23:03:34 +02:00
Wido den Hollander
406fd95d87
Add RBD support for primary storage
...
This patch adds RBD (RADOS Block Device) support for primary storage in combination with KVM.
To get this patch working you need:
- libvirt-java 0.4.8
- libvirt with RBD storage pool support (>0.9.13)
- Qemu with RBD support (>0.14)
The primary storage does not support all the functions of CloudStack yet, for example snapshotting is disabled
due to the fact that backupping up a RBD snapshot is not possible in the way CloudStack wants to do it.
Creating templates from RBD volumes goes well, creating a VM from a template however is still a hit-and-miss.
NFS primary storage is also still required, you are not able to run your System VM's from RBD, they will need
to run on NFS.
Other then these points you can run instances with RBD backed disks.
2012-07-26 22:22:26 +02:00
Sheng Yang
7d68e33323
S2S VPN: Use source NAT ip address for VPN gateway
...
Conflicts:
api/src/com/cloud/api/commands/CreateVpnGatewayCmd.java
server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/network/vpc/VpcManagerImpl.java
2012-07-23 14:44:05 -07:00
Sheng Yang
671475242c
S2S VPN: Add domain and account for VPN
...
Admin can add VPN connection for others
Conflicts:
api/src/com/cloud/api/commands/CreateVpnConnectionCmd.java
server/src/com/cloud/api/ApiResponseHelper.java
setup/db/create-schema.sql
2012-07-23 14:40:26 -07:00
Sheng Yang
52c145dc46
CS-15470: Remove UNIQUE keyword for some fields
...
User can create/delete/create gateway again and again, then it would no longer
be unique. The unique should be guaranteed by API level.
2012-07-23 14:36:22 -07:00
Alena Prokharchyk
a1acfd3bfa
Merge branch 'master' into vpc
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/network/Network.java
client/tomcatconf/components.xml.in
plugins/network-elements/elastic-loadbalancer/src/com/cloud/network/lb/ElasticLoadBalancerManagerImpl.java
server/src/com/cloud/consoleproxy/AgentBasedConsoleProxyManager.java
server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/guru/GuestNetworkGuru.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
setup/db/create-schema.sql
2012-07-13 13:52:58 -07:00
Hugo Trippaers
79c7da07ab
Phase 1 of Nicira integration
2012-07-11 17:16:06 -07:00
Alena Prokharchyk
7cb4ab5e60
VPC: added State to vpc_gateways
2012-07-11 12:05:42 -07:00
Alena Prokharchyk
911ed25fbc
Merge branch 'master' into vpc
2012-07-09 18:31:28 -07:00
Alena Prokharchyk
21519070fc
VPC: added vpc_id to private_ip_address table to indicate which vpc the ip belongs to
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/vpc/VpcManager.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
server/test/com/cloud/network/MockNetworkManagerImpl.java
2012-07-09 18:23:35 -07:00
Edison Su
fa414bbf0a
It's due to replace.properties is missing, by default the password is cloud for user cloud
...
Revert "removing unneeded password from cloud-dev setup-script"
This reverts commit f157b702e4 .
2012-07-09 11:48:43 -07:00
David Nalley
f157b702e4
removing unneeded password from cloud-dev setup-script
2012-07-08 22:14:20 -04:00
Alena Prokharchyk
63d6941bdc
ResourceTags: respect tag parameter in listTemplates/listIsos commands
...
Conflicts:
server/src/com/cloud/storage/dao/VMTemplateDao.java
server/src/com/cloud/storage/dao/VMTemplateDaoImpl.java
2012-07-06 16:59:14 -07:00
Alena Prokharchyk
353423acec
Merge branch 'master' into vpc
...
Conflicts:
api/src/com/cloud/api/commands/ListFirewallRulesCmd.java
api/src/com/cloud/api/response/FirewallResponse.java
api/src/com/cloud/api/response/IPAddressResponse.java
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/dao/FirewallRulesDaoImpl.java
server/src/com/cloud/network/dao/NetworkDaoImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
2012-07-06 12:04:10 -07:00
Alena Prokharchyk
85677b71fe
Resource tags: CS-15473 - fixed delete/list by resourceId when UUID is specified as a value
...
Conflicts:
server/src/com/cloud/network/dao/FirewallRulesDaoImpl.java
server/src/com/cloud/network/vpc/Dao/StaticRouteDaoImpl.java
server/src/com/cloud/network/vpc/Dao/VpcDaoImpl.java
server/src/com/cloud/projects/dao/ProjectDaoImpl.java
2012-07-06 11:43:31 -07:00
Alena Prokharchyk
d33429783f
Fixed deploydb
2012-07-06 11:18:16 -07:00
Alena Prokharchyk
234ae447ee
VPC: added field networkacl_service_provided to physical_network_service_providers table
2012-07-06 11:08:39 -07:00
Edison Su
27e9cdbece
add console proxy support for devcloud
2012-07-03 23:38:39 -07:00
Alena Prokharchyk
31f9d718fb
Merge branch 'master' into vpc
...
Conflicts:
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
2012-07-03 17:32:50 -07:00
Edison Su
57927c9f23
From: jason.bausewein@tier3.com
...
Updated script to create cloud_usage database similar to deploy-db-dev.sh.
2012-07-03 15:16:51 -07:00
kishan
6a1b0f3ecf
Add Region APIs
2012-07-03 13:05:19 -07:00
Alena Prokharchyk
b565f63e42
VPC: listPrivateGateways command is available for regular user too (he needs to know the gatewayId for the static route creation)
...
Conflicts:
api/src/com/cloud/api/ResponseGenerator.java
server/src/com/cloud/api/ApiResponseHelper.java
2012-07-02 17:44:28 -07:00
Sheng Yang
78b31bb7db
CS-6840: Add tables for site to site VPN use.
2012-07-02 16:20:53 -07:00
Alena Prokharchyk
1f01d923ca
Merge branch 'master' into vpc
2012-06-28 17:44:08 -07:00
Alena Prokharchyk
634cd78baa
Merge branch 'master' into vpc
...
Conflicts:
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/ListNetworksCmd.java
api/src/com/cloud/api/response/NetworkResponse.java
api/src/com/cloud/event/EventTypes.java
api/src/com/cloud/network/NetworkService.java
client/tomcatconf/commands.properties.in
scripts/network/domr/getDomRVersion.sh
scripts/network/domr/ipassoc.sh
scripts/network/domr/l2tp_vpn.sh
scripts/network/domr/networkUsage.sh
scripts/network/domr/router_proxy.sh
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/dao/IPAddressDao.java
server/src/com/cloud/network/dao/IPAddressDaoImpl.java
setup/apidoc/gen_toc.py
setup/db/create-schema.sql
wscript
2012-06-28 17:41:40 -07:00
Alena Prokharchyk
c19639e4a2
Static route can be created for generic VpcGateway now, not just Private gateway
2012-06-28 17:17:44 -07:00
Edison Su
5f6387e113
add clouddev
2012-06-27 23:28:34 -07:00
David Nalley
fc3ac862dc
applying the commits from Chip Childers licensing cleanup
2012-06-26 10:44:04 -04:00
Alena Prokharchyk
ce876e24de
VPC: intermidiate checkin to Static Routes
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
2012-06-25 21:00:57 -07:00
Alena Prokharchyk
d35eb73c9b
VPC: initial checkin for Static Routes
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2012-06-25 20:59:33 -07:00
Alena Prokharchyk
030458a37b
VPC: implemented add/delete Private gateway
...
Conflicts:
client/tomcatconf/commands.properties.in
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/dc/DataCenterVO.java
server/src/com/cloud/network/NetworkManagerImpl.java
2012-06-25 20:54:14 -07:00
Vijayendra Bhamidipati
5697ff2baf
CS-15181: Remove stale global config parameters from upgrade script
...
Description:
Removing stale global config params.
2012-06-21 13:55:52 -07:00
Alena Prokharchyk
374a600746
VPC: initial checkin for network ACLs
...
Conflicts:
client/tomcatconf/commands.properties.in
2012-06-20 17:19:49 -07:00
Alena Prokharchyk
62d45b9670
Initial checkin for resource tags feature
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
client/tomcatconf/commands.properties.in
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/uuididentity/dao/IdentityDao.java
server/src/com/cloud/uuididentity/dao/IdentityDaoImpl.java
setup/db/create-schema.sql
2012-06-20 15:45:08 -07:00
Alena Prokharchyk
c6364dfdf0
Fixed create-schema.sql
2012-06-15 14:27:14 -07:00
Alena Prokharchyk
aa84256542
1) Added VpcVirtualNetworkApplianceService interface
...
2) Pass dns1/dns2 to setupGuestNetworkCommand
3) Network implement - don't get source nat ip address for Vpc if it already has one
2012-06-15 14:27:00 -07:00
Alena Prokharchyk
0a7faa9838
Support for adding private network
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/upgrade/dao/Upgrade2214to30.java
2012-06-15 14:20:34 -07:00
Alena Prokharchyk
9ec8526281
1) Added VPC restart support - new api command RestartVPC. The purpose of the call is to shutdown and start VPC including VPCVirtualRouter restart, rules re-implement, etc
...
2) Only networks created from offerings with conserveMode=false, can participate in VPC
2012-06-15 14:10:09 -07:00
Alena Prokharchyk
f4060c3c1d
1) Added new element - VpcVirtualRouterElement. Extends VirtualRouter + has plug/unplug nics support
...
2) Added services api support for plugging/unplugging the nics to VpcElement
Conflicts:
api/src/com/cloud/network/NetworkService.java
core/src/com/cloud/vm/VMInstanceVO.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/test/com/cloud/network/MockNetworkManagerImpl.java
2012-06-15 14:04:09 -07:00
Alena Prokharchyk
9debd3a5df
1) Added start logic to the VPC
...
2) VirtualRouterManagerImpl - refactored deployVirtualRouter method
3) Added vpcId to domain_router/user_ip_address tables and corresponding vo objects
Conflicts:
server/src/com/cloud/network/IPAddressVO.java
2012-06-15 13:56:05 -07:00
Alena Prokharchyk
afd2d0331f
Set networkId as a join parameter in DomainRouterDaoImpl as networkId was moved to the helper table
2012-06-15 13:55:01 -07:00
Alena Prokharchyk
998cf66e6c
Removed network_id reference from domain_router table as now VirtualRouter can be associated with multiple networks (VPC case). Code modifications were done accordingly to the places where this field was used.
...
Router->Networks (one to many) are held in router_network_ref table now
2012-06-15 13:54:48 -07:00
Alena Prokharchyk
60b52f90dd
Initial checkin for VPC feature:
...
1) Added API frameworks for the feature. New commands:
* CreateVPCCmd
* ListVPCsCmd
* DeleteVPCCmd
* UpdateVPCCmd
* CreateVPCOfferingCmd
* UpdateVPCOfferingCmd
* DeleteVPCOfferingCmd
* ListVPCOfferingsCmd
2) New db tables:
* `cloud`.`vpc`
* `cloud`.`vpc_offerings`
* `cloud`.`vpc_offering_service_map`
and corresponding VO/Dao objects.
Added vpc_id field to `cloud.`networks` table - not null when network belongs to VPC
3) New Manager and Service interfaces- VpcManager/VpcService
4) Automatically create new VpcOffering (if doesn't exist) on system start
5) New Action events:
* VPC.CREATE
* VPC.UPDATE
* VPC.DELETE
* VPC.OFFERING.CREATE
* VPC.OFFERING.UPDATE
* VPC.OFFERING.DELETE
Conflicts:
api/src/com/cloud/api/ApiConstants.java
client/tomcatconf/commands.properties.in
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/network/NetworkManagerImpl.java
setup/db/create-schema.sql
2012-06-15 13:53:59 -07:00
Alena Prokharchyk
d390261710
CS-15197: correct default value for service_offering.nw_rate
...
Reviewed-by: Will Chan
Conflicts:
setup/db/db/schema-302to303.sql
2012-06-05 15:09:46 -07:00
Vijayendra Bhamidipati
15d0cf782a
CS-9919: Support for Nexus Swiches (Cisco Vswitches)
...
Description:
Removed the vcenter_dc_name and vcenter_ipaddr
fields from the virtual_supervisor_module
table, the CiscoNexusVSMDeviceVO, addClusterCmd,
and all other references to these two fields.
Fixing null pointer exceptions when checking
for nexus related global parameter values in
addClusterCmd.
Conflicts:
api/src/com/cloud/api/commands/AddClusterCmd.java
2012-05-25 18:37:20 -07:00
Devdeep Singh
1593900402
CS-9919: Changes to integrate UI changes for nexus feature.
...
Reviewed by: Sateesh, Pranav.
Conflicts:
ui/scripts/system.js
2012-05-25 18:33:53 -07:00
Vijayendra Bhamidipati
63de97e63c
CS-9919: Support for Nexus Swiches (Cisco Vswitches)
...
Description:
Modifying column names in db tables to
adhere to naming conventions.
2012-05-25 18:28:34 -07:00
Vijayendra Bhamidipati
a31aa29423
Bug CS-15020: DB inconsistencies after upgrade from Acton to Bonita
...
Description:
Putting in table creation DMLs in upgrade script
when upgrading from Acton (3.0.2) to Bonita (3.0.3).
Please note that the field names in the tables need
to be changed as per naming conventions. Those changes
will be checked in in an upcoming commit.
Conflicts:
setup/db/db/schema-302to303.sql
2012-05-25 18:22:41 -07:00
Sateesh Chodapuneedi
04898a0bf9
CS-9919 Support for Nexus Swiches (Cisco Vswitches)
...
Description:
Cleanup upgrade script.
2012-05-25 17:29:44 -07:00
Sateesh Chodapuneedi
8ba1d62b50
CS-9919 Support for Nexus Swiches (Cisco Vswitches)
...
Description:
Modified upgrade script to include new global
configuration parameters.
2012-05-25 17:29:28 -07:00
Vijayendra Bhamidipati
781f0b4966
Bug CS-9919: Support for Nexus Swiches (Cisco Vswitches)
...
Description:
1. Added the PortProfile infrastructure:
a. PortProfileVO : The VO class to represent a db
record of the table port_profile. Each db record
represents one port profile.
b. PortProfileDao: The interface that declares search
functions on the port_profile table.
c. PortProfileDaoImpl: The class that defines the
interfaces declared in PortProfileDao.
d. PortProfileManagerImpl: The class that contains
routines that will add or delete db records from
the port_profile table. If you want to create/delete
a portprofile, call functions from this class.
e. Changes to create-schema.sql to create the port_profile
table.
2. Cleaned up code:
a. Removed a number of unused Dao and Manager objects in
CiscoNexusVSMDeviceManagerImpl.
b. Removed the ListCiscoNexusVSMNetworksCmd command.
c. Removed a bunch of import statements in a few files.
2012-05-25 17:17:56 -07:00
Vijayendra Bhamidipati
0f28222cce
Bug CS-9919: Support for Nexus Swiches (Cisco Vswitches)
...
Description:
1. Modify addCiscoNexusVSMCmd to enable a VSM
by default, when it is added to a cluster.
2. Put in two new APIs exposed to the user -
a. EnableCiscoNexusVSMCmd
b. DisableCiscoNexusVSMCmd
Disabling a VSM does not delete it. It only
prevents the Management Server from using that
VSM. This is useful if the VSM is in
maintenance mode.
2012-05-25 17:17:37 -07:00
Vijayendra Bhamidipati
037ac6592e
Bug CS-9919: Support for Nexus Swiches (Cisco Vswitches)
...
Description:
1. Changed AddCiscoNexusVSMCmd to:
a. Extend BaseCmd instead of BaseAsyncCmd.
b. Take in more required parameters (viz
vCenterDCName and vCenterIpAddress)
1a. Changed DeleteCiscoNexusVSMCmd to also
extend BaseCmd.
2. Put in changes that will ensure that
When a VSM is added, it is disabled by default.
3. Fixed code that was leading to exceptions
related to DB reads/writes to VSM related tables.
4. Added new API Constants in ApiConstants.java.
NOTE - Always initialize new attributes in
ApiConstants.java to values in small case.
Never put in upper case there. Also regardless
of what names you give attributes in the
*Cmd.java's class, you pass in parameters via
API calls by specifying <key>=<value> where the
<key> is taken from the value you specified in
ApiConstants.java.
5. Modified the addCiscoNexusVSM() function in
CiscoNexusVSMDeviceManagerImpl.java to write VSM
records to the db.
2012-05-25 17:17:18 -07:00
Vijayendra Bhamidipati
5109902c9f
CS-9919: Support for Nexus Swiches (Cisco Vswitches)
...
Description:
Update create-schema.sql to create tables for
VSM and VSM-Cluster mapping.
Fixed an incorrect exception path in
CSExceptionErrorCode.
Conflicts:
utils/src/com/cloud/utils/exception/CSExceptionErrorCode.java
2012-05-25 17:11:49 -07:00
prachi
49cdc2317b
merge awsapi build script changes to master
2012-05-25 14:40:56 -07:00
Alena Prokharchyk
96d7dca68b
CS-15070: remove invalid refs from storage_pool_host_ref
...
Conflicts:
setup/db/db/schema-302to303.sql
2012-05-23 14:50:48 -07:00
Nitin Mehta
09b711b131
bug CS-14931: Put in 'Disk' during upgrade for putting in disk offerring
2012-05-16 18:48:42 +05:30
Nitin Mehta
c01d03e53f
bug CS-14249: cluster.localStorage.capacity.notificationthreshold text is incorrect
2012-05-15 19:58:30 +05:30
kishan
d82158d0ae
bug CS-14890: Set vnc password for removed Vms as empty. vnc_password is not null column.
...
status CS-14890: resolved fixed
reviewed-by: Nitin
2012-05-15 15:27:42 +05:30
Murali reddy
3b1aca19b3
bug CS-14291: support EIP with multiple NetScalers in basic zone
...
This fix will enable support for multiple NetScaler devices providing EIP service in same zone.
- Introduced global setting "eip.use.multiple.netscalers" to turn multiple netscaler support
- Enhanced configureNetscalerLoadBalancer API to take the PBR setup between the POD's subnet
and NetScaler device
- logic to pick a NetScaler (based on the guest IP and corresponding pod) while configuring INAT rule
2012-05-15 14:00:32 +05:30
kishan
ca5683e29d
bug CS-14890: Set vnc password for removed Vms as null. vnc_password is not used once the Vm is removed.
...
status CS-14890: resolved fixed
reviewed-by: Nitin
Conflicts:
setup/db/db/schema-2214to30.sql
2012-05-15 12:05:25 +05:30
Sheng Yang
ccc737e8c0
Remove the extra drop sql line
...
This would result in 3.0.1 to 3.0.2 upgrade failed, due to index not found.
2012-05-10 14:44:01 -07:00
Abhi
69c4438df3
bug CS-14515: adding centos 5.7 to supported os, supported in xen 6.0.2
2012-05-03 12:32:17 +05:30
Nitin Mehta
f49628df1d
bug CS-10789: Some upgerade change that tdidnt get merged.
2012-05-03 10:50:59 +05:30
Nitin Mehta
688f715b2c
bug CS-10789: Some upgerade change that tdidnt get merged.
2012-05-03 10:50:46 +05:30
Nitin Mehta
9097b53eab
bug CS-10789: Put zone id in the volumehost ref table. make list volume to show the percent uploaded.
2012-05-03 10:46:02 +05:30
Salvatore Orlando
a794e49545
CS-14724 : Making the default network label configurable, improving exception management
...
Please also see notes added to wiki.cloudstack.org/display/QA/Open+vSwitch+Tunnel+Manager
2012-05-02 15:16:10 +01:00
Alena Prokharchyk
6165f89a13
Mark local storages as removed when they have no ref in storage_pool_host_ref
...
Conflicts:
setup/db/db/schema-301to302.sql
2012-04-27 13:17:01 -07:00
Salvatore Orlando
469ed78a58
CS-14606: Restoring config parameter which was accidentally removed
2012-04-27 17:17:49 +01:00
Salvatore Orlando
8080bc2d26
CS-14606: Change name for config parameter
2012-04-27 17:17:34 +01:00
Alena Prokharchyk
4cbc148a52
CS-14633: db upgrade - remove config values that no longer exist on fresh setup
2012-04-26 11:06:40 -07:00
Alena Prokharchyk
5da0fdaecb
CS-14637: db upgrade - fixed inconsistencies in category/component fields for a bunch of global config variables
2012-04-26 10:10:05 -07:00
Alena Prokharchyk
83eae0c4bf
CS-14629: added missing global config variables
...
Conflicts:
setup/db/db/schema-301to302.sql
2012-04-25 13:44:07 -07:00
Salvatore Orlando
1b42828f1a
CS-14605: OVS cleanup
...
DB scripts cleanup
2012-04-25 11:42:50 +01:00
Alena Prokharchyk
eaf9d3d820
Catch all exceptions when change engine and row_format - can fail when table is full. Just skip as its not a critical fix
2012-04-24 15:49:28 -07:00
Salvatore Orlando
bbd2e06366
CS-14619: Add missing INSERT statements
2012-04-24 15:56:23 +01:00
Salvatore Orlando
f5952ef685
Adding ovs_tunnel_interface to schema;
...
adding new tables to update script (3.0.2 to 3.0.3)
2012-04-23 22:34:38 +01:00
root
3513551ae3
Hacking for demo
2012-04-23 22:33:19 +01:00
Abhi
b62c26c606
bug 14218: fixing category for redhat
2012-04-23 22:32:16 +01:00
Salvatore Orlando
9f321ffeac
Open vSwitch tunnel manager
...
Applying patch with new ovs-tunnel-manager on top of cloudstack oss-master
2012-04-23 22:32:16 +01:00
Alena Prokharchyk
61a10de627
CS-14591: added XenServer 6.0.2 and VmWare 5.0 as supported hypervisors to fresh 3.0.2 and to the 3.0.1-3.0.2 db upgrade
...
Conflicts:
setup/db/db/schema-301to302.sql
2012-04-23 11:19:58 -07:00
Alena Prokharchyk
051416ec5a
CS-14589: change engine and row_format for op_lock op_nwgrp_work during the db upgrade
2012-04-23 10:55:08 -07:00
Nitin Mehta
6fd42b831d
bug CS-10789: upgrade changes for the new table and custome disk offering.
2012-04-23 21:10:36 +05:30
Nitin Mehta
4434aa0d2d
bug CS-10789: More changes for the imageformat, introdueced new column in db for the format, created scripts for doffernt hypervisors ...and the list goes on.
2012-04-23 13:44:34 +05:30
Nitin Mehta
564cef8ddf
More changes for uploadVolume. Create framework for upload volume progress communication between MS and SSVM.
2012-04-23 12:14:35 +05:30
Alena Prokharchyk
e4e0fff2eb
Fixed db upgrade for 2.1-3.0
2012-04-20 12:00:37 -07:00
Alena Prokharchyk
d7f4d5d4ec
CS-14553: db upgrade - for default network offerings:
...
1) Change display text to match fresh 3.0.2
2) Delete lb service for the offerings using VR as a provider and not having source nat service
2012-04-18 17:10:52 -07:00
Alena Prokharchyk
92c8c80978
Fixed spelling mistake in db upgrade script
2012-04-18 14:28:16 -07:00
Alena Prokharchyk
0508090090
CS-14558: db upgrade - fixed inconsistencies fresh vs upgraded 3.0.2 build
2012-04-18 13:28:09 -07:00
Alena Prokharchyk
01274e3af4
CS-14480: db upgrade 3.0.1-3.0.2 - fixed upgrade inconsistencies in default fields values
2012-04-16 16:04:45 -07:00
kishan
35c8c01e9c
bug CS-14431: query to drop event table already exists. reverting earlier commit
...
status CS-14431: resolved fixed
reviewed-by: Nitin
2012-04-16 17:15:08 +05:30
Alena Prokharchyk
b2be0039cb
Usage db upgrade from 2.2.14 to 3.0 - don't drop the same fields twice from network_usage table
2012-04-13 13:59:01 -07:00
kishan
7e186fefb6
bug CS-14430, CS-14431: Dropped unused columns in usage_network table, drop event table in cloud_usage db
...
status CS-14430, CS-14431: resolved fixed
reviewed-by: Nitin
2012-04-13 12:05:20 +05:30
Alena Prokharchyk
14f973ba8c
Fixed 2.2.14 to 3.0. upgrade
...
Conflicts:
setup/db/db/schema-30to301.sql
2012-04-11 18:01:37 -07:00
frank
726aac5161
set resource_state = allocation_state when doing DB upgrade
2012-04-11 17:47:20 -07:00
Sheng Yang
eb20d63f12
Revert "Fix foreign key "fk_domain_router__element_id" in the upgrade"
...
This reverts commit 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
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
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
prachi
05af078358
Bug 8791 - user dispersing allocator
...
Changes:
To migrate systems using 'use.user.concentrated.pod.allocation' as true and 'vm.allocation.algorithm' as true, we need to
add following changes:
- There will be 5 values to 'vm.allocation.algorithm': 'random', 'firstfit', 'userdispersing', 'userconcentratedpod_random', 'userconcentratedpod_firstfit'
- 'userconcentratedpod_random' means we apply user concentration to pods and clusters. To hosts and pools we use random ordering.
- 'userconcentratedpod_firstfit' means we apply user concentration to pods and clusters. To hosts and pools we use firstfit ordering.
2012-02-08 17:03:38 -08:00
Sheng Yang
9317eb6bc3
Revert dynamic cidr change
2012-02-08 15:54:22 -08:00
Sheng Yang
18ec438793
Revert zone guest cidr setting
2012-02-08 15:54:16 -08:00
prachi
d0e63bc377
Bug 13099 - table physical-network-traffic-types needs to be updated when xen network device setting is modified in the global settings
...
Changes:
- DB upgrade changes
-- make the global setting hidden.
-- During upgrade set network labels from global config
2012-02-07 18:41:29 -08:00
Alena Prokharchyk
c17e9344a7
bug 13508: fixed inconsistencies in key names during db upgrade
...
status 13508: resolved fixed
Reviewed-by: Will Chan
Conflicts:
setup/db/db/schema-2213to2214.sql
2012-02-07 13:40:53 -08:00
Alena Prokharchyk
c2bca1a424
bug 13489: when add foreign key, index is created automatically
...
status 13489: resolved fixed
reviwed-by: Will Chan
Conflicts:
setup/db/create-schema.sql
2012-02-07 09:47:14 -08:00
Nitin Mehta
ce26703e5c
Bug 13059: Make DB changes to list top consumed resources for enabled resources only. For this introdiuced a new state called capacity state in the op_host_capacity table and would be updated on every operation of zone pod cluster and host
...
Reviewed-By: Kishan
2012-02-07 20:53:25 +05:30
Alena Prokharchyk
d7b290cb9c
bug 13474: fixed 1) 2) and 4)
...
reviewed-by: Frank
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade2213to2214.java
setup/db/db/schema-2213to2214.sql
2012-02-06 18:35:51 -08:00
Alena Prokharchyk
baddd97732
bug 13433: fixed db upgrade for domain_router table
...
status 13433: resolved fixed
reviewed-by: Sheng Yang
Conflicts:
setup/db/db/schema-2213to2214.sql
2012-02-06 16:00:52 -08:00
frank
074d33d9f3
DB upgrade for Bug 6849 - Randomize systemvm passwords
2012-02-03 17:40:07 -08:00
kishan
531906f039
Bug 13407: sanity check interval is not applicable in 2214. Moved insert query to 30 upgrade
...
Reviewed-By: Abhi
2012-02-03 18:01:30 +05:30
kishan
a388ed792f
Bug 13326: Added is_elastic flag to IP address usage. Added new column in usage_ip_address, defaults to false. size column will contain is_elastic info in cloud_usage table
...
Status 13326: resolved fixed
Reviewed-By: Nitin
2012-02-03 18:01:30 +05:30
Nitin Mehta
deadf815ca
Bug 13423: Drop i_op_vm_ruleset_log__instance_id, u_op_vm_ruleset_log__instance_id key (if exists) and re-add u_op_vm_ruleset_log__instance_id again.
...
Reviewed-By: Kishan
2012-02-03 15:54:48 +05:30
Alena Prokharchyk
a8476ac0de
bug 12361: 2214-3.0 db upgrade for redundant routers
2012-02-02 14:43:37 -08:00
abhi
44f248b9a5
bug 13407: adding missing conf variables
...
reviewed-by: kishan
2012-02-02 13:34:03 +05:30
Alena Prokharchyk
78f6fc9e43
bug 12361: Inermediate checkin to 2.2.14-3.0 db upgrade
2012-02-01 16:46:56 -08:00
Alena Prokharchyk
2f17d465dc
Fixed 2.2.14-3.0 db upgrade for usage
...
Added unittest as well
2012-02-01 13:33:53 -08:00
prachi
08bb9eaf47
Bug 11426 - UpdateResourceCount api: don't recalculate the resources for System account
...
Changes:
- Throw error is anyone tries to update the resource limits for ROOT domain using updateResourceLimit API
- For ROOT domain always return -1 (infinite) limit
- DB upgrade: remove any limits set for ROOT domain
2012-01-31 14:21:03 -08:00
Kelven Yang
cb959aa377
bug 13369: recycle roger hung worker VMs in vCenter
2012-01-30 14:21:56 -08:00
Alena Prokharchyk
9219d4c41d
bug 12361: more fixes to DB upgrade for network_offerings table
...
Added unittest for testing network offerings db upgrade
2012-01-30 11:20:13 -08:00
Alena Prokharchyk
3b1db5fa20
bug 13203: removed firewall.rule.ui.enabled global config
...
status 13203: resolved fixed
2012-01-25 16:49:31 -08:00
anthony
48943f52bf
retire centos5.3
...
introduce centos5.6 with xs-tools
2012-01-24 20:09:00 -08:00
Alena Prokharchyk
8bcf30da85
bug 12869: more changes to NAAS feature
2012-01-20 14:16:30 -08:00
anthony
99cbef154d
bug 13187: remove duplicate Red Hat Enterprise Linux 6 os type
...
status 13187: resolved fixed
2012-01-20 10:54:55 -08:00
Alena Prokharchyk
212c22b256
Added isElastic flag to ip address
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
1d0ffc4575
EnableStaticNat for newly allocated address - if eIp is enabled, and the target vm already assigned to the ip, reassign the vm to the new ip
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
6325d21c50
Get new elasticIp when releaseIpAddress is called for elasticIP of the vm
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
ff1e8413f1
1) Added StaticNat/Firewall/Lb capabilities to Netscaler element. Renamed it to "NetscalerElement" from NetscalerLoadBalancingElement as it serves more services now
...
2) Added elasticIp and elasticLb network capabilities. Provided support to create network offering with these capabilities.
3) Added one more default network offering having elasticip and elasticlb
4) Public network support to Basic zone. You can associate/disassociate IP addresses now
2012-01-19 13:56:59 -08:00
kishan
5d266b3b4b
Bug 12072: Add premium configs if they do not exist. Upgrades from OSS will be missing there configs.
...
Status 12072: resolved fixed
Reviewed-By: Nitin
2012-01-19 12:05:52 +05:30
kishan
a068475dcb
Bug 12477: Adding missing wait configs to upgrade script
...
Status 12477: resolved fixed
Reviewed-By: Nitin
2012-01-18 11:32:01 +05:30
Kelven Yang
b1376e1f04
bug 13021: add a global configuration variable to let control default network adapter type inside system VMs
2012-01-12 14:21:11 -08:00
kishan
b589e49263
Bug 12929: Added domain_id to event table. Populate domain_id while persisting events. Cleanedup EventUtils.
...
Status 12929: resolved fixed
Reviewed-By: Nitin
2012-01-12 16:16:06 +05:30
frank
52610ffcb3
add copyright header to shell scripts
2012-01-11 18:41:53 -08:00
frank
9c1b8ef673
add copyright delcartion to all sql files
2012-01-11 17:31:10 -08:00
frank
82cf4e2a31
Bug 12777 - Add storage network configuration into CloudStack
...
add DROP statement for new tables according to our code convention guide
http://docs.cloud.com/CloudStack_Documentation/Design_Documents/Coding_Conventions
2012-01-11 13:57:39 -08:00
Nitin Mehta
2ce205725d
Change of description text for some global configs
2012-01-11 17:30:24 +05:30
Sheng Yang
fb596aa003
bug 12974: Update system template in template.sql
2012-01-10 15:01:28 -08:00
Alena Prokharchyk
adaea570e4
bug 12934: added name to physical network
...
status 12934: resolved fixed
2012-01-09 14:20:37 -08:00
frank
1355a7d622
Bug 12777 - Add storage network configuration into CloudStack
...
DB upgrade:
update networks set guru_name='StorageNetworkGuru' where traffic_type='Storage';
2012-01-06 16:47:36 -08:00
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
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
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
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
Alena Prokharchyk
628ca6c6d7
bug 11018: removed private_netmask from vm_instance table
...
status 11018: resolved fixed
2011-11-28 14:15:14 -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
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
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
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
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
Sheng Yang
63e67c21d3
Add some default values for 2.2.9-2.2.10 scheme
2011-08-04 12:10:08 -07:00
anthony
2d23ce6dd1
Bug 10197: DB upgrade
2011-08-04 10:58:19 -07:00
anthony
94855b688f
Bug 10197: DB upgrade
2011-08-04 10:52:28 -07:00
alena
294e30d7c2
Merged 228-229 db upgrade from 228 branch
2011-08-04 10:19:23 -07:00
alena
3d0758691f
bug 10954: when start a vm, always check if it's being started in original pod; if not - release old ip address, and allocate the new one from the new pod
...
status 10954: resolved fixed
Conflicts:
setup/db/db/schema-228to229.sql
2011-08-04 10:01:06 -07:00
Nitin
a3cb6d9a09
bug 9345: Remove pool_id from template_host_ref. Its not needed anymore. Also removed the unwarranted code.
...
status 9345: resolved fixed
2011-08-04 12:51:35 +05:30
alena
dfd0d7730e
bug 10954: when start a vm, always check if it's being started in original pod; if not - release old ip address, and allocate the new one from the new pod
...
status 10954: resolved fixed
2011-08-03 20:47:44 -07:00
alena
527c3b024f
bug 10954: when start a vm, always check if it's being started in original pod; if not - release old ip address, and allocate the new one from the new pod
...
status 10954: resolved fixed
2011-08-03 20:46:33 -07:00
Sheng Yang
7f859cf30f
Update scheme-229to2210.sql to reflect redundant virtual router change
2011-08-03 17:33:53 -07:00
Sheng Yang
13e7c5f3d4
Update scheme-229to2210.sql to reflect redundant virtual router change
2011-08-03 17:06:06 -07:00
keshav
34a0c44f4f
Added a new table for inline load balancer deployments, to store mappings between public IPs and NICs.
2011-08-03 16:10:20 -07:00
alena
603de56c93
Merged fixes for 228-229 upgrade from 2.2.8 zucchini branch
2011-08-03 10:39:02 -07:00
alena
21a98e8457
Added missing config value to 229 to 2210 upgrade
2011-08-03 10:35:32 -07:00
alena
a7bc955822
Added missing config value to 229 to 2210 upgrade
2011-08-03 10:35:06 -07:00
alena
da4b39279d
Added 229 to 2210 upgrade path
...
Conflicts:
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
setup/db/db/schema-228to229.sql
2011-08-03 10:23:27 -07:00
Abhinandan Prateek
7e727be42c
bug 10748: use external dnses if set thru global config (dhcp otpion 6)
2011-08-03 12:34:02 +05:30
Alex Huang
f043f63eaa
Merged changes from 2.2.8.zucchini
2011-08-02 15:33:48 -07:00
Abhinandan Prateek
2f804dd799
bug 10748: use external dns, configurable thru global param
2011-08-02 16:21:55 +05:30
Abhinandan Prateek
9009026eba
bug 10748: use external dns
...
status 10748: resolved fixed
2011-08-02 15:35:13 +05:30
Alex Huang
f150f68128
sg improvements
2011-08-01 22:09:41 -07:00
alena
f73c2695a1
bug 10927: instance_id is foreign key, not index, in port_forwarding_rules table
2011-08-01 17:25:25 -07:00
alena
5ffaed128d
bug 10927: added index for Removed field in create-schema
2011-08-01 17:11:59 -07:00
alena
1d5543ec79
Removed the key from upgrade-228-229.sql as we are adding it as a part of java code
...
Fixed the typo in 2.2.8 to 2.2.9 upgrade
2011-08-01 17:00:06 -07:00
Alex Huang
270303e525
bug 10927: missing indexes in upgrade script
2011-08-01 16:19:22 -07:00
alena
333e435fc5
bug 10927: added missing constraint to firewall_rules_cidr table
2011-08-01 15:52:44 -07:00
alena
d30fe74794
Added 229 to 2210 upgrade path
2011-08-01 15:42:16 -07:00
alena
52f1a58fc6
bug 10927: removed network_domain for account/domain as this feature is not in 2.2.9, but in 2.2.10
...
Conflicts:
setup/db/db/schema-228to229.sql
Conflicts:
setup/db/db/schema-228to229.sql
2011-08-01 15:32:24 -07:00
alena
38db7a45dd
bug 10927: removed network_domain for account/domain as this feature is not in 2.2.9, but in 2.2.10
...
Conflicts:
setup/db/db/schema-228to229.sql
2011-08-01 15:31:16 -07:00
alena
f48efae77c
bug 10927: removed network_domain for account/domain as this feature is not in 2.2.9, but in 2.2.10
2011-08-01 15:14:12 -07:00
frank
03fbe13f58
Add upgrade path to 2.2.9
...
Add files
2011-07-29 20:05:50 -07:00
frank
44f3ac98f6
A couple of things:
...
add 229 upgrade path
Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8 (edit)
run checker before any components loaded
2011-07-29 20:05:50 -07:00
Chiradeep Vittal
fae6fa790c
ELB VM: implement delete LB by deleting ELB vm
...
in the future we will manage a pool of vms more intelligently
2011-07-28 00:15:16 -07:00
Abhinandan Prateek
e5b7c89986
bug 10866: putting additional database guard so as to enforce uniqness of cidrs at db level
2011-07-28 10:58:10 +05:30
Abhinandan Prateek
8a8cfe1388
bug 10866: Putting additional unique indexs on firewall_rules_cidrs to prevent duplicate rules.
...
Although the code has been tested for duplicate cidrs, the additional table constraint will add a further safegaurd for this condition.
2011-07-28 10:45:24 +05:30
Alex Huang
70e0b54a83
Upgrade scripts for missing indexes
2011-07-27 17:56:16 -07:00
Alex Huang
6fea146903
more index. moved op_lock to memory table to try it
2011-07-27 14:06:40 -07:00
Chiradeep Vittal
b829cde18f
track ip to vm mapping
2011-07-27 12:00:08 -07:00
Naredula Janardhana Reddy
3d7275f077
bug 10557: updated upgrade script
2011-07-27 14:48:14 +05:30
Naredula Janardhana Reddy
e5ebd28743
bug 10557: updated upgrade script
2011-07-27 14:45:04 +05:30
Alex Huang
c610925304
moved agent ping to in memory rather than db based
2011-07-25 15:21:06 -07:00