Commit Graph

1565 Commits

Author SHA1 Message Date
Rohit Yadav 5de04025a6 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:13:48 +02:00
Rohit Yadav ad29ce9344 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:03:35 +05:30
Erik Weber 0f7ec982bf 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:33:29 +05:30
Nitin Mehta e5761cc85f CLOUDSTACK-5997: Template state changes side affects
(cherry picked from commit 0e2e6995b7)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	engine/schema/src/com/cloud/storage/dao/VMTemplateDaoImpl.java
	server/src/com/cloud/template/HypervisorTemplateAdapter.java

This makes setup/db/db/schema-421to430.sql same as in master branch. The
change is table view related and does not affect db at all. Making it same
as the version on master for sanity purposes.
2014-12-02 15:16:11 +05:30
John Kinsella 2fe7aeea23 CLOUDSTACK-6204: Removing realhostip.com dependency
For more info, see https://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+changes

Author: Amogh Vasekar <amogh.vasekar@citrix.com>
Signed-off-by: John Kinsella <jlk@stratosec.co> 1394399081 -0700
2014-03-09 14:04:41 -07:00
David Grizzanti 1e5415d961 CLOUDSTACK-5080: Hypervisor Capabilities table missing entry for Simulator
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2014-03-07 01:08:01 +07:00
Min Chen 4c83f80c80 CLOUDSTACK-6174: Provide separate option for Windows Server 2012 R2 as
an OS type when registering template.
2014-02-26 11:24:01 -08:00
Alena Prokharchyk 1cfbfab816 CLOUDSTACK-6068: set display flag to true in service/disk_offering_details tables 2014-02-10 17:15:50 -08:00
Alena Prokharchyk aff22869cc CLOUDSTACK-6068: set display flag to true in service/disk_offering_details tables 2014-02-10 10:21:34 -08:00
Sanjay Tripathi bba6b77177 CLOUDSTACK-5953: In hypervisor_capabilities, max_guests_limit are
not correct for XS 6.2 or other specific version hypervisor.
2014-02-06 17:42:14 +05:30
Jayapal 888b906776 CLOUDSTACK-5966 Update the schema-421-430.sql for EnableServiceMonitoring global setting 2014-01-30 19:31:34 +05:30
Jayapal 7255e50f20 CLOUDSTACK-5966 Updated service monitoring config to start by default.
Global settings EnableServiceMonitoring param set to true
2014-01-30 14:20:21 +05:30
Jayapal 782265e713 CLOUDSTACK-5966 Added enable/disable monitoring service in global config 2014-01-28 20:08:54 +05:30
Koushik Das 3fae917ebe CLOUDSTACK-5949: Remove unused field vnc_password from user_vm_view
Removed unused field. This will ensure that list VM queries are not blocked.
2014-01-27 15:23:28 +05:30
Santhosh Edukulla d31fa09c7e Added Fix for CLOUDSTACK-5875
Added fix for exception and listing. Mentioned details under bug.
Post the fix, simulator works fine.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: Koushik Das <koushik@apache.org>
2014-01-23 16:53:15 +05:30
edison 3eca162c26 mischanged default user vm template url for xen 2014-01-17 15:45:58 -08:00
Daan Hoogland 233f0f618f CLOUDSTACK-5886: cidr field-width to 2048 2014-01-16 22:15:36 +01:00
Daan Hoogland 386b467ef3 CLOUDSTACK-5886: set cidr field-width to 2048 2014-01-16 20:22:42 +01:00
Sateesh Chodapuneedi 151c239812 CLOUDSTACK-5868 Default templates are still referring to older templates in DB
Updated URL and bits for 64-bit system vm template for VMware.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2014-01-16 18:16:35 +05:30
edison 5c77725090 add md5sum for xen/kvm system vm template 2014-01-15 15:47:28 -08:00
edison f562579e28 update xen/kvm system vm template download url, and update the os type to 64bit 2014-01-15 15:44:36 -08:00
Harikrishna Patnala 7a39b0a2e1 CLOUDSTACK-4904: Unable to see a derieved template if the
parent template is deleted. Modified template_view so that removed(or InActive) templates also be there in the view.
Previous behavior of listing templates and state column in vm_templates will be the same.
2014-01-10 10:24:35 -08:00
Rajani Karuturi 12f3568e97 CLOUDSTACK-5790: decrypted ldap hostname and port during upgrade as they are not encrypted now.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-01-09 15:43:21 +05:30
Rajani Karuturi dfabe2334b Revert "CLOUDSTACK-5435 enabled encryption for ldap params"
This reverts commit 24392c15f5.

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-01-09 15:43:21 +05:30
Sanjay Tripathi 6220e48a98 CLOUDSTACK-5718: guest OS type for default template "CentOS 5.6(64-bit) no GUI (XenServer)" is CentOS 5.3(64-bit). 2014-01-07 16:00:46 +05:30
Likitha Shetty f10bd71159 CLOUDSTACK-5780. [VMware] ESXi 5.5 - During live volume migration of ROOT and DATA volumes, suitable storage list is always empty
Update hypervisor_capabilities to include capabilities for ESXi host 5.5
2014-01-06 20:04:06 +05:30
Bharat Kumar 4dd38a9fb0 CLOUDSTACK-5472 fixed the listvirtualmachines API to show cpu, memory and cpucores when using custom compute offering 2014-01-06 18:40:39 +05:30
Harikrishna Patnala 662383e24b CLOUDSTACK-5515: #cpu ,cpuspeed and ram is set to NULL in usage db(usage_vm_instance table) after vm stop and start Fixed populating usage event details in usage db on vm start/upgrade/dynamic_scale 2013-12-30 12:08:30 +05:30
Devdeep Singh 9f5bea6204 CLOUDSTACK-5655: hyper-v configuration parameters are missing in upgraded setup. Updated
the db upgrade schema script to insert the configuration parameters.
2013-12-27 13:07:52 +05:30
Harikrishna Patnala 6897984970 CLOUDSTACK-5608: HyperV Builtin and System vm template entries missing/need to update in 4.3 upgrade setup 2013-12-23 18:10:36 +05:30
Devdeep Singh 408345d818 CLOUDSTACK-5311: Fixing the hypervisor version in capabilities table. 2013-12-20 11:24:06 +05:30
Harikrishna Patnala 1c6b146d04 CLOUDSTACK-5554: Custom disk offering allows to create a datadisk with size greater than custom.diskoffering.size.max value 2013-12-19 15:45:43 +05:30
Koushik Das efe2549e7a CLOUDSTACK-5458: cpu speed is not getting updated in vm_instance table after service offeirngs change
Removed cpu, ram and cpu speed fields from the vm_instance table as these are not used
2013-12-18 15:34:44 +05:30
Rajesh Battala 6d6c3c35cd CLOUDSTACK-5321 Added default guest template centos 6.4-x64 and modified hyperv systemvm template download url 2013-12-17 16:40:01 +05:30
Bharat Kumar 2724db67f6 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.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-12-16 11:13:51 -08:00
Rajani Karuturi ef9fc95e87 CLOUDSTACK-5483 : Failed to start management server when db encryption is enabled When db encryption is enabled, the server expects all secure,hidden fields in encrypted form. moved the insert statements which has dafault values to java and populated encrypted values if encryption is enabled. 2013-12-13 17:44:36 +05:30
Rajani Karuturi 24392c15f5 CLOUDSTACK-5435 enabled encryption for ldap params 2013-12-13 12:45:37 +05:30
Alena Prokharchyk 326313e02e Resource metadata support for S2SVpnConnection 2013-12-12 14:57:44 -08:00
Alena Prokharchyk 94f6c9f34f Resource metadata support for customer gateway 2013-12-12 14:19:09 -08:00
Devdeep Singh 7151ec63fa CLOUDSTACK-5311: Fix the host version reported by the hyper-v agent. Also updated the hypervisor
capabilities for hyper-v.
2013-12-12 16:48:46 +05:30
Rajani Karuturi 9992a6a6dc CLOUDSTACK-5454 added upgrade path from 4.2.1 to 4.3
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-12-12 15:35:14 +05:30
Murali Reddy 4fb54ca32d CLOUDSTACK-5428: support NetScaler to be configured exclusively for GSLB
service and not used for LB

