Commit Graph

2754 Commits

Author SHA1 Message Date
Konstantina Chremmou
e4012a7bd5
Merge pull request #3194 from xenserver/master
Master->feature/cdn-updates
2023-08-09 14:20:55 +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
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
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
ca3ed31136 Updated the text and URL for the license server link.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-07 12:26:13 +01:00
Konstantina Chremmou
538dc61c94 The users TabPage should not appear for hosts in a pool, only standalone hosts or pool. Corrected message.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-07 12:26:13 +01:00
Danilo Del Busso
e4fd1ff3af
Update InvisibleMessages and remove identical values from localized resource files
Also removed outdated `FCOE_SR_DEPRECATION_URL`

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-08-07 12:18:24 +01:00
Konstantina Chremmou
a55d2340a5 CA-380744: Corrected RBAC permission check for CheckForCdnUpdatesAction.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-03 13:46:52 +01:00
Konstantina Chremmou
2a1685e40f Exclude internal roles from friendly listing on UI and logs.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-03 13:46:52 +01:00
Konstantina Chremmou
c822c87af2 Renamed method to match C# conventions.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-03 13:46:52 +01:00
Konstantina Chremmou
ae81d5738a CP-43267: Apply updates from CDN
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-01 13:56:54 +01:00
Konstantina Chremmou
87f1fa3e81 CP-43266: Account for live patches in the update list.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-08-01 13:56:54 +01:00
Konstantina Chremmou
98165b9f02 CP-44285: Added new hotfix type Foundational.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-31 23:18:04 +01:00
Konstantina Chremmou
c4892897dd Several corrections:
- Last sync date was not shown for standalone hosts.
- Unlocalised string and incomplete release info.
- Converted Synchronise button to a split button to synchronize all/selected pools.
- Update the label above the updates from CDN page when filters are on.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-31 23:18:04 +01:00
Konstantina Chremmou
60284077e3 CP-43266: Added new notifications page to list updates from CDN.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-31 11:33:25 +01:00
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
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
36c5b940cc Allow using test locations for downloading LCM hotfixes.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-28 10:14:27 +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
d4c5b810cd Temporary SDK drop for updates from CDN. Added xapi version check for 23.18.0.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-28 09:36:54 +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
Konstantina Chremmou
049b85fb11 CA-380218: It was not possible to create VMs with VDIs smaller than the max disk size when the summed size exceeded the latter limit.
The limitation of 2TB for non-GFS2 SRs is on the size of individual VDIs, not the total.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-07-25 12:24:55 +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
Konstantina Chremmou
2c3e4fd140 Sorted the fields and properties and added members for Repositories.
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
382785e3f1
CP-43000: Sort strings in InvisibleMessages
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 16:03:51 +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
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
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
Danilo Del Busso
83139d938e
Fix license date format definition string
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:54:08 +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
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
Danilo Del Busso
066a59a0b4
CP-43000: Add friendly name for trial edition
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:53:54 +01:00
Danilo Del Busso
3bf6a88f9c
CP-43000: Add Host extension methods to check if upselling messages are needed
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-19 15:53:52 +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
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
a08ed18770
Improve wording for IMPORT_WIZARD_CPUS_COUNT_MISMATCH_POOL warning
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-10 13:44:09 +01:00
Danilo Del Busso
dc747fec05
Update wording of vCPUs count warnings in ImportWizard
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-03 15:46:02 +01:00