Commit Graph

21787 Commits

Author SHA1 Message Date
edison 7d02fcd5b4 CLOUDSTACK-5264: add delta snapshot for existing xenserver 2013-12-30 10:47:15 -08:00
Sanjay Tripathi 4c9521726b CLOUDSTACK-5422: Changing XenServer Tools Version 6.1 + doesnt work. 2013-12-30 20:11:12 +05:30
Gaurav Aradhye ce38c71956 CLOUDSTACK-5635: Fixed issue (Max volumes has been exceeded for domain during test) 2013-12-30 18:06:18 +05:30
Sanjay Tripathi 68a0b27929 CLOUDSTACK-3806: OS Preference can not be set. 2013-12-30 17:10:52 +05:30
Devdeep Singh 5a2e4fd0a2 CLOUDSTACK-5560: Reattach of data disk fails for hyperv. When a data disk
is attached a hard disk drive is created on the scsi controller. On detach
the data disk is removed from the drive but the disk drive is left behind.
On reattach the agent was again trying to create a disk drive while it was
already present. Fixed the agent code to look up for disk drive while
attaching and if one is not found then only to create the drive for
attaching a data disk.
2013-12-30 16:52:04 +05:30
Girish Shilamkar e4acedbcb1 CLOUDSTACK-5342: Add sleep before adding nic to verify qemu bug. 2013-12-30 15:19:52 +05:30
Gaurav Aradhye cbe93be2e9 CLOUDSTACK-5640: Correcting imports in test cases 2013-12-30 14:37:40 +05:30
Harikrishna Patnala 662383e24b CLOUDSTACK-5515: #cpu ,cpuspeed and ram is set to NULL in usage db(usage_vm_instance table) after vm stop and start Fixed populating usage event details in usage db on vm start/upgrade/dynamic_scale 2013-12-30 12:08:30 +05:30
Devdeep Singh 5551724a2e CLOUDSTACK-5659: Creation of vm from iso failing with wrong file format.
The agent was always creating a disk with image format vhdx, but the
cloudstack management server defaults to image format vhd for hyperv.
Updated the agent code to be consistent with what cs expects. All disks
are now created with image format vhd.
2013-12-30 11:58:45 +05:30
Gaurav Aradhye 278b2b1b66 CLOUDSTACK-5640: Correcting imports in test cases 2013-12-29 19:42:52 +05:30
Mike Tutkowski e65fae412c CLOUDSTACK-5662: XenServer can't discover iSCSI targets with different credentials 2013-12-28 21:43:28 -07:00
Sateesh Chodapuneedi c15cf12308 CLOUDSTACK-5666 Cant remove a nic when a vm is in the Stopped state
When VM is not running, existing code is unable to retrieve associated cluster's Id. Now we will try to get this information using previous host where the VM was running.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-12-28 09:09:37 +05:30
Mike Tutkowski 8eb430f602 CLOUDSTACK-5662: XenServer can't discover iSCSI targets with different credentials 2013-12-28 00:12:11 -07:00
Kelven Yang dc303fda6e CLOUDSTACK-669: Convert volume snapshot orchestration flow to make it be serialized with other VM operations 2013-12-27 16:40:50 -08:00
Mike Tutkowski 574fc3a4f8 CLOUDSTACK-5662: XenServer can't discover iSCSI targets with different credentials 2013-12-27 13:12:12 -07:00
Sateesh Chodapuneedi 8cf154d559 CLOUDSTACK-5661 [VMware] DetachIsoCmd succeeds even though cdrom is locked by VM as cdrom is mounted
DetachISO is succeeding even though detach opeartion is failing as cdrom is locked by VM as it was mounted inside VM.
Detect if cdrom is locked or not. If locked fail detach operation and warn user to unmount before detaching the iso/cdrom device.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-12-27 17:15:35 +05:30
Sateesh Chodapuneedi ad5d607992 CLOUDSTACK-4993 [VMware] When issuing detach ISO to Vcenter, MS should prevent Vcenter from posting Virtual Machine question dialog waiting for user response
During ISO detach operation, answer question from vCenter by programmatically answering for VM question in detaching process.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-12-27 13:57:01 +05:30
Sanjay Tripathi 17bdbebf93 CLOUDSTACK-4450: Possibility of /tmp/xapilog filling up the Root disk on Xenserver. 2013-12-27 18:25:46 +05:30
Devdeep Singh 46f0b25c3a CLOUDSTACK-5610: Host doesn't go to Down/Alert state even though it is powered off. VM
deployment fails because of that as cloudstack tries to deploy it on a host which is
ctually down. An investigator wasn't present for hyper-v; so cloudstack wasn't able to
determine the status of the host. Wrote an investigator for hyper-v which checks with
other hosts in the cluster for the status of the host being investigated.
2013-12-27 16:28:45 +05:30
Sanjay Tripathi 1ee3612ada CLOUDSTACK-4402: [deleteStoragePool] There is no way to delete Primary storage if the last host with which it was associated is already removed. 2013-12-27 16:15:00 +05:30
Sanjay Tripathi 526043b715 CLOUDSTACK-4973: Specified keyboard language is not showing as default in consoleView passed during deployVM. 2013-12-27 16:15:00 +05:30
Ashutosh K 029f4e36a0 CLOUDSTACK-2237: Automation - Adding new test cases for security group in advanced zone feature 2013-12-27 16:01:33 +05:30
Devdeep Singh f908a15758 CLOUDSTACK-5649: Vms are stopped and not migrated from a host when the
host is put in maintenance mode. The migrate flag wasn't set to true in
the maintain answer. This caused cloudstack to not to schedule a migration
work item for vms on the host. Made a change to set the migrate flag to
true in migrate answer.
2013-12-27 15:17:41 +05:30
Murali Reddy ed113474ec removing unintended change 2013-12-27 14:29:49 +05:30
Murali Reddy 2715fd4dd9 CLOUDSTACK-5403: Shared network - None of PF, LB rules work after router
restart, firewall rules dropped from iptables post restart

