Commit Graph

1009 Commits

Author SHA1 Message Date
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
Mihaela Stoica
9ca480a5cd CA-188017: When checking credentials on the Health Check dialog, display a better error message when the user is not authorised to connect to the server
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-09 22:34:32 +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
524d6eea8e CP-14647: Intermediate check-in #8
All tests now pass, via a combination of
a) Use more up to date databases
b) Delete obsolete tests
c) Edit the version number in the databases (these should be fixed later)
2015-11-08 11:28:06 +00:00
Stephen Turner
448ee7fa4e CP-14647: Intermediate check-in #6
Fix two warnings-as-errors, and update sample dbs to newer API
2015-11-08 11:28:03 +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
cf6534275e CP-14647: Intermediate check-in #2 2015-11-08 11:27:57 +00:00
Stephen Turner
b587ab832e CP-14647: Intermediate check-in #1 2015-11-08 11:27:56 +00:00
Stephen Turner
d9cd979a44 Merge pull request #734 from MihaelaStoica/CA-186234
CA-186234: Group the issues found in a pool when retrieving CIS analy…
2015-11-06 15:13:29 +00:00
Mihaela Stoica
0963f8ccd2 CA-186234: Group the issues found in a pool when retrieving CIS analysis results for a pool
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-06 15:01:31 +00:00
Stephen Turner
b134f57919 Merge pull request #733 from GaborApatiNagy/master_smb
CP-14778: Update CIFS -> SMB in XenCenter
2015-11-06 14:35:20 +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
Stephen Turner
15f46c0537 Merge pull request #731 from MihaelaStoica/CP-14649
CP-14649: Change the message for SR_ATTACHED_ON_SLAVE
2015-11-05 10:55:11 +00:00
Mihaela Stoica
b5651ff0e0 CP-14649: Change the message for SR_ATTACHED_ON_SLAVE
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-05 10:43:35 +00:00
Stephen Turner
9380134c9e Merge pull request #722 from MihaelaStoica/CP-14641
CP-14641: Add warnings on pool join if the pool and the joining host have different CPU features
2015-11-04 17:02:12 +00:00
Mihaela Stoica
40a634d324 CP-14641: Changes following code review
- vendor check is not needed in the functions where we check whether to warn the users about different feature levels, as the pool join is not allowed if the vendors are different
- renamed some of the functions
- feature comparison is now done eight characters at a time, converted into a 32-bit integer

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-04 16:33:23 +00:00
Stephen Turner
f0e673bd02 Merge pull request #730 from MihaelaStoica/CP-14642
CP-14642: Add friendly names for the new XenServer alerts
2015-11-04 13:39:26 +00:00
Mihaela Stoica
6a06645b92 CP-14642: Add friendly names for the new XenServer alerts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-04 12:18:20 +00:00
Gabor Apati-Nagy
b43efd4116 Merge pull request #726 from MihaelaStoica/CA-180576
CA-180576: Provide a option to give case number when uploading a repo…
2015-11-04 12:03:03 +00:00
Gabor Apati-Nagy
48876f0d1f Merge pull request #723 from MihaelaStoica/CP-14649
CP-14649 Add friendly names for new API errors
2015-11-04 12:02:51 +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
Mihaela Stoica
af7852c7a0 CA-180576: Provide a option to give case number when uploading a report from the Server Status Report wizard
- added Case Number edit box on the Destination page of the wizard
- valid case number needs to be 9 or less digits

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-03 15:48:14 +00:00
Mihaela Stoica
21a54f920e CP-14649 Add friendly names for new API errors
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-02 16:24:21 +00:00
Mihaela Stoica
366e6e4ec2 CP-14644: Check feature level on VM migration
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-02 15:55:52 +00:00
Mihaela Stoica
d650befbdc CP-14641: Add warnings on pool join if the pool and the joining host have different CPU features
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-30 15:52:24 +00:00
Mihaela Stoica
55a0939c93 CP-14641: Update model with the new API bindings containing new fields for CPU leveling
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-30 15:45:49 +00:00
Stephen Turner
c4c1f628b4 Merge pull request #719 from MihaelaStoica/CP-14085
CP-14085: Feature leveling not needed on pool-join
2015-10-28 14:03:15 +00:00
Mihaela Stoica
fe9f4cf555 CP-14085: Added Assert for CPU feature masking
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-28 14:02:29 +00:00
Mihaela Stoica
dfeb841e5a Merge pull request #709 from GaborApatiNagy/master_CP-12617
CP-12617: Port CP-12191 to trunk
2015-10-28 13:26:36 +00:00
Gabor Apati-Nagy
f5dd0ed9c1 CP-12617: Port CP-12191 to trunk:
Removed two entries from Messages.resx that are not needed

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-28 13:21:04 +00:00
Mihaela Stoica
0a6955d157 CP-14085: Feature leveling not needed on pool-join
Feature leveling should "just work" for Dundee and higher hosts, without the need for us to level them explicitly

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-23 12:08:19 +01:00
Stephen Turner
a1fac213d4 Merge pull request #712 from MihaelaStoica/CA-178235
CA-178235: Fix for Command TestMultipleSelectAddTag failing with timeout
2015-10-22 13:42:17 +01: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
dc986909fc CA-180128: Fix the tests after the changes to remove the task.other_config key
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-21 13:02:40 +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
a0662164e5 CA-178235: Fix for Command TestMultipleSelectAddTag failing with timeout
- added a lock for updating the eventList
- re-enabled the test

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-21 10:41:23 +01:00
Stephen Turner
79c59fa5fa Merge pull request #702 from MihaelaStoica/CA-179515
CA-179515: Move to online help
2015-10-20 16:52:52 +01:00
Mihaela Stoica
2d154cf8f7 CA-180128: Ignoring XmlRpcIllFormedXmlException in DoWithSessionRetry (when disruption is expected)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-20 11:02:01 +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
53e1153801 CA-180128: Ignoring more exceptions on the connection thread when disruption is expected
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-20 10:28:51 +01:00
Gabor Apati-Nagy
617ad06f1f CP-12617: Port CP-12191 to trunk
Add a XenCenter option to enable the old behaviour for the default search for servers

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 17:12:27 +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
Mihaela Stoica
5c80fcc4ea CA-180120: Changed the progress description displayed on the Upload page in the Patching wizard
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-15 14:15:10 +01:00
Mihaela Stoica
0d0cf47523 CA-179515: Move to online help
Launch online help instead of XenCenter.chm
2015-10-09 12:36:30 +01:00
Hui Zhang
50c2f588d7 CA-185063: Health Check Service: Filename is missed in CIS report.
Add status report filename in the CIS Upload URL.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-10-09 15:55:59 +08:00
Stephen Turner
cb9a66a64d CA-185020: Search by UUID 2015-10-07 17:19:44 +01:00
Mihaela Stoica
7783505de9 CA-180119: Update the friendly error name to make it clear that on hotfix application xs-tools iso needs to be ejected from all VMs in the pool
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-07 09:13:18 +01:00
Mihaela Stoica
607ff446a6 Merge pull request #696 from GaborApatiNagy/master_CA-184521
CA-184521: Fixed disk allocation-related calculations in New VM Wizard
2015-10-06 17:40:37 +01:00
Gabor Apati-Nagy
3abedfe3bd CA-184521: Removed unnecessary code
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-06 17:26:45 +01:00
Mihaela Stoica
1405ec29f4 CA-180128: Make RelatedTask property setter aware of ExpectDisruption flag
When the pool's ssl_legacy settings are changed, we may temporarily lose connection. The action generally copes well, because PollToCompletion is aware of the ExpectDisruption flag.
But when the action's RelatedTask is assigned, we perform more api calls, which may fail with WebException. When disruption is expected, we need to ignore it and try again on a new session (CancellingAction.DoWithSessionRetry).
2015-10-06 16:25:32 +01:00
Gabor Apati-Nagy
ef02590008 CA-184521: On the Storage page of New VM wizard, the SR selection is ignored
Fixed code after code review
2015-10-06 15:56:36 +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
Mihaela Stoica
6b212d58b4 CP-14048: Search for Virtualization Status
The links displayed in the search result for not optimized VMs are:
- "XenServer Tools not installed", for all pre-Dundee VMs and Dundee non-Windows VMs
- "I/O not optimized" and/or "Management Agent not installed",  for Dundee Windows VMs not fully optimized

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-29 17:15:06 +01:00
Mihaela Stoica
027cf460c8 CP-14048: Search for Virtualization Status
Changed the virtualization state values on the search to: Not optimized, Unknown, Out of date, I/O optimized only, Management Agent installed, Fully optimized ("Management agent installed" not included)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-29 15:41:19 +01:00
Gabor Apati-Nagy
659dd4778d Merge pull request #675 from MihaelaStoica/CP-13985
CP-13985: Add "Test credentials" button on the Health Check dialog
2015-09-29 14:48:56 +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
Gabor Apati-Nagy
3ef71a803b Merge pull request #681 from MihaelaStoica/CP-13770
CP-13770: Configure the alerts for SR physical utilisation in XenCenter
2015-09-23 14:33:23 +01:00
Mihaela Stoica
2bae0ddae9 CP-13770: Configure the alerts for SR physical utilisation in XenCenter - changes following code review
- change "utilisation" to "utilization"

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-23 14:26:11 +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
Gabor Apati-Nagy
0ac03285da Merge pull request #682 from MihaelaStoica/CP-13983
CP-13983: Fix the SR convert action
2015-09-23 12:36:05 +01:00
Gabor Apati-Nagy
ad80ced66d Merge pull request #673 from MihaelaStoica/CA-182884
Use the Enum functions for string-to-enum and enum-to-string conversions
2015-09-23 12:35:28 +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
Mihaela Stoica
0de5a2d310 CP-13983: Fix the SR convert action
- use SR.opaque_ref instead of uuid

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-22 11:05:39 +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
e36b674f0e CP-14240: Rename CIFS to SMB in the UI
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-21 11:11:57 +01:00
Mihaela Stoica
84372eb118 CP-13770: Configure the alerts for SR physical utilisation in XenCenter
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-21 00:04:46 +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
14e0330291 Merge pull request #676 from agimofcarmen/CA-179502
Removes the extra line in the Disk Space Allocation Message in the Ge…
2015-09-18 17:28:19 +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
Mihaela Stoica
7df999c532 Improved behavior of the SR picker in the New Disk dialog
- when the user changes the disk size (or initial allocation), the selection in the SR list should not change and the list should not be automatically resorted
- users should not be allowed to create disks larger than the SR size (the SR is disabled and an explicit reason is displayed)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-18 16:45:05 +01:00
Mihaela Stoica
f507b65126 CA-183321: Fixed the bug where the disk initial and incremental allocations values were ignored while creating new VM's disk
When creating a new VM, we no longer use vm.provision to create VM's disks, but instead we create the disks ourselves using vdi.create; this way we can specify the initial and incremental allocations for the new disks.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-18 15:51:17 +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
Carmen Agimof
34024a7427 Removes the extra line in the Disk Space Allocation Message in the General Tab.
Creates a new function MemorySizeStringSuitableUnits that takes one more parameter that specifies the units that must be used when the number of bytes is 0.
2015-09-17 13:24:21 +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
21a74d3d49 CP-13786: GetVirtualisationStatus: More fixes after code review
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-16 13:57:32 +01:00
Mihaela Stoica
3d6bed5f3f Merge pull request #674 from agimofcarmen/CA-181512
CA-181512: new RRDs xapi_open_fds, pool_task_count and pool_session_c…
2015-09-15 15:05:51 +01:00
Mihaela Stoica
2766a18987 Use the ToString() function directly for enum-to-string conversions
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-15 13:55:18 +01:00
Mihaela Stoica
4ed8c1c656 CP-13985: Add "Test credentials" button on the Health Check dialog
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-15 13:48:50 +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
Carmen Agimof
caa2c92f31 CA-181512: new RRDs xapi_open_fds, pool_task_count and pool_session_count are now hidden from the XenCenter graphs. 2015-09-14 12:09:39 +01:00
Gabor Apati-Nagy
bf8e2cfc77 Merge pull request #669 from agimofcarmen/CA-179502
CA-179502: Reviewed all use of MemorySizeStringMB and came to the con…
2015-09-11 12:20:40 +01:00
Mihaela Stoica
fc75ceb4ce Use the Enum functions for string-to-enum and enum-to-string conversions
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-11 11:55:51 +01:00
Mihaela Stoica
50176afc14 CA-182884: Fixed typo which caused the wrong severity icon to be displayed on the Health Check dialog
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-11 11:29:16 +01:00
Gabor Apati-Nagy
caf203da94 Merge pull request #668 from MihaelaStoica/CP-13149
CP-13149: Updated Policy statement for Health Check
2015-09-11 10:45:27 +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
Mihaela Stoica
23db625d15 Change the validity period of the diagnostic token to one year.
- This is temporary, until the API accepts max_age=0 (never expire)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-10 15:29:35 +01:00
Mihaela Stoica
38a1633acb CP-14047: Display alerts for SR physical utilisation in XenCenter
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-10 15:18:26 +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
e71c40a3ac Merge branch 'master' into CA-181208
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenAdmin/Dialogs/HealthCheck/HealthCheckOverviewDialog.cs
2015-09-09 13:26:53 +01:00
Carmen Agimof
cd4281ffab Merge pull request #651 from MihaelaStoica/CP-13077
CP-13077: Changes to the Health Check feature to work properly with RBAC
2015-09-09 13:16:15 +01:00
Mihaela Stoica
815e67c4d3 Change some wording on the Health Check Overview page
- change "request an upload now" to "request an additional upload now"

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-09 09:41:11 +01:00
Mihaela Stoica
8026d0ee55 CA-181208: Display the status of last failed upload in the Health Check overview dialog
- If an upload is marked as failed, then display it in the UI (but only as long as there is no successful upload done after that)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-09 09:39:45 +01:00
Mihaela Stoica
fb8a6665a6 Merge pull request #664 from agimofcarmen/CP-13984
CP-13984: Changes the wording on Convert SR dialog (replace upgrade with convert).
2015-09-08 15:35:36 +01:00
Carmen Agimof
0dd8fa7f05 CP-13984: Changes the wording on Convert SR dialog (replace upgrade with convert). 2015-09-08 15:32:47 +01:00
Mihaela Stoica
a4d94226a3 Merge pull request #659 from agimofcarmen/CA-181440
CA-181440: Adds text that explains the bounds of the incremental allo…
2015-09-08 15:20:49 +01:00
Carmen Agimof
2a8a80b5fd CA-181445: Changes message and page title on the Upload Page in the Updates Wizard. If we are actually downloading an update, then the message will mention that. Otherwise, it will only mention the upload. 2015-09-08 15:04:50 +01:00
Mihaela Stoica
b13e72c14f Merge pull request #662 from agimofcarmen/CA-181442
CA-181442: Removes unused variable.
2015-09-08 14:57:06 +01:00
Carmen Agimof
e04203a5a3 Removes unused variable. 2015-09-08 13:58:13 +01:00
Mihaela Stoica
d7fa39bb75 Merge pull request #655 from agimofcarmen/CA-181442
CA 181442: Cancelling the wizard while upload is in progress does not cause an unhandled exception anymore.
2015-09-08 12:05:30 +01:00
Carmen Agimof
1bb0fadb48 CA-181440: Changes design of the message about the limits in the Thin Provisioning Parameters Control. 2015-09-08 11:37:02 +01:00
Mihaela Stoica
62bc632f02 CP-13074: Update the URLs used for retrieving the analysis results 2015-09-07 17:58:53 +01:00
Carmen Agimof
78c80a7887 CA-181440: Adds text that explains the bounds of the incremental allocation in the Thin Provisioning Parameters Control. 2015-09-07 17:45:57 +01:00
Carmen Agimof
22b3450dcd CA-181442: Make the list that contained all NewUploadedPatches a Dictionary that matches the patch with its path. This is helpful when trying to upload to a server where the update it is already uploaded (and therefore we do not do the upload again and we cannot get the patch).
Adds a flag in the UploadPatchAction that is used when checking if the file should be deleted on cancel.
2015-09-07 12:18:01 +01:00
Carmen Agimof
05884ea9be CA-181442: Cancelling the wizard while upload is in progress does not cause an unhandled exception anymore. 2015-09-04 17:18:26 +01:00
Carmen Agimof
9b0f478952 CA-181390: Solved issue related to taking a file from disk that is not in the list of updates taken from the Citrix website. Created a dictionary that contains all the uploaded updates(the patch path) and on which hosts they were applied.
- Not applied updates do not appear anymore in the General Tab of a pool. (Related to CA-180577)
- If we apply a patch that was already applied (happens when we take a file from disk that is not in the updates list taken from the Citrix website -> no metadata), on cancel we are now removing the uploaded patch from the host.
2015-09-04 17:09:22 +01:00
Mihaela Stoica
53b01c425c CP-13077: Changes to the Health Check feature to work properly with RBAC
Changed all the health check actions to perform the necessary role checks
- HealthCheckAuthenticationAction: changed so it does not save the tokens, so no role checks required in this action (all the checks are performed in SaveHealthCheckSettingsAction)
- GetHealthCheckAnalysisActions: added role checks

