Commit Graph

684 Commits

Author SHA1 Message Date
Alena Prokharchyk 34fecbf5e2 CLOUDSTACK-4784: 22x to 4.x upgrade - don't ignore redundant router network offering, when update ntwk_offering_serivce_map with PF/StaticNat/SourceNat services 2013-10-09 15:17:21 -07:00
Min Chen b63270f1d3 CLOUDSTACK-4816: Add global configure s3.multipart.enabled 2013-10-04 17:38:40 -07:00
Wei Zhou 7dc0dca9e6 add upgrade path from 4.2.0 to 4.2.1 2013-10-04 11:23:25 +02:00
animesh 21043bfe84 Updating pom.xml version numbers for release 4.2.1-SNAPSHOT
Signed-off-by: animesh <animesh@apache.org>
2013-10-03 17:13:17 -07:00
animesh 86c93637f5 Merging 4.2-forward into 4.2 2013-10-02 23:05:34 -07:00
Edison Su 583279f337 CLOUDSTACK-4754: it's a race condition: delete template, and deploy vm from the template happened at the same time, 2013-09-27 16:09:46 -07:00
Min Chen 143fb72e8b System vm not coming up in multizone upgraded enviornment if a system vm
template is register twice per zone.
2013-09-24 11:58:34 -07:00
Wei Zhou 38bbfdc89a CLOUDSTACK-4716: upgrade resource count (cpu,memory,primary_storage,secondary_storage) in the upgrade to 4.2 2013-09-23 14:14:01 +02: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
Alena Prokharchyk 798f34a49c CLOUDSTACK-4704: 41-42 db upgrade - populate vpc_service_map table with the services/providers supported by VPC 2013-09-19 13:15:05 -07:00
Min Chen af2951ad56 CLOUDSTACK-4534:[object_store_refactor] Deleting uploaded volume is not
deleting the volume from backend.
2013-09-17 15:15:05 -07:00
Prachi Damle f4e4be01ff CLOUDSTACK-4668: Upgrade to 4.2 fails with NullPointerException when hypervisor_type is null for a cluster entry
Changes:
- Care for null value during comparing the hypervisor_type
- Do not consider removed clusters
- Method rename according to coding conventions
2013-09-13 16:55:37 -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
Min Chen a096c96672 CLOUDSTACK-4661:[DB Upgrade] SecondaryStorage entry in host table before
upgrade is not marked as removed after migrating them to image_store
table.
2013-09-12 18:52:40 -07:00
Vijayendra Bhamidipati 4aa7b1990e 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 09:42:00 -07:00
Vijayendra Bhamidipati 85c5f51fd0 Revert "CLOUDSTACK-4645: There is no upgrade path from 4.1.1 to 4.2.0"
This reverts commit 1167057441.

Description:
    The fix can be much simpler - will check it in in subsequent commit.
