Commit Graph

20466 Commits

Author SHA1 Message Date
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
radhikap 5122433579 known issues from animesh has been added, edited, updated CLOUDSTACK-4245 and heading changes 2013-09-12 18:19:26 +05:30
radhikap b18afb1c36 known issues from animesh has been added, edited, updated CLOUDSTACK-4245 and heading changes 2013-09-12 18:16:47 +05:30
radhikap f270f2db05 vmware dvswitch update, UI has changed for traffic label CLOUDSTACK-4089 doc changes
(cherry picked from commit bf7cda2598)

Signed-off-by: animesh <animesh@apache.org>
2013-09-11 23:05:57 -07:00
radhikap f0a93d5c02 new workload image for RN
(cherry picked from commit a0c8fdf26f)

Signed-off-by: animesh <animesh@apache.org>
2013-09-11 23:04:10 -07:00
radhikap 550cb07318 new features section updated, api section added CLOUDSTACK-4245
(cherry picked from commit a944436656)

Signed-off-by: animesh <animesh@apache.org>
2013-09-11 23:03:31 -07:00
Nitin Mehta 9162b3c91f CLOUDSTACK-2813 - Some deployment failures do not release the resources.
Applying the short term fix of force cleaning up if the answer recieved from startcommand is not valid
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-09-11 11:58:38 +05:30
Marcus Sorensen 8d043c0e4d Updating devcloud-kvm marvin config to enable InternalLbVM
upon zone deployment.
2013-09-05 22:45:40 -06:00
radhikap 4c408fdec4 CLOUDSTACK-4565 review comments on VPN 2013-09-05 11:47:24 +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
frank 6756df0c29 CloudStack CLOUDSTACK-4426
[VMware] [upgrade] system VM not coming up after upgrade from 3.0.4 to 4.2
(cherry picked from commit f21c8fa998)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 17:05:20 -07:00
frank 225fce17f1 CloudStack CLOUDSTACK-4426
[VMware] [upgrade] system VM not coming up after upgrade from 3.0.4 to 4.2
(cherry picked from commit c5139d6bc9)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 17:04:50 -07:00
Jessica Wang 3520795967 UI > Infrastructure > clusters > Add cluster dialog > change variable name for Nexus DVS fields to be more intuitive.
(cherry picked from commit 845e280d71)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:53:34 -07:00
Jessica Wang ff54c9d6f6 CLOUDSTACK-4562: addS3/addSwift API is retired (being replaced with addImageStore API) and old configuration 's3.enable'/'swift.enable' has been removed from database. So, remove obsolete UI that calls addS3/addSwift API. 2013-09-03 16:51:26 -07:00
Jessica Wang 22146610b0 CLOUDSTACK-4266: UI > Infrastructure > clusters > add cluster dialog > (1)if configuration "vmware.use.nexus.switch" is set fo false (i.e. override public/guest traffic checkboxes are hidden), hide VSM fields (regardless of another configuration "vmware.use.nexus.switch"). (2)if configuration 'vmware.use.dvswitch' is set to false (i.e. override public/guest traffic checkboxes are hidden), hide VSM fields (regardless of another configuration 'vmware.use.nexus.switch'). 2013-09-03 16:47:40 -07:00
Jessica Wang f3cff14ff9 CLOUDSTACK-4508: UI > Infrastructure > clusters > add cluster dialog > (1)make NexusVSM fields required only when Override Traffic is checked and vSwitchType is "Cisco Nexus 1000v Distributed Virtual Switch". (2)VSM fields - pass only value of visible VSM fields to API call. (3)hide both required NexusVSM fields and optional NexusVSM fields when hypervisor is not VMware. 2013-09-03 16:45:46 -07:00
Wei Zhou 51707d8c71 CLOUDSTACK-1192: fix collectVmDiskStatistics issue when stopping a vm
(Cherry-picked from commit 65c1c986da)
(cherry picked from commit d0ffc9e339)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:33:18 -07:00
Jayapal fbba6d0e3e CLOUDSTACK-4586 Added CIDR validation for SG Egress rules
(cherry picked from commit b99962d27f)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:32:45 -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
Edison Su b269a29f78 disk resize NPE, if the new disk offering doesn't have tags, then NPE
(cherry picked from commit 21a44e3ed1)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:31:41 -07:00
Edison Su def926ca5e kvm upgrade issue from 2.2.14: 1. the uuid passed by mgt server is malformat, libvirt can't start vm. 2. the template path on primary storage is incorrect, which contains absolute path
(cherry picked from commit ffc53e81e0)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:31:22 -07:00
Jessica Wang 97cb5f3861 CLOUDSTACK-4089: UI > zone wizard > VMware hypervisor > physical network > edit traffic type > set default value for vSwitchName field upon selected vSwitchType.
(cherry picked from commit ff4f931cd8)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:29:37 -07:00
Jessica Wang 38a7aba1c0 CLOUDSTACK-4089: UI > zone wizard > VMware hypervisor > physical network > edit Public/Guest traffic type > vSwitchType dropdown > set default option upon configuration 'vmware.use.dvswtich' and 'vmware.use.nexus.vswitch'.
(cherry picked from commit 8d60e4436b)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:29:16 -07:00
Chiradeep Vittal 655c3753b1 CLOUDSTACK-4575: Portable IP: disassociating a transferred public IP fails
The code is excessively complicated and convoluted.
 DisassociateIP ->
     Revoke Rule -> {FW, PF{incl SNAT}, LB, RA VPN} ->
        -> Send IpAssoc (false) to VR
     Send all config to VR again
        -> Send IpAssoc(false) to VR again  <---- fails here since it cannot find the VLAN for the IP since it is already gone
        -> Mark Ip as released