On the Health Check Overview dialog, a pool is displayed as read-only if connected as a user with roles that don't permit changing the health check settings:
- the following actions are not available: enroll, edit settings, disable health check, request upload, get analysis result
2015-09-03 11:49:53 +01:00
Carmen Agimof
31924f9888 CA-181316: Sort by description is now working correctly. 2015-09-02 18:21:10 +01:00
Carmen Agimof
549067f2d0 CP - Refactors Provisioning page in SR wizards to use the new control for allocations.
Adds tab indexing to the control for allocation and changes label names.
Corrects mistake that led to exception being thrown when the Disk Size is decreased in the the New Disk Dialog.
2015-08-28 16:44:22 +01:00
Gabor Apati-Nagy
40478b5eca Merge pull request #642 from MihaelaStoica/CP-13149
CP-13149: Policy statement link to the right web page
2015-08-27 14:06:11 +01:00
Gabor Apati-Nagy
402994a7a1 Merge pull request #638 from MihaelaStoica/CP-12156_2
CP-12156: Obtain and display the result of the CIS analysis of the last uploaded report
2015-08-27 14:04:17 +01:00
Gabor Apati-Nagy
19d9d1589c CP-13100: XenCenter: Convert a thickly provisoned LVM-based SR to a thinly provisioned SR
Some checks following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-08-27 13:50:56 +01:00
Mihaela Stoica
15e5c94289 CP-13149: Policy statement link to the right web page
- currently linking to CIS general data collection and privacy page

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-27 13:50:35 +01:00
Mihaela Stoica
a29f1ac6f1 CP-12156: Added default value for the analysis report link (domain name)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-27 13:37:00 +01:00
Gabor Apati-Nagy
3e7fb8115b Revert "CP-13100: XenAPI-Extensions: Adding minimum initial allocation and minimum allocation quantum skeletons"
This reverts commit 8586724c8a.
2015-08-27 12:16:07 +01:00
Mihaela Stoica
e38c707ffb CP-12156: Removed unused variable
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-27 01:04:56 +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
44e18df03d CP-12156: Obtain and display the result of the CIS analysis of the last uploaded report
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-27 00:30:02 +01:00
Gabor Apati-Nagy
77beffacf9 Merge remote-tracking branch 'github_xenadmin/master' into CP-13100
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

