Commit Graph

1685 Commits

Author SHA1 Message Date
Rohit Yadav
7a4e167692 schema: fix foreign key checks for 3.0.7 to 4.1.0 upgrade path
Without this upgrades from 3.0.7 version fails.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit a0cff4ca48)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-13 14:12:42 +02:00
Daan Hoogland
5f601e4c5b 4.4.3 to 4.4.4-snapshot upgrade 2015-04-19 18:10:03 +02:00
Rohit Yadav
d4361b96d0 db: use explicit USE statements to avoid SQL failures
create-schema-premium.sql may fail with certain MySQL/MariaDB version which
require explicit database use.

(cherry picked from commit 09e26c826f)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-23 02:02:47 +05:30
Erik Weber
7019253125 Add absolute schema references to support MySQL 5.6 better
(cherry picked from commit 396936ea5e)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-14 20:34:01 +05:30
Daan Hoogland
79fc9d2687 CLOUDSTACK-7184 fieldname typo 2014-12-19 14:49:39 +01:00
Daan Hoogland
86c425ec83 CLOUDSTACK-7184 c&p feature fix in conf-value-description 2014-12-18 12:23:53 +01:00
Daan Hoogland
8dfcd51beb CLOUDSTACK-7184 new config var is not available when not in the db 2014-12-18 11:51:54 +01:00
Daan Hoogland
9b76342a23 upgrade path(s) 2014-11-28 23:50:30 +01:00
Daan Hoogland
f18d6238b0 empty schema upgrade ddl 2014-11-17 14:34:53 +01:00
Hugo Trippaers
9eb86560c9 CLOUDSTACK-7624 The value field of the configuration table is not big enough for some values 2014-09-24 17:24:23 +02:00
Pierre-Luc Dion
7d113818fb remove table baremetal_rct crate from schema-440to441.sql,already in schema-441to450.sql 2014-09-23 20:38:40 -04:00
Pierre-Luc Dion
df4d5ede90 CLOUDSTACK-7574, CREATE TABLE cloud.baremetal_rct 2014-09-23 09:16:01 -04:00
Daan Hoogland
ec5f842d8a fix from master backported to 4.4 db upgrade path
hand picked from 774739fb97
2014-09-23 11:31:44 +02:00
amoghvk
e73e7c3939 CLOUDSTACK-7257: Missing LXC mappings, reuse KVM mappings 2014-08-05 09:38:57 -07:00
amoghvk
d3e0ecd130 CLOUDSTACK-6358: KVM mappings for CentOS 6.x and RHEL 6.x
(cherry picked from commit c8ca15b95a)

Conflicts:
	setup/db/db/schema-430to440.sql
2014-07-30 13:38:26 +02:00
Nitin Mehta
1fbee507ea CLOUDSTACK-6987: Add support for storing metadata for snapshot policy and controlling policy using display flag
(cherry picked from commit 5cf8edd7ec)

Conflicts:
	setup/db/db/schema-430to440.sql
2014-07-30 13:24:31 +02:00
Nitin Mehta
27c0246e7f CLOUDSTACK-6599: Add the column in Java upgrade path since 4.2 already has the extract template/volume columns
(cherry picked from commit be765ce868)

Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade430to440.java
	setup/db/db/schema-430to440.sql
2014-07-30 12:59:22 +02:00
Rohit Yadav
9de4abeb49 schema: add upgrade path stubs from 4.4.0 to 4.4.1
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-07-28 23:52:47 +02:00
Koushik Das
25b4159723 CLOUDSTACK-6445: Simulator enhancements
Refer FS - https://cwiki.apache.org/confluence/display/CLOUDSTACK/Simulator+enhancements

(cherry picked from commit 617826d16b)
2014-07-28 13:58:55 +02:00
Daan Hoogland
72a62403de bogus db changes from previous conflict resolution 2014-07-18 05:49:13 +02:00
amoghvk
a72991a313 CLOUDSTACK-6358: KVM mappings for CentOS 6.x and RHEL 6.x
(cherry picked from commit c8ca15b95a)