The workaround fix would be to not throw an exception in CitrixResourceBase if it is disassociate and the VLAN does not exist on the XS host.

Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
(cherry picked from commit a98eb12549)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:28:07 -07:00
Saksham Srivastava eb85ff6f3b CLOUDSTACK-4572: findHostsForMigration API does not return correct host list
Changes:
Expected behavior:
The api should return the list of suitable/unsuitable hosts
Added fix that creates a deep copy of the the variable allHosts and prevents faulty host list return.
(cherry picked from commit 6354604eed)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:25:49 -07:00
Kelven Yang 92f2360f61 CLOUDSTACK-4362: always honor vCenter on-disk meta data to work with live migration better
(cherry picked from commit e362f51f37)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:25:02 -07:00
Jessica Wang ae001183fb CLOUDSTACK-4089: UI > zone wizard > hypervisor VMware > multiple physical networks > edit Public/Guest traffic type > fix a bug that vSwitch Type dropdown selection didn't remain after Public/Guest traffic type is dragged to another physical network.
(cherry picked from commit 2c2ebee3f7)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:24:42 -07:00
David Nalley 58e5ad7c42 updating the version number
(cherry picked from commit b5713ecad2)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:23:23 -07:00
Marty Sweet 8e8cef8edb Added Accessing System VM via SSH
(cherry picked from commit 4044747514)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:22:20 -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
Edison Su 1b684ac231 CLOUDSTACK-4405: fix vm migration during the upgrade to 4.2
(cherry picked from commit 3cca6502a1)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:17:38 -07:00
Kelven Yang 679aae78f3 Fix the build cause by typo in a un-test check-in!
(cherry picked from commit 2848af8126)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:16:56 -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
Edison Su 499bd9349f CLOUDSTACK-4459: fix silly bug, one more time
(cherry picked from commit 93bfe708d9)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:13:17 -07:00
Wei Zhou e3eefdf5a8 CLOUDSTACK-1192: GetVmDiskStatsCommand return null as disk I/O statistics does not support xen/vmware
(cherry picked from commit 3121133c03)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:12:46 -07:00
frank dced9723ff [Upgrade from 3.0.6 to 4.2][vmware] After upgrade the system vms fail to come up because "Secondary storage mount point" is pointing to a wrong location
when secondary storage is mounted as read-only, changing permission of files on it will fail. But we should still stick to current mount point instread of
returning a wrong mount point /mnt/sec
(cherry picked from commit db2d9703c1)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:12:03 -07:00
Sateesh Chodapuneedi f09afea067 CLOUDSTACK-4435 [VMWARE]System VM's are failed to start with Nexus enabled Zone
Since introducing pool of session contexts we no more have a dedicated context for each VMware hypervisor host.
Hence vsm credentials stored in session context cannot be retrieved always correctly. Fix is to register the vsm credentials after fetching context and the context gets recycled after use.

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

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:02:42 -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
Prasanna Santhanam 204f85b051 CLOUDSTACK-4499: Wait until hosts are up before adding storage pools
This works around the delay caused in adding Xen 6.1/6.2 hosts where
host takes two attempts to transition to Up state. We will wait for one
minute per cluster before attempting to add storage pool in the cluster.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 22ee499c3571b2a6b6921abb36c679128893c415)
(cherry picked from commit dc071e963e)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:00:37 -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
Kelven Yang 2b12088eab CLOUDSTACK-4519: reimplementdestroy-volume to take consideration of on-disk snapshot
(cherry picked from commit a316ffa27f)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 15:59:04 -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
Prachi Damle 72a3cbb82e CLOUDSTACK-4528 [Vmware] new mapping vmware datacenter cloudstack zone - Virtual Router host migration across cluster FAIL
Change:
- Also add a check in migrateSystemVM API to check that source and destination host are in the same cluster
(cherry picked from commit b24e9a6dd5)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 15:57:52 -07:00
Prachi Damle cd592f5c23 CLOUDSTACK-4528: [Vmware] new mapping vmware datacenter cloudstack zone - Virtual Router host migration across cluster FAIL
Changes:
- listHosts within same cluster for migration of system and router VMs
(cherry picked from commit 52f4683099)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 15:57:31 -07:00
Edison Su ad3794df91 CLOUDSTACK-4405: add a tool: cloudstack-agent-upgrade to upgrade bridge name on kvm host
(cherry picked from commit 0ef6084d2c)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 15:57:08 -07:00
Sanjay Tripathi 0fc996c20f CLOUDSTACK-4434: EN: Ubuntu: Direct input "- _ ", "? /", "keyboard /" ,"keyboard -" keys are not working well for the US keyboard.
Reviewed-by: Fang Wang <fang.wang@citrix.com>

Signed-off-by: Vijayendra Bhamidipati <vijayendra.bhamidipati@citrix.com>
(cherry picked from commit f2874d0f22)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 15:56:45 -07:00
Mike Tutkowski 3c58f9bb97 Trim IQN so that the format /iqn/lun becomes iqn.(cherry picked from commit cb9fc8bece)
Signed-off-by: animesh <animesh@apache.org>
2013-09-03 15:50:52 -07:00