Commit Graph

1485 Commits

Author SHA1 Message Date
Marcus Sorensen 44c73fdcef CLOUDSTACK-5430: NPE can be thrown in disconnectPhysicalDiskViaVmSpec in
certain failure scenarios. This can only be triggered if other bugs allow
pools to be deleted while VMs are using them.
2014-01-08 09:41:40 -07:00
Marcus Sorensen 5a8ea8ae71 CLOUDSTACK-5697 This patchset fixes a bug with the recently merged
vxlan code. Users can set a physical network to isolation type 'vxlan',
put public traffic on that physical network, and it will still attempt
to use 'vlan' isolation on the KVM hosts. This is going to be an issue
for other isolation types as well, but I'm not familiar with them, so
I'm just fixing vxlan for now.
2014-01-07 17:03:36 -07:00
Mike Tutkowski ecd4a9c642 CLOUDSTACK-5823: Taking a VMware snapshot doesn't work 2014-01-07 12:41:18 -07:00
edison e542aefdc8 CLOUDSTACK-5573: bump gson version to 1.7.2, fix https://code.google.com/p/google-gson/issues/detail?id=354 2014-01-06 11:42:26 -08:00
Devdeep Singh 7fc3c4fd15 CLOUDSTACK-5788, CLOUDSTACK-5789: Attaching upload volume and download
volume was failing for hyper-v. Copy command answer was failing while
creating the answer object. Fixing the issue.
2014-01-06 16:34:46 +05:30
Likitha Shetty 665d036e8b CLOUDSTACK-5782. [VMware] Snapshot creation on a detached volume failes with NPE.
For a detached volume, don't try to find the associated VM on the hypervisor/peer hypervisor host.
By default create a worker VM to perform snapshot operations.
2014-01-06 14:24:07 +05:30
Mike Tutkowski 811b0856d5 CLOUDSTACK-5662: XenServer can't discover iSCSI targets with different credentials
VAGs
2014-01-04 21:11:14 -07:00
edison 2795c4ecfb CLOUDSTACK-5737: ignore umount secondary storage failure during backup snapshot 2014-01-03 12:59:54 -08:00
Edison Su 07ad69cebf CLOUDSTACK-5737: isExternalSnapshot should return true for CLVM and RBD only 2014-01-03 12:43:16 -08:00
Sanjay Tripathi 3964a566f7 CLOUDSTACK-5701: physical size is not getting updated in snapshot_store_ref table. 2014-01-03 18:20:31 +05:30
Devdeep Singh 741634b87e CLOUDSTACK-5691: Fix for attaching an uploaded volume to instance running
on hyperv. There were multiple issues here. Upload volume was actually
failing because the post download check for vhd on the cifs share was
unsuccessful. Also the agent code wasn't parsing the volume path correctly.
Fixed it too.
2014-01-03 16:43:21 +05:30
Rajesh Battala 9313a35f41 CLOUDSTACK-5658 CLOUDSTACK-5563 deploying VM from template created from volumes fails 2014-01-03 16:14:38 +05:30
Hugo Trippaers 6e57067859 Wei Zhou found another statement that was effected by commit 3a999e7 in
OvsVifDriver.isBridgeExists.

