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
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
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
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
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
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
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
Bharat Kumar
903af43be4
CLOUDSTACK-4498 Do not reserve memory and cpu for vmware VMs, if
...
the vmware.reserve.cpu and vmware.reserve.mem are set to false while not over committing.
Signed-off-by: Jayapal <jayapal@apache.org>
2013-12-11 13:07:22 +05:30
Anthony Xu
ff9786177e
put CS/XS plugin log into seperate directory
2013-12-10 01:11:59 -08:00
Anshul Gangwar
1742e7627c
Fix nuget package path error.
2013-12-09 13:06:47 +05:30
Anshul Gangwar
a7e10fcfaf
Fix the directory path of where the nuget packages get downloaded.
2013-12-09 11:06:56 +05:30
Likitha Shetty
bc86103c2b
CLOUDSTACK-5216. delete volume failed due to Exception: java.lang.Exception" while destroying Vms
2013-12-06 12:00:44 +05:30
Frank.Zhang
ae19fc98e1
add missing files during merging UCS
2013-12-05 22:28:20 -08:00
Frank.Zhang
80e88dd482
fix merge error breaking compile
2013-12-05 18:04:58 -08:00
Frank.Zhang
d3bff27ef9
CLOUDSTACK-5112
...
[Baremetal]Make IPMI retry times configurable
Conflicts:
server/src/com/cloud/configuration/Config.java
setup/db/db/schema-420to421.sql
2013-12-05 17:30:54 -08:00
Frank.Zhang
48a4391568
[UCS] increate ipmi command retry
2013-12-05 17:29:08 -08:00
Frank.Zhang
fd5b9a2780
CLOUDSTACK-4674
...
[baremetal] /usr/share/cloudstack-common/scripts/util/ipmi.py script
need to recognize various ipmi version and BMC type of server
2013-12-05 17:28:20 -08:00
Frank.Zhang
ef6038f1b3
commit 8edaf63c4e
...
Author: Frank.Zhang <frank.zhang@citrix.com>
Date: Thu Oct 10 14:45:03 2013 -0700
CLOUDSTACK-4850
[UCS] using template instead of cloning profile
2013-12-05 17:25:57 -08:00
Frank.Zhang
59406cf225
Change security_group_agent python side in line with default
...
security group rules change in 4.2
2013-12-05 10:51:56 -08:00
Frank.Zhang
e5e39577c0
Change security_group_agent python side in line with default
...
security group rules change in 4.2
2013-12-05 10:51:04 -08:00
Frank.Zhang
fb1f3f0865
Add missing Baremetal security_group_agent java part
...
Change security_group_agent python side in line with default security
group rules change in 4.2
Conflicts:
plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BareMetalResourceBase.java
2013-12-05 10:50:25 -08:00
Anthony Xu
0847ccfe97
XS VMmetadata platform contains virtual platform related info, CS should save platform info in DB to migrate the VM to other Cluster
...
Conflicts:
engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
server/src/com/cloud/template/TemplateManagerImpl.java
2013-12-05 01:17:56 -08:00
Rajesh Battala
26020fc078
added support to run hyperv agent on 0.0.0.0 and startuprouting command will discover the ip details and send in response
2013-12-05 14:46:44 +05:30
Rajesh Battala
5d9ed55d99
Modified savepassword.sh path in Hyperv Resource according to the new template
2013-12-05 11:10:57 +05:30
Nitin Mehta
86af80b0f5
fixing the test
2013-12-04 16:12:42 -08:00
Nitin Mehta
fee41bad41
CLOUDSTACK-5352:
...
CPU cap calculated incorrectly for VMs on XenServer hosts. It should not be limited by the overprovisioning and should set the cap as service offering
2013-12-04 14:48:41 -08:00
Nitin Mehta
e85334ff51
CLOUDSTACK-5352:
...
CPU cap calculated incorrectly for VMs on XenServer hosts. It should not be limited by the overprovisioning and should set the cap as service offering
2013-12-04 14:10:28 -08:00
Devdeep Singh
3744deab14
CLOUDSTACK-5178: DeployVm from ISO fails. Fixed the creation of root
...
volume and made sure the iso is attached when a vm is deployed.
2013-12-04 19:59:40 +05:30
Donal Lafferty
9e04e33d17
Changes for fixing the hyperv agent build on windows using mono.
2013-12-04 12:19:50 +05:30
Alena Prokharchyk
b315ca1895
CLOUDSTACK-5261: support for alert publishing via Root admin web api
...
listAlerts: introduced new parameter "name" to the alertResponse
Added new Admin API - generateAlert. Available to ROOT admin only
listAlerts: implemented search by alert name
2013-12-03 17:08:23 -08:00
Devdeep Singh
2d90ee469a
Fix for live migration of vm. Use the host name as the migration
...
destination. Also mapped the vm state corrected in check vm on host
answer.
2013-12-03 19:31:22 +05:30
Devdeep Singh
80a5dd75cd
Changes for allowing migration of a vm on hyperv. Migration was blocked in cloudstack for hyperv.
...
Enabled it. Also updated the agent code to allow hyperv migration.
2013-12-03 17:27:24 +05:30
Anshul Gangwar
a0bfc99261
adding missing license headers for cs files
2013-12-03 15:51:00 +05:30
Anthony Xu
971b159f45
put shell scripts to a seperate directory in XS
...
use same scripts for both XS and XCP
2013-12-03 01:48:55 -08:00
Anshul Gangwar
b1c8efb0ea
code to install and uninstall agent as windows service
2013-12-03 12:01:23 +05:30
Rajesh Battala
99e65d051d
Fixed issues on HyperV Agent code for shared network VR issues
2013-12-02 18:09:37 +05:30
Wei Zhou
c8f6a3623a
CLOUDSTACK-5293: get vm disk statistics only from DISK (not for ISO/FLOPPY)
...
(cherry picked from commit d473d5a36a )
2013-11-29 10:54:46 +01:00
Rajesh Battala
dff2825a97
Fix VM stats collections in HyperV
2013-11-27 16:03:14 +05:30
Devdeep Singh
8585e01ff6
Fixing creation of VM with virtual disks on a shared storage for hyperv. The shared storage
...
path wasn't getting interpreted correctly by the agent.
2013-11-27 13:01:28 +05:30
Wei Zhou
96842475d9
CLOUDSTACK-5280: fix issue in getBroadcastUriFromBridge
2013-11-26 23:35:38 +01:00
Anthony Xu
d13c343cbc
CLOUDSTACK-4913: Don't enable ebtables/iptables for non-security group zone
2013-11-25 16:06:00 -08:00
Rajesh Battala
a045d981cc
Added contextMap data to all the command responses in HyperV
2013-11-25 18:43:51 +05:30
Rajesh Battala
b792e5627f
Modified GetExternalVirtSwitch to take the switchname param and return the same or default one
2013-11-21 14:30:20 +05:30
Likitha Shetty
ff24ed0c8c
CLOUDSTACK-1868. GetVmStatsCommand throws NullPointerException with VMWare.
2013-11-21 09:36:21 +05:30
Kelven Yang
7be9b121cf
CLOUDSTACK-669: Add host level side-by-side VM state report for graceful sync model migration
2013-11-20 18:17:29 -08:00
Edison Su
e03088a3f1
Add logs in case ipassoccmd failed
2013-11-20 15:04:31 -08:00
Rajesh Battala
c86d8e46e5
Add support of attaching nic's to the specified network labels in HyperV
2013-11-20 17:56:39 +05:30
Likitha Shetty
f15c997769
CLOUDSTACK-5069. Added global config 'vmware.vcenter.session.timeout' to make the vCenter session timeout value configurable.
2013-11-20 16:02:50 +05:30
Laszlo Hornyak
b2f06aae68
fix long cast to double
...
- the result of dividing long with long resulted in loss of precision both for network and IO
- unit tests included
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-11-09 09:04:05 +01:00
Edison Su
4815b024bf
Add quiesce vm for vmware during vm snapshot
2013-11-08 15:47:11 -08:00
Wei Zhou
4674ae4dd3
CLOUDSTACK-5076: fix wrong bridge name in vm domain xml desc after upgrade from 4.0 or before to 4.2
...
(cherry picked from commit 86976fb298 )
2013-11-08 15:40:14 +01:00
Devdeep Singh
39c201a593
Changes in hyperv agent to handle an add shared (SMB) storage pool
...
command. ModifyStoragePoolCommand was updated to map (net use) the share
and give an answer with the capacity details of the pool.
2013-11-08 16:34:38 +05:30
Wei Zhou
c2fc6e69b5
check Linux bridge status before remove it (Cherry-picked from commit a33f0e7bdd)
2013-11-08 09:00:12 +01:00
Rajesh Battala
63b23bb341
Fixed VmSync issues in HyperV.
2013-11-08 13:14:52 +05:30
Chris Suich
f826dfb918
Fixed bug with deleting VMWare VM Snapshots
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-11-07 14:29:35 -08:00
Chris Suich
d0123f9594
Added option to reload VM during in RevertToVMSnapshotCommand (only in VMWare as I don't believe that XenServer supports anything similar)
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-11-07 14:23:36 -08:00
ynojima
b864e677e5
CLOUDSTACK-5039 bugfix: live migration failure in KVM env.
...
Signed-off-by: ynojima <mail@ynojima.net>
2013-11-07 20:56:23 +05:30
Hugo Trippaers
ad0d7f882f
Fix CID 1127045 Dead local store
...
Fix CID 1127041,1127040, 1127039, 1127038, 1127037 String concatenation in loop
2013-11-07 14:40:14 +01:00
ynojima
494ccd821d
Bugfix: VR has double NICs connected to Public network
...
replace vlanid wih broadcast uri to support vxlan to identify whether id is VLAN ID or VNI
Signed-off-by: ynojima <mail@ynojima.net>
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-11-07 11:17:59 +01:00
Devdeep Singh
e77ab38543
Fixing the implementation for AttachCommand and DetachCommand in hyperv agent.
...
Also implemented RebootCommand for rebooting an instance on hyperv host.
2013-11-07 13:13:39 +05:30
Bharat Kumar
7095ea2b5e
CLOUDSTACK-4738 Dynamic compute offering.
...
Signed-off-by: Koushik Das <koushik@apache.org>
2013-11-07 12:41:20 +05:30
Likitha Shetty
f03dcdab19
[CLOUDSTACK-5051] Revert "CLOUDSTACK-3715. Socket timeout error is observed in VMware setup if a VMware task (RelocateVM_Task, CloneVM_Task etc.) takes more than 10 minutes. Making this value configurable to allow admins to modify the timeout if required. It defaults to the current value i.e. 10 minutes."
...
This reverts commit 3a91500173 .
Conflicts:
plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareSecondaryStorageContextFactory.java
2013-11-06 19:07:33 +05:30