Commit Graph

1333 Commits

Author SHA1 Message Date
Mihaela Stoica
3b121c48a3 CA-184560: Fix the issue when the RPU wizard cannot check the host version after reboot
In the RPU wizard, after we notice that the host has been rebooted we try to resolve the host from cache, but sometimes the cache is not populated at that point.
Then, because we cannot resolve the host, we cannot check the host version and we assume is a newer version (which might not be true).
This commit adds a call to retry to resolve the host (with timeout).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-21 16:53:24 +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
Stephen Turner
f36c30362f Merge pull request #710 from GaborApatiNagy/master_windows_update
CP-14573: UI: Improvements on Upgrade VM UI
2015-10-19 18:06:22 +01:00
Gabor Apati-Nagy
ecdadf7798 CP-14573: UI: Improvements on Upgrade VM UI
Fixed build - warning as error errors...

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 17:59:52 +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
fdfbe1daa0 CP-14573: UI: Improvements on Upgrade VM UI
Removed unneeded code following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 16:28:27 +01:00
Gabor Apati-Nagy
f264fffe0c CP-14573: UI: Improvements on Upgrade VM UI
Fixed the checkbox logic - selected state is now preserved on search or update/refresh. All rows (that can be selected) are selected by default.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 14:23:54 +01:00
Gabor Apati-Nagy
a73a91c1a7 CP-14573: UI: Improvements on Upgrade VM UI
Fixed when to enable the Command, the screen uses the connection (works for standalone hosts)
Using CollectionChanged instead of BatchCollectionChanged
Removed unnecessary Invoke
Removed values from the VmUpgradeState enum

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 12:13:26 +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
81761c33b0 CA-179515: Move to online help: remove .chm files
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-09 13:27:00 +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
Mihaela Stoica
d1fb03f0a1 CA-179515: Move to online help: sort HelpManager.resx
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-08 13:39:28 +01:00
Stephen Turner
cb9a66a64d CA-185020: Search by UUID 2015-10-07 17:19:44 +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
Mihaela Stoica
b756c353f3 Merge pull request #694 from GaborApatiNagy/master_CA-173102
CA-173102: Validation issues with address field in connection proxy settings
2015-10-06 15:52:48 +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
Gabor Apati-Nagy
4d3064c733 CA-184521: On the Storage page of New VM wizard, the SR selection is ignored
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-02 18:14:00 +01:00
Gabor Apati-Nagy
92bde85d25 CA-173102: Validation issues with address field in connection proxy settings
Improved validation for the proxy address

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-02 13:13:01 +01:00
Gabor Apati-Nagy
db9730b1d9 Merge pull request #691 from MihaelaStoica/CA-183959
CA-183959: Storage page of New VM wizard should not display over-comm…
2015-10-01 13:42:03 +01:00
Mihaela Stoica
8ab4c45779 CA-183959: Storage page of New VM wizard should not display over-committed warning for thin lvhd SRs
- removed unneeded code, as the item.OverCommit is set to None at the beginning of the function

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-01 13:39:32 +01:00
Gabor Apati-Nagy
7e9429c82c Merge pull request #690 from MihaelaStoica/CP-14048
CP-14048: Search for Virtualization Status
2015-10-01 13:29:20 +01:00
Stephen Turner
7ae0a4115d Merge pull request #693 from agimofcarmen/CA-184544
CA-184544: Change wording in SR Convert Dialog.
2015-09-30 18:00:27 +01:00
Carmen Agimof
8415fbd2b9 CA-184544: Change wording in SR Convert Dialog. 2015-09-30 17:16:04 +01:00
Carmen Agimof
20899036fe CA-184303: Adds condition so that the "Allow XenCenter to delete update installation files" checkbox would be hidden if the any of the selected servers is older than 6.1. 2015-09-30 12:57:08 +01:00
Mihaela Stoica
e0ebcc77d5 CA-183959: Storage page of New VM wizard should not display over-committed warning for thin lvhd SRs
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-30 10:29:03 +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
Stephen Turner
d28e97093c Merge pull request #683 from MihaelaStoica/hide_convert_sr
Revert "Temporarily hide "Convert SR""
2015-09-29 14:58: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
Mihaela Stoica
260e36ec4e Revert "Temporarily hide "Convert SR""
This reverts commit 127b60871c.
2015-09-29 14:44:13 +01:00
Hui Zhang
254b98048d CA-134554: Re-enable WLB Disk Read/Write configuration since WLB VPX is ready
Revert commit 32c945e104 which was used to
"Hide Disk Read/Write configuration until the backend server side is
ready."
2015-09-28 14:01:48 +08:00
Mihaela Stoica
2038a708aa CA-183816: Updated RPU hotfixes in XenCenter
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-25 12:47:39 +01:00
Mihaela Stoica
12895f7774 CP-13985: "Test Credentails" button on Health Check dialog - changes following code review
- Button enabled only when "New XS credentials" radio button is ticked and username and password textboxes are not empty
- Button and the textboxes are disabled while the test is in progress
- When test credentials fails, log userName, not UserDisplayName

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-23 15:07:05 +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
Mihaela Stoica
c48c28968d Improvements to the Storage page of New VM Wizard - changes following code review
- renamed srSpace and srInitialSpace variables
- removed unnecessary checks for thin provisioned sr
- fixed some error on NewDiskDialog.SMConfig property (smconfig was wrongly populated based on controls enablement; the conversion to long was made before converting to bytes

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-23 14:15:40 +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
438b8446c3 CP-13786: GetVirtualisationStatus: Removed unused method from Column class
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-22 21:43:06 +01:00
Gabor Apati-Nagy
ff4da8b45e CP-14248: VM General Tab: fixing context menu on the Install Management agent link 2015-09-22 17:19:03 +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
687df9179e Hide the allocation fields in the New disk dialog if the SR is not thin lvhd
Also fixed the anchoring of the controls on this dialog.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-18 16:25:57 +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