Commit Graph

5120 Commits

Author SHA1 Message Date
Ji Jiang
d0fc3be56e CA-294091: Fix two Update wizards co-exist bug
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-08-07 12:02:57 +01:00
Mihaela Stoica
61ee71dac1 CA-290536: Fix XenCenter uncaught exception in VM console when losing host connection
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-08-06 15:14:24 +01:00
Mihaela Stoica
b8168eed28 CA-292626: Consider the contains-livepatch flag of all the applicable… (#2165)
* CA-292626: Consider the contains-livepatch flag of all the applicable updates when doing the prechecks in the automated updates mode.

Instead of looking at the minimal patches, we look at all applicable patches for that host (i.e. all the updates on the host's version that are not already installed) and we say that the host won't need a reboot only if all these are marked as contains-livepatch.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-08-03 16:11:06 +01:00
timliu55
51ba3a82ce CA-293854: Patching wizard updates list loses selection and resizes c… (#2164)
* CA-293854: Patching wizard updates list loses selection and resizes columns when resorted
Remove the redundant code
Change the AutoSize mode from DisplayedCells to AllCells.
Fix the date column sorting
Disable column header AutoSizing

Signed-off-by: Tim Liu <tim.liu@citrix.com>
2018-08-03 11:32:51 +01:00
liulinC
7be8bd0530 CA-204242: save the server status report blocks xencenter (#2158)
* CA-204242: save the server status report blocks xencenter

Signed-off-by: Lin Liu <lin.liu@citrix.com>
2018-08-03 09:08:47 +01:00
Darren Matthews
a6991596a5 L10N Bug Fixes (CA-294292 & CA-294333) (#2163)
* L10N: CA-294292 Fixed truncation issue in language files.
* L10N: CA-294333 Fixed overlapping issue in Japanese file.
* L10N: CA-294333 Fixed overlapping issue in Japanese file.

Signed-off-by: Darren Matthews <darren.matthews@citrix.com>
2018-08-02 10:13:54 +01:00
Konstantina Chremmou
3ade18250a Some layout improvements (margins, control anchoring, removal of unnecessary controls).
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-08-01 13:42:48 +01:00
Konstantina Chremmou
fc88e5c5be Removed null value image from datagridview columns as per code review.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-08-01 08:27:04 +01:00
Konstantina Chremmou
65f67f2455 Ensure AdEnableAction is always shown in History. FindActiveAdAction can be private.
Show ellipsis on the join/leave button since it launches a dialog requirng user input.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-08-01 08:27:04 +01:00
Konstantina Chremmou
12fe9e9620 Store the domain and username rather than the whole AdPasswordPrompt.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-08-01 08:27:04 +01:00
Konstantina Chremmou
02eaac832a CA-294365: Replaced all references to pool or master except the necessary
with references to the connection; pool or master can be resolved from the
latter. This among others prevents the AD page from crashing when the master
and the pool change after master's entering maintenance mode.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-08-01 08:27:04 +01:00
Konstantina Chremmou
d604fc16ab Ensure subject events are deregistered every time the rows are cleared.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-08-01 08:27:04 +01:00
Konstantina Chremmou
d65dbeaf2e Launch action dialogs in a using block. Prevent button flickering when the gridview is repopulated.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-08-01 08:27:04 +01:00
Konstantina Chremmou
1d5d06c15d No need to repopulate the whole list if a subject's property has changed, refresh just this subject's row.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-08-01 08:27:04 +01:00
Konstantina Chremmou
21072e13fc Removed redundant code.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-08-01 08:27:04 +01:00
Konstantina Chremmou
41c2eb71f6 Smarter icon/text selection and minor layout improvements, in particular icon alignment.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-08-01 08:27:04 +01:00
Konstantina Chremmou
3bd8a03699 CA-272127: Aesthetic and usability improvements in the AD users list: fixed
cell alignment; removed grid; expand/collapse on row double click and on expander
cell single click. Refactored class AdSubjectRow.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-08-01 08:27:04 +01:00
Konstantina Chremmou
18be622889 Made the Events page rows to expand/collapse on double click like the Alerts and Updates pages.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-08-01 08:27:04 +01:00
timliu55
d6b18e969a CA-287610: EN: Error message "Unable to connect to iSCSI storage" is truncated
Just enable the AutoSize property like the other labels.

Signed-off-by: Tim Liu <tim.liu@citrix.com>
2018-07-31 11:42:47 +01:00
Mihaela Stoica
9dc0d77ef6 CA-292626: Consider the contains-livepatch flag when doing prechecks in the automated updates mode.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-30 14:33:22 +01:00
Jisheng Xing
6cf48a9125 CA-293680: Tasks to be performed after upgrade in XC don't quite fit within the box
Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>
2018-07-30 12:21:58 +01:00
timliu55
38391c943e CA-293628 Some RPU prechecks do not mention the host the precheck has… (#2156)
* CA-293628: Some RPU prechecks do not mention the host the precheck has run on
Signed-off-by: Tim Liu <tim.liu@citrix.com>

* CA-293628: Some RPU prechecks do not mention the host the precheck has run on
Signed-off-by: Tim Liu <tim.liu@citrix.com>
2018-07-30 11:06:26 +01:00
jishengx
260ec2d013 CA-284914: Prechecks are re-run every time the 'Hide successful prech… (#2088)
* CA-284914: Prechecks are re-run every time the 'Hide successful prechecks' is ticked/unticked

Signed-off-by: Jisheng Xing <jisheng.xing@citrix.com>

* fix some comments
2018-07-26 16:11:53 +01:00
Mihaela Stoica
f663ababd5 CA-293857: When uploading and introducing an update, delete the VDI if the update introduce fails (regardless of the error).
Also add a sleep to try and avoid getting a VDI_IN_USE exception when deleting the VDI after the upload failed or has been cancelled by the user

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-25 13:08:04 +01:00
Mihaela Stoica
2266e89cd9 CA-294285: Make WlbRetrieveVmRecommendationsAction an AsyncAction and specify the method for the RBAC checks
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-25 10:46:23 +01:00
Konstantina Chremmou
1bcbb3d454 CA-289960: If a VM does not acknowledge the need to shut down on host reboot,
include the VM's name in the message to help the user identify it.
Also, we have more instances of "shut down" than "shutdown".

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-25 09:39:04 +01:00
Konstantina Chremmou
85b326497d CA-293664: Corrected text colour for selected item.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-25 09:39:04 +01:00
Konstantina Chremmou
664bd9dd0c CA-293723: Reworked SR selection logic so that hotfix application works for
for both fully and partially attached SR. For ely and above the SR needs to
be visible from master, while for earlier versions we pick a list of a SRs
to cover all hosts.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-24 10:14:57 +01:00
Konstantina Chremmou
d0c011d00c Improved error message and simplified error handling and logging to avoid multiple catch-rethrow of exceptions.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-24 10:14:57 +01:00
Konstantina Chremmou
58c6754ff2 No need to access the setting ServerHistory in a try-catch block that resets
all settings in case of failure. Null check and minor optimisation of setting
KnownServers.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-24 10:14:57 +01:00
Mihaela Stoica
ee6925beae CA-293923: Changed the sleep time between retries.
Also, there shouldn't be a sleep after the last try.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-19 16:12:50 +01:00
Joey
e5f4329f5d
Merge pull request #2146 from MihaelaStoica/CA-293923
CA-293923: Use a NetworkAvailabilityChanged event to detect changes i…
2018-07-19 14:12:28 +01:00
vetrivelc
8ef1764c84 L10N: Translation Updates & CA-293780 2018-07-19 11:05:16 +01:00
Konstantina Chremmou
a86edc6cfd Copy some more properties of the XmlRpcProxy to the JsonRpcClient and ensure all
JsonRpcCient properties are replicated when the session is duplicated.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-18 14:49:37 +01:00
Konstantina Chremmou
ac7eb1a8e2 CA-293478: Always set the WebRequest properties to the values specified by the JsonRpcClient.
This fixes issue where the WebRequest.Proxy had a non-null default value, which
prevented connection to a server with the management interface on a vlan.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-18 14:49:37 +01:00
Mihaela Stoica
42c3a369a3 CA-293923: Use a NetworkAvailabilityChanged event to detect changes in the network connectivity and mark the download as failed when the network becomes unavailable
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-18 14:23:37 +01:00
Mihaela Stoica
9fb6b85887
Merge pull request #2144 from xenserver/REQ-672
Merge REQ-672 to master
2018-07-16 12:36:15 +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
Konstantina Chremmou
c67abdb9b8
Merge pull request #2141 from MihaelaStoica/REQ-672
Merge master into REQ-672 branch + fix the PoolHasGFS2SR class
2018-07-13 13:40:48 +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
Mihaela Stoica
192f38671b Add RBAC checks to PoolDisableClusteringAction
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-12 15:15:21 +01:00
serenc
e1cb27a80d CA-292991: Remove unused modules and check clusterHostPif not null
Signed-off-by: serenc <seren.corbett@citrix.com>
2018-07-12 14:57:59 +01:00
serenc
dc833d2cc8 CA-292991: Store resolved values in a variable
Signed-off-by: serenc <seren.corbett@citrix.com>
2018-07-12 14:57:59 +01:00
serenc
118eca3d61 CA-292991: Block host joining cluster with cluster network (bonded/unbonded) unless the interface is defined
Signed-off-by: serenc <seren.corbett@citrix.com>
2018-07-12 14:57:59 +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