Michael Z
123c649197
CP-28614: Rebranding to Citrix Hypervisor, connect to legacy XenServer hosts.
2018-07-19 16:12:55 +01:00
Michael Z
1513a789ca
CP-28614: Rebranding to Citrix Hypervisor, auto-replacement.
2018-07-19 16:12:55 +01:00
vetrivelc
8ef1764c84
L10N: Translation Updates & CA-293780
2018-07-19 11:05:16 +01:00
Michael
8c4727d67b
CP-28787: Change some "XenServer" to neutral references. ( #2142 )
...
* CP-28787: Change some XenServer to neutral references.
Signed-off-by: Michael Zhao <fengyang.zhao@citrix.com>
2018-07-19 10:50:49 +01:00
Konstantina Chremmou
d639708781
CA-293863: Do not update the done and in-progress actions on the worker thread.
...
Also, do not log error every time the output panel is updated.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-16 11:50:42 +01:00
Mihaela Stoica
a2aa002aae
Update the PoolHasGFS2SR class to inherit from HostPostLivenessCheck
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-13 13:23:01 +01:00
Mihaela Stoica
9accb3c69f
Merge branch 'master' into REQ-672
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
# Conflicts:
# XenAdmin/Wizards/RollingUpgradeWizard/RollingUpgradeWizardPrecheckPage.cs
# XenAdmin/XenAdmin.csproj
2018-07-13 13:14:36 +01:00
Konstantina Chremmou
b0f9d41381
Changed the description of the actions saving properties of XenObjects to express
...
explicitly what the actions do. The previous description "updating" could be
confusing when seen out of context amidst other actions on the events page,
because updating also refers to server patching.
2018-07-13 12:39:33 +01:00
Konstantina Chremmou
a55d9d3edd
CA-293764: Do not suppress history for the actions applying hotfixes because
...
if they fail the user has no indication an error occurred.
Also, simplified the logging and error handling within the action body: failures
are logged anyway by the base class, so no special handling is necessary.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-13 12:39:33 +01:00
Konstantina Chremmou
9157db94ac
CA-293764: Added new property XenObject to the Checks, which returns the Pool
...
or Host accordingly. Extended comparison of Problems to also take account of
the XenObject the Check was performed on, otherwise the Problems get mixed
up when there are homonymous members across pools.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-13 12:39:33 +01:00
serenc
0bec35629a
CA-293337: Pass device-config from probe to PBD.create
...
Signed-off-by: serenc <seren.corbett@citrix.com>
2018-07-12 14:57:14 +01:00
Mihaela Stoica
15aee105f0
CA-293669:Code optimisation
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-12 14:45:23 +01:00
Mihaela Stoica
f09683be7c
CA-293669: Block the installation of an old-format patch if the pool is partially upgraded and the master is Ely or greater
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-12 14:45:23 +01:00
Mihaela Stoica
6e468da70a
CA-293669: In the Updates tab, show the required updates for the slaves in a partiallly upgraded pool, even when the master's version cannot be found in the c-f-u
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-12 14:45:23 +01:00
Ji Jiang
6e2720cbc4
CA-292377: Show warning if no cluster network found
...
1) When create/delete bond, inconsistent cluster network may occur. Show
warning in this case.
2) Refactor UI on cluster network edit page.
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-07-12 14:40:46 +01:00
Konstantina Chremmou
542cf63428
Improved the RBAC message on the Patching wizard to provide more info on the
...
minimum required role. Do not deselect a pool on the RPU wizard if it fails
the RBAC check; let the user decide either to reconnect with more privileges
or deselect it.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-12 13:36:27 +01:00
Mihaela Stoica
5e9f6d84f9
CP-28712: Add new message and friendly names ( #2132 )
...
CP-28712: Add new message and friendly names
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-12 10:39:16 +01:00
Mihaela Stoica
12dc85f830
CA-293687: Remove redundant check
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-11 12:59:52 +01:00
Mihaela Stoica
eeb671d960
CA-293687: After a host has been upgraded, perform a check for updates before calculating the minimal patches
...
(to ensure that XC has the latest c-f-u data, as it's possible that the user hasn't configured XenCenter to automatically check for updates)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-11 12:59:52 +01:00
Mihaela Stoica
f59c6a4815
In the RPU wizard, run the HA and automated updates license checks on SelectedMasters, to ensure that they are run even if the master does not need to be upgraded or updated
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-11 12:59:52 +01:00
Mihaela Stoica
046c4e1c7b
CA-293682: In the RPU wizard, only check the batch hotfix license restriction for Dundee or greater hosts
...
... because pre-Dundee hosts dont't have this license flag, but they might have it after the upgrade.
Also added a bit more logging in the function that generates the update plan actions
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-11 12:59:52 +01:00
serencorbett1
63d09dd117
CP-28431: Block updates/upgrades from Kolkata if clustering enabled ( #2124 )
...
* CP-28431: Block updates and upgrades from Kolkata onwards if clustering enabled
* CP-28431: Rename files and change from Pool Check to [Host] Check
* CP-28431: Change description message
Signed-off-by: Seren Corbett <seren.corbett@citrix.com>
2018-07-09 10:59:09 +01:00
Konstantina Chremmou
624a228715
Corrected the logic deciding whether a supplemental pack is applicable on a host.
...
(This looks like a better fix for CA-236547 too).
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-08 22:43:21 +01:00
Konstantina Chremmou
c11b692958
CA-293158: Reworked the logic enabling/disabling and selecting servers depending
...
on the update mode, so that the right set of hosts is passed on to the prechecks
page for partially upgraded pools that are to be updated to a new version with
hotfixes. Also, corrected code that was mixing the logic of changing the enabled
state of a row with the checked state.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-08 22:43:21 +01:00
Konstantina Chremmou
91563ebd54
No need to catch and rethrow exception as it's logged anyway; a couple of more optimisations.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-08 22:43:21 +01:00
Konstantina Chremmou
0aa43018a4
Removed ManualModeSelected property in favour of the existing ManualUpgrade; moved the latter in the class using it.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-08 22:43:21 +01:00
Konstantina Chremmou
8851139a11
Reverted the AutomatedUpdatedLicenseCheck to derive from HostPostLivenessCheck or
...
the liveness warning is not issued if the pool is disconnected. HAOffCheck tidy up.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-08 22:43:21 +01:00
Ji Jiang
3c2463040a
CA-293322: Fix blocked unclustered network setting change
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-07-08 22:15:42 +01:00
Alexander Schulz
66e4382d3b
Snapshot view: Treeview as default (like in the past)
...
https://github.com/xcp-ng/xenadmin/issues/62
2018-07-08 01:37:15 +01:00
Mihaela Stoica
a511124b82
CA-293311: RPU wizard: Only check the maintenance mode on hosts that need to be upgraded (and check host liveness on the hosts where we will only apply updates)
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-06 16:03:28 +01:00
Mihaela Stoica
1ac88b7cec
CA-293311: RPU wizard: In a partially upgraded pool, apply the hotfixes on the upgraded hosts before upgrading the remaining slaves
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-06 16:03:28 +01:00
Mihaela Stoica
7c1484d6c7
CA-293099: If the update that we are trying to apply is already applied, then show that in the wizard.
...
Also sort Messages.resx and call ReplaceProgressStep instead of AddProgressStep in the DownloadPatchPlanAction class (when the download is skipped)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-04 16:08:22 +01:00
Konstantina Chremmou
b08e91a470
Do not create a new background worker every time the checks are refreshed; queue
...
a new check on the existing one instead. Moved the background worker to the designer
of the class.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-04 12:09:37 +01:00
Konstantina Chremmou
c2ae0a6069
Placed the CFU availability and the automated updates licence checks under the same group as requested per code review.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-04 12:09:37 +01:00
Konstantina Chremmou
69c9d942ff
CA-293328: SafeToUpgradeCheck was not checking for liveness first; now this
...
is enforced on all host post-liveness checks.
Added missing description to SafeToUpgradeCheck.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-04 12:09:37 +01:00
Konstantina Chremmou
63e4ced7fe
Run the CFU availability check together with the check for the automated updates licence.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-04 12:09:37 +01:00
Jisheng Xing
076c9dfb96
declare VMs with SR-IOV VFs as non-agile
...
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-07-04 12:03:03 +01:00
Mihaela Stoica
167c5132a3
CA-293099: When installing updates in the automated updates mode (including new version and RPU), ignore the UPDATE_ALREADY_APPLIED errors and allow the process to continue witth the remaining actions.
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-03 11:09:14 +01:00
Konstantina Chremmou
54e341c315
Added some null safety checks.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-02 17:37:52 +01:00
Konstantina Chremmou
80aef805bf
CA-293046: If a host has been updated and eventually rebooted, toolstack does not need to be restarted.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-02 17:37:52 +01:00
Konstantina Chremmou
6b2a9c3944
CA-293153: Moved the logic calculating the resolved precheck actions to be
...
reverted to the new class UpdateUpgradeWizard which serves as base for the
Patching and the RPU wizards. Pass the list of resolved problems to the
automated updates page and not the actions, so as to prevent premature (i.e.
on creation as opposed to on start) addition to the global list shown on
the Events page.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-02 17:37:52 +01:00
Konstantina Chremmou
5728a84e33
Renamed method UnwindChanges to CreateUnwindChangesAction to avoid cofusion, because the method only creates the action and does not run it.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-02 17:37:52 +01:00
Konstantina Chremmou
8ff639bfe9
Reset the background workers list when the page is loaded, but not when it's cancelled. Dispose of them when the page is disposed.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-02 17:37:52 +01:00
Konstantina Chremmou
3107c111f0
CA-293153: The logic calculating the resolved precheck actions to be reverted
...
is now in one place, namely the PatchingWizard_PrecheckPage.UnwindChangesActions.
The pages following this page use now this list instead of the problems
encountered, so we ensure that the update/upgrade plans do not include the
unwind action if no resolution of problems took place on the prechecks page.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-02 17:37:52 +01:00
Konstantina Chremmou
741bfaa864
CA-293092: Enhanced the logic of the SuccessfulDescription in the defining
...
class so the caller won't have to worry about it.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-02 17:37:52 +01:00
Konstantina Chremmou
7ea811e942
Renamed method SolveImmediately to GetSolutionAction because the old name was misleading: the method creates the action, it doesn't run it.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-02 17:37:52 +01:00
Konstantina Chremmou
dc8b2379c2
CA-292908: Fixed calculation of process percentage so the progress bar reaches 100% at the end of a successful update process.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-02 17:37:52 +01:00
Konstantina Chremmou
233dc66026
Moved checkbox closer to the datagridview, where it belongs.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-02 17:37:52 +01:00
Konstantina Chremmou
9a54258601
When updating multiple pools with the same patch and the download for the first pool is in progress, log that the download is on hold for the others.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-02 17:37:52 +01:00
Konstantina Chremmou
ca6458ac84
Do not repatriate VMs if there are none to repatriate.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-02 17:37:52 +01:00
Mihaela Stoica
e59b5dcb2b
CA-293119: Add the pending master reboot precheck to all wizard modes
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-02 15:24:09 +01:00
Ji Jiang
2edacbf43f
CA-293092: Add HostCheck class to fix check.Host null exception
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-06-29 14:27:10 +01:00
Mihaela Stoica
ad1dabd257
CA-293026: Fix the updates shown on a partially upgraded pool
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-28 15:37:02 +01:00
Konstantina Chremmou
f16cc7f770
Made UploadPatchAction and UploadSupplementalPackAction report progress of uploaded bytes.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-28 12:25:56 +01:00
Konstantina Chremmou
3e71da4e0a
Do not trigger the Action.Change event when the PercentComplete or the Description
...
are set unless the new value is actually different. Small efficiency improvements
to the DownloadPatch action and plan action.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-28 12:25:56 +01:00
Konstantina Chremmou
86ea06696e
CA-293009: Show the message for reconnecting storage after the host is rebooted.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-28 12:25:56 +01:00
Konstantina Chremmou
8d6b615841
Check and plug PBDs for VMs only if and when there are VMs to migrate; do not log
...
a message in this case as the SRs are reconnected after reboot and this may lead
to duplicate messages. Also, simplified check-and-plug methods for PBDs to avoid
repetition of iterations.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-27 07:58:55 +01:00
Konstantina Chremmou
8a6c661f30
Fixed broken test. Small logging and window title improvements.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-26 22:15:11 +01:00
Konstantina Chremmou
2c07869599
CA-292363: Do not show the DownloadAndUnzipXenServerPatchAction in action history.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-26 22:15:11 +01:00
Konstantina Chremmou
d3f761b070
Reworked the logging for the plan actions. ( #2109 )
...
* Deprecate set but unused Status property in favour of ProgressDescription.
* Deprecate set but unused TitlePlan property.
* Deprecated property Title in favour of ProgressDescription.
* Removed unused plan RebootHostPlanAction.
* Updated event declaration.
* Removed property Visible. The plan is to have the actions log their history as soon as some is available.
* Reworked the logging for the plan actions. The main change is the replacement of
the ProgressDescription with a stack where all the steps of an action are stored,
i.e. the action is responsible for its history, not the worker running it.
* Lock the progress history before accessing it.
* Better handling of error logging and user cancellation.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-26 14:04:51 +01:00
Ji Jiang
41e358a8fa
CP-28583: Remove host-level selection in Update wizard
...
1) Always pool level selection of hosts, except uploading sup pack file
from disk.
2) Revert homogeneity precheck change recently. It won't happen in new version
update any more.
3) User can never update slaves to a higher version than master, so delete
master_version_not_compatible_problem.
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-06-26 12:45:59 +01:00
Mihaela Stoica
1bd439a2af
CP-28279: Corrections to the plan actions
...
- In the RPU case, re-enable the host after the upgrade is done, as the host will be put back into maintenance mode when needed during the update process.
- The VMs should not be repatriated during the RPU
- When a host is rebooted, it needs to be disabled first (even if an evacuation is not needed), otherwise the reboot won't happen
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-25 17:12:39 +01:00
Mihaela Stoica
2023f93199
CP-28279:When installing the updates in the RPU wizard, we need to get the minimal patches for the first upgraded host (usualy the master), not for the whole pool, because the pool is of mixed versions at this stage.
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-25 11:31:18 +01:00
Konstantina Chremmou
03b5e9a0c4
Moved logic for calculating the progress increment into the UpdateProgressBackgroundWorker.
...
Renamed HostPlanActions class to HostPlan to avoid confusion with the HostPlanAction class.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-25 11:31:18 +01:00
Konstantina Chremmou
37d9bc4b3b
Moved all the code for the manual upgrade into the UpgradeManualHostPlanAction and removed the IsManual property.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-25 11:31:18 +01:00
Konstantina Chremmou
09de5fbcd6
Code repetition.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-25 11:31:18 +01:00
Konstantina Chremmou
73fd7df880
Use existing extension method to retrieve the host's running VMs. Removed field
...
Dialogs needed only by test code; use existing wrappers of Windows APIs instead.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-25 11:31:18 +01:00
Konstantina Chremmou
50b78ddd83
Moved NonModalThreeButtonDialog out of the RpuUpgradePage because it is pretty generic and can be reused.
...
Removed unnecessary null check.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-25 11:31:18 +01:00
Mihaela Stoica
0d3c475439
CP-28279: Fix the AutoScaleMode
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-25 11:31:18 +01:00
Mihaela Stoica
e8d2b9e493
CP-28279: Use different messages for RPU (for reporting success or failure)
...
- Also corrected the function that creates the update plan action in RPU: when running a retry, these actions shouldn't be regenerated.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-25 11:31:18 +01:00
Mihaela Stoica
7ed8a2ba44
CP-28279: Add updates installations to the RPU wizard
...
- Some methods have been moved/added to the base class to facilitate the calculation of the plan actions in the RPU case.
- Also fixed the calculation of the progress bar value.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-25 11:31:18 +01:00
Mihaela Stoica
a99ae50f57
CP-28279: Change the upgrade page of the RPU wizard to inherit from the class AutomatedUpdatesBasePage
...
- Methods have been added to the base class to deal with the manual upgrade mode
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-25 11:31:18 +01:00
Mihaela Stoica
3201ed3329
CP-28279: Fix the layout of the AutomatedUpdatesBasePage
...
(by putting everything on a TableLayoutPanel)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-25 11:31:18 +01:00
Konstantina Chremmou
97a60c91da
Since the reason why a VM already involved in an operation in progress cannot be migrated is known, display it, otherwise the user may wonder unnecessarily what the problem is.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-22 17:40:53 +01:00
Konstantina Chremmou
e7683fcf0b
CP-28492: Evacuate the VMs before the first reboot and repatriate them after the last one.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-22 17:40:53 +01:00
Konstantina Chremmou
cfb1c0f4d7
CA-291402: Do not display a plan action before it is actually running; this prevents skipped actions from being displayed.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-22 17:40:53 +01:00
Konstantina Chremmou
907e991745
Renamed file to match class name.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-22 17:40:53 +01:00
Ji Jiang
6d070d3cfc
CP-28425: Add automated updates license precheck in RPU wizard
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-06-22 17:20:11 +01:00
Ji Jiang
ccf6f97732
CP-28280: Add CFU availability precheck to RPU wizard comments fix
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-06-22 12:02:19 +01:00
Ji Jiang
9ae8340913
CP-28280: Add CFU availability precheck to RPU wizard
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-06-22 12:02:19 +01:00
Jisheng Xing
b6e1ad6b83
fix typos and rename a function
2018-06-21 14:54:47 +01:00
Jisheng Xing
538e6f90a1
fix some comments
2018-06-21 14:54:47 +01:00
Jisheng Xing
cb1da504fd
CA-289627: SR-IOV on NIC tab is confusing
...
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-06-21 14:54:47 +01:00
Mihaela Stoica
3c300accce
CP-28279: Make the base AutomatedUpdatesBasePage class abstract
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-20 11:15:35 +01:00
Mihaela Stoica
73f6ebdf5c
CP-28279: Add a base class for Automated Updates (this will be later used for the RPU as well)
...
The base class contains all the code for creating and starting the background workers, displaying the progress of the actions, handling failures and retries.
The derived classes override the property for label at the top of the page and the method that generates the plan actions.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-20 11:15:35 +01:00
Konstantina Chremmou
6513abc09e
The check for hosts that are unlicensed for automated updates should be on all pool hosts as there maybe individual restrictions (for example via a feature flag).
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-19 17:20:08 +01:00
Mihaela Stoica
da9e5a5cab
CP-28284: Implement IEquatable in PlanAction
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-19 13:34:37 +01:00
Mihaela Stoica
59b9b695db
CP-28284: Changes following code review
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-19 13:34:37 +01:00
Mihaela Stoica
631d7656a2
CP-28284: Corrections
...
- ensure that an action is only added once to the DoneActions and InProgressActions
- reset the wizard buttons (Cancel, Finish) when a retry is started
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-19 13:34:37 +01:00
Mihaela Stoica
920da093e0
CP-28284: Only show the error icon and text when all the workers have finished
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-19 13:34:37 +01:00
Mihaela Stoica
eca6081f48
CP-28284: Show the plan actions indented under the pool name
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-19 13:34:37 +01:00
Mihaela Stoica
7fa9d0b94f
CP-28284: Updates wizard: Add a "pause and resume" mechanism to handle failures
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-19 13:34:37 +01:00
Konstantina Chremmou
d9ee664d53
CA-289629: launch confirmation dialog within a using block.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-18 21:59:38 +01:00
Mihaela Stoica
da2c96ad1c
CP-28426: RPU wizard: add user option for automatically applying updates - changes following code review
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-18 16:28:28 +01:00
Mihaela Stoica
dd19f3a0b7
CP-28426: RPU wizard: add user option for automatically applying updates
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-18 16:28:28 +01:00
jishengx
cf20ac13c4
CA-289629: prompt host may need to be rebooted to enable SR-IOV ( #2092 )
...
CA-289629: prompt host may need to be rebooted to enable SR-IOV
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-06-18 12:36:12 +01:00
Joey
abe97def1e
CP-28286: Support resume from a partially upgraded pool via Update wi… ( #2095 )
...
* CP-28286: Support resume from a partially upgraded pool via Update wizard
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
* CP-28286: Fix comments of the previous commit
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-06-18 10:46:41 +01:00
Mihaela Stoica
121bce92af
CP-28282: Correction to the required disk space calculation
...
- also renamed a variable and updated the problem description to include the server name
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-15 14:24:29 +01:00
Mihaela Stoica
c702399d95
CP-28282: Update the disk space precheck to calculate the required space according to the new workflow (apply all hotfixes to a host before moving to the next one)
...
- this commit covers the post-Ely case, where updates are uploaded to storage repositories
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-13 17:24:33 +01:00
Mihaela Stoica
2efc1b8685
CP-28282: Update the disk space precheck to calculate the required space according to the new workflow (apply all hotfixes to a host before moving to the next one)
...
- this commit covers the pre-Ely case, where patches are uploaded to the server
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-13 17:23:17 +01:00
Mihaela Stoica
318f20f65f
CP-28282: Preliminary work: move the disk space calculation inside the precheck
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-13 17:22:52 +01:00
Mihaela Stoica
8fff0b2b10
Merge pull request #2093 from kc284/REQ-672
...
Separate displayed update information per pool. Minor layout corrections and removal of unused LinkLabel.
2018-06-08 16:54:11 +01:00
Konstantina Chremmou
49823f9dd9
Do not show the successful completion message before the update is actually completed.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-08 16:41:06 +01:00
Konstantina Chremmou
73e7b66fa4
Do not change the page top blurb depending on the process outcome. Improved error messages.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-08 16:15:55 +01:00
Konstantina Chremmou
2e2ae7c196
Separate displayed update information per pool. Minor layout corrections and removal of unused LinkLabel.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-08 13:42:06 +01:00
Mihaela Stoica
15edb13997
Merge pull request #2089 from kc284/REQ-672
...
First batch of changes for CP-28281
2018-06-08 11:32:26 +01:00
Ji Jiang
88224df214
CA-290316: Skip hotfix homogeneity precheck in mixed pool
...
Because we couldn't control user's selected combination from
a mixed pool, and the version compatibility precheck exists already,
here just simply skip the precheck and issue a warning.
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-06-08 11:17:41 +01:00
Konstantina Chremmou
11a9785dba
Log the patch clean-up actions on the screen in case of a failure. Order the shown actions per pool.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-07 16:34:13 +01:00
Konstantina Chremmou
1b4a862fd0
Further corrections to the load/leave page workflow and object selection ensuring correct enablement of the Next button.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-07 12:27:57 +01:00
Konstantina Chremmou
20d74a64c9
Unregister handlers when leaving or cancelling the page and invoke on the current
...
control instead of the main window (may cure CA-289721).
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-07 12:27:57 +01:00
Konstantina Chremmou
b36993228c
Moved index retrieval in Invoke and corrected index sanity check. Update the combobox
...
and unregister item event in a try-finally block (may cure CA-289721); suspend-resume
layout when updating the datagridview.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-07 12:27:57 +01:00
Konstantina Chremmou
3f8feb4bdd
Removed invocations where we are already on the UI thread.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-07 12:27:57 +01:00
Konstantina Chremmou
2e07781e6b
Simplify the logic toggling the enabled state of the Next button depending on the selection.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-07 12:27:57 +01:00
Konstantina Chremmou
621fce4d70
Fixed regression whereby the vm-host mapping was lost when proceeding to the next page and returning to the destination selection page.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-07 12:27:57 +01:00
Konstantina Chremmou
355621f183
Simplified event signature.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-07 12:27:57 +01:00
Konstantina Chremmou
1d905fc18c
Simplified logic when fetching the failure reason; capitalised constant names so they're more visible.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-07 12:27:57 +01:00
Konstantina Chremmou
2c3c4bf5ca
Renamed methods so it's more obvious what they do.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-07 12:27:57 +01:00
Konstantina Chremmou
887428872a
Logic corrections. Show the name of the patch being removed each time.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-07 12:12:17 +01:00
Konstantina Chremmou
57ab2ced2b
CA-289335: If there is no other network available, pick the management network for the migration of VDIs.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-06 16:06:41 +01:00
Konstantina Chremmou
14aa3f3f5d
CA-289335: Do not check the NetworkComboBoxItem can be selected unless it has been added to the ComboBox.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-06 16:06:41 +01:00
Konstantina Chremmou
c643351e6c
CP-28281: Change the order in which the updates are applied to a pool, namely apply all updates on a host before continuing with the next host.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-05 22:26:16 +01:00
Konstantina Chremmou
723510b853
Removed class Updates.UpgradeSequence.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-05 11:50:34 +01:00
Alexander Schulz
a294c61bd0
Remove shortcut definition from MainWindow resx files, Shortcut is already defined in Commands\NewVMCommand.cs
...
https://github.com/xenserver/xenadmin/pull/2078
2018-06-05 11:15:18 +01:00
Alexander Schulz
c26de212da
Use "Control+N" instead of "Ctrl+N" to be buildable on non-english operation systems
2018-06-05 11:15:18 +01:00
Jisheng Xing
7034973ae1
CA-287651: Precheck shows SR broken on both hosts but it is only broken on one
...
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-06-05 05:45:57 +01:00
Konstantina Chremmou
d4b7642ef7
Compacted null checks.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-04 15:18:29 +01:00
Konstantina Chremmou
d58131910b
Corrected logic checking the host is up to date. Renamed method because the old name was not descriptive of the output.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-04 12:40:30 +01:00
Konstantina Chremmou
b0cdc74188
The code in the BackgroundWorker's ProgressChanged and RunWorkerCompleted event handlers does not need invoking as it's already on the UI thread.
...
Also, some logic simplification.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-29 13:50:46 +01:00
Konstantina Chremmou
89621c2bb5
Unnecessary field.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-29 10:47:54 +01:00
Konstantina Chremmou
18f2ff0785
Typo.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-29 10:46:14 +01:00
Mihaela Stoica
c2b42fa107
CA-289335: Refactoring to avoid setting the SelectedItem twice
...
- also avoids iterating through the combobox items again to determine which item to select
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-24 16:23:04 +01:00
Mihaela Stoica
54b134a2eb
CA-289335: Show empty selection if the cluster network cannot be resolved
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-24 16:23:04 +01:00
Mihaela Stoica
5d0b760a96
CA-288751: Fix the RBAC checks for probe_ext
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-24 13:00:05 +01:00
Ji Jiang
9ddb253ec0
CP-26866: Add a specific warning when creating a bond on cluster network
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-05-23 16:47:59 +01:00
serenc
29d82b1498
CP-28229: Update XenCenter to remove Cluster.network
2018-05-18 16:40:59 +01:00
Konstantina Chremmou
9a7fcde66e
CA-289948: Do not show the upsell dialog if migration is not permitted due to licensing restrictions; launch the move VM dialog instead.
...
Also, removed unused constructor.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-18 16:37:12 +01:00
Konstantina Chremmou
2f2a533b46
Fixed some column sizing issues on the VM, SR and physical storage pages as well as a regression in the selection mode of the last one.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-17 15:45:50 +01:00
Mihaela Stoica
01c8a7ed83
CA-289150: Use a local variable to avoid calculating DistinctHosts twice
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-17 14:33:31 +01:00
Mihaela Stoica
2dab045441
CA-289150: Use a lock object to ensure that the hosts and connections lists are safely accessed from separate threads
...
This change fixes the crash with IndexOutOfRangeException in XenServerUpdateAlert
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-17 14:33:31 +01:00
Mihaela Stoica
5ad2aa302e
CA-289959: Add null checks when resolving the updates which require reboot
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-17 14:24:51 +01:00
Mihaela Stoica
171284ff34
CP-28094: Rationalise device-config keys with SMAPIv1
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-16 17:18:12 +01:00
Konstantina Chremmou
c475861941
CA-248353: Refactoring to avoid referencing cells with hardcoded index numbers,
...
which makes them undiscoverable and breaks if the columns are rearranged.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-15 13:17:04 +01:00
Konstantina Chremmou
81115674e7
Removed DataGridView grid because we normally don't use one. Renamed columns
...
to make them more discoverable. Removed unused class.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-15 13:17:04 +01:00
Konstantina Chremmou
085b4d4f6e
CA-248353: Do not use a hardcoded string or integer to reference DataGridView columns or ToolStripMenuItems.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-15 13:17:04 +01:00
Konstantina Chremmou
7cc1402099
CA-248353: Do not use a hardcoded string to find the status image column as
...
the code will break if the column on the LicenceManager is renamed. Also, do
not create the new cell before the index checks pass.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-15 13:17:04 +01:00
Konstantina Chremmou
6a36bf37ff
The designed class should be the first one in the file, otherwise VisualStudio's designer breaks.
...
In this case, the CheckableDataGridViewRowEventArgs are very specialised and can be nested in the CheckableDataGridView.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-15 13:17:04 +01:00
Konstantina Chremmou
79684617eb
CA-248353: Reference the column object directly instead of trying to retrieve it using a hardcoded string as a key.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-15 13:17:04 +01:00
Mihaela Stoica
8992e55141
CA-286291: Add the additional menu items immediately after the first item, so we don't have to wait for the WLB recommendations to be
...
retrieved.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-14 12:30:40 +01:00
Mihaela Stoica
ba8a612c01
CA-286291: Remove the ToolTip from the VMOperationTollStripManuSubItem, as the reason why the item is disabled is already included in the items's MenuText
...
This change improves the performance of the drop-down menu considerably, as it avoids the server calls from the Command.ToolTipText
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-14 12:30:40 +01:00
Mihaela Stoica
025e92bc7d
CA-286291: Some more refactoring in VMOperationToolStripManuItem
...
(including the removal of the HostListUpdater class)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-14 12:30:40 +01:00
Mihaela Stoica
7ba8546929
CA-286291: Refactoring in VMOperationToolStripManuItem
...
- added an action for the API call that retrieves the WLB VM recommendations
- removed the thread used for updating the menu items, so that we always access the menu items on the UI thread and do only the server calls on separate threads (for WLB, getting the recommendations now is done on the new action, for non-WLB we have the `workerQueueWithoutWlb`)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-14 12:30:40 +01:00
Jisheng Xing
79f91ce2b4
CA-288188: correct the NICPage status when SR-IOV logical pif unplugged
...
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-05-14 12:14:22 +01:00
Konstantina Chremmou
0c3298fd8b
CA-289153: Do not attempt updating the licence status for disconnected hosts. ( #2072 )
...
Also, no need to trigger an event when the host is null or when get_servertime
fails only to double-log it in the handling class.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-11 16:38:46 +01:00
Konstantina Chremmou
8ae3ceeea1
CA-289718: Refine the storage connections precheck to allow the installation of an update that has been uploaded to a local SR ( #2071 )
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-11 14:38:44 +01:00
Mihaela Stoica
5b234d181d
Merge pull request #2065 from kc284/release/kolkata/master2
...
Disable creation of SR-IOV network if the feature is disabled.
2018-05-09 12:54:32 +01:00
Konstantina Chremmou
3fc14c5344
Disable creation of SR-IOV network if the feature is disabled.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-05-09 12:38:26 +01:00
Mihaela Stoica
4096803ee1
CA-288560: Convert CPU average frequency to GHz, when needed
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-02 12:57:10 +01:00
Mihaela Stoica
906af62422
CA-288560: Add friendly name and units for CPU average frequency
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-05-02 12:57:10 +01:00
vetrivelc
1f4fa9b46a
L10N: CA-288597 & Translation Updates
2018-04-26 10:54:18 +01:00
Vetrivel Chinnasamy
998cea2ec2
L10N: Kolkata Bug Fixes ( #2052 )
...
* L10N: UI Truncation Fixes
* L10N: Bug fix truncation issue JA
* L10N: Removed the help image in SC Wizard page
* L10N: Update to zh-CN XenWizrd Base
2018-04-25 18:19:03 +01:00
Mihaela Stoica
296739cfa4
CP-27751: Include new RPU003 and RPU004 plugins for CA-287020 ( #2049 )
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-23 15:39:34 +01:00
Mihaela Stoica
d72ec5a94f
CA-286291: Add null and type checks ( #2048 )
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-23 12:54:09 +01:00
Michael
1a8f19ba69
CA-286291: Fix the crash when quickly and repeatedly popping up Migrate-to-Server menu ( #2018 )
...
* CA-286291: Fix the crash when quickly and repeatedly popping up Migrate-to-Server menu.
* Update the thread model.
Signed-off-by: Michael Zhao <michael.zhao@citrix.com>
* Fix an error in using _stopped flag.
2018-04-23 09:59:18 +01:00
Konstantina Chremmou
21d6080464
Normalisation and internationalisation for exceptions thrown when failing to resolve objects in the cache.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-23 09:54:48 +01:00
Mihaela Stoica
8a16c794c1
Merge pull request #2046 from vetrivelc/master
...
L10N:CA-281877,CA-283587,CA-286950,CA-287318 Fix Updates
2018-04-20 11:38:52 +01:00
Vetrivel Chinnasamy
0cf3d404ee
L10N:CA-281877,CA-283587,CA-286950,CA-287318 Fix Updates
2018-04-20 18:28:09 +08:00
jishengx
aa276dc8f5
CA-286449: Filter out SR-IOV network when importing OVF ( #2037 )
...
CA-286449: Filter out SR-IOV network when importing OVF
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-04-19 15:51:33 +01:00
vetrivelc
4ac8f99bae
L10N: Localization File updates
2018-04-19 18:07:23 +05:30
Kat Shann
5d961c22f2
Update the CHM files ( #2042 )
...
* L10n: Inverness
build_chm #24
* Revert "L10n: Inverness"
This reverts commit 8b41bb8c79cd4d73ed6021a5533cf7624a5421c4.
* L10n: Inverness
CHMs from build_chm master-l10n #24
Second attempt at checkin with a merge conflict resolve. (I hope)
* L10n: Localized files with fix
Remove artifacts introduced by XTM
* Update Kolkata Help files
* Update fro broken links fix
2018-04-17 15:13:43 +01:00
Konstantina Chremmou
2a6451f0cd
Some more string corrections.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-17 13:32:05 +01:00
Konstantina Chremmou
04a29dd3a0
Message correction.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-17 13:32:05 +01:00
Mihaela Stoica
1af6781de8
Merge pull request #2040 from vetrivelc/master
...
L10N: CA-281877 JA & SC fix
2018-04-17 11:03:48 +01:00
vetrivelc
ea1baf33e7
L10N: CA-281877 JA & SC fix
2018-04-17 15:25:29 +05:30
kunm
0afcef56d3
CA-278960: Replace ListViewEx with DataGridViewEx for PhysicalStoragePage ( #2015 )
...
* CA-278960: Replace ListViewEx with DataGridViewEx for PhysicalStoragePage
Signed-off-by: Kun Ma <kun.ma@citrix.com>
2018-04-17 10:36:04 +01:00
vetrivelc
7c3c95f74b
L10N: Fixes CA-283585,CA-283587,CA-287318,CA-286950,CA-287342,CA-281877 UI/Truncation Issues
2018-04-17 12:11:23 +05:30
vetrivelc
b57d7d13bf
L10N:CA-287607 Translation Updates
2018-04-17 10:08:42 +05:30
Konstantina Chremmou
e6b62809c1
CA-287714: Fixed regression introduced with b4956da8f1
:
...
The DataArchive.Sets are supposed to be updated on the UI thread.
Added an extra safeguard when updating the DataKey items, namely copy the archives
to a local variable. Also, some minor refactoring to make looking up sets into
the archives more efficient.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-12 15:48:47 +01:00
Konstantina Chremmou
ae8cdcdc23
Fixed annoying xml doc warning.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-12 15:48:47 +01:00
Mihaela Stoica
2af3de8e7f
CA-287430: Fixed the issue where the "Install Update" page of the patching wizard does not show the information on the host reboot steps.
...
- use the plan action's ProgressDescription property to display the steps in RestartHostPlanAction (evacuate host, reboot host, bring babies back);
- the plan action should not be visible if the restart is skipped;
- The change to the DownloadAndUnzipXenServerPatchAction is to ensure that the download progress description is updated on the wizard with the correct description (in automated updates mode, via DownloadPatchPlanAction); DownloadPatchPlanAction is using the ActionChanged event to update its description based on the action's DownloadProgressDescription property, but the ActionChanged event is called when the PercentComplete is updated, so this needs to happen after DownloadProgressDescription has been updated.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-10 11:08:18 +01:00
Konstantina Chremmou
82dc176c44
CA-287498: Removed left over calls to the base class method which were causing an infinite loop.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-09 09:58:40 +01:00
Mihaela Stoica
1925fc9ec4
CA-285215: Cancel button should be enabled on the Patching wizard when the update installation is in progress
...
- also fixing an error on the patching wizard where a null reference exception is thrown if, when the wizard is cancelled, the host where an update has been uploaded is not connected anymore
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-09 08:47:26 +01:00
Mihaela Stoica
e85954fb75
CP-27568: Update the RPU hotfix to version 5
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-05 11:01:04 +01:00
Mihaela Stoica
cab6a051b8
Merge branch 'REQ-477' into master
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
# Conflicts:
# XenModel/XenAPI/PCI.cs
# XenModel/XenModel.csproj
2018-04-04 09:59:29 +01:00
Konstantina Chremmou
5d4a9270eb
Simplified class hierarchies for the SrDescriptors. Among others, we avoid the presence of irrelevant key-value pairs in the DeviceConfig .
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-04 08:03:28 +01:00
Mihaela Stoica
2943b048fa
CP-17099: Remove unused function
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-04 08:03:28 +01:00
Mihaela Stoica
6a8b65b21e
CP-17099: Do the double probe for HBA
...
- The LVMOHBAWarningDialog class has been changed to display the type of the existing SR and the requested type (that will be used for formatting)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-04 08:03:28 +01:00
Konstantina Chremmou
585f7a848f
Cleared some more warnings with regards to xml documentation.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 13:00:27 +01:00
Konstantina Chremmou
c96fd646d3
Removed unused event (event handler content was commented out).
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 13:00:27 +01:00
Konstantina Chremmou
583513f9e4
CA-202377: Removed the QueuedBackgroundWorker from the NewDisk dialog (unused)
...
and the vApps dialog (not particularly needed because we only query the cache
and do not make any server side calls).
Also, removed unhooked event handlers from the NewDisk dialog.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 13:00:27 +01:00
Konstantina Chremmou
78511b0a02
Replaced Java-like documentation of class members with C# xml documentation.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 13:00:27 +01:00
Konstantina Chremmou
7655011158
Compliance with C# conventions: normally interface names start with an I.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 13:00:27 +01:00
Vetrivel Chinnasamy
587144d3bf
L10N: Translation Updates ( #2020 )
...
* L10N: Translation Updates
2018-04-03 11:57:09 +01:00
Konstantina Chremmou
6adcd2b83f
Some more code simplifications.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 11:24:40 +01:00
Konstantina Chremmou
4b0aa132d2
Simplified the FibreChannelProbeAction and compacted the methods and helper classes for parsing the results for the various SR types.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 11:24:40 +01:00
Konstantina Chremmou
4452318d1d
Moved the classes FibreChannelDevice and FibreChannelProbeParsing to XenModel.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 11:24:40 +01:00
Konstantina Chremmou
959e43480c
CP-17099: Double probe for iSCSI - minor refactoring to reduce code duplication.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 11:24:40 +01:00
Mihaela Stoica
fc42be5bee
CP-17099: Do the probe_ext for HBA
...
- Move the scan for HBA devices after the Provisioning page
- Fix the device-config for HBA (removed uri)
- Add probe_ext in FibreChannelProbeAction and the method to process the result
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-03 11:24:40 +01:00
Mihaela Stoica
e294e903fd
CP-17099: Do the double probe for iSCSI
...
When we scan the LUN to see if there are any existing SRs, we need to do an additional probe if the probe for the desired type didn't find any SRs.
E.g. if GFS2 is selected and no GFS2 SR was found on the LUN, then we need to also check if there is a LVM over iSCSI SR, and if there is one we will offer to reattach it (as LVM over iSCSI) or format it as GFS2
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-03 11:24:40 +01:00
Joey
48782eac44
CA-286458: Fix latestcr XC requirement when apply CR update ( #2010 )
...
* CA-286458: Fix latestcr XC requirement when apply CR update
Using minimum_xc_version attribute in xenserver version to
determine which xencenter version is required.
* CA-286458: change MinimumXcVersion type to Version
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-03-29 11:13:13 +01:00
Mihaela Stoica
fcb6399535
CP-17099: Changes following code review
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-03-28 17:07:15 +01:00