Conflicts:
	XenAdmin/TabPages/GeneralTabPage.cs
2015-08-26 17:58:38 +01:00
Gabor Apati-Nagy
cb90872c6c CP-13100: XenCenter: Convert a thickly provisoned LVM-based SR to a thinly provisioned SR
Added new functionality (using percentages yet)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-08-26 17:54:03 +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
Mihaela Stoica
bfb471fe64 Merge pull request #632 from huizh/CP-13848
CP-13848: XenCenter transfers proxy settings to HealthCheckService.
2015-08-26 10:15:12 +01:00
Gabor Apati-Nagy
106c16f988 CP-13100: XenCenter: Convert a thickly provisoned LVM-based SR to a thinly provisioned SR
Upgrading XenAPI for LVHD
2015-08-25 19:01:15 +01:00
Gabor Apati-Nagy
934bceed5d Refactored AllocationBounds struct in Helpers 2015-08-25 15:51:58 +01:00
Carmen Agimof
f96379a3b9 CP:13174: Changes the default value for the SR quantum allocation to be the maximum of the minimum value and SR size / 10 000 for the cases when the latter is smaller than the minimum. 2015-08-25 15:17:14 +01:00
Carmen Agimof
1bb49737b2 CP-13174: Creates helper functions in the Helpers class that calculate the limits and the default values of the Initial and Incremental allocation NumericUpDowns(SR and VDI levels). Creates a struct that holds the values of the min, max and default value. 2015-08-25 14:50:41 +01:00
Gabor Apati-Nagy
8586724c8a CP-13100: XenAPI-Extensions: Adding minimum initial allocation and minimum allocation quantum skeletons 2015-08-25 13:37:07 +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
4b073c0bc3 Renamed and merged some constants in HealthCheckSettings class
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-21 15:21:47 +01: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
Carmen Agimof
5acaeb4ac1 CP-13667: [Thin-LVHD] XenCenter shall show the allocation_quantum and initial_allocation in General Tab. 2015-08-21 14:16:40 +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
Stephen Turner
854e178968 Merge pull request #629 from MihaelaStoica/CP-13074
CP-13074: Finalize the CIS domain names and product key used for retr…
2015-08-20 17:11:48 +01:00
Mihaela Stoica
cb35725dd7 CP-13074: Finalize the CIS domain names and product key used for retrieving the authentication tokens and upload
- change the URLs to the production site
- for development and testing these settings should be changed to the staging site via registry keys

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-20 16:59:58 +01:00
Mihaela Stoica
854acff73d Text corrections in the Health Check dialogs
- no “the” is needed in front of “Citrix Insight Services”  (e.g. “…authenticate with Citrix Insight Services…” and not “…authenticate with the Citrix Insight Services…”)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-20 13:49:13 +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
Stephen Turner
bc68d6bda4 Merge pull request #621 from GaborApatiNagy/master_CP-13708
CP-13708: FriendlyErrorName for VBD_XENPREP_CD_IN_USE
2015-08-19 11:53:40 +01:00
Gabor Apati-Nagy
3907ef3b6f Merge pull request #620 from MihaelaStoica/master
Re-enable Health Check: Revert "Merge pull request #614 from GaborApa…
2015-08-19 10:46:13 +01:00
Gabor Apati-Nagy
9a39dcafb1 CP-13708: FriendlyErrorName for VBD_XENPREP_CD_IN_USE 2015-08-19 10:44:41 +01:00
Mihaela Stoica
f68be9d466 Merge pull request #616 from huizh/CP-13072
CP-13072: HealthCheckService: Use proxy for bundle upload.
2015-08-19 10:07:13 +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
59a432ff40 CP-13374: Remove unused variable 2015-08-19 09:21:47 +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
Stephen Turner
227ee84da7 CP-13374 XenCenter can now turn on and off ssl-legacy.
The main functionality is working, but the ExpectDisruption flag isn't fully working yet.
2015-08-18 09:35:55 +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
ca9305c83f CP-13287: Update XenModel with the latest bindings containing XenAPI field VGPU_type.experimental
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-08-17 14:47:01 +01:00
Hui Zhang
aef05ab064 CP-13072: HealthCheckService: Use proxy for bundle upload.
Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-08-17 15:54:19 +08:00
Stephen Turner
60c1a84e42 Merge pull request #615 from GaborApatiNagy/master_CP_12431
CP-12431: PV drivers onto Windows update: Show virtualisation status in XenCenter
2015-08-14 15:56:43 +01:00
Gabor Apati-Nagy
4cc98be845 CP-12431: PV drivers onto Windows update: Show virtualisation status in XenCenter
Changes following the code review
2015-08-14 14:25:49 +01:00
Gabor Apati-Nagy
f6ccfd121a Updating XenModel/XenAPI with the latest SDKs from trunk #103769
code review: "We do want to see changes in the Pool.current_operations."
2015-08-14 14:09:07 +01:00
Gabor Apati-Nagy
eaa4c1a93a CP-12431: PV drivers onto Windows update: Show virtualisation status in XenCenter 2015-08-13 17:44:32 +01:00
Gabor Apati-Nagy
51198013ad Updating XenModel/XenAPI with the latest SDKs from trunk #103769
Fixing problems with FriendlyErrorNames in Visual Studio 2013

