Commit Graph

1548 Commits

Author SHA1 Message Date
Prachi Damle
fac54d2334 CLOUDSTACK-4221: Dedicated Resources: changes to associate the dedicated resource with the 'ExplicitDedication' affinity group
Changes:
- Implict creation of the 'ExplicitDedication' Affinity group during resource dedication
- Only one group per account or per domain will be present
- ListDedicatedResources by affinityGroup
- Deployment should consider dedicated resources associated to the group only
- Deleting affinity group should release the dedicated resouces
- Releasing the dedicated resources should remove the group associated if there are no more resources.
2013-08-10 11:02:57 -07:00
Prachi Damle
b965032b57 CLOUDSTACK-4168 Root Admin should be able to create 'ExplicitDedication' affinity group at domain level and make it available for all accounts in the domain
Changes:
- 'ExcplicitDedication' type of group can be created/deleted by Root admin only
- Users can no longer create this type of affinity group
- RootAdmin can create this type of affinitygroup at domain level. Such a domain level group is available for all accounts in that domain for listing and for use during deployVM.
- The domain level affinitygroup should be visible to the users in that domain, domain admins and Root admin.
2013-08-10 11:02:42 -07:00
Vijayendra Bhamidipati
0185c2f47b CLOUDSTACK-3609: ASF 4.1 to 4.2 Upgrade: Invalid Global Configuration parameters are present on the Upgraded Setup
Description:

    Remove unused global config parameters from database after
    upgrade from 4.1.0/4.1.1/4.1.2 to 4.2.0.
2013-08-09 18:24:10 -07:00
Vijayendra Bhamidipati
d47b4a9949 CLOUDSTACK-4167: Put in upgrade paths in master for 4.1.2 and 4.2
Description:

    Define upgrade paths from 4.1.0 to 4.1.1, and 4.1.1 to 4.1.2,
    and 4.1.2 to 4.2.0. This new path will replace the existing
    4.1.0 to 4.2.0 path. This is required to allow upgrades from
    4.1.2 installations to 4.2.0. The 4.1.2 installation will have
    that db version upon installation from the 4.1 branch. Please
    note that these new upgrade paths are empty and don't make
    any SQL schema modifications.
