Commit Graph

4434 Commits

Author SHA1 Message Date
Konstantina Chremmou
de1120f18b
More fixes including CA-381728, CA-381618, CA-381225 (#3205)
* CA-381728: If no post-update tasks exist, XenCenter should explicitly state so.

Also, livepatches should be shown if other guidance is absent.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>

* Missing placeholders for building locally without applying branding.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>

* Missing help links.

Also removed scripts that are not used any more.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>

* CA-381618: The HA/WLB off check is a pool, not a host check.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>

* CA-381225: Corrected order of running update guidance (also uses input from CA-381718).

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>

* UPDATES_URL has been renamed to XC_UPDATES_URL.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>

---------

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-21 13:35:49 +01:00
Konstantina Chremmou
776dfc1a13 Updated introductory info for the HA configuration wizard.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-18 14:06:38 +01:00
Konstantina Chremmou
fe8a28e970 CA-381212, CA-381664: Corrections when fetching list of available updates:
- Try waiting on get_updates if it is not immediately available.
- Log instead of failing when a known (404/500) BadServerResponseException occurs.
- Ensure the UI is refreshed after fetching the list of updates.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-18 14:06:38 +01:00
Konstantina Chremmou
e4b2b67cf5
Merge pull request #3198 from kc284/master
UX improvements: CA-381442, XSI-1476, CA-375740
2023-08-18 10:35:05 +01:00
Konstantina Chremmou
fdd5ca775a
Merge pull request #3202 from kc284/supp-pack
Wording change; corrections for supp-pack installation.
2023-08-17 18:45:26 +01:00
Konstantina Chremmou
351c652813
Merge pull request #3200 from kc284/CA-381502-reason
CA-381502: Show the disabled reason in a new column. Extended the messages shown.
2023-08-17 18:45:02 +01:00
Danilo Del Busso
fbdcf5f5de CA-381678: Fix misc wording issues in ManageCdnUpdatesPage export file
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-17 18:44:39 +01:00
Konstantina Chremmou
113c19f9bd
Merge pull request #3199 from danilo-delbusso/bug/CA-381500_unlicensed
CA-381500: Fix `misc` instances of Unlicensed wording showing for post Nile host/pools
2023-08-17 18:44:16 +01:00
Konstantina Chremmou
6cfba9fe5a
Merge pull request #3169 from danilo-delbusso/bug/rdp-crash_CA-379640_XSI-1454
CA-379640, CA-356178, CA-370866: Do not reset remote consoles if they're still attempting connection to a VM
2023-08-17 15:50:22 +01:00
Danilo Del Busso
c1bb907a77
Remove useless lock around RemoteConsole calls
If a different thread accesses this code, the assertion will throw a Fatal error before hitting the content of the `lock`.

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-17 15:42:52 +01:00
Danilo Del Busso
212543f4c0
Improve readability of ConnectToRemoteConsole in XSVNCScreen
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-17 15:24:57 +01:00
Konstantina Chremmou
a98a1353c4 Applied supp-packs were not shown at pool level for new servers.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-17 12:50:57 +01:00
Konstantina Chremmou
6e175a4280 Corrected prechecks and calculation of post-update tasks for supp-packs installed on new servers.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-17 12:50:50 +01:00
Danilo Del Busso
d9885d342b CA-381593: Remove CIS privacy policy link from Server Status Report
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-16 19:09:28 +01:00
Danilo Del Busso
b9f2779c7e
CA-381500: Use custom wording for post-Nile license status in the General Tab
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-16 15:34:45 +01:00
Danilo Del Busso
1f7fbc017c
CA-381500: Revert renaming of Status to Expiry status
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-16 15:34:43 +01:00
Konstantina Chremmou
0d103e9af6 CA-381502: Improved the disabled reason for new servers.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-15 21:09:25 +01:00
Konstantina Chremmou
143974e93d CA-381502: Show the disabled reason in a new column because the tooltips are obscure.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-15 21:09:25 +01:00
Konstantina Chremmou
218d910b0a Typo.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-15 21:09:25 +01:00
Konstantina Chremmou
78396156ea CA-375740: VMSS has no other_config, hence no custom fields can be set.
Also, allow for a longer field label before ellipsization takes over.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-15 10:55:14 +01:00
Danilo Del Busso
81bf424013
CA-381500: Remove "(Unlicensed)" for post Nile hosts in MainWindow
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-15 09:23:36 +01:00
Danilo Del Busso
0680d9cba0
CA-381500: Ensure unlicensed hosts post Nile do not show as such in General Tab Page
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-15 09:23:35 +01:00
Konstantina Chremmou
2a81e63eba Use different image for the RPM packages to distinguish them from the updates.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-15 02:07:35 +01:00
Konstantina Chremmou
046476cd6e Show a different alert message if the user has never synchronized.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-15 01:20:31 +01:00
Konstantina Chremmou
cda79820b3 XSI-1476: No need to disable the post-update tasks textbox.
Also, prevent OnPageUpdated being called twice.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-14 23:25:13 +01:00
Konstantina Chremmou
fd1c08218a CA-381442: Disable the textboxes instead of making them readonly as it causes confusion to the user.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-14 22:58:05 +01:00
Konstantina Chremmou
b32168d8d8 Further work on CA-380738: After updates are applied retrieve the new metadata from the host in order to refresh the server status.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-11 11:02:24 +01:00
Konstantina Chremmou
81841c2a2b Fixed issue where supp-packs could be installed only on LCM servers.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-11 11:02:24 +01:00
Konstantina Chremmou
5e860b03f7 CA-381102 and other update process corrections.
- Put the servers in maintenance mode before applying the updates.
- Updated host do not disappear completely from the metadata hence we need to skip them from the update plan.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-11 11:02:24 +01:00
Konstantina Chremmou
7fb1bd4eb6 Corrected timespan shown on the out of sync alerts and precheck.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-11 11:02:24 +01:00
Konstantina Chremmou
4b64b3a261 Show the product brand alongside the version. Minor code smells.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-11 11:02:24 +01:00
Konstantina Chremmou
c7411c0bb2 The Specify Client ID link was launching the wrong dialog.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-11 11:02:24 +01:00
Konstantina Chremmou
e4012a7bd5
Merge pull request #3194 from xenserver/master
Master->feature/cdn-updates
2023-08-09 14:20:55 +01:00
Konstantina Chremmou
2af72aae25 Separate client updates from lcm server updates so they don't appear on the Notifications tab page.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:54:15 +01:00
Konstantina Chremmou
9d8805f060 Improved exported updates output and manual post-update instructions.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:54:15 +01:00
Konstantina Chremmou
c5534c8adf Fixed typo.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:54:15 +01:00
Konstantina Chremmou
4fb70e011c CA-380800: Check getting updates is allowed before running the operation. Extended precheck to check sync is in progress.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:54:15 +01:00
Konstantina Chremmou
6eaff6dc54 Rewrote the update application sequence to fix various issues:
- CA-380799: Host evacuation is not needed when the guidance is toolstack restart.
- CA-380796: Sometimes the guidance was applied before the update installation.
- Livepatch notice should be shown only if guidance is not reboot host.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:54:15 +01:00
Konstantina Chremmou
a231ca0876 Added context menu option to configure updates and synchronize.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:54:15 +01:00
Konstantina Chremmou
f3874a85f8 Checking how long ago the pool was last synced should be done in relation to the server time.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:54:15 +01:00
Konstantina Chremmou
03eb2f08d1 Various corrections:
- Added pool name in the action descriptions.
- Fixed host order on the updates list.
- Synchronize selected was not working for standalone hosts.
- Removed stray call to save settings.
- Null check.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:53:21 +01:00
Konstantina Chremmou
0045ca9d0b Added a column on the Updates TabPage to show the configured updated channel.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:53:21 +01:00
Konstantina Chremmou
9e25970850 CP-44368 workaround: do not CFU on connection if the users are less privileged than pool operator.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:53:21 +01:00
Konstantina Chremmou
f5e535cc2b CA-380738 and other icon fixes:
- The pool/host unpatched icons should be shown only when the pool is not fully updated.
- Repo config dialog: added icon on the list to differentiate pools from standalone hosts.
- Use different icons for client and LCM server updates.
- Added icons to the Config Updates dialog.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-09 13:53:21 +01:00
Konstantina Chremmou
4d0d232b19
Merge pull request #3192 from danilo-delbusso/dev/update-invisible-messages
Update `InvisibleMessages`
2023-08-08 14:47:57 +01:00
Danilo Del Busso
533c313600 CA-381017: Pass OriginalString when fetching EUA
The `Uri` constructor removes `:` after the IP/Host name for NFS storage

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-08 14:47:26 +01:00
Konstantina Chremmou
af07cb5f0c Repo selection should not be editable.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-07 15:15:38 +01:00
Konstantina Chremmou
9a006f3fbf CA-380723: Do not allow sync if an update repo is not configured.
Also, corrections to the sync button/link enabled state.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-07 15:15:38 +01:00
Konstantina Chremmou
d609514469 Minor code improvements.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-07 15:15:38 +01:00
Konstantina Chremmou
b5e843c53d Added link label at the top of the LCM updates list to make it easy to re-enable any disabled automatic update checks.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-07 15:15:38 +01:00