Commit Graph

20409 Commits

Author SHA1 Message Date
Wei Zhou d9ba234d6c CLOUDSTACK-2319: fix incorrect account_id in event table for Revoke SecurityGroupRule commands 2013-08-30 11:13:59 +02:00
Prasanna Santhanam 420b654eaf CLOUDSTACK-4567: Correcting URLs that pointed to the incubator resources
The location on the downloads section points to the incubator pages and
the KEYS file used for GPG verify of the source points to the incubator
resource. Corrected both links

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-30 14:36:29 +05:30
Prasanna Santhanam 72a026cea2 Fix pep8 formatting to fix cloudstack-marvin build
(cherry picked from commit 5326833971)
2013-08-30 12:41:16 +05:30
Wei Zhou 948014dee6 CLOUDSTACK-4566: fix incorrect values in resource_count table for resource limitation
There are three issues in resource_count table
(1) expunge a vm, the public_ip decreases and becomes -1 in basic zone.
(2) recover a vm, the volume increase.
(3) restore a vm, the volume decrease.
2013-08-30 08:51:01 +02:00
radhikap 1ba5915169 build error fixed 2013-08-30 11:49:55 +05:30
radhikap 2324be9410 CLOUDSTACK-4565 review comments on network section has been fixed 2013-08-30 11:43:48 +05:30
radhikap 7a8a3ca26b cherry pick error fixed 2013-08-30 11:38:59 +05:30
Edison Su 3cca6502a1 CLOUDSTACK-4405: fix vm migration during the upgrade to 4.2 2013-08-29 16:45:26 -07:00
Kelven Yang 2848af8126 Fix the build cause by typo in a un-test check-in! 2013-08-29 16:18:36 -07: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
Jessica Wang ca0679951e 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-08-29 14:34:16 -07:00
Edison Su 93bfe708d9 CLOUDSTACK-4459: fix silly bug, one more time 2013-08-29 14:24:53 -07:00
Jessica Wang d10babe824 CLOUDSTACK-4266: UI > Infrastructure > clusters > add cluster dialog > 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-08-29 14:17:54 -07:00
Wei Zhou 3121133c03 CLOUDSTACK-1192: GetVmDiskStatsCommand return null as disk I/O statistics does not support xen/vmware 2013-08-29 23:14:42 +02:00
Edison Su 1a333f369b CLOUDSTACK-4559: fix devcloud 2013-08-29 10:34:32 -07:00
frank db2d9703c1 [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
2013-08-29 10:29:17 -07:00
Sateesh Chodapuneedi eaea8f8c5f 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>
2013-08-29 14:52:20 +05:30
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
radhikap a3ac7d957f Before 4.X TO 4.2 upgrade manually clean up /var/cache/cloudstack 2013-08-29 14:31:40 +05:30
Prasanna Santhanam 6022d69e21 cpu_limits module of tests
(cherry picked from commit a6117192f8e6d74227af70af29e0eee86868230f)
2013-08-29 14:30:17 +05:30
Prasanna Santhanam fb9521c92f Formatting and tab errors in the new test suites for limits
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f5eb81e669a8a454fc02b90a44c4ce8ffc7ac9ac)
2013-08-29 14:26:54 +05:30
Gaurav Aradhye f585c605e2 Automation: Limit Resources - Adding tests related to CPU limits
Reviewed-by: Sanjay Tripathi <Sanjay.Tripathi@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 95e4b7afa8)
2013-08-29 14:14:32 +05:30
Girish Shilamkar de86e5e63d CLOUDSTACK-4407: Use extractTemplate API to get hypervisor specific template information
Template url, hypervisor and format were defined in Service class to be Xenserver specific
and therefore registering a new template failed on Vmware and KVM.
Fixed this to get hypervisor specific info for registering new template.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 20256706b376551fe8993ee2e73c61df31dcb6de)
2013-08-29 12:38:34 +05:30
Prasanna Santhanam dc071e963e 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)
2013-08-29 12:38:19 +05:30
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
Kelven Yang a316ffa27f CLOUDSTACK-4519: reimplementdestroy-volume to take consideration of on-disk snapshot 2013-08-28 18:38:12 -07:00
Vijayendra Bhamidipati a30a33c14d 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.
2013-08-28 11:53:28 -07:00
Jessica 56ebf3b9b8 CLOUDSTACK-883. DOC. Fix license header in UI plugins section. 2013-08-28 17:25:55 -07:00
Jessica 4fe0fcf263 CLOUDSTACK-883. DOC. Small fix to comment in UI plugins section. 2013-08-28 17:09:30 -07:00
Jessica 5036e4f9f9 CLOUDSTACK-883. DOC. How to integrate your 3rd-party plugin with the UI. Contains brief third-party plugin code tutorial. 2013-08-28 17:02:58 -07:00
Jessica 55583c0f97 CLOUDSTACK-815. DOC. Fix Regions documentation for reviewer comments. 2013-08-28 16:39:43 -07:00
Jessica Wang cb12cf9354 CLOUDSTACK-4089: UI > zone wizard > hypervisor VMware > physical network > vmware_network_label: remove trailing comma if there is any. 2013-08-28 16:37:46 -07:00
Prachi Damle b24e9a6dd5 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
2013-08-28 15:55:27 -07:00
Prachi Damle 52f4683099 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
2013-08-28 15:55:24 -07:00
Edison Su 0ef6084d2c CLOUDSTACK-4405: add a tool: cloudstack-agent-upgrade to upgrade bridge name on kvm host 2013-08-28 15:49:06 -07:00
Sanjay Tripathi f2874d0f22 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>
2013-08-28 08:41:09 -07:00
frank f21c8fa998 CloudStack CLOUDSTACK-4426
[VMware] [upgrade] system VM not coming up after upgrade from 3.0.4 to 4.2
2013-08-28 14:15:19 -07:00
Mike Tutkowski cb9fc8bece Trim IQN so that the format /iqn/lun becomes iqn. 2013-08-28 15:00:03 -06:00
Jessica Wang 02641f851c CLOUDSTACK-4266: UI > Instrastructure > clusters > Add Cluster dialog > if configuration "vmware.use.nexus.switch" is set to false, hide VSM fields. 2013-08-28 13:31:21 -07:00
Jessica 9172cc96e9 CLOUDSTACK-864. DOC. Small typo fix for Talluri's review comment. 2013-08-28 11:56:49 -07:00
Jessica e14e1379b6 CLOUDSTACK-900. DOC. Live storage migration, XenMotion, vMotion. 2013-08-28 11:50:50 -07:00
Jessica bdc87ab915 CLOUDSTACK-2289. DOC. Granular configuration parameters. You can now configure settings for entities lower than the global level. 2013-08-28 11:26:37 -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
rayeesn 63c8b147fe CLOUDSTACK-4509 : management cache folder need to cleanup before upgrade, currently its cleaning up only for 3.x upgrade ie /var/cache/cloud, it should do that same for 4.2 also /var/cache/cloudstack 2013-08-28 11:22:41 -07:00
frank c5139d6bc9 CloudStack CLOUDSTACK-4426
[VMware] [upgrade] system VM not coming up after upgrade from 3.0.4 to 4.2
2013-08-28 11:09:46 -07:00
Jessica 0d8ce418c5 CLOUDSTACK-2405. DOC. Changing ownership of a VM from one account to another in any domain. 2013-08-28 10:07:10 -07:00
Jessica b9325cd334 CLOUDSTACK-3298. DOC. New upper limit on userdata for a VM. 2013-08-28 09:37:58 -07:00