Commit Graph

175 Commits

Author SHA1 Message Date
Gabor Apati-Nagy
570e98406e CP-15034: UI: Search: show new search & filter (Windows Update capability)
Added Windows Update capability related search functionality
2015-12-17 11:05:22 +00:00
Gabor Apati-Nagy
03308f0f40 CP-14874: Enable XC SSH support for (more) Linux VMs
VM.IsWindows flag is getting clever

As this property is used on the General tab and on the SSH Console, HVM Linux VMs with the viridian flag turned on will no longer be treated as Windows VMs (as long as they have the Linux Guest Agent running)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-08 14:57:24 +00:00
Gabor Apati-Nagy
6bcae1c984 CP-14874: Enable XC SSH support for Netscaler VPX
Implemented special case for VM.IsWindows flag

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-12-08 14:12:11 +00:00
Stephen Turner
ac71c2c454 CA-190904: Remove obsolete SR.upgrade and SR.share menu items 2015-11-30 11:53:54 +00:00
Stephen Turner
8dcc90dd30 Merge pull request #744 from GaborApatiNagy/CA-188554
CA-188554: XenCenter Error Uncaught exception System.NullReferenceException
2015-11-25 13:53:20 +00:00
Gabor Apati-Nagy
2e8e7afb7e CA-188554: XenCenter Error Uncaught exception System.NullReferenceException
Fixed the exception that was caused by a missing null reference check and also the fact that the license status had to be watched only for pools and hosts, so added a check before starting watching the license status of the IXenObject (on GeneralTabPage)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-23 14:35:20 +00:00
Mihaela Stoica
3c956f28ac CP-14780: Revert Windows Update changes (part2)
Revert "Merge pull request #708 from GaborApatiNagy/master_windows_update"

This reverts commit fe03f1382f, reversing
changes made to 423065a2c8.

Conflicts:
	XenAdminTests/TabsAndMenus/MainMenuGeorge.cs
2015-11-10 13:13:23 +00:00
Stephen Turner
f2f590e3e7 CP-14647: More changes after read-through, including getting rid of OEM edition 2015-11-08 16:31:48 +00:00
Stephen Turner
8ea7e73b55 CP-14647: Intermediate check-in #5
This should cover everything except updating the tests to use more recent
servers.
2015-11-08 11:28:02 +00:00
Stephen Turner
ce609e31ff CP-14647: Intermediate check-in #4 2015-11-08 11:28:01 +00:00
Stephen Turner
c667e51fd2 CP-14647: Intermediate check-in #3 2015-11-08 11:27:59 +00:00
Stephen Turner
b587ab832e CP-14647: Intermediate check-in #1 2015-11-08 11:27:56 +00:00
Gabor Apati-Nagy
c459211f80 CP-14778: Update CIFS -> SMB in XenCenter
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-06 14:31:52 +00:00
Gabor Apati-Nagy
5f5930faf4 CP-14470: UI: Implement to show Management Agent not installed if not Upgraded (when no or older management agent is present)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-04 10:44:28 +00:00
Stephen Turner
e877faf32b Merge pull request #704 from MihaelaStoica/CA-184563
CA-184563: Do not show Provisioning method for SRs other than iSCSI and LVM
2015-10-21 17:36:38 +01:00
Mihaela Stoica
64668de9ae CA-184563: Removed SR.Provisioning function and the SrProvisioning enum, as they are not used
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-21 10:49:33 +01:00
Mihaela Stoica
7c2bddd532 CA-180128: Remove the task.other_config key before adding it
- the remove is needed here because now we are doing these calls in DoWithSessionRetry, and sometimes even though a WebException is thrown, the key is added to the other_config and a then a retry fails
2015-10-20 10:42:49 +01:00
Mihaela Stoica
fe03f1382f Merge pull request #708 from GaborApatiNagy/master_windows_update
Upgrade VMs
2015-10-19 16:29:52 +01:00
Gabor Apati-Nagy
7b7bcb0aa5 CP-14379, CP-14461, CP-14462, CP-14463, CP-14464, CP-14465, CP-14467:
Implementing Upgrading VMs to Windows Update