Conflicts:
	setup/db/db/schema-430to440.sql
2014-07-17 23:40:49 +02:00
Ian Duffy
6aef8bd906 CLOUDSTACK-7005 - Failed to start MS with latest 4.4 RPM builds
(cherry picked from commit f7417d622a)

Conflicts:
	setup/db/db/schema-430to440.sql
2014-06-29 21:48:07 +02:00
Ian Duffy
c70cadff0e Allow for length of password on VMs to be set via global settings
(cherry picked from commit 96412e3e58)

Conflicts:
	setup/db/db/schema-430to440.sql
2014-06-25 21:22:06 +02:00
Olivier Lemasle
c934e7b052 CLOUDSTACK-6850: Return cpu cores, cpu speed and memory in listUsageRecords
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
(cherry picked from commit a1f278e9d4)
2014-06-10 13:39:43 +02:00
amoghvk
04665ee256 CLOUDSTACK-6710: Add missing OS mappings
(cherry picked from commit ac92b36903)
2014-06-10 13:18:08 +02:00
Rajesh Battala
fc7d0b2a33 CLOUDSTACK-6603 [Upgrade]DB Exception while Autoscale monitoring after upgrading from 4.3 to 4.4
(cherry picked from commit c282bb3a12)
2014-06-09 21:20:03 +02:00
Alena Prokharchyk
3a578fff1f CLOUDSTACK-6585: added missing db upgrade statements
(cherry picked from commit 9e2db2f221)
2014-06-06 22:09:34 +02:00
Nitin Mehta
9fd0655adb CLOUDSTACK-6599: Add the column in Java upgrade path since 4.2 already has the extract template/volume columns
Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade430to440.java
2014-06-03 10:04:52 +02:00
Nitin Mehta
9286417f05 CLOUDSTACK-6599:
1. Adding the missing Template/Volume URLs expiration functionality
2. Improvement - While deleting the volume during expiration use rm -rf as vmware now contains directoy
3. Improvement - Use standard Answer so that the error gets logged in case deletion of expiration link didnt work fine.
4. Improvement - In case of domain change, expire the old urls

(cherry picked from commit 48ea9e0b5e)
2014-06-03 10:02:06 +02:00
Rajani Karuturi
fab339e4cf FIXED CLOUDSTACK-6808 Need to add Database Information to Alter table statements in a commit to schema-430to440.sql 2014-05-30 19:05:28 +02:00
Rajani Karuturi
df42ce903d Fixed CLOUDSTACK-6756: usage id is not being returned for an ip in deleted ip range 2014-05-27 10:37:55 +02:00
Amogh Vasekar
b0b71e59e9 CLOUDSTACK-6671: Fixing NPE when a mapping is missing
Adding missing KVM mappings

Testing Done:
Local testing with removing CentOS mapping and launch a VM.

Signed-off-by: Nitin Mehta <nitin.mehta@citrix.com>
2014-05-22 20:38:57 +02:00
Nitin Mehta
5ead629ce7 CLOUDSTACK-6633: listVolumes should return template/iso info for root volumes 2014-05-12 09:44:12 +02:00
Murali Reddy
2fa15a044a CLOUDSTACK-6609: OVS distributed routing: ensure tunnels are created if
not created already when OvsVpcPhysicalTopologyConfigCommand update is
recived

Currently if the tunnel creation fails, there is no retry logic. Fix
ensures OvsVpcPhysicalTopologyConfigCommand updates as an opputiunity to ensure
proper tunnels are established between the hosts.
2014-05-12 09:42:36 +02:00
Alena Prokharchyk
a3825f126f CLOUDSTACK-6596: UUID and display flag update support for LBStickinessPolicy and LBHealthCheckPolicy 2014-05-08 09:48:27 +02:00
Jayapal
980eac607f CLOUDSTACK-6582: fixed network acl cidr issues 2014-05-06 22:39:07 +02:00
Bharat Kumar
aabde469d2 Cloudstack-5077: reserve cpu and memory only when vmware.reserve.cpu/mem are set to true. Insted of setting the ovecommit values to one on upgrade, we popultate them from the global values.
Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
	engine/schema/src/com/cloud/upgrade/dao/Upgrade420to421.java
	plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