2013-08-09 18:23:58 -07:00
frank
ad508b7232 CLOUDSTACK-38333.0.6 to ASF 4.2 Upgrade: "cloud" Database Schema Inconsistencies on the Upgraded Setup - Tables "baremetal_dhcp_devices" and "baremetal_pxe_devices"
CloudStack CLOUDSTACK-3612
3.0.6 to ASF 4.2 Upgrade: Database Schema Inconsistencies on the Upgraded Setup
2013-08-09 16:57:20 -07:00
Sanjay Tripathi
c184925096 CLOUDSTACK-4187: 2.2.1 - 4.2 Upgrade: Few Guest OS Types information is inconsistent on the Upgraded Setup when compared with the fresh 4.2 Installation. 2013-08-09 15:01:41 +05:30
Bharat Kumar
37f0428f54 CLOUDSTACK-4138: keep the existing changes in cloud-set-guest-sshkey.in to make sure we do not break the backward compatibility
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-08-08 10:42:01 -07:00
Kelven Yang
059e4b2ae0 CLOUDSTACK-3886: check in for review request https://reviews.apache.org/r/13008/ 2013-08-07 10:29:18 -07:00
Bharat Kumar
95f3679855 Cloudstack-4100 preserve data in iso_id column while upgrading from 3.0.7 to 4.2 2013-08-07 18:36:58 +05:30
Sanjay Tripathi
5dd155d02b CLOUDSTACK-4062: SLES 11 SP2, SLES 11 SP3, CENTOS 6.4, RHEL 6.3, RHEL 6.4 OS type missing from OS Type drop down list when registering template.
Also added the support of different versions of SLES, RHEL, Oracle Linux guest OS which was not there in the list.
2013-08-07 16:59:17 +05:30
Sanjay Tripathi
d3666b96cd CLOUDSTACK-4101: Update the Xenserver template/checksum in template.sql to the one verified. 2013-08-07 16:59:07 +05:30
Sanjay Tripathi
23aaeafd21 CLOUDSTACK-3723: System VM Template for XenServer has wrong guest OS type Information on the Database
Also added the debian 7 to debian 6 mapping in CitrixHelper file
to support the debian 7 template in XS 6.0, 6.0.2, 6,1 etc.
2013-08-07 12:23:44 +05:30
Min Chen
54f85043f0 CLOUDSTACK-4125: [Upgrade] after upgrade 3.0.7 GA -> 4.2 deploy guest VM
fail.
2013-08-06 22:30:58 -07:00
Wei Zhou
fa094a5d2c CLOUDSTACK-4110: update user_ip_address.dnat_vmip field in 410to420 upgrade 2013-08-06 14:44:15 +02:00
Nitin Mehta
1970a0ddff CLOUDSTACK-4043
Introduced new column format for volumes as per the hypervisor by joining the storage pool and cluster table. Since pre 4.2 storage pool will always have cluster id populated.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-06 17:14:29 +05:30
Sateesh Chodapuneedi
a3c2b23a07 CLOUDSTACK-4006 [VMWAREDVS] vmware.use.dvswitch global config is missing after upgrade
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-06 07:30:55 +05:30
Wido den Hollander
f025db9582 config: Only user low-case names for variables 2013-08-05 17:38:24 +02:00
Devdeep Singh
cd278cff44 CLOUDSTACK-4079: Made a change to make sure we are setting the hypervisor capabilities for storage motion to true.
If an upgrade is taking place from an older setup which supported a hypervisor but not storage motion on that
hypervisor, the upgraded setup will not have the storage motion field enabled. Enabled it explicitly.
2013-08-05 18:55:52 +05:30
Min Chen
149f4ffcb4 CLOUDSTACK-4034: Following global configuration missing from upgraded
environment.
2013-08-03 21:38:25 -07:00
Amogh Vasekar
cf220dd633 CLOUDSTACK-3647: Remove duplicate row
Reviewed-by: Alena Prokharchyk
2013-08-02 16:08:58 -07:00
Alena Prokharchyk
922f902b3d CLOUDSTACK-4049: insert iso_id field to volumes table before altering the volumes view 2013-08-02 10:59:10 -07:00
Bharat Kumar
60585b5181 [PATCH] upgrade to ASF 4.2 cloud Database Schema Inconsistencies 2013-08-02 17:22:31 +05:30
Devdeep Singh
5e72ddec85 CLOUDSTACK-4009: healthcheck.update.interval global config missing after upgrade.
Added the parameter in the db schema file.
2013-08-02 13:16:01 +05:30
Kishan Kavala
7eb20b8500 CLOUDSTACK-4032: Added KVM.snapshot.enabled config to 41to42 upgrade 2013-08-02 11:58:48 +05:30
Alena Prokharchyk
620eb50941 CLOUDSTACK-4015: don't insert the fake template record when upgrade from 304 to 305 2013-08-01 09:58:12 -07:00
Alena Prokharchyk
f9faf1aea2 CLOUDSTACK-3982: listAccounts - count only UserVms when calculate total number of Running vms per account 2013-07-31 15:18:59 -07:00
Wido den Hollander
79af8b16b2 CLOUDSTACK-3951: Don't require SSH access to KVM nodes when cancelling maintenance
Conflicts:

	setup/db/db/schema-410to420.sql
