Commit Graph

1233 Commits

Author SHA1 Message Date
Min Chen bbfd123a26 Excluded deleted nics from user_vm_view. 2013-06-19 14:27:51 -07:00
Min Chen 11cfc034e0 CLOUDSTACK-3015: VPC virtual router lists deleted nics 2013-06-19 11:39:32 -07:00
Wei Zhou 63c14d6142 CLOUDSTACK-3005: fix template_spool_ref.local_patch error after upgrade from 2.2.14 to 3.X 2013-06-14 10:33:21 +02:00
Kishan Kavala a65c36a391 CLOUDSTACK-528: Config value has to be encrypted for Hidden category configs 2013-05-28 09:14:38 -04:00
Chip Childers c559c40c31 CLOUDSTACK-528: Adding a corrective update to remove the extra space characters that exist after running older versions of schema-302to40.sql
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-24 17:06:02 +01:00
Min Chen 672fe2e72b CLOUDSTACK-2656: UUID column for all 4.0 schema entities should be
populated when they are upgraded to 4.1
2013-05-24 16:25:34 +01:00
Murali Reddy 21b8a04425 CLOUDSTACK-2587: netscaler_pod_ref DB upgrade is missing from 3.0.2 to
4.x

added missing schema as part of 4.0 to 4.1 upgrade
2013-05-24 16:25:23 +01:00
Chip Childers ded0cd7f6c CLOUDSTACK-2612: Correcting missing db qualifiers in schema-302to40.sql
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-23 17:50:15 +01:00
Wei Zhou 5ccdf7dc4a CLOUDSTACK-528: Correct a bunch of mistakes in the 3.0.x to 4.0 db
script
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-13 16:50:29 +01:00
Wei Zhou e85c0a965a CLOUDSTACK-2318: update volumes.path to fix stop/start vm error after
upgrade from 2.2.14 to 3.0.0

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-08 17:44:46 +01:00
Wei Zhou 18f0f721d0 CLOUDSTACK-2322: update network.gateway to fix deployVm error on
SharedNetwork after ipv6 support

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-06 20:56:06 +01:00
Sanjay Tripathi 799d906ac9 CLOUDSTACK-2147: Missing configuration variable max.project.cpus in configuration table 2013-04-23 15:41:38 +01:00
Mice Xia d61b9fe827 remove vm_snapshot schema creation from 40to410.sql 2013-04-12 20:11:47 +01:00
Kishan Kavala 05ca08af11 CLOUDSTACK-1874: Removed region_id column from cloud_usage db account table
Conflicts:
	setup/db/db/schema-40to410.sql