Adding missing files
2015-08-13 17:44:07 +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
Gabor Apati-Nagy
3371f85952 Updating XenModel/XenAPI with the latest SDKs from trunk #103769
Step 2
2015-08-11 19:06:58 +01:00
Gabor Apati-Nagy
c7c19f0759 Updating XenModel/XenAPI with the latest SDKs from trunk #103769
Note: Not updated HTTP.cs where sslStream.AuthenticateAsClient() is called. (That has to be dealt with separately - as it was manually edited.)
2015-08-11 16:57:42 +01:00
Cheng Zhang
3f2e8a51da CA-179369: Change CIS default setting
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-08-11 16:09:45 +08:00
Stephen Turner
3e38b34437 CA-178981: Make the HTTP API work through XenCenter for TLS 1.2 servers 2015-08-06 16:39:39 +01:00
Stephen Turner
03b5464b26 Merge pull request #601 from GaborApatiNagy/GaborApatiNagy-patch-1
CA-173695: Reclaim freed space is failing with "Index and length must…
2015-08-05 13:42:53 +01:00
Gabor Apati-Nagy
6193bbae3a CA-173695: Reclaim freed space is failing with "Index and length must refer to a location with in the string" for AD users
Fixing warning as an error build problem
2015-08-05 13:16:22 +01:00
Stephen Turner
bf8e74f8f5 Merge pull request #600 from GaborApatiNagy/master_CA-173695
CA-173695: Reclaim freed space is failing with "Index and length must refer to a location with in the string" for AD users
2015-08-05 12:22:19 +01:00
Stephen Turner
cdfc665458 Merge pull request #596 from GaborApatiNagy/master_CA-177058
CA-177058: [SCTX-2146] VM Power Admin could not create VMs - RBAC issues with XS 6.5
2015-08-05 12:21:27 +01:00
Gabor Apati-Nagy
d246555e23 CA-173695: Reclaim freed space is failing with "Index and length must refer to a location with in the string" for AD users
This change fixes the mock so that it returns "True" for all the host_call_plugin>trim calls
2015-08-05 11:35:50 +01:00
Gabor Apati-Nagy
f6b632d0b6 Merge pull request #593 from agimofcarmen/CA-178243
CA-178243: When only Automatic check for XenServer updates was checke…
2015-08-04 17:30:22 +01:00
Carmen Agimof
c8e5138031 CA-178243: Refactors code, simplifying it. Now we only keep one list in DownloadUpdatesXmlAction for XenServerVersions and added a property that returns the list with the versions if Automatic check for XS version is checked and a new list which is empty when is not checked. 2015-08-04 17:28:29 +01:00
Gabor Apati-Nagy
191820abf4 CA-177058: [SCTX-2146] VM Power Admin could not create VMs - RBAC issues with XS 6.5 2015-08-04 11:25:59 +01:00
Carmen Agimof
9de57d38c2 CA-178243: When only Automatic check for XenServer updates was checked in Updates Options, when opening XC, the grid appeared empty in the Updates Tab. This was because to get the list of XS updates, we need the list of XS versions. Created a list of XenServer versions that is used only to get the XenServer updates. 2015-08-03 15:06:01 +01:00
Mihaela Stoica
8264dcaba0 Merge pull request #589 from agimofcarmen/CP-13518_II
Cp 13518 ii
2015-07-31 14:51:04 +01:00
Stephen Turner
09c495552f CP-13389: Convert all projects to .NET 4.5. (All changes autogenerated except for one case of broken XML in XenOvfApi/app.config). 2015-07-30 12:40:59 +01:00
Mihaela Stoica
f6c477eb67 Merge remote-tracking branch 'hui/CA-178338' into CP-13073 2015-07-30 10:31:38 +01:00
Hui Zhang
d6ff10654d CA-178338: XenServerHealthCheckService: bundle uploading update.
1. Add logs to track the uploading process.
2. Catch the potential exception.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-07-30 17:02:48 +08:00
Carmen Agimof
ceca902b9f Changes dialog text that appears on the screen when the Dismiss All/Dismiss Selected button is clicked. 2015-07-29 17:52:46 +01:00
Carmen Agimof
aef3bef6b6 CP-13031: Make Updates Tab clearer if automatic check-for-updates is disabled. 2015-07-29 11:34:39 +01:00
Mihaela Stoica
61b5821e4f CP-13073: Rename files (Call Home to Health Check)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-29 09:12:46 +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
Gabor Apati-Nagy
ecb048b9ee Merge pull request #572 from MihaelaStoica/CP-13120
CP-13120: User-friendly errors when Health Check authorization fails
2015-07-28 16:14:28 +01:00
Gabor Apati-Nagy
521901c668 Merge pull request #562 from MihaelaStoica/CP-13083
CP-13083 and CP-13081: Add "Show this ..." checkbox and opt-out option to the Health Check dialog
2015-07-28 15:49:33 +01:00
Mihaela Stoica
f4bbcca1a9 CP-13103: Update terminology displayed in the UI for thin provisioning
- Thick provisioning - > Fully provisioned
- Subsequent allocations -> Incremental allocations