2013-07-31 15:22:53 +02:00
Alena Prokharchyk
474a763ee3 CLOUDSTACK-3936: db upgrade - added upgrade path from CCP 2.2.15,2.2.16 to CS 4.2 2013-07-30 10:53:34 -07:00
Bharat Kumar
03cbf51e15 Cloudstack-3910 Upgrade from 3.0.6 to 4.2 is failing with DB exceptions. 2013-07-30 19:12:59 +05:30
Alena Prokharchyk
5fb06ad371 CLOUDSTACK-3898: fixed 303-42 db upgrade - handle situation when the field is already inserted, when try to insert it again with 41-42 upgrade 2013-07-29 10:31:59 -07:00
Nitin Mehta
1bfe9eb0a4 CLOUDSTACK-3892
Implement the download url expiration functionality for templates. Also persist the template download urls after their creation
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-29 19:47:45 +05:30
Mice Xia
acd2396660 fix CLOUDSTACK-3591 add usage recording for VM snapshots 2013-07-29 17:57:20 +08:00
Harikrishna Patnala
4d35d92208 CLOUDSTACK-3779: Support System vm scaling on VMWare
Marked the system template new system template as dynamicallyScalable
   - handled upgrade case
   - moved "dynamicallyScalable" flag to vm_instance table from user_vm_details to support dynamic scaling of system vm
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-07-29 14:12:24 +05:30
Bharat Kumar
6f9c26ea49 Cloudstack-2997 Make haproxy maxconn configurable
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>

Conflicts:
	api/src/org/apache/cloudstack/api/ApiConstants.java
	engine/schema/src/com/cloud/offerings/NetworkOfferingVO.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	setup/db/db/schema-410to420.sql
2013-07-29 10:07:15 +05:30
Min Chen
d6faf7b586 CLOUDSTACK-3861: Remove s3.enable and swift.enable from global setting. 2013-07-27 21:48:54 -07:00
Murali Reddy
a851ad2430 CLOUDSTACK-3834: 3.0.6 to ASF 4.2 Upgrade: "cloud" Database Schema
Inconsistencies on the Upgraded Setup - Table "netscaler_pod_ref"

adding netscaler_pod_ref table 3.0.7 to 4.1 upgrade path
2013-07-27 17:18:04 +05:30
Abhinandan Prateek
3efae4b476 CLOUDSTACK-3480: updated md5 checksum 2013-07-27 17:08:55 +05:30
Sanjay Tripathi
65e12e1dad CLOUDSTACK-3544: Patch to support upgrade to Xenserver 6.2
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-27 15:35:14 +05:30
Abhinandan Prateek
1c94a926fd CLOUDSTACK-3480: updated the 4.2 templates download location 2013-07-27 11:43:15 +05:30
Sanjay Tripathi
2820a78e5b CLOUDSTACK-3723: System VM Template for XenServer has wrong guest OS type Information on the Database.
This commit also contains the guestOS addition of new CentOS releases
supported by XenServer 6.2

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-27 11:14:18 +05:30
Alena Prokharchyk
d6af9331d6 DB upgrade: upgraded the bunch of db upgrade files with Apache license header 2013-07-26 13:41:00 -07:00
Alena Prokharchyk
f1706e2c4b DB upgrade: added db upgrade paths for CloudPlatform (Citrix) releases 303,304,305,306,307 to 4.2 2013-07-24 14:35:18 -07:00
Saksham Srivastava
743d35cae4 CLOUDSTACK-3612: DB changes for template virtual size usage 2013-07-24 18:20:37 +05:30
Mice Xia
9ca72536c3 CLOUDSTACK-3601 add vmsnapshots related global setting to upgrade sql 2013-07-24 09:22:38 +08:00
Likitha Shetty
79209c1330 CLOUDSTACK-3526. When volume upload is in progress the state of the volume is UploadError.
Update volume_view to join volumes table with volume_store_ref table instead of volume_host_ref table.
2013-07-23 18:41:20 +05:30
Nitin Mehta
c09d76077e CLOUDSTACK-3510
Persist the download url in the db for volume download.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-22 17:57:57 +05:30
Edison Su
a2ba2358d8 CLOUDSTACK-2630: fix delta snashpt 2013-07-20 13:05:24 -07:00
Min Chen
5519492e3e CLOUDSTACK-3684:Failed to start MS due to missing UCS configuration
values in DB.
2013-07-20 12:21:16 -07:00
Edison Su
e659328ff5 fix create template from snapshot if it's swift 2013-07-19 18:18:02 -07:00
Min Chen
7073031c5c System Template shows twice in listTemplates with S3 as secondary
storage.
2013-07-19 16:44:09 -07:00