Commit Graph

4352 Commits

Author SHA1 Message Date
Konstantina Chremmou
a557d83397 Alert the user if they haven't synced in a long time. Also:
- Alert sorting was not correct.
- A dismissal request was sent to the server even if there were no server side messages to dismiss.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-31 11:33:25 +01:00
Konstantina Chremmou
2774ea5c7f Show update status for pools and hosts on the General tabPage:
- Show sync status for the pool in its Updates section.
- Moved update date for the host from the Version to the Updates section.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-31 11:33:25 +01:00
Konstantina Chremmou
b0c23a2c36 Merge remote-tracking branch 'upstream/master' into feature/cdn-updates
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>

# Conflicts:
#	XenAdmin/Properties/Resources.resx
2023-07-31 11:03:23 +01:00
Konstantina Chremmou
3afaff18f8
Merge pull request #3163 from danilo-delbusso/dev/trial-edition-CP-43000
CP-43000: Add edition and CSS upsell messages
2023-07-31 11:00:17 +01:00
Danilo Del Busso
707705a08a
CP-43000: Rename elements of Status enum
Information -> Warning
Warning -> Error
Trial -> Passable
Mixed -> Warning

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-31 08:24:43 +01:00
Chris
172d87889b
CP-43070 adds leaf coalesce alert (#3164)
Signed-off-by: Chris Lancaster <Christopher.Lancaste1@citrix.com>
2023-07-28 13:55:05 +01:00
Konstantina Chremmou
9473452657 Restored icons showing updated state of pools and hosts.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-28 09:36:54 +01:00
Konstantina Chremmou
8f18678acc Retrieve the list of available updates for a synchronised pool.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-28 09:36:54 +01:00
Konstantina Chremmou
385130fef6 CP-43265: Added new dialog to configure updates for servers.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-28 09:36:54 +01:00
Konstantina Chremmou
44d11b64f9 CP-42066: Splash screen size and label transparency tweaks.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-28 09:36:54 +01:00
Danilo Del Busso
4447321e2e
CP-43000: Use yellow tick for post trial edition versions
Also ensure there is a warning icon in the status column when hosts has trial with expired css in post preview

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-27 13:19:29 +01:00
Danilo Del Busso
91e14b1235
CP-43000: Use warning icon for non preview hosts with mixed css and licensing statuses
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-26 15:12:19 +01:00
Danilo Del Busso
1819a46ae8
CP-43000: Add custom icon for trial edition hosts in preview
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-26 14:11:20 +01:00
Danilo Del Busso
8065bdaec4
CP-43000: Do not show support warning link if the license link needs to be shown
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-26 13:41:31 +01:00
Konstantina Chremmou
fcc51a0c2d CP-43264: Handle new alert for CSS agreement expiry. Also:
For alerts that have an action link show this before the dismiss item.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-24 21:21:48 +01:00
Konstantina Chremmou
291199182e Minor refactoring.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-24 21:21:48 +01:00
Danilo Del Busso
461b6c97b5
CP-43000: Fix Post82X call in Host extension
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-24 15:52:21 +01:00
Danilo Del Busso
6fa8cfa10b
CP-43000: Update link and text shown in the hosts' general tabs
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:55:37 +01:00
Danilo Del Busso
75faf093a9
CP-43000: Rename IsummaryPanelView to ISummaryPanelView
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:54:25 +01:00
Danilo Del Busso
b7a9716bb8
CP-43000: Show both support and license statuses in License Manager
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:54:22 +01:00
Danilo Del Busso
184bf9831a
CP-43000: Separate support and license warnings in License Manager
Contains placeholder values

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:54:19 +01:00
Konstantina Chremmou
a422eb9986
CP-43000: Moved the Buy Licenses link to a different column.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-19 15:54:16 +01:00
Konstantina Chremmou
f9198e477d
Added option for three columns on the GeneralTabPage panels. Refactored methods adding entries.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-19 15:54:13 +01:00
Konstantina Chremmou
1e89de1c7c
Layout tweaks.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-19 15:54:11 +01:00
Danilo Del Busso
cd920531c8
Apply code review suggestions
- Use `Nullable.HasValue` and `Nullable.Value` to handle `DateTime?` type returned by `LicenseCssExpiry`
- Check UTC time when checking CSS license expiry

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:54:06 +01:00
Danilo Del Busso
b8a3a7cdeb
CP-43000: Add trial edition and CSS expiry warnings to GeneralTabPage
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:54:04 +01:00
Danilo Del Busso
ceaa9abd66
CP-43000: Add trial edition and CSS expiry warnings to LicenseManager
Also:
- Increase size of `LicenseManager` to accommodate larger text
- Add upsell URL to existing warning for pool size restrictions

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:54:01 +01:00
Danilo Del Busso
a086ac30ed
CP-43000: Add new license purchase URL to InvisibleMessages
Also merge duplicate strings into unique `LICENSE_BUY_URL` string

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:53:57 +01:00
Konstantina Chremmou
c439f3de41
Merge pull request #3175 from xenserver/feature/merge
Merge branch 'feature/merge' -> master
2023-07-19 15:32:22 +01:00
Danilo Del Busso
d3a811d566 CA-378758: Ensure all hosts in pool hit HOST_NOT_ENOUGH_FREE_MEMORY before preventing migration
If pool any of the hosts in a pool hit the `HOST_NOT_ENOUGH_FREE_MEMORY` when calling `VM.assert_can_migrate`, XenCenter would prevent migration even if other hosts had enough memory to accommodate the VM.

Likely a result of the fact that other `VM.assert_can_migrate` failures are a consequence of pool-wide configurations. This is an exception.

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 13:42:15 +01:00
Konstantina Chremmou
693286425f Corrections following the merge from master.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-12 16:35:21 +01:00
Konstantina Chremmou
9950996db2
Merge pull request #3171 from xenserver/master
Merge master into feature/merge
2023-07-12 10:19:07 +01:00
Konstantina Chremmou
387d030a4f Updated SDK to v23.15.0. Updated code as this drop deprecates certain Session constructors.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-12 09:56:06 +01:00
Konstantina Chremmou
00246d7429 Disallow connection to havana servers.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-12 09:55:42 +01:00
Konstantina Chremmou
00668e8d53
Merge pull request #3166 from kc284/wlb_images
CP-43770: Removed images from the WLB credentials dialog (plus some refactoring and layout tweaks)
2023-07-11 11:36:09 +01:00
Konstantina Chremmou
33d0b725ff
Merge pull request #3160 from danilo-delbusso/dev/vcpus-warnings
Miscellaneous fixes to vCPUs warnings
2023-07-10 15:11:56 +01:00
Danilo Del Busso
d2424eacf3
Ensure PrepareToUpgradeCheck is run first in the manual upgrade block
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-04 08:58:31 +01:00
Danilo Del Busso
4e59f26cad
Ensure CanRun is called before adding EUA check to precheks list
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-04 08:57:45 +01:00
Danilo Del Busso
eba3305587
Prevent HostMemoryPostUpgradeCheck from running if required hotfixes are missing
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-03 16:03:17 +01:00
Danilo Del Busso
6eb09cbac4
CA-379402: Do not return Problems if the EUA check is run for upgrades to 8.2 CU1 or below
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-03 16:03:16 +01:00
Danilo Del Busso
b43387774e
Remove backing field for AllSelectedTargets
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-03 15:43:49 +01:00
Konstantina Chremmou
57c2cb9fb5 Refactoring to avoid repetition of calculations.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-06-29 18:10:29 +01:00
Konstantina Chremmou
cfd0216bf4 CP-43770: Removed images from the WLB credentials dialog. Minor text and layout tweaks:
- The checkbox should be above the credential textboxes.
- Some controls were not aligned correctly.
- Place the controls in tableLayout panels.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-06-29 18:10:29 +01:00
Danilo Del Busso
1e78d6964b CP-41573: Do not attempt problem reversion if SolutionAction.Connection is null
Applies to newly added EUA presence problem

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-06-26 16:26:22 +01:00
Danilo Del Busso
594db56b6a CP-41573: Refresh pre-checks once EuaNotAcceptedProblem is fixed
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-06-26 10:11:19 +01:00
Danilo Del Busso
06ab09eabb CP-41573: Apply code review suggestions
- Ensure `UpgradeRequiresEUA` runs for Yangtze or greater hosts
- Group non-manual checks in same if block
- Remove unused field in `EuaNotFoundProblem`

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-06-26 10:11:19 +01:00
Danilo Del Busso
6ce22f759a CP-41923: Update RPU005 to version 5.0
Also:
- Add `HostDoesNotHaveHotfixWarning` warning to EUA `Check` when necessary
- Filter our `null` EUAs before passing them to the `Problem`

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-06-26 10:11:19 +01:00
Danilo Del Busso
58be7ff5f9 CP-41573: Make AcceptEuaDialog resizable
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-06-26 10:11:19 +01:00
Danilo Del Busso
c0f849e4fa CP-41573: Use existing generic message for EuaNotFoundProblem
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-06-26 10:11:19 +01:00
Danilo Del Busso
ffbf8e3cd0 CP-41573: Use wizard page as a parent of AcceptEuaDialog
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-06-26 10:11:19 +01:00