Based on commit 725bed43b4 in master
2014-01-02 15:23:04 +01:00
Hugo Trippaers ec81c334ba Commit 3a999e7 changed the return values for the Script.execute function, this introduced a bug in the openvswitch bridge detection code.
Based on c024a93826 in master
2014-01-02 13:48:18 +01:00
Likitha Shetty 10a6c4f582 CLOUDSTACK-5704. OVA files exist for templates created from volumes.
Don't package the OVF and VMDK files into OVA after a template is created from volume.
Since packaging process contains reading and writing from the NFS mount, it doubles the amount of data that needs to be moved around
2014-01-02 16:23:45 +05:30
Anshul Gangwar e74889ac91 CLOUDSTACK-5703: putting rdp server port value in host details 2014-01-01 15:05:09 +05:30
Devdeep Singh 4d05056252 CLOUDSTACK-5605: Fixing GetStorage stats command for hyper-v. The agent
wasn't looking up the share path correctly for reading the stats of a smb
share.
2014-01-01 14:29:43 +05:30
Marcus Sorensen 83f1f68408 CLOUDSTACK-5697 - public ip ranges should allow VNI rather than only working with untagged 2013-12-31 16:03:06 -07:00
Anshul Gangwar b55d9ecf53 CLOUDSTACK-5344 commit for console proxy rdp for hyperv 2013-12-31 18:14:53 +05:30
Rajesh Battala 68c4acce7d CLOUDSTACK-5687 [Hyper-V] Remote Access VPN fails with Unsupported command while trying to configure VPN users 2013-12-31 12:31:23 +05:30
Sateesh Chodapuneedi 57cb023eb8 CLOUDSTACK-5447 [Automation] Volume migration failing with NullPointerException in vmware and KVM
Instead of injecting object of VolumeOrchestrationService into VmwareResource, we now populate the command object (MigrateVolumeCommand here) with required information. Thus we dont need volume orchestration service to query that information from resource.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-12-31 06:21:32 +05:30
edison 7d02fcd5b4 CLOUDSTACK-5264: add delta snapshot for existing xenserver 2013-12-30 10:47:15 -08:00
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
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
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
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
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
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
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
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
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
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 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
Rajesh Battala a9ca480354 CLOUDSTACK-5595 add vlan to storage nic to vnic for ssvm 2013-12-24 17:00:24 +05:30
Devdeep Singh 105e27b73d CLOUDSTACK-5210: Fix the sockets reported by the hyperv agent. 2013-12-23 13:23:55 +05:30
Rajesh Battala 58aaf67806 CLOUDSTACK-5584 fix the issue to configure the systemvm's in hyperv consistently 2013-12-22 22:15:29 +05:30
Rajesh Battala 0ef953f993 CLOUDSTACK-5603 support Monitoring VR services when VR running on Hyper-V 2013-12-22 20:24:15 +05:30
Mike Tutkowski 0ddbae580e CLOUDSTACK-4810: Enable hypervisor snapshots for CloudStack-managed storage (for XenServer and VMware) 2013-12-20 23:28:33 -07:00
Devdeep Singh c5e95be7ef CLOUDSTACK-5555: Fixing booting a vm on hyperv with data disk. Made
changes to attach a data disk on scsi controller when a vm is being
created.
2013-12-20 17:11:50 +05:30
Marcus Sorensen 5df50297ef account for vxlan interfaces named vx<vni> 2013-12-19 17:40:36 -07:00
Edison Su 88a5202eea CLOUDSTACK-4939 - Failed to create snapshot (KVM, Multiple hosts, Sharedstorage)
Conflicts:

	engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/AncientDataMotionStrategy.java
	engine/storage/src/org/apache/cloudstack/storage/endpoint/DefaultEndPointSelector.java
	plugins/storage/volume/default/src/org/apache/cloudstack/storage/datastore/driver/CloudStackPrimaryDataStoreDriverImpl.java
2013-12-19 13:15:40 -08:00
edison 15403a1f29 add xenserver 6.2.0 hotfix support, to optimize vdi copy
add xenserver hot fix
2013-12-18 18:22:52 -08:00
root a74fe8d2aa CLOUDSTACK-4597: Complete Exceptions are getting displayed on the UI where there is an operation failuire in sotrage migration
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-12-18 14:57:11 +05:30
Nitin Mehta dc0f8ebdf1 CLOUDSTACK-4941:
During HA call different planners which skip some heurestics
2013-12-17 18:32:46 -08:00
Likitha Shetty 11ef692acd CLOUDSTACK-4875. Vmware vCenter 5.5 - System VM deployment fails.
During VM deployment when base template is being cloned to create VM ROOT disk, get the disk path
 i.e. base file name of the VM's ROOT disk from vCenter
2013-12-17 18:32:21 +05:30
Devdeep Singh 340e29d7ba CLOUDSTACK-5217: Attach volume fails with NPE. Made changes to make sure
the hypervisor product version is reported on startup. Also made changes
to fix attach and detach volume on scsi controller.
2013-12-17 15:54:37 +05:30