Also, updated the Next button on the Location page of HBA SR, to say "Next" for Dundee or greater and "Create" for pre-Dundee pools.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-28 09:23:07 +01:00
Mihaela Stoica
bfa5db8b40 Merge pull request #574 from GaborApatiNagy/master_CA-173497
CA-173497: Thin provisioning: Repair of SR of thin-provisioning on SR hang without return
2015-07-27 13:12:10 +01:00
Gabor Apati-Nagy
b9abdc4b1a CP-12640: Create alert when logs partition is full
Adding code for "log_fs_alert"
2015-07-24 16:03:27 +01:00
Gabor Apati-Nagy
50797b5805 CA-173497: Thin provisioning: Repair of SR of thin-provisioning on SR hang without return
-When detaching an SR, we detach the slaves first
-When reattaching the SR, we attach the master first

This fix was required by thin provisioning, but it does worth to use the same logic regardless of the provisioning method.
2015-07-24 14:48:09 +01:00
Mihaela Stoica
a07ba0e8cc CP-13081: Add opt-out button to the Health Check Overview dialog
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-24 14:20:18 +01:00
Mihaela Stoica
b22331fb68 CP-13120: User-friendly errors when Health Check authorization fails 2015-07-24 09:01:04 +01:00
Mihaela Stoica
64aba9cbfd Merge pull request #569 from agimofcarmen/CP-13026
CP-13026: Provide Dismiss option on the Updates Tab.
2015-07-23 13:48:52 +01:00
Carmen Agimof
b1a2b49559 CP-13026: Changes code style and removes commented out code. 2015-07-23 13:48:30 +01:00
Carmen Agimof
f79199752a CP-13026: Provide Dismiss option on the Updates Tab. 2015-07-23 11:48:14 +01:00
Gabor Apati-Nagy
292dce47ad Merge pull request #550 from MihaelaStoica/CP-12679
CP-12679: Upload the report from the Server Status Report wizard
2015-07-23 11:40:10 +01:00
Mihaela Stoica
85e5308e51 Merge pull request #561 from agimofcarmen/CP-13040
Cp 13040
2015-07-21 11:42:24 +01:00
Gabor Apati-Nagy
aef08eb8ab CP-13101: XenCenter: Display provisioning method for existing SRs (thin / thick) 2015-07-20 20:40:28 +01:00
Mihaela Stoica
f727af1c51 CP-12679: Upload the report from the Server Status Report wizard
- added the upload action, called after the report is successfully saved on disk.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-20 15:15:51 +01:00
Mihaela Stoica
96f9b9c6ac CP-12679: Upload the report from the Server Status Report wizard
- make pre product key (used for authentication) configurable via registry entries

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-20 15:15:45 +01:00
Mihaela Stoica
df8ac2ce74 CP-12679: Upload the report from the Server Status Report wizard
- moved XenServerHealthCheckUpload.cs to XenModel

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-20 15:15:42 +01:00
Carmen Agimof
4c93dbe92e CP-13245: Check if the update is applicable to the servers on the Select Servers Page.
CA-157785: Hotfix wizard forgets which servers should be greyed out.
When clicking Download and Install update in the Updates Tab, instead of opening a new dialog, it opens the Updates Wizard on the Select Servers Page and download the file in the Upload Page.
Fixes issue regarding the upload of the update every time that the user gets to Upload Page. Now it only uploads it if it has not been uploaded before.
Fixes issue regarding the download of the update every time the user goes back to the Select Patch Page. If the user goes back, but does not change the choice of the update, the download will not be done again.
2015-07-20 14:28:44 +01:00
Mihaela Stoica
f262692693 Rename Health Check service name to "XenServerHealthCheck" 2015-07-17 16:05:15 +01:00
Mihaela Stoica
b4c8dec24e CA-176799: Change the description for HVM on VM's general tab
New text:
- Virtualization mode: Paravirtualization (PV)
- Virtualization mode: Hardware-assisted Virtualization (HVM)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-16 11:01:17 +01:00
Mihaela Stoica
77bd9188ef Merge pull request #548 from cheng--zhang/CA-149851
CA-149851: Show hyphen if used memory have negative value
2015-07-15 09:26:13 +01:00
Mihaela Stoica
9e28b75f20 Merge pull request #547 from stephen-turner/CA-166091
CA-166091 Correct sort order for vGPU types
2015-07-15 09:25:36 +01:00
Cheng Zhang
1720b8788d CA-149851: Show hyphen if used memory have negative value
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-15 15:48:30 +08:00
Cheng Zhang
09d0245082 CP-12769: Send credential only when HealthCheckService is running.
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-15 13:49:23 +08:00
Stephen Turner
eed38cc613 CA-166091 Correct sort order for vGPU types 2015-07-14 17:29:53 +01:00
Mihaela Stoica
25b63f0161 Merge pull request #541 from stephen-turner/CP-12966
CP-12966 GPU drop-down to behave correctly when there is one vGPU typ…
2015-07-14 10:08:10 +01:00
Mihaela Stoica
26ee98c5c9 Merge branch 'CP-13039' of https://github.com/agimofcarmen/xenadmin into agimofcarmen-CP-13039
Conflicts:
	XenModel/Messages.Designer.cs
