Devdeep Singh
13740ac135
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 20:36:49 +05:30
Donal Lafferty
3f8741a4ec
Changes for fixing the hyperv agent build on windows using mono.
2013-12-04 12:21:36 +05:30
Devdeep Singh
d26b9ac00e
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-04 10:31:02 +05:30
Devdeep Singh
5a96307fbf
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-04 10:29:36 +05:30
Anshul Gangwar
cc86599c4d
adding missing license headers for cs files
2013-12-03 15:53:39 +05:30
Anthony Xu
5a062e155c
put shell scripts to a seperate directory in XS
...
use same scripts for both XS and XCP
2013-12-03 02:05:34 -08:00
Anshul Gangwar
30db5d648b
code to install and uninstall agent as windows service
2013-12-03 12:17:56 +05:30
Rajesh Battala
1d3a4f4645
Fixed issues on HyperV Agent code for shared network VR issues
2013-12-03 12:17:32 +05:30
Rajesh Battala
4d187192b3
Fix VM stats collections in HyperV
2013-12-03 12:16:53 +05:30
Rajesh Battala
875e1ea281
Added contextMap data to all the command responses in HyperV
2013-12-03 12:14:56 +05:30
Wei Zhou
d473d5a36a
CLOUDSTACK-5293: get vm disk statistics only from DISK (not for ISO/FLOPPY)
2013-11-28 10:47:51 +01:00
Devdeep Singh
c781e3b668
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:04:16 +05:30
Wei Zhou
2145505d30
CLOUDSTACK-5280: fix issue in getBroadcastUriFromBridge
...
(cherry picked from commit 96842475d9 )
Conflicts:
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
2013-11-26 23:37:39 +01:00
Anthony Xu
84be2ab3be
CLOUDSTACK-4913: Don't enable ebtables/iptables for non-security group zone
2013-11-25 16:06:48 -08:00
Alex Huang
433a631916
Reformat of source code to set a stable base for the future. I couldn't get checkstyle enabled. There's still about a thousand errors from checkstyle. Most of it from length errors from comments and strings. Will attempt to remove those tonight. This change is so large I just want to get it in before any merge nightmares. The changes are fairly minor though and I did a full compile and start a server with the reformat code.
2013-11-21 07:56:47 -08:00
Hugo Trippaers
cf715ff491
Bump 4.3.0 to 4.4.0 in master
2013-11-21 16:01:15 +01:00
Alex Huang
d620df2bdd
Reformatted all of the code.
2013-11-21 06:15:26 -08:00
Alex Huang
eaa250fd3c
Formatted again after all the tab expansions and eol removals
2013-11-21 04:47:01 -08:00
Alex Huang
224f479974
Removed trailing spaces
2013-11-21 04:08:01 -08:00
Alex Huang
e4b22d0fca
Replace all tabs, particularly the ones in the comments
2013-11-21 03:39:58 -08:00
Rajesh Battala
8c6840e489
Modified GetExternalVirtSwitch to take the switchname param and return the same or default one
2013-11-21 14:36:47 +05:30
Rajesh Battala
4f1821bf3a
Add support of attaching nic's to the specified network labels in HyperV
2013-11-21 11:55:17 +05:30
Likitha Shetty
273c912bb6
CLOUDSTACK-1868. GetVmStatsCommand throws NullPointerException with VMWare.
2013-11-21 09:39:44 +05:30
Edison Su
2d42b2d1ab
Add logs in case ipassoccmd failed
2013-11-20 15:07:02 -08:00
Wido den Hollander
1edaa36cc6
CLOUDSTACK-1302: Allow a cache mode per disk offering
...
Per disk offering the setting none, writeback or writethrough can be set
This allows for both safety and performance for writes.
2013-11-20 17:11:10 +01:00
Alex Huang
8d62744681
Reformat all source code. Added checkstyle to check the source code
2013-11-20 07:26:53 -08:00
Likitha Shetty
90fb76a72c
CLOUDSTACK-5069. Added global config 'vmware.vcenter.session.timeout' to make the vCenter session timeout value configurable.
2013-11-20 16:12:22 +05:30
Anthony Xu
9c739ef93d
Revert "Revert "XS host free memory might change, if user manually changes dom0 memory,""
...
This reverts commit 74153e4a79 .
2013-11-14 11:58:55 -08:00
Anthony Xu
74153e4a79
Revert "XS host free memory might change, if user manually changes dom0 memory,"
...
This reverts commit a1d09ae16f .
2013-11-13 15:38:42 -08:00
Anthony Xu
a1d09ae16f
XS host free memory might change, if user manually changes dom0 memory,
...
this patch makes CS update latest XS host free memory on host connect process.
2013-11-13 10:59:36 -08:00
Kelven Yang
fc9adec72e
CLOUDSTACK-669: Add host level side-by-side VM state report for graceful sync model migration
2013-11-12 18:32:51 -08:00
Prasanna Santhanam
951336c3e4
CLOUDSTACK-5124: Adopt GetDomRVersionAnswer to VR upgradability
...
While VRs upgrade, cloudstack should still be able to work with older
/newer version of the scripts within VRs. To allow this, the simulator
needs to send the version strings for the domr version response or the
VR start is interrupted.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-11-11 13:49:55 +05:30
Likitha Shetty
a35425eec6
CLOUDSTACK-5122. System VMs are getting recreated with old template after upgrading to 4.2.
...
In VMware during VM start the existing disk information is used to configure the VMs. So even if a new disk is created using the new template VM continues to use the old disk.
Once the old root disk is marked for destroy force expunge it and sync the new disk into the VM folder before VM start
2013-11-10 23:31:56 +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
Jayapal
88170f9a79
CLOUDSTACK-4736 Monitoring service kvm vmware resource changes
2013-11-06 18:37:43 +05:30
Edison Su
2613c0a821
git config files were missing the ASF license
2013-11-05 15:40:45 -08:00
Jayapal
b464a20a52
CLOUDSTACK-4736: Monitoring services in VR
2013-11-05 23:39:33 +05:30