2013-09-12 09:41:21 -07:00
Edison Su 52a45ce56e CLOUDSTACK-4650: change volume state during snapshot only 2013-09-12 16:02:40 -07:00
Vijayendra Bhamidipati 1167057441 CLOUDSTACK-4645: There is no upgrade path from 4.1.1 to 4.2.0
Adding upgrade patch for 4.1.1 to 4.2.0
2013-09-11 11:46:59 -07:00
Edison Su c08254bc70 CLOUDSTACK-4641: fix create volume from snapshot timeout issue 2013-09-11 18:08:06 -07:00
Min Chen 362bf5b8b4 CLOUDSTACK-4534:[object_store_refactor] Deleting uploaded volume is not
deleting the volume from backend.
2013-09-11 10:11:05 -07:00
Min Chen e607998afa CLOUDSTACK-4628:[Automation] Failed to create template from snapshot
with same name; after deleting the first one.
2013-09-09 16:08:31 -07:00
Min Chen 80aa0d3608 CLOUDSTACK-4625:Snapshots and templates should be deleted from staging
storage after create template from snapshot on S3.
2013-09-06 17:27:30 -07:00
Nitin Mehta 65e85962db CLOUDSTACK-4327:
Check for the all the transition states for Maintenance. Also corrected the isMaintenance function for StoragePoolVo
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-09-05 12:41:05 +05:30
Min Chen e39a7d8e0d CLOUDSTACK-4600:Registered Cross-zone template does not populate
template_zone_ref for later added zones.(cherry picked from commit 3dc8b8863a)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 17:21:39 -07:00
Kelven Yang e9cb0d6f4c CLOUDSTACK-4585: make run-time datastore folder migration, VM snapshot, bug in root disk controller type carried from previous version work under upgrade situation
(cherry picked from commit 8ccff04722)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:32:03 -07:00
Min Chen 3dc8b8863a CLOUDSTACK-4600:Registered Cross-zone template does not populate
template_zone_ref for later added zones.
2013-09-03 16:31:40 -07:00
Wei Zhou 6ed8a20697 CLOUDSTACK-2319: fix incorrect account_id in event table for Revoke SecurityGroupRule commands
(cherry picked from commit d9ba234d6c)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:21:18 -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
Wei Zhou 30c5388253 CLOUDSTACK-4538: set default value of cpu.overprovisioning.factor and mem.overprovisioning.factor to 1
On a fresh environment, some values in cloud.configuration table are persisted in com.cloud.server.ConfigurationServerImpl.persistDefaultValues()
A default value need to be set before com.cloud.upgrade.DatabaseUpgradeChecker
(cherry picked from commit 1a67750cb6)
(cherry picked from commit 61ebfad449)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:02:20 -07:00
Wei Zhou c0471e64fe CLOUDSTACK-4538: fix small typo
(cherry picked from commit 68b668ae8f)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:01:58 -07:00
bharat kumar fc77090f8a CLOUDSTACK-4538 Should update the vmware clusters with the global overporvisioning factors after upgrade to 4.2.
Signed off by : Nitin Mehta <nitin.mehta@citrix.com>
(cherry picked from commit 4a7d7324d0)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 15:59:58 -07:00
Kelven Yang 34ee6f90bb CLOUDSTACK-4458: Volume attach/detach command needs to sent to hypervisor resource even when target VM is in Stopped state
(cherry picked from commit 995e193be2)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 15:59:25 -07:00
Min Chen da10231dd0 CLOUDSTACK-4430:[Automation][vmware] Failed to deploy vm, if one host is
down in a cluster.
(cherry picked from commit ad1633dda9)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 14:33:08 -07:00
Kelven Yang 8ccff04722 CLOUDSTACK-4585: make run-time datastore folder migration, VM snapshot, bug in root disk controller type carried from previous version work under upgrade situation 2013-09-01 07:14:47 -07:00
Wei Zhou d9ba234d6c CLOUDSTACK-2319: fix incorrect account_id in event table for Revoke SecurityGroupRule commands 2013-08-30 11:13:59 +02:00
Vijayendra Bhamidipati 07d79c7ad6 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.
2013-08-29 09:21:23 -07:00
Prachi Damle 0b9b36cbca 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.
2013-08-29 14:37:02 -07:00
Wei Zhou 61ebfad449 CLOUDSTACK-4538: set default value of cpu.overprovisioning.factor and mem.overprovisioning.factor to 1
On a fresh environment, some values in cloud.configuration table are persisted in com.cloud.server.ConfigurationServerImpl.persistDefaultValues()
A default value need to be set before com.cloud.upgrade.DatabaseUpgradeChecker
(cherry picked from commit 1a67750cb6)
2013-08-29 12:46:47 +02:00
Wei Zhou 68b668ae8f CLOUDSTACK-4538: fix small typo 2013-08-29 11:32:34 +02:00
bharat kumar 4a7d7324d0 CLOUDSTACK-4538 Should update the vmware clusters with the global overporvisioning factors after upgrade to 4.2.
Signed off by : Nitin Mehta <nitin.mehta@citrix.com>
2013-08-29 12:25:18 +05:30
Kelven Yang 995e193be2 CLOUDSTACK-4458: Volume attach/detach command needs to sent to hypervisor resource even when target VM is in Stopped state 2013-08-28 18:38:12 -07:00
Min Chen ad1633dda9 CLOUDSTACK-4430:[Automation][vmware] Failed to deploy vm, if one host is
down in a cluster.
2013-08-28 11:18:01 -07:00
Edison Su 1b90a4554f CLOUDSTACK-3535: fix regression introduced in 5d9fa5d42e
(cherry picked from commit 6b4aed2aca)

Signed-off-by: animesh <animesh@apache.org>
2013-08-27 19:55:23 -07:00
Edison Su 6b4aed2aca CLOUDSTACK-3535: fix regression introduced in 5d9fa5d42e 2013-08-27 18:08:33 -07:00
Min Chen 9333e02837 CLOUDSTACK-4516:[Upgrade][VMWare]
MySQLIntegrityConstraintViolationException while performing any task
using local storage after upgrade from 3.0.7 to 4.2.(cherry picked from commit 21cb33a02c)

Signed-off-by: animesh <animesh@apache.org>
2013-08-27 14:35:38 -07:00
Min Chen 15f50c112b CLOUDSTACK-4520: [upgrade][vmware]ExtractVolumeCmd fails with NPE while
attempting to download a volume.(cherry picked from commit 13d9070d5e)

Signed-off-by: animesh <animesh@apache.org>
2013-08-27 14:35:21 -07:00
Min Chen 21cb33a02c CLOUDSTACK-4516:[Upgrade][VMWare]
MySQLIntegrityConstraintViolationException while performing any task
using local storage after upgrade from 3.0.7 to 4.2.
2013-08-27 14:11:55 -07:00
Min Chen 13d9070d5e CLOUDSTACK-4520: [upgrade][vmware]ExtractVolumeCmd fails with NPE while
attempting to download a volume.
2013-08-27 13:57:04 -07:00
Sateesh Chodapuneedi a48e6685a1 CLOUDSTACK-4443 [VMWARE]Failed to deploy VM's on VMWARE Standard vSwitch Legacy Zone after upgrade
While upgrading to 4.2 to support existing clusters working over standard vswitch or nexus dvswitch should be supported as is. To ensure this while upgrading to 4.2, existing cluster's vswitch configuration needs to be persisted to database. If zone level traffic label is empty then default vswitch name would be used.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
(cherry picked from commit 808183fdcc)

Signed-off-by: animesh <animesh@apache.org>
2013-08-27 12:56:08 -07:00