Commit Graph

20427 Commits

Author SHA1 Message Date
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
Prasanna Santhanam 2575ded3f3 get host credentials from marvin configuration for ssvm test 2013-08-31 12:51:53 +05:30
Edison Su 21a44e3ed1 disk resize NPE, if the new disk offering doesn't have tags, then NPE 2013-08-30 18:15:20 -07:00
Edison Su ffc53e81e0 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 2013-08-30 18:06:27 -07:00
Jessica Wang ff4f931cd8 CLOUDSTACK-4089: UI > zone wizard > VMware hypervisor > physical network > edit traffic type > set default value for vSwitchName field upon selected vSwitchType. 2013-08-30 15:18:32 -07:00
Jessica Wang 8d60e4436b 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'. 2013-08-30 14:55:06 -07:00
Jessica Wang 845e280d71 UI > Infrastructure > clusters > Add cluster dialog > change variable name for Nexus DVS fields to be more intuitive. 2013-08-30 14:55:06 -07:00
Chiradeep Vittal a98eb12549 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>
2013-08-30 14:30:04 -07:00
Saksham Srivastava 6354604eed 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.
2013-08-30 12:31:25 -07:00
Kelven Yang e362f51f37 CLOUDSTACK-4362: always honor vCenter on-disk meta data to work with live migration better 2013-08-30 11:11:20 -07:00
Jessica Wang 2c2ebee3f7 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. 2013-08-30 11:06:07 -07:00
David Nalley b5713ecad2 updating the version number 2013-08-30 12:11:58 -04:00
Wido den Hollander 0929011991 docs: Add RBD issue link to Release Notes 2013-08-30 17:47:32 +02:00
David Nalley 8d386a9f6c adding publican.cfg fot qig no idea why I missed this earlier 2013-08-30 11:07:55 -04:00
Wido den Hollander 62c3356d78 docs: Add Release Notes about Disk I/O Polling and Throttling 2013-08-30 17:05:32 +02:00
Marty Sweet 4044747514 Added Accessing System VM via SSH 2013-08-30 09:02:55 -04:00
radhikap f37e0b0b6b CLOUDSTACK-4569 review comments on egress firewall and multiple ip per nic 2013-08-30 15:44:53 +05:30
Prasanna Santhanam a011b450b6 docs: correcting the links to the wiki
- pointing to the new wiki page on 'How to build CloudStack'. Although
  we shouldnt be using wiki sections on our docs.
- Also formatting the rpms built by cloudstack into a paramlisting
(cherry picked from commit c2afa0f03ce3c9a0f04dcc108039ba5ef2d9edf9)
2013-08-30 15:20:28 +05:30
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