2013-04-05 16:52:05 +01:00
Chip Childers 016742011e CLOUDSTACK-1842: adding the missing os type in upgrade script
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-04-04 17:34:27 +01:00
Chip Childers 7b3e2a72f1 Revert "bug CLOUDSTACK-1842: adding the missing os type in upgrade script"
This reverts commit f1c7f4022a.
2013-04-04 14:59:00 +01:00
Abhinandan Prateek f1c7f4022a bug CLOUDSTACK-1842: adding the missing os type in upgrade script 2013-04-04 11:15:59 +05:30
Alex Huang fe1113f2f1 Added fixes for CLOUDSTACK-1839. Missing lots of indexes due to a rollback to 4.0 by Rohit 2013-04-03 14:28:49 +01:00
Prasanna Santhanam c54d9c9635 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 18:11:22 +05:30
Vijayendra Bhamidipati c25d60f175 CLOUDSTACK-1773:Temporarily disabling baremetal functionality in CS 4.1
Signed-off-by: Min Chen <min.chen@citrix.com>
2013-03-25 11:34:53 -07:00
Kishan Kavala 7b8bc9eb82 Added / to the end_point of default local region. UI expects / while switching to other regions using single sign-on 2013-03-21 16:21:05 +00:00
Min Chen 7734650bf9 CLOUDSTACK-1511 and CLOUDSTACK-1446 2013-03-20 00:40:29 +00:00
Kishan Kavala 7802a62d5e CLOUDSTACK-1717, CLOUDSTACK-1718: Corrected RemoveRegion response. Removed /api in Local region end_point 2013-03-19 13:12:29 -04:00
Kishan Kavala b41e6e929d 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 21:22:48 -04:00
Min Chen 0afc2d0033 CLOUDSTACK-1484: provide api.throttling.enabled gloabl configuration settings to enable/disable api throttling feature. 2013-03-05 11:26:20 -05:00
Venkata Swamybabu Budumuru 17e3313e69 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: Venkata Swamybabu Budumuru <venkataswamybabu.budumuru@citrix.com>
2013-03-05 10:57:37 -05:00
frank 2093aefcb8 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
2013-02-28 15:34:57 -08:00
Kishan Kavala 79995bf629 CLOUDSTACK-241: Moved regions upgrade chnages to Upgrade40to41.jav from schema file. Sets the right regins_id from db.properties instead of using default 1. 2013-02-28 11:21:02 +05:30
Kishan Kavala 1a2173f4db CLOUDSTACK-241: Removed API based account sync. Removed all the related API changes. Converted tabs to spaces in the related files.
Verified account, user and domain APIs manually.
2013-02-28 11:21:02 +05:30
Sheng Yang e06bf6ad2e CLOUDSTACK-1332: Add ip6dns to zone and domainrouter response 2013-02-25 16:55:47 -08:00
Sheng Yang 0760fdf6d0 CLOUDSTACK-1332: Add IPv6 DNS for Zone 2013-02-25 16:07:14 -08:00
Rohit Yadav b9d876c5ca db: Sync with master, remove rules that are for 4.2
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-25 14:48:30 +05:30
Rohit Yadav 7da92314ad CLOUDSTACK-1355: Don't check foreign key constraint during db upgrades
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked partially from commit 54f7933f11)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-22 19:30:07 +05:30
frank 172de30341 CloudStack CLOUDSTACK-774
Supporting kickstart in CloudStack baremetal

remove workaround for unable to deploydb
remove wrongly added region upgrade entries
2013-02-21 15:39:15 -08:00
frank 2e069ad16b CloudStack CLOUDSTACK-774
Supporting kickstart in CloudStack baremetal

able to start vm
2013-02-21 15:39:15 -08:00
Rohit Yadav 759b301341 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>
(cherry picked from commit 4e72d84194cb79f5f067fbe4b2c874d36d2ae0e7)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-21 15:02:13 +05:30
Rohit Yadav 8d9412492c CLOUDSTACK-1312: Fix diversions between create-schema since 4.0 for 4.1 release
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 904561a1b0b969052286b7af0602465feb296d70)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 15:51:21 +05:30
Rohit Yadav 55271ab9e9 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>
(cherry picked from commit 31d6f03308)

Conflicts:
	setup/db/create-schema-view.sql

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 15:02:05 +05:30
Rohit Yadav 7ce22fc2b2 db: Fix commas which should be dots in create-schema, fix debug msg
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 44c8a33cf2)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 14:57:05 +05:30
Rohit Yadav d427e1ae0d db: Remove and merge 4.1-new-db-schema.sql to schema-40to410.sql
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit f2ae6dcda9)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 14:56:37 +05:30
Rohit Yadav 12b439baa6 db: Fix Upgrade40to41 and add cleaning path schema-40to410-cleanup.sql
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 46ab973143)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 14:52:37 +05:30
Sheng Yang 373c927a1e IPv6: Fix db upgrade path
All the table column should be modified before view was added
2013-02-19 21:23:59 -08:00
Sheng Yang 81db0c2076 IPv6: Add ipv6 for user vm view 2013-02-19 15:49:24 -08:00
Sheng Yang f3dae81daa IPv6: Add IPv6 for domain router view 2013-02-19 15:49:24 -08:00
Sheng Yang 87bb4dbff0 Add db upgrade path for ipv6 2013-02-19 11:54:43 -08:00
Kishan Kavala 3d3714c79b 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
2013-02-15 18:34:24 +05:30
Marcus Sorensen d4d73bfc3f 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:31:48 -07:00
Rohit Yadav e3156a6e16 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:42:48 +05:30
Rohit Yadav e97bc4baed CLOUDSTACK-1222: Remove double quotes in upgrade script s/"//g
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 0895c34002)

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-11 14:07:23 +05:30
Min Chen f589d61334 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-07 23:48:15 -08:00