2014-05-05 14:06:09 +02:00
Daan Hoogland
2239eb4b17 CLOUDSTACK-6231: network acl item cidrs loaded from a seperate table 2014-04-30 14:56:16 +02:00
Sheng Yang
3578c7137f CLOUDSTACK-6047: Make aggregation command timeout configurable
In case some environments has different performance or we found some commands
would took too long to execute, one global configuration item is introduced to
specify "time out in seconds per one command in aggregation commands".

By default it's 3 seconds. If admin feel it's too long, it can be adjust to as
low as 1 seconds, which runs still well in my machine.
2014-04-18 23:27:12 -07:00
Amogh Vasekar
3419c812ae CLOUDSTACK-6437:
Add ability to distinguish between user defined and system defined guest OS and mappings
Add default mappings for XenServer

Local testing with
1. Add new guest OS by API
2. Add new guest OS mapping by API
2014-04-18 11:33:42 -07:00
Murali Reddy
192856fdcc add support for sequence numner in the VPC topology updates and VPC
routing policy updates
2014-04-18 18:14:13 +05:30
Sheng Yang
dcb0db6084 CLOUDSTACK-6434: Make RvR advert_int configurable
In some network environment, 1*3 seconds by default make RvR setup too
sensitive. A configurable parameter would be better for fitting different
network environments.
2014-04-16 20:15:56 -07:00
Sanjay Tripathi
127196e95d CLOUDSTACK-6366: add vgpuTypes details in vgpu_types table. 2014-04-09 18:22:06 +05:30
edison
6b364f9588 mischanged default user vm template url for xen 2014-03-27 17:38:41 -07:00
edison
c1711428f0 add md5sum for xen/kvm system vm template 2014-03-27 17:38:40 -07:00
edison
b35389fd20 update xen/kvm system vm template download url, and update the os type to 64bit 2014-03-27 17:38:40 -07:00
Alex Hitchins
10fb10f0fa CLOUDSTACK-5440: Add missing guestos types got centos 6.5, windows 8.1 and windows server 2012 r2.
Signed-off-by: Devdeep Singh <devdeep@gmail.com>
2014-03-24 14:07:35 +05:30
Jayapal
14a4dd116f CLOUDSTACK-2692 Assigning LB rule for vm nic secondary ips
Conflicts:
	setup/db/db/schema-430to440.sql
2014-03-14 22:48:51 +05:30
Murali Reddy
c1085ed94b fix schema issue 2014-03-14 21:54:48 +05:30
Murali Reddy
7a929d1a0e region level VPC support
introduce 'RegionLevelVpc' as capability of 'Connectivity' service. Add
support for CreateVPCOffering to take the 'regionlevelvpc' as capability
of service 'connectivity'.

introduces new capability 'StretchedL2Subnet' for 'Connectivity'
service. Also add support to createNetworkOffering api to allow
StretchedL2Subnet capablity for the connectivity service.

adds check to ensure 'Connectivity' service provider supports
'StretchedL2Subnet' and 'RegionLevelVpc' capabilities when specified in
createNetworkOffering and createVpcOffering respectivley

enable ovs plug-in to support both StretchedL2Subnet and RegionLevelVpc
capabilities

make zone id optional parameter in createVpc, zone id can be null only
if vpc offfering supports region level VPC

in region level vpc, let the network/tier to be created in any zone of
the region

keep zoneid as required param for createVpc

skip external guest network guru if 'Connectivy' service is present in
network offering

fix build break in contrail manager

permit VM's to be created in different zone that in which network is
created if the network support streched L2 subnet

add integration tests for region level VPC

rebase to master

Conflicts:
	setup/db/db/schema-430to440.sql
2014-03-14 21:54:47 +05:30