2099 Commits

Author SHA1 Message Date
Abhinandan Prateek
d9c5321a2d CLOUDSTACK-8178: fixed the mapping to match that on xen 6.5 2015-01-23 11:41:28 -05:00
Mike Tutkowski
0f84e042b9 Adding support for creating a volume from a snapshot when the snapshot is on managed storage 2015-01-20 15:24:33 -07:00
Abhinandan Prateek
6a20dd4ead CLOUDSTACK-8165: updating guest os id for xen template to corresponding 64 bit as default template is 64 bit 2015-01-19 16:03:56 +05:30
Erik Weber
396936ea5e Add absolute schema references to support MySQL 5.6 better 2015-01-14 14:52:47 +01:00
Wei Zhou
84c44b6314 CLOUDSTACK-8140: CS fails to start after secstorage/consoleproxy.service.offering is set to uuid 2015-01-06 10:23:44 +01:00
Daan Hoogland
68b9ba4515 Merge remote-tracking branch 'origin/4.5' 2014-12-18 14:37:55 +01:00
Daan Hoogland
67a7f74be0 CLOUDSTACK-7184 fieldname typo 2014-12-18 14:37:23 +01:00
Daan Hoogland
f4133a7f70 Merge remote-tracking branch 'origin/4.5' 2014-12-18 12:55:47 +01:00
Daan Hoogland
8b6e251b5d CLOUDSTACK-7184 config value for xen heartbeat timeout 2014-12-18 12:26:14 +01:00
Rohit Yadav
1a66b3b5c6 CLOUDSTACK-8070: Upgrade router.ram.size using encryption util
Upgrade fails if value is set using plain text encoding, the value needs to
be encrypted (if a key was provided during db was setup).

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 6321a29e4336de9ffe96e27968f896ec5a8bf37d)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-13 00:18:05 +05:30
Rohit Yadav
6321a29e43 CLOUDSTACK-8070: Upgrade router.ram.size using encryption util
Upgrade fails if value is set using plain text encoding, the value needs to
be encrypted (if a key was provided during db was setup).

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-13 00:17:09 +05:30
Rohit Yadav
eb666453f3 CLOUDSTACK-6212: auto_increment for some other resource tables
This fix alters table columns which are primary keys but don't have them
auto_increment such as region, domain_router, user_vm etc.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit a11ddf307747ef03785c27519fb535a36d4be145)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-08 14:48:04 +05:30
Rohit Yadav
a60d232d07 CLOUDSTACK-6212: Let vm_instance table's ID field be unique and auto_increment
`vm_instance` table's id column is unique but does not auto_increment like other
resource tables. The fix simply alter the table's id column to have it
auto_increment which may avoid id conflicts in a multi-master mysql setup.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit e1e5e12aaa649c05f2d5bebe1bdaec00e284dcf0)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-08 14:47:58 +05:30
Rohit Yadav
a11ddf3077 CLOUDSTACK-6212: auto_increment for some other resource tables
This fix alters table columns which are primary keys but don't have them
auto_increment such as region, domain_router, user_vm etc.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-06 06:26:31 +05:30
Rohit Yadav
e1e5e12aaa CLOUDSTACK-6212: Let vm_instance table's ID field be unique and auto_increment
`vm_instance` table's id column is unique but does not auto_increment like other
resource tables. The fix simply alter the table's id column to have it
auto_increment which may avoid id conflicts in a multi-master mysql setup.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-06 05:54:39 +05:30
Rohit Yadav
752980f370 Revert "packaging: updated hardcoded jasypt version to 1.9.2"
This reverts commit 43f39a1ec37de08e5b8e97dfd74a853c0aae76c7.
2014-12-04 19:47:10 +05:30
Min Chen
ab16011874 CLOUDSTACK-5949: remove unused vnc_password from user_vm_view view to avoid decryption bottleneck. 2014-12-03 14:48:01 -08:00
Min Chen
1716067ddd CLOUDSTACK-5949: remove unused vnc_password from user_vm_view view to avoid decryption bottleneck. 2014-12-03 14:46:47 -08:00
Rohit Yadav
518853ab43 packaging: updated hardcoded jasypt version to 1.9.2
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 43f39a1ec37de08e5b8e97dfd74a853c0aae76c7)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-04 04:04:30 +05:30
Rohit Yadav
43f39a1ec3 packaging: updated hardcoded jasypt version to 1.9.2
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-04 04:02:46 +05:30
Min Chen
344d98e0bd CLOUDSTACK-7981: added back resource tag related columns to user_vm_view to support resource tag related search. 2014-12-03 09:48:07 -08:00
Min Chen
8cb11f407f CLOUDSTACK-7981: added back resource tag related columns to user_vm_view to support resource tag related search. 2014-12-03 09:33:22 -08:00
Hugo Trippaers
52803ae6b4 Fix invalid sql statements 2014-12-03 08:26:39 +01:00
Wei Zhou
0407fb334f CLOUDSTACK-7847: add max.domain.* in global setting and display domain resources in listDomainsCmd response 2014-12-02 11:52:10 +01:00
Hugo Trippaers
ae0cb82792 Both scripts should be able to use the data-server introduced in 4.4 2014-12-01 14:56:58 +01:00
Wei Zhou
66afce66b4 Add support for Debian 7 on KVM/LXC 2014-11-27 20:42:50 +01:00
Wei Zhou
9f4c267d56 Add support for Debian 7 on KVM/LXC 2014-11-27 20:40:38 +01:00
Kishan Kavala
807bfb03e7 CLOUDSTACK-7320: Added default CentOS 7 template for LXC
Conflicts:
	setup/db/db/schema-442to450.sql