New screen features:
-Create skeleton of the Upgrade VM dialog
-Implement a Go To Console link (just a link that opens a vm console)
-Implement logic to show the right status for a VM (includes rules to
get the states). Includes updating the dialog whenever the status changes.
-Add status texts to Messages, proper text on the UI
-Add stub methods to VM class in XenAPI-Extensions to r/w states from
Guest Agent
-UI: Implement rules what vms to display, checkbox rules, read only vms,
and when to enable the Upgrade button
-Implement Upgrade button (writes state for GA, mounts ISO) + maximum
parallel executions/actions

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-16 12:47:00 +01:00
Gabor Apati-Nagy
80f855b981 CA-184521: On the Storage page of New VM wizard, the SR selection is ignored
Fixed issues where total initial allocation for an SR was not calculated correctly. Also some minor improvements.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-06 14:04:36 +01:00
Stephen Turner
d7c911fd54 CP-12776: Increase VM memory to 1TB in anticipation of increased limit in CAR-1874 2015-09-25 17:05:02 +01:00
Carmen Agimof
e44c7b20e2 Merge pull request #679 from MihaelaStoica/CA-183321
CA-183321 and more thin-lvhd-related fixes
2015-09-23 14:19:12 +01:00
Stephen Turner
0bf66a113c Merge pull request #666 from GaborApatiNagy/master_CP-13786-4
CP-13786: PV drivers onto Windows update: Check all uses of GetVirtualisationStatus
2015-09-23 11:51:19 +01:00
Gabor Apati-Nagy
3eb796d13e CP-13786: GetVirtualisationStatus
Moving GetVirtualisationWarningMessages back to VM
Also added EVACUATE_HOST_INSTALL_MGMNT_PROMPT what is shown on the EvacuateHostDialog when a 'new' VM is given and Management Agent can be installed

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-21 16:59:43 +01:00
Gabor Apati-Nagy
acbc21597a CP-13786: GetVirtualisationStatus
More small fixes

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-21 16:09:12 +01:00
Mihaela Stoica
46ac1981eb Improvements to the Storage page of New VM Wizard
- If the new disks cannot be created because their total initial size is greater than the SR free space, then an error icon (with tooltip) is displayed and Next button is disabled.
- If the total size of the new disks is greater than the SR free space, but the disks can still be created (because the initial allocation is smaller), then a warning icon (with tooltip) is displayed and Next button is enabled.
- The tooltip mentions the initial space required for thinly provisioned SRs (initial allocation).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-20 23:57:58 +01:00
Mihaela Stoica
13d933ec22 Display overcommitted percentage for thinly provisioned SRs
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-18 16:57:31 +01:00
Gabor Apati-Nagy
f4cd9bd97c CP-13786: GetVirtualisationStatus: Refactoring, bugfixes
Removed PV_DRIVERS_NOT_INSTALLED=0 from the VirtualisationStatus [Flags]enum - 0 will mean the same (to avoid bugs with enum.HasFlag(0) is always true)
Extracted common code to VMLifeCycleCommand.GetCantExecuteNoToolsOrDriversReasonCore() method (instead of defining overridden GetCantExecuteReasonCore() method at this level, because not all child classes need this...)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-18 15:48:59 +01:00
Gabor Apati-Nagy
a3ab8f6ad4 CP-13786: GetVirtualisationStatus: Refactoring
extracted common code

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-16 18:33:12 +01:00
Gabor Apati-Nagy
cb861b0c2a CP-13786: GetVirtualisationStatus: Refactoring
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-16 18:22:16 +01:00
Gabor Apati-Nagy
371f6bdb00 CP-13786: VM.VirtualisationStatus: Changes following the code review
Removed Optimized state and using I/O & Management instead (even for old VMs)
Changed messages to be different for old and new VMs instead of saying Tools or I/O drivers for instance
Removed the extra enum property from the VM class that had been added for search
Fixed code in GroupingTypes class (possible KeyNotFoundException)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-14 17:08:23 +01:00
Gabor Apati-Nagy
f98e22936f CP-13786: GetVirtualisationStatus: Some changes after rubber duck debugging
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-10 16:28:44 +01:00
Carmen Agimof
4fadf796ad CA-179502: Reviewed all use of MemorySizeStringMB and came to the conclusion that all its usages must be replaced with MemorySizeStringSuitableUnits. 2015-09-10 14:36:46 +01:00
Gabor Apati-Nagy
463d3e79df CP-13786: PV drivers onto Windows update: Check all uses of GetVirtualisationStatus
Extended the enum, aimed for minimal changes, also using Flags on the enum now

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-09 13:56:44 +01:00
Mihaela Stoica
2eba1c705f Merge remote-tracking branch 'upstream/master' into CP-12156_2
Conflicts:
	XenModel/XenAPI-Extensions/Pool.cs
	XenModel/XenModel.csproj