on VR restart, not all public IP's associated with the network are sent
with IpAssocCmd to VR. This fix will ensure all the ip's associated with
the network irrespective of the account are sent as part of
IpAssocCommand
2013-12-27 13:35:42 +05:30
Devdeep Singh 9f5bea6204 CLOUDSTACK-5655: hyper-v configuration parameters are missing in upgraded setup. Updated
the db upgrade schema script to insert the configuration parameters.
2013-12-27 13:07:52 +05:30
Marcus Sorensen 8c2c37f8b0 CLOUDSTACK-5432: KVM - LibvirtStorageAdaptor only needs to disconnectPhysicalDiskByPath
for ISO-based disks. At least, that's how it was in 4.2, so restoring to that functionality.
2013-12-26 23:13:41 -07:00
Jayapal 0478aee78f Revert "CLOUDSTACK-4622:If a VM from guest network is added to network tier of VPC then IP reservation allows the CIDR to be a superset of Network CIDR for that VPC tier"
Reverted the commit as it is breaking vpc CLOUDSTACK-5652

This reverts commit ab4f095c68.
2013-12-27 11:25:13 +05:30
Girish Shilamkar 53f0d35517 CLOUDSTACK-5638: Fixed code to check router state 2013-12-27 10:55:53 +05:30
Marcus Sorensen 818807b2ed CLOUDSTACK_5654: Don't pass empty string to BroadcastDomainType.Vlan.toUri
when attempting to parse VLAN/VNI from bridge's physical ethernet device
2013-12-26 16:44:09 -07:00
Min Chen 69524fb11f CLOUDSTACK-5653:S3 object store as Secondary Storage, the template
created from different zone is not available for the other zones.
2013-12-26 14:26:55 -08:00
Bharat Kumar 69fb1d4ed0 CLOUDSTACK-5530 attempt to add secondary storage with the same name is ignored 2013-12-26 11:48:45 -08:00
Min Chen 35ba14d88d CLOUDSTACK-5648:CopyTemplate and CopyISO across zones fails after NFS
migration to S3.
2013-12-26 11:12:00 -08:00
Devdeep Singh 7e54ca8831 CLOUDSTACK-5456: Download root volume when vm is in stopped state fails on hyper-v. Made
changes to make sure the volume entry is created in the db with the right image format.
2013-12-26 19:11:11 +05:30
Koushik Das 3d530708ad CLOUDSTACK-2560: Adding duplicate ASA device entity failure should be handled with API
Handling duplicate ASA appliance addition gracefully
2013-12-26 17:01:33 +05:30
Saksham Srivastava d825b3dd14 CLOUDSTACK-4622:If a VM from guest network is added to network tier of VPC then IP reservation allows the CIDR to be a superset of Network CIDR for that VPC tier
Signed-off-by: Jayapal <jayapal@apache.org>
2013-12-26 16:40:00 +05:30
Jayapal 749c77ae16 Fixed issue in setting vm ip,mac in vm_instance table
This issue is not seen in 4.2, It is observed only in 4.3.
2013-12-26 16:40:00 +05:30
Rajesh Battala fd831ff2ca CLOUDSTACK-5193 [Hyper-V] VHDs not deleted post VM destroy and expunge 2013-12-26 16:10:49 +05:30
Devdeep Singh 93ea31c6e4 CLOUDSTACK-5308, CLOUDSTACK-5542: Copy command didn't handle the scenario
when a volume is copied to secondary storage for template creation.
Updated the command to handle it.
2013-12-26 15:31:18 +05:30
Devdeep Singh 079323f591 CLOUDSTACK-5420: The agent manager wasn't transitioning the host to maintenance
mode if their are no vms running on the host. Made the change to do so.
2013-12-26 11:14:01 +05:30
Devdeep Singh f1260e8606 CLOUDSTACK-5639: Cold storage migration doesn't work for hyper-v. Made
changes to make sure CopyCommand honours requests for volume copy from
primary to secondary storage and vice versa.
2013-12-25 15:02:16 +05:30
Kishan Kavala ea442fa81f CLOUDSTACK-5254: If VR is not upgraded, leave firewall rule in Active state. Rule will be applied when VR is upgraded 2013-12-24 18:07:58 +05:30
Likitha Shetty 289c8a09ea CLOUDSTACK-5508. Vmware - When there are multiple secondary stores, the newly added secondary store is not being selected for backing up snapshots.
If the snapshot being backed up is a a delta snapshot, pick the image store where the parent snapshot is stored. Otheriwse pick a random image store.
2013-12-24 17:31:29 +05:30
Rajesh Battala a9ca480354 CLOUDSTACK-5595 add vlan to storage nic to vnic for ssvm 2013-12-24 17:00:24 +05:30
Girish Shilamkar 43806aafe1 CLOUDSTACK-5497: Fix test_guest_vlan_range.py to get free vlan range 2013-12-24 11:09:34 +05:30
Alena Prokharchyk 632346d6a5 CLOUDSTACK-5390: when calculate index (page #) in NetworkManager, rely on fact that getStartIndex() returned by API, returns pageSize*(page-1). So to get index(page), you need to do the reverse calculation 2013-12-23 16:53:46 -08:00
Jessica Wang d8ee31877f CLOUDSTACK-5345: UI > Virtual Routers > Group by account > pass listAll=true to listAccounts API. 2013-12-23 12:19:53 -08:00
Jessica Wang 2a56f64d93 CLOUDSTACK-5606: UI > Copy Template action, Copy ISO action is now availble to region-wide secondary storage (S3, Swift). 2013-12-23 11:33:39 -08:00
Jessica Wang b8e1411923 CLOUDSTACK-5612: UI > Network > Guest Networks > detailView > to distinguish between non-vpc network and vpc network(tier) easier, move VPC ID field up. 2013-12-23 10:55:20 -08:00
Daan Hoogland 94abbb1367 check vlans and other isolation types 2013-12-23 13:51:34 +01:00