Fix adds a boolean flag to addNetscalerLoadBalancer api, which
will mark added NetScaler for exclusive GSLB service. A netscaler marked
as exclusive gslb service provider is not picked for any guest network's
lb provider.

Conflicts:
	engine/schema/src/com/cloud/network/dao/ExternalLoadBalancerDeviceVO.java
	plugins/network-elements/f5/src/com/cloud/network/element/F5ExternalLoadBalancerElement.java
	plugins/network-elements/netscaler/src/com/cloud/api/commands/AddNetscalerLoadBalancerCmd.java
	plugins/network-elements/netscaler/src/com/cloud/api/response/NetscalerLoadBalancerResponse.java
	plugins/network-elements/netscaler/src/com/cloud/network/element/NetscalerElement.java
	server/src/com/cloud/network/ExternalLoadBalancerDeviceManager.java
	server/src/com/cloud/network/ExternalLoadBalancerDeviceManagerImpl.java
	setup/db/db/schema-421to430.sql
2013-12-11 15:36:22 +05:30
Harikrishna Patnala b478eed655 CLOUDSTACK-5419: missing parameters in configuration table and to remove unused parameters
Signed-off-by: Koushik Das <koushik@apache.org>
2013-12-10 16:36:55 +05:30
Alena Prokharchyk 93fd323357 Resource metadata support for Site2SiteVpnGateway 2013-12-09 17:37:37 -08:00
Likitha Shetty 13faa4dd92 CLOUDSTACK-5416. [VMware] Not able to add seventh disk to VM in an upgraded setup. 2013-12-09 17:07:32 +05:30
Frank.Zhang d3bff27ef9 CLOUDSTACK-5112
[Baremetal]Make IPMI retry times configurable

Conflicts:

	server/src/com/cloud/configuration/Config.java
	setup/db/db/schema-420to421.sql
2013-12-05 17:30:54 -08:00
Alena Prokharchyk b315ca1895 CLOUDSTACK-5261: support for alert publishing via Root admin web api
listAlerts: introduced new parameter "name" to the alertResponse

Added new Admin API - generateAlert. Available to ROOT admin only

listAlerts: implemented search by alert name
2013-12-03 17:08:23 -08:00
edison su eb56c4d863 Add AUTO_INCREMENT in details dao 2013-12-03 13:05:04 -08:00
Alena Prokharchyk 4edc3989bb Resource metadata support for NetworkACLItem 2013-11-27 14:37:28 -08:00
Alena Prokharchyk c9b0a8b1f4 Resource metadata support for NetworkACLList 2013-11-26 17:22:32 -08:00