2015-08-27 01:03:58 +01:00
Mihaela Stoica
6af97b2edb Merge pull request #636 from agimofcarmen/CP-13174
CP-13174: Change units used for initial_allocation and allocation_qua…
2015-08-26 17:21:00 +01:00
Carmen Agimof
06b7b66357 CP-13174: Change units used for initial_allocation and allocation_quantum to MB or GB instead of percentages.
Changes allocation type from "dynamic" to "xlvhd".
2015-08-26 17:14:01 +01:00
Hui Zhang
0761aa5be2 CP-13848: XenCenter transfers proxy settings to HealthCheckService.
Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-08-25 20:32:58 +08:00
Mihaela Stoica
ff64416407 Move HealthCheckSettings class to a separate file
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-21 15:19:24 +01:00
Mihaela Stoica
0a3deaf526 Merge pull request #624 from agimofcarmen/CA-147944_II
CA-147944: Use GB for VM Memory if large values
2015-08-20 17:17:12 +01:00
Carmen Agimof
4da67c0590 CA-147944: Use GB for VM Memory if large values
- Memory Tab uses GB units for values greater or equal to 1 GB, otherwise show in MB;
- Search Tab displays values in GB or MB in the same as the Memory Tab (e.g. 512 MB of 1 GB, 256 MB of 512 MB, 2.5 GB of 16 GB).
- The shiny bar present in the Memory Tab and in Memory Settings dialog shows the scaling in the following way: If smaller than 1 GB, then show as before, else show only labels with values multiples of half a GB.
- The units used in Memory Setting Dialog are set depending on the static_max. If it is greater or equal to 1 GB, then the units are GB, else MB. The user does not have the possibility of changing them.
2015-08-20 12:41:39 +01:00
Gabor Apati-Nagy
b123bf8dda Merge pull request #619 from stephen-turner/CP-13374
CP-13374 XenCenter can now turn on and off ssl-legacy
2015-08-19 17:31:42 +01:00
Mihaela Stoica
93610007b7 Re-enable Health Check: Revert "Merge pull request #614 from GaborApatiNagy/master_disable_health_check"
This reverts commit dba1d3e60e, reversing
changes made to 731f968a8e.
2015-08-19 10:04:13 +01:00
Stephen Turner
df182d05c0 CP-13374 XenCenter can now turn on and off ssl-legacy: last check-in was incomplete. 2015-08-19 08:53:15 +01:00
Mihaela Stoica
0edd2e05f9 CP-13165: Make quiescing into a licensed feature
- Add code to check license before offering quiescing on the VM Snapshot dialog
- If the feature is not available, the message displayed is: "This feature is disabled due to license restrictions on the server."

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-17 17:32:22 +01:00
Mihaela Stoica
228a996d99 Temporarily disable Health Check feature for all hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-13 13:58:18 +01:00
Mihaela Stoica
a9be9846ff CP-13073: Rename Call Home to Health Check in code
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-29 08:44:41 +01:00
Stephen Turner
eed38cc613 CA-166091 Correct sort order for vGPU types 2015-07-14 17:29:53 +01:00
Stephen Turner
8646a1ca3a CP-12966 GPU drop-down to behave correctly when there is one vGPU type and no passthrough 2015-07-13 16:27:18 +01:00
Mihaela Stoica
9c28e31661 Revert "Temporarily disable Health Check feature for all hosts"
This reverts commit 93371ed8c8.
2015-07-13 09:41:55 +01:00