2014-11-27 18:13:55 +05:30
Harikrishna Patnala
cdfdda2051 CLOUDSTACK-6075: Increase the ram size for router service offering
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 488c17858f17f548d907cd72df54e0abdfd439b2)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-27 16:05:34 +05:30
Harikrishna Patnala
488c17858f CLOUDSTACK-6075: Increase the ram size for router service offering
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-27 16:04:59 +05:30
Hugo Trippaers
737a4c43ca The template for the system VM is Wheezy 7 not Wheezy 7.0 on XenServer 6.4.99
(cherry picked from commit 612b4ae6d9588bceca38b8022d017cb93aae2673)
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-11-27 10:29:53 +01:00
Hugo Trippaers
612b4ae6d9 The template for the system VM is Wheezy 7 not Wheezy 7.0 on XenServer 6.4.99 2014-11-27 10:27:57 +01:00
Min Chen
bf8dd828f5 CLOUDSTACK-7981: listVirtualMachine is too slow in case of duplicate
resource tags due to joining user_vm_details to user_vm_view.
2014-11-26 17:40:06 -08:00
Min Chen
4e7af26c9f CLOUDSTACK-7981: listVirtualMachine is too slow in case of duplicate
resource tags due to joining user_vm_details to user_vm_view.
2014-11-26 17:23:07 -08:00
amoghvk
3d6635a537 Add support for RHEL 6.5 and relevant hypervisor mappings 2014-11-26 14:21:21 -08:00
amoghvk
86576593be Adding support for RHEL 6.5 2014-11-26 14:08:02 -08:00
Daan Hoogland
3cb78fc742 4.4.2 upgrade schema
remove 441to450 ddl
(cherry picked from commit 5578616143f2eb1aded26b86101c73858a67fa35)
(cherry picked from commit f18d6238b0219061e5ad81dc8852de6290da9e55)

Conflicts:
	engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java

schema: Add upgrade paths from 4.3.2 to 4.4.0

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 73c62837b5f9e0c4acb1f513c32f3c9579316e00)

