Commit Graph

1474 Commits

Author SHA1 Message Date
Alena Prokharchyk 1e1de555fa CS-18283: 2.2.x to 4.2 upgrade - corrected the Service Provider name for the Network offeirng that can be used in VPC (from VirtualRouter to VpcVirtualRouter)
(cherry picked from commit df52280409)

Signed-off-by: animesh <animesh@apache.org>
2013-09-20 11:09:01 -07:00
Alena Prokharchyk 9050cfad3d CLOUDSTACK-4704: 41-42 db upgrade - populate vpc_service_map table with the services/providers supported by VPC
(cherry picked from commit 798f34a49c)

Signed-off-by: animesh <animesh@apache.org>
2013-09-19 18:58:59 -07:00
Vijayendra Bhamidipati 10486ea4dd CLOUDSTACK-4645: There is no upgrade path from 4.1.1 to 4.2.0
Description:

    Simpler fix to support upgrade path from 4.1.1 to 4.2.0
    by adding a 4.1.1 string in the db update version range.

    Commit # d1642a489c introduced a duplicate
    user_vm_view view in the schema-410to420.sql script. Removing the first
    occurrence of that view, since whatever QA has been testing until now
    would have used the duplicated view that gets created after the first one.
2013-09-12 20:13:35 -07:00
Vijayendra Bhamidipati d6b19bad1f CLOUDSTACK-4539: [VMWARE] vmware.create.full.clone is set to true in upgraded setup;default nature of vms are full clone
Reviwed-by: Kelven Yang <kelven.yang@citrix.com>
Description:

    Change the criterion for overriding/preserving the vmware.create.full.clone
    flag. The earlier criterion was simply the version numbers, but that is not
    a good business logic basis for the change. With this fix, if past version
    deployments have any deployments (data centers), this flag will be set to
    false. Else, it will be set to true.
(cherry picked from commit 07d79c7ad6)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:15:05 -07:00
Prachi Damle c696b449ee CLOUDSTACK-4561: DeployVm failed after upgrading from earlier version having a private zone to 4.2
Changes:
- In the upgrade path, for a private zone, entry needs to be added in the affinity_group_domain_map to provide access to the private zone for the domains it belongs too.
(cherry picked from commit 0b9b36cbca)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:14:39 -07:00
Vijayendra Bhamidipati 42e66aa4e6 CLOUDSTACK-4539: [VMWARE] vmware.create.full.clone is set to true in upgraded setup;default nature of vms are full clone
Description:

    Do not overwrite value of vmware.create.full.clone flag in the
    cloud db if it already exists. This will preserve the configured
    clone creation behaviour across upgrades.
(cherry picked from commit a30a33c14d)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 15:58:43 -07:00
Anshul Gangwar 7accca25e1 CLOUDSTACK-3806: There was error in host_view sql, it was using host_details.id for join instead host_details.host_id
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-27 12:53:44 -07:00
Min Chen 9103984d34 CLOUDSTACK-3405: execute.in.sequence.hypervisor.commands and
execute.in.sequence.network.element.commands should be set to "true" by
default.
2013-08-26 16:35:34 -07:00
Vijayendra Bhamidipati 448bfc2d58 CLOUDSTACK-4390: Using full-clone by default for VMware deployment
Description:
    Setting default setting of vmware.use.full.clone flag
    to true in sql upgrade script else global config will be
    overwritten back to false.
2013-08-23 11:37:05 -07:00
frank 810b573afa CLOUDSTACK-4426
[VMware] [upgrade] system VM not coming up after upgrade from 3.0.4 to 4.2
2013-08-21 14:57:59 -07:00
Vijayendra Bhamidipati f91c8578a5 Revert "CLOUDSTACK-4167: Put in upgrade paths in master for 4.1.2 and 4.2"
This reverts commit d47b4a9949.

Description:
    4.1.2 hasn't been released yet, so removing these paths from the 4.2
    branch.
2013-08-20 05:09:39 -07:00
Prachi Damle 1260b97373 CLOUDSTACK-4337 Dedicated Resources: Zone dedicated to an account should only be visible and accessible to that account
Changes:
- When listing a zone, add clause in the search to check the account_id for a dedicated zone
- When listsing a zone with a domainid, add a similar clause.
- DomainCheck:: checkAccess() for a zone should consider that zone can now be dediacted to a specific account and check access accordingly.
2013-08-14 16:11:55 -07:00
Prachi Damle 431ea4988c CLOUDSTACK-4302: Instance wizard UI: Support affinity groups for dedicated zones
Changes:
- Add affinityGroupUuid in the listzones response for dedicatedZones.
2013-08-14 13:42:32 -07:00
Devdeep Singh 2a2fffe604 CLOUDSTACK-4268: Guest OS category of Other Ubuntu 32 bit is different in a fresh setup and
a setup upgraded from 4.1 to 4.2. Fixed the category id for Ubuntu on clean setup. Also made
change to address the problem for upgrade from 2.x.
2013-08-13 15:30:36 +05:30
Harikrishna Patnala 12b9160435 =CLOUDSTACK-4271: ASF 4.1 to 4.2 Upgrade: Missing Global Configuration parameter vmware.nested.virtualization on the Upgraded Setup.
Signed off by :-  Nitin Mehta<nitin.mehta@citrix.com>
2013-08-13 14:19:26 +05:30
Nitin Mehta 35b4ab460c CLOUDSTACK-4270
ASF 4.1 to 4.2 Upgrade: Missing Global Configuration parameters on the Upgraded Setup related to "storage.cache". Adding them
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-13 12:14:27 +05:30
Kishan Kavala 314c6579a5 CLOUDSTACK-4272 : Fix snapshot config component name.
Set component name as SnapshotManager
2013-08-13 11:13:24 +05:30
frank 760b958545 CLOUDSTACK-4090
[Upgrade] System VM's are failed to start on a new zone(VMWARE Nexus Zone) which is created after upgrade
2013-08-12 16:57:50 -07:00
Alena Prokharchyk e9367f167e CLOUDSTACK-4035: set uuid for autoscale related tables as a part of the upgrade (was null on the previous versions of the code) 2013-08-12 09:36:10 -07:00
Murali Reddy 9895d01a53 CLOUDSTACK-4111: Prompt "Acquire New IP - Cross Zones - YES/NO" wizard
only when there is portable IP range added at region level.

region response will now have details if portable IP service is enabled
or not. Portable IP service for a region is turned off by default. when
adming adds a portable ip range portable ip service is enabled for the
region.
2013-08-12 18:11:13 +05:30
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
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