2015-07-14 10:00:11 +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
Gabor Apati-Nagy
c9a505deb0 Merge pull request #538 from MihaelaStoica/master
Revert "Temporarily disable Health Check feature for all hosts"
2015-07-13 09:48:20 +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
Mihaela Stoica
8679858177 Added copyright/license headers
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-10 13:36:26 +01:00
Carmen Agimof
ed05a16346 CP-13037 Adds the web page column.
No functionality is added to the link yet.
2015-07-09 16:59:14 +01:00
Stephen Turner
c2d55caed8 Merge pull request #534 from MihaelaStoica/CP-12510
CP-12510: Update the error message displayed when a VM cannot migrate…
2015-07-09 11:42:40 +01:00
Mihaela Stoica
5b240e7149 CP-12510: Update the error message displayed when a VM cannot migrate to a host with a different hardware platform version.
- Changed the friendly error name for VM_HOST_INCOMPATIBLE_VIRTUAL_HARDWARE_PLATFORM_VERSION to "The VM's Virtual Hardware Platform version is incompatible with this host."

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-09 10:15:50 +01:00
Carmen Agimof
fa61ff27c7 CP-13041 : Remove the hotfix after installing it.
Signed-off-by: Carmen Agimof <Carmen.Agimof@citrix.com>
2015-07-08 17:35:50 +01:00
Mihaela Stoica
14119bc008 CP-12160: Changes following code review
- added CallHomeSettings.TryParseStringToDateTime() function, which does not throw an exception if the conversion fails

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-07 15:32:14 +01:00
Mihaela Stoica
d366c57f55 CP-12890: Allow user to specify XenServer credentials to use for Health Check
- added new fields to the Health Check Settings dialog (XenServer credentials)
- these credentials are saved as xapi secrets, and on un-enroll they are being removed
- removed the Authenticate button; the authentication is now done on pressing the OK button
- the Health Check Settings dialog is displayed on "Enroll now" and "Edit Health Check settings"
- display the "Last Successful Upload" on the Health Check Overview dialog
- use uniform format when converting time to string and string to time

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-06 17:02:55 +01:00
Cheng Zhang
c0585f0681 CP-12769: Using uniform format of time to string and string to time
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-02 17:54:00 +08:00
Hui Zhang
384b033305 CP-12160: XenServerHealthCheck: upload server status report to CIS.
When an upload request is triggered,
1. fetch the upload token from CallHomeSettings,
2. generate the server status report and upload it to CIS server,
3. update the corresponding fields of CallHomeSettings when the
   upload is finished successfully or failed.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-07-01 19:22:32 +08:00
