Devdeep Singh
cdf2a1161b
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:21:14 +05:30
Rajesh Battala
ea09c0435f
CLOUDSTACK-5193 [Hyper-V] VHDs not deleted post VM destroy and expunge
2013-12-27 14:59:57 +05:30
Rajesh Battala
31969e993e
CLOUDSTACK-5595 add vlan to storage nic to vnic for ssvm
2013-12-27 14:59:31 +05:30
Rajesh Battala
3f59780e91
CLOUDSTACK-5584 fix the issue to configure the systemvm's in hyperv consistently
2013-12-27 14:58:56 +05:30
Rajesh Battala
67d1a88880
CLOUDSTACK-5603 support Monitoring VR services when VR running on Hyper-V
2013-12-27 14:55:16 +05:30
Rajesh Battala
84bf5b3e55
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-27 14:43:25 +05:30
Devdeep Singh
1a033eddae
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:32:41 +05:30
Devdeep Singh
38d6c2ea60
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:23:48 +05:30
Devdeep Singh
216554d574
CLOUDSTACK-5210: Fix the sockets reported by the hyperv agent.
2013-12-23 13:25:22 +05:30
Devdeep Singh
74cb4b1c5a
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:12:59 +05:30
Devdeep Singh
3604f87c8d
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 16:28:08 +05:30
Devdeep Singh
759d484d9a
CLOUDSTACK-5489: Query the user name and add it to the command while mounting a cifs share.
2013-12-17 14:19:32 +05:30
Devdeep Singh
86dadaaec4
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:32:34 +05:30
Devdeep Singh
db2b8d9b0d
CLOUDSTACK-5311: Fix the host version reported by the hyper-v agent. Also updated the hypervisor
...
capabilities for hyper-v.
2013-12-13 10:28:17 +05:30
Alex Huang
be5e5cc641
All Checkstyle problems corrected
2013-12-12 12:26:07 -08:00
Donal Lafferty
ffd1a078d4
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:56:37 +05:30
Devdeep Singh
bdbc5f2ae3
CLOUDSTACK-5473: Fixed the name with which the hyper-v agent gets
...
installed as a service.
2013-12-12 14:56:29 +05:30
Devdeep Singh
78b39bbe12
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:42:36 +05:30
Devdeep Singh
2b1d997728
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:50:13 +05:30
Anshul Gangwar
1f67ebc297
Fix nuget package path error.
2013-12-09 13:23:20 +05:30
Anshul Gangwar
462e6d91c1
Fix the directory path of where the nuget packages get downloaded.
2013-12-09 11:10:51 +05:30
Rajesh Battala
0b16a45ceb
Modified savepassword.sh path in Hyperv Resource according to the new template
2013-12-05 11:45:54 +05:30
Alena Prokharchyk
bd6f706b72
CLOUDSTACK-5261: added support for Alert publishing via ROOT Admin API
...
Conflicts:
engine/orchestration/src/com/cloud/agent/manager/AgentManagerImpl.java
engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
engine/storage/image/src/org/apache/cloudstack/storage/image/TemplateServiceImpl.java
engine/storage/volume/src/org/apache/cloudstack/storage/datastore/provider/DefaultHostListener.java
engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/discoverer/HypervServerDiscoverer.java
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/VmwareServerDiscoverer.java
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/discoverer/XcpServerDiscoverer.java
server/src/com/cloud/alert/AlertManagerImpl.java
server/src/com/cloud/alert/ConsoleProxyAlertAdapter.java
server/src/com/cloud/alert/SecondaryStorageVmAlertAdapter.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/ha/HighAvailabilityManagerExtImpl.java
server/src/com/cloud/ha/HighAvailabilityManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/resourcelimit/ResourceLimitManagerImpl.java
server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
usage/src/com/cloud/usage/UsageAlertManagerImpl.java
usage/src/com/cloud/usage/UsageManagerImpl.java
listAlerts: introduced new parameter "name" to the alertResponse
Conflicts:
api/src/org/apache/cloudstack/api/command/admin/resource/ListAlertsCmd.java
server/src/com/cloud/alert/AlertManagerImpl.java
usage/src/com/cloud/usage/UsageAlertManagerImpl.java
Added new Admin API - generateAlert. Available to ROOT admin only
Conflicts:
api/src/org/apache/cloudstack/alert/AlertService.java
api/src/org/apache/cloudstack/api/BaseCmd.java
usage/src/com/cloud/usage/UsageAlertManagerImpl.java
listAlerts: implemented search by alert name
Conflicts:
api/src/org/apache/cloudstack/alert/AlertService.java
api/src/org/apache/cloudstack/api/command/admin/resource/ListAlertsCmd.java
engine/schema/src/com/cloud/alert/AlertVO.java
2013-12-04 10:05:46 -08:00
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
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
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
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
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
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
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
Rajesh Battala
63b23bb341
Fixed VmSync issues in HyperV.
2013-11-08 13:14:52 +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
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
Edison Su
2613c0a821
git config files were missing the ASF license
2013-11-05 15:40:45 -08:00
Devdeep Singh
a196fbc836
Application context files so that hyperv guru and discoverer can be loaded. Also made changes
...
to hyperv pom.xml to make sure the resources are picked up at build time.
2013-11-04 18:48:54 +05:30
Devdeep Singh
d14592fe93
Make sure only unit tests are run during build time and not functional tests.
...
Fixing rebase issues after integrating with wmi v2 implementation.
Removing the executable attribute from some files.
Remove the unused wmi v1 interface file.
Unit test for DestroyCommand implementation in hyperv agent.
Fixed VM state changes w.r.t wmi version 2 changes
If a VM is already running, deploy virtual machine shouldn't fail and throw an exception.
Don't run vhd-util on templates which are present on CIFS. Hyperv uses cifs as secondary storage
Add a SCSI controller by default. This is needed so that data volumes can be added/removed
on a running vm.
Remove the hard coded path in the agent code.
Rat fixes for hyper agent. Added the missing headers in files where it was missing.
2013-11-04 18:48:54 +05:30
Donal Lafferty
1601498bd7
Changes for switching all wmi calls to V2 namespace. V1 namespace is deprecated so it is better
...
to be on v2 namespace.
2013-11-04 18:48:54 +05:30
Devdeep Singh
36b8b357e6
Changes to attach the system vm iso when booting the virtual router - part 1.
...
Copy the iso to the secondary storage and let the hypervisor agent know of its
location during setup. The agent will copy it over once it handles the setup
command.
Changes for attaching the systemvm iso to virtual router will booting it -
part 2. The agent copies over the systemvm iso during setup. When a
virtual router is being booted it attaches the iso to it.
Hyperv unit tests for the agent. Unit tests are written using NSubstitute and XUnit and
they test the create, stop and start commands in the agent.
Fix to make sure the hyperv agent and the funcitonal tests are working after the unit tests update.
Fixing the warnings while running unit tests for hyper agent.
Added a new switch for functional tests.
Update the unit test to create a fake vhd file on the fly and run the test. The file is removed when the test completes.
Fix for functional tests. The test was failing to build on java 1.6.
Fix to bring up SSVM and Console Proxy systemvms
Fix to discover the seeded template to bring up the systemvm's for the first startup and fixed UNC path isues
Fixed the UNC path for copying the files from CIFS, and from seeded template
Fixed the issues for ssvm and cpvm to wait until it gets configured and then return the status. Made checksum method to return true.
Fixed HypervDirectConnect resource to figure out the status of systemvms, Need to fix this issue by connecting to public/control ip instead of local ip
checksum is failing for the copied system vm images, currently bypassing.
2013-11-04 18:48:54 +05:30