Conflicts:
	engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
	engine/schema/src/com/cloud/upgrade/dao/Upgrade441to450.java
	setup/db/db/schema-441to450.sql

merged new work from schema-441to450.sql into schema-442to450.sql
2014-11-24 16:25:44 +01:00
Daan Hoogland
a52fd08a14 4.4.2 upgrade schema
remove 441to450 ddl
(cherry picked from commit 5578616143f2eb1aded26b86101c73858a67fa35)
(cherry picked from commit f18d6238b0219061e5ad81dc8852de6290da9e55)

Conflicts:
	engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java

schema: Add upgrade paths from 4.3.2 to 4.4.0

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 73c62837b5f9e0c4acb1f513c32f3c9579316e00)
2014-11-24 15:08:49 +01:00
Kishan Kavala
1091d45809 CLOUDSTACK-7320: Added default CentOS 7 template for LXC 2014-11-21 18:00:06 +05:30
Anthony Xu
425a6b01d6 CLOUDSTACK-7918:
guest os name changes from 'SUSE Linux Enterprise Server 12 (experimental)' to 'SUSE Linux Enterprise Server 12 (64-bit)' in latest XS 5.6 ,
changed the guest OS mapping to fix it.
2014-11-14 14:28:19 -08:00
Anthony Xu
62a7a02f70 guest os name changes from 'SUSE Linux Enterprise Server 12 (experimental)' to 'SUSE Linux Enterprise Server 12 (64-bit)' in XS 5.6 beta 3 2014-11-14 11:26:03 -08:00
Devdeep Singh
a60b729d0a Merge branch '4.5' 2014-11-14 14:14:26 +05:30
Devdeep Singh
a782495c68 CLOUDSTACK-7642. Class not found exception after upgrading from 4.3 to 4.5 on a
XenServer hypervisor setup. The resource path has changed for xenserver resources
in 4.5. On an upgraded setup the db entries in host table for the resource path
needs to be updated. Made a fix in the upgrade script.
2014-11-14 14:10:36 +05:30
Sanjay Tripathi
057ba164f6 CLOUDSTACK-7905: Add OEL 6.5 32/64 bit guest os support. 2014-11-13 19:19:02 +05:30
Prachi Damle
a4b92e908a CLOUDSTACK-7590 Deletion of Account is not deleting the account from the database
Revert "CLOUDSTACK-7073: Added domainId field to the user table in order to restrict duplicated users creation on the db level"

This reverts commit 5a96d8ef5cbc88df366016ae9dd7ee46e4ca417a.

Conflicts:
	setup/db/db/schema-440to450.sql
2014-11-12 11:48:36 -08:00
Prachi Damle
52bc084231 CLOUDSTACK-7590 Deletion of Account is not deleting the account from the database
Revert "CLOUDSTACK-7073: Added domainId field to the user table in order to restrict duplicated users creation on the db level"

This reverts commit 5a96d8ef5cbc88df366016ae9dd7ee46e4ca417a.

Conflicts:
	setup/db/db/schema-440to450.sql
2014-11-12 11:01:36 -08:00
Wido den Hollander
840c2fda85 CLOUDSTACK-7583: Send VmStats to Graphite host when configured
This allows external processing of VmStats information without using
the usage server of CloudStack

Statistics are being send to Graphite using UDP and not TCP.

UDP is used to prevent the management server waiting for TCP timeouts
when the Graphite server is unavailable
2014-11-11 13:04:43 +01:00
Santhosh Edukulla
32dc5243b6 CLOUDSTACK-7873 Fixed the user vm details length issue for higher key lengths 2014-11-10 21:24:28 +05:30
Santhosh Edukulla
b6621428a9 CLOUDSTACK-7873 Fixed the user vm details length issue for higher key lengths 2014-11-10 20:51:46 +05:30
Damodar
cd48720878 CLOUDSTACK-7830: Usage Job fails with "Data too long for column 'user_name'" 2014-11-10 15:17:32 +05:30