Cheng Zhang
a0431e5cb9 CP-12770: rework comments
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-01 19:12:43 +08:00
Cheng Zhang
50817a5746 CP-12769: Add timeout for pipe client connecting
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-01 18:19:44 +08:00
Cheng Zhang
324c249285 CP-12769: Send server connection details to the Health Check Service
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-01 11:53:56 +08:00
Gabor Apati-Nagy
43fb63d522 Merge pull request #521 from MihaelaStoica/CP-12164
CA-12164: Server Status Report wizard: Add option to upload the serve…
2015-06-30 15:45:47 +01:00
Mihaela Stoica
9c13c7e4b9 CA-12164: Server Status Report wizard: Add option to upload the server status report to CIS
In the CallHomeAuthenticationAction.SetUploadTokenSecret() check if the tokenKey is null (public static, may be reused later).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-30 12:04:24 +01:00
Gabor Apati-Nagy
bebd1583ca Merge pull request #514 from MihaelaStoica/CP-12164
CA-12164: Server Status Report wizard: Add option to upload the serve…
2015-06-30 11:58:50 +01:00
Gabor Apati-Nagy
f0ccf1eb8d Merge pull request #509 from MihaelaStoica/CP-12165
CP-12165: Add the option to upload a Health Check report to CIS on demand
2015-06-30 11:25:08 +01:00
Mihaela Stoica
4788e0d673 CP-12165: Add the option to upload a Health Check report to CIS on demand
- When "Request upload now" is clicked, instead of disabling it, change the link to an unclickable text saying "Upload requested at....".

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-30 10:04:16 +01:00
Gabor Apati-Nagy
768072b333 CP-12314: Updated FCoE blurb
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-29 17:19:09 +01:00
Mihaela Stoica
f026384f37 CP-12314: FCoE in the SR wizard
- show new NIC column on the Location page (visible for FCoE only)
- display the summary page
- resource strings for default SR name and the blurb on the first page in the wizard

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-29 14:44:35 +01:00
Gabor Apati-Nagy
3402ca03d8 CP-12314: CAR-576 XC: New SR type for FCoE
Added 'path' for FCoE device config
2015-06-29 14:44:32 +01:00
Mihaela Stoica
551d7657ca CP-12314: Add New SR type for FCoE in the SR wizard
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-29 14:44:29 +01:00
Mihaela Stoica
d4f41660b8 Merge pull request #505 from GaborApatiNagy/master_CP-12641
CP-12641 and CP-12475: XenCenter work for thin provisioning
2015-06-29 14:08:16 +01:00
Mihaela Stoica
93371ed8c8 Temporarily disable Health Check feature for all hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-26 11:40:36 +01:00
Mihaela Stoica
926d69d132 CP-12154: Check whether the Health Check feature is available before displaying the overview dialog when connecting to a host
- also the "Health Check" menu item will only be enabled if the feature is available

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-26 10:56:58 +01:00
Mihaela Stoica
f0e7f5328f CA-12164: Server Status Report wizard: Add option to upload the server status report to CIS
- add the option on the destination page of the wizard
- for authentication purposes, MyCitrix credentials are required.
- these credentials are only used to obtain an upload token that will be used for the upload.
- the upload token expires in 24 hours and is not saved in the xapi database.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-25 23:51:11 +01:00
Gabor Apati-Nagy
37330629b8 CP-12475: XenCenter work for thin provisioning: Add Virtual Disk dialog: new fields
Created SR.IsThinProvisioned property
2015-06-25 13:42:08 +01:00
Mihaela Stoica
25c0a061b6 CP-12777: FCoE status in NICs tab
- Added "FCoE Capable" column, showing FCoE capability as Yes/No values in the NICs grid
- This column is only visible for Dundee or higher hosts

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-25 12:17:49 +01:00
Mihaela Stoica
223aad8920 CP-12777: Update the api bindings for FCoE
- update XenModel with the api bindings containing xapi fields and methods related to fcoe

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-25 10:38:12 +01:00
Gabor Apati-Nagy
dbc9aba046 Merge pull request #504 from MihaelaStoica/CP-12626
CP-12626: Use health_check_config field for Call Home enrollment settings
2015-06-24 14:41:41 +01:00
Gabor Apati-Nagy
fc0542066e CP-12641 and CP-12475: XenCenter work for thin provisioning
-Changed code, because API needs 0-100 percent values as 0..1
-Code for HBA SRs
-Changed free space check for new VDIs to condider initial disk size only
when the SR is thin provisioned

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-23 19:26:27 +01:00
Mihaela Stoica
f4ace5e9f2 CP-12510: Update the error message displayed when a VM cannot migrate to a host with a different hardware platform version.
- Changed the friendly error name for VM_HOST_INCOMPATIBLE_VIRTUAL_HARDWARE_PLATFORM_VERSION to "The VM is incompatible with the Virtual Hardware Platform version of this host."

