Commit Graph

1470 Commits

Author SHA1 Message Date
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
Devdeep Singh 079baafcea CLOUDSTACK-5489: Query the user name and add it to the command while mounting a cifs share. 2013-12-17 14:04:05 +05:30
Marcus Sorensen 6ae1c26b9a CLOUDSTACK-5521: Create multi-core topology when deploying KVM virtual machines with many cores 2013-12-16 16:28:00 -07:00
Bharat Kumar 2724db67f6 Cloudstack-5077: reserve cpu and memory only when
vmware.reserve.cpu/mem are set to true. Insted of setting
 the ovecommit values to one on upgrade, we popultate them
 from the global values.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-12-16 11:13:51 -08:00
Min Chen 7cd125ca39 CLOUDSTACK-5446:KVM-Secondary Store down-Even after secondary store is
brought back up after being down for few hours,snapshot jobs do not get
triggered with reason "there is other active snapshot tasks on the
instance to which the volume is attached".
2013-12-13 18:09:16 -08:00
Devdeep Singh f69100e2e8 CLOUDSTACK-5489: Cloud user doesn't have permissions to copy systemvm.iso to secondary.
Make sure when a cifs (secondary) is mounted, uid is set for the user who owns the files
and directories on the filesystem.
2013-12-13 17:28:30 +05:30
Rajani Karuturi 24392c15f5 CLOUDSTACK-5435 enabled encryption for ldap params 2013-12-13 12:45:37 +05:30
Devdeep Singh 7151ec63fa CLOUDSTACK-5311: Fix the host version reported by the hyper-v agent. Also updated the hypervisor
capabilities for hyper-v.
2013-12-12 16:48:46 +05:30
Donal Lafferty 23bc02d12a CLOUDSTACK-5462: Hyperv agent confused by existing volume of different
image type. Works by avoiding volume image format inference errors and
removing existing files with same name, but different format.
2013-12-12 14:53:33 +05:30
Devdeep Singh 388510ff39 CLOUDSTACK-5473: Fixed the name with which the hyper-v agent gets
installed as a service.
2013-12-12 14:53:14 +05:30
Syed Ahmed fb89a2d8f6 CLOUDSTACK-5296: Add certificate chain support for netscaler.
adds support for trust chains in the netscaler
2013-12-12 12:13:43 +05:30
Rajani Karuturi 900bedbe15 added LDAP group name label in add account wizard
changed the parameter for domain in api importLdapUser from name to UUID

improved error handling
2013-12-11 23:35:58 +00:00
Mike Tutkowski 2dfa84bf2b CLOUDSTACK-5468: Configuration property should be optional 2013-12-11 12:43:01 -07:00
Devdeep Singh 3cd004c924 CLOUDSTACK-5455: Fix detach iso on hyperv. Made sure normalized path is
used while attaching and detaching iso. Also made normalization of path
across the agent code.
2013-12-11 19:29:19 +05:30
Devdeep Singh 5dea7728a3 CLOUDSTACK-5248: Fixed creation of mount point when running as non root (cloud) user.
The systemvm iso file is copied only when a systemvm or router vm is to be started on
a host. The file gets copied to the secondary storage. The mount point used is the one
that has permissions for regular user to mount a share.
CLOUDSTACK-5275: The failure was because a secondary storage wasn't available when the
host was added. When a setup is done through wizard the hosts get added before the
secondary storage. CS was tying to copy yhe systemvm iso to secondary and it used to
fail if it wasn't available. Made a change to copy the iso only when a systemvm is
being started on a host.
CLOUDSTACK-5202: Made changes to clean up mount points on stop and start.

All the three are related fixes; so putting a fix in one commit.
2013-12-11 17:22:45 +05:30
Rajani Karuturi db4e0d688c CLOUDSTACK-5375 :ldapconfig and ldapRemove api's are not working Added support for 4.2 ldap apis
Conflicts:
	plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapManagerImpl.java

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-12-11 16:08:24 +05:30