(This commit also includes changes to the auto-generated designer file, which have been missed n a previous commit)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-23 17:34:36 +01:00
Mihaela Stoica
6056ce32d1 CP-12165: Add the option to upload a Health Check report to CIS on demand
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-19 15:01:48 +01:00
Cheng Zhang
9c7865b270 CP-12627: Use new xapi field health_check_config for Call Home
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-06-18 15:32:56 +08:00
Gabor Apati-Nagy
306a8b0acb CP-12641 and CP-12475: XenCenter work for thin provisioning
-New SR wizard: new page
-Add Virtual Disk dialog: new fields

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-17 09:59:21 +01:00
Mihaela Stoica
0cd0b5f0d7 CP-12626: Use health_check_config field for Call Home enrollment settings
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-16 14:47:33 +01:00
Mihaela Stoica
e3a360f375 CP-12626: Use health_check_config field for Call Home enrollment settings
- update XenModel with the api bindings containing xapi fields and methods related to this task

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-16 10:08:41 +01:00
Gabor Apati-Nagy
64409fded6 CP-11985: Implement RPU pre-check phase for safe repartitioning
edited Messages.resx

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-15 17:47:36 +01:00
Mihaela Stoica
9ffaab370c Merge pull request #498 from cheng--zhang/CP-12158-new
CP-12624: Upload a CallHome report to CIS on demand
2015-06-11 15:17:03 +03:00
Mihaela Stoica
cc2d6ce2fd Merge pull request #500 from GaborApatiNagy/master_CA-172444
CA-172444: Consistency should be followed for behavior of all buttons in same page
2015-06-10 18:06:54 +03:00