Commit Graph

3413 Commits

Author SHA1 Message Date
Callum McIntyre
299ed430cc [CA-223486] Only add the check for hosts that it applies to, instead of all selected ones.
This avoids unnecessary checks where we are upgrading multiple pools from different versions. Also made the same change for the unrelated pre-Clearwater only checks which had the same issue.

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-10-27 10:18:26 +01:00
Callum McIntyre
0ba1e5c6df [CA-223486] Storage Link Status validation is included in Precheck During RPU
We now only include the StorageLink check if we have any hosts earlier than Creedence in the RPU.

Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-10-26 17:28:11 +01:00
Gabor Apati-Nagy
e36eea4a8e Merge pull request #1240 from MihaelaStoica/CA-220475
CA-220475: [PAR-173] XenCenter fails when updating network MTU with V…
2016-10-26 16:15:43 +01:00
Mihaela Stoica
941fd6ce74 CA-220475: [PAR-173] XenCenter fails when updating network MTU with VLAN tag already in use error
- use the PIF of the master when trying to find out if an external network has changed

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-10-26 13:07:47 +01:00
Gabor Apati-Nagy
325f2c2c6e Merge pull request #1238 from xenserver/CAR-2245
CAR-2245: XenCenter changes for CAR-2245 Standarize packaging formats
2016-10-24 17:56:16 +01:00
Gabor Apati-Nagy
3955704ec0 Merge pull request #1236 from mcintyre94/CA-226012
[CA-211267] Add a lightweight polling mechanism to the appliance tasks, to provide an accurate timer
2016-10-24 17:39:53 +01:00
Callum McIntyre
d39a1a7cd3 [CA-211267] Change MAX_ITERATIONS to use SLEEP_TIME, making it a bit clearer and ensuring it's always approx 24h
Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-10-24 17:33:31 +01:00
Callum McIntyre
f11ed643b6 Add a timeout of approximately 24 hours to the TickUntilCompletion method. 2016-10-24 16:13:44 +01:00
Callum McIntyre
bb78309279 [CA-211267] Remove the passing this around and null action check, change TickUntilCompletion to be non-static 2016-10-24 14:22:35 +01:00
Callum McIntyre
7d7a040335 [CA-211267] Add a null check, use Run() to stop child classes directly calling InitialiseTicker()
TickUntilCompletion() is now a static method and again takes an ApplianceAction parameter. It does a null check on each while iteration to handle the case where another thread nulls the action. Also added Run() method to ApplianceAction which initialises the ticker (now a private method), and let child classes call Run() instead.
2016-10-24 11:59:28 +01:00
Konstantina Chremmou
56d7f52b16 Merge pull request #1235 from MihaelaStoica/master
CP-19257: Icon for Kylin Linux
2016-10-24 10:46:10 +01:00
Callum McIntyre
15b4705942 [CA-211267] Move the sleep time into a const int of the class. Also removed the ApplianceAction parameter from TickUntilCompletion (it behaved like a static method), to make it more similar to TaskPoller.PollToCompletion 2016-10-24 10:06:59 +01:00
Callum McIntyre
de43761039 [CA-211267] Add a lightweight polling mechanism to the appliance tasks, to provide an accurate timer
For other actions we get a ticking timer in the Events view because they use PollToCompletion, which calls their Changed event every 900ms. These actions don't use PollToCompletion, and didn't regularly call their Changed event - so their timer didn't tick regularly. This change adds a lightweight mechanism to call their changed event every 900ms until they complete. This allows the events page timer to tick every second in the same way as it does for other actions.
2016-10-24 09:56:09 +01:00
Konstantina Chremmou
1744ca0415 Merge pull request #1237 from MihaelaStoica/CA-226256
CA-226256: Trying to change boot order toggles boot flags
2016-10-24 08:47:09 +01:00
Mihaela Stoica
93149f75f8 CA-226256: Trying to change boot order toggles boot flags
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-10-21 18:53:17 +01:00
Mihaela Stoica
6eb2c80895 CP-19257: Icon for Kylin Linux
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-10-21 18:46:38 +01:00
Mihaela Stoica
3f01ae39b8 Merge pull request #1234 from GaborApatiNagy/CAR-2245_temp
CP-19218: Fixed: Swallowing exceptions
2016-10-21 13:21:32 +01:00
Mihaela Stoica
4b67140b1d Merge pull request #1224 from kc284/master
Some enhancements on the New Graph Dialog:
2016-10-21 13:16:20 +01:00
Konstantina Chremmou
ac01c0e120 Fixed size changes done by the VS designer.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-10-21 13:11:46 +01:00
Gabor Apati-Nagy
b2a82ae514 CP-19218: Fixed: Swallowing exceptions
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-21 13:08:26 +01:00
Mihaela Stoica
2c550c8b60 Merge pull request #1225 from mcintyre94/CA-226012
[CA-226012] Use branding version in the SERVER_TOO_OLD message
2016-10-21 12:37:18 +01:00
Mihaela Stoica
1992e2bc58 Merge pull request #1231 from sriharshak/master
L10N:Bug fixes for "CA-226245" and "CA-226244"
2016-10-21 12:18:01 +01:00
Gabor Apati-Nagy
7393a6d40e Merge pull request #1233 from GaborApatiNagy/CAR-2245_temp
Removed unused field (Release build failed on this)
2016-10-21 11:31:18 +01:00
Gabor Apati-Nagy
55a4957056 Removed unused field (Release build failed on this)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-21 11:29:32 +01:00
mcintyre94
5af266e354 Merge pull request #1232 from GaborApatiNagy/CAR-2245_temp
CA-226261: Install HFX Wizard: Mode page: both radio buttons selected
2016-10-21 11:00:20 +01:00
Callum McIntyre
5cb4cc8ba1 Add the branding for 6.0 to branding.sh and re-branding.sh 2016-10-21 10:58:32 +01:00
sri harsha tagore k
4d65c1cf1e L10N:Bug fixes for "CA-226245" and "CA-226244" 2016-10-21 15:17:21 +05:30
Konstantina Chremmou
5dc6749474 Merge pull request #1227 from MihaelaStoica/master
CA-226112: Disable PVS read caching causes System.NullReferenceException
2016-10-21 10:39:41 +01:00
Gabor Apati-Nagy
92b59a9e44 CA-226261: Install HFX Wizard: Mode page: both radio buttons selected
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-21 10:20:25 +01:00
Mihaela Stoica
6bffb803a1 CA-226112: Disable PVS read caching causes System.NullReferenceException
- code simplification

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-10-21 07:10:23 +01:00
Gabor Apati-Nagy
9a15ff36bf Merge pull request #1229 from GaborApatiNagy/CAR-2245_temp
Merge master into CAR-2245
2016-10-20 19:17:23 +01:00
Gabor Apati-Nagy
56af13e14d Merge remote-tracking branch 'github_xenadmin/CAR-2245' into CAR-2245_temp 2016-10-20 19:15:30 +01:00
Gabor Apati-Nagy
668979c29f Merge remote-tracking branch 'github_xenadmin/master' into CAR-2245_temp
Conflicts:
	XenAdmin/TabPages/GeneralTabPage.cs
	XenAdmin/Wizards/PatchingWizard/PatchingWizardModeGuidanceBuilder.cs
	XenAdmin/Wizards/PatchingWizard/PatchingWizard_ModePage.cs
	XenAdmin/Wizards/PatchingWizard/PatchingWizard_SelectServers.cs
	XenAdminTests/WizardTests/PatchingWizard/PatchingWizardModeGuidanceBuilderTests.cs
	XenModel/Network/Cache.cs
	XenModel/XenModel.csproj
2016-10-20 19:12:57 +01:00
Gabor Apati-Nagy
735feec3e4 CP-19218: Using livepatch_status (for newer bindings)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-20 18:12:13 +01:00
Gabor Apati-Nagy
1c7f6ac643 Merge remote-tracking branch 'github_xenadmin/CAR-2245' into CAR-2245_temp 2016-10-20 17:58:20 +01:00
Gabor Apati-Nagy
a4e390183a Merge pull request #1228 from GaborApatiNagy/CAR-2245_temp
CP-19303: XenCenter: Use new livepatching codes
2016-10-20 17:57:52 +01:00
Gabor Apati-Nagy
0c73e3c583 CP-19303: use the static string.Equals instead
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-20 17:56:39 +01:00
Gabor Apati-Nagy
6c26359dd6 Merge pull request #1222 from MihaelaStoica/CAR-2245
CP-19218: Add restart warnings to the Precheck Page when installing h…
2016-10-20 17:41:32 +01:00
Gabor Apati-Nagy
73f195a8ed CP-19303: Removed PVS-related binding files
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-20 17:28:38 +01:00
Gabor Apati-Nagy
7d0c2e9b36 XenCenter: Handle already uploaded updates
Introduce fails with a Failure if the uploaded update has already been introduced, in that case XenCenter will use the existing Pool_update

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-20 17:20:51 +01:00
Gabor Apati-Nagy
f4a0f3ae40 CP-19303: XenCenter: Use new livepatching codes
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-20 17:19:42 +01:00
Gabor Apati-Nagy
a5d92c27c5 CP-19303: Bring in XAPI bindings for live patching
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-20 17:18:52 +01:00
Mihaela Stoica
2a66b68c7b Merge pull request #1220 from GaborApatiNagy/CAR-2245_temp
CA-225731: XenCenter: Find the ISO update in the zip file defined in CFU
2016-10-20 16:02:05 +01:00
Mihaela Stoica
994ced8388 CA-226112: Disable PVS read caching causes System.NullReferenceException
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-10-20 14:52:51 +01:00
Mihaela Stoica
8c93206ce5 CP-19218: Add restart warnings to the Precheck Page when installing hotfixes
-  If reboot is needed, display this as an info, not a warning

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-10-20 13:09:48 +01:00
Gabor Apati-Nagy
db0a12d436 Merge pull request #1226 from MihaelaStoica/CA-226102
CA-226102: HFX wizard host selection not grayed out when hotfix not a…
2016-10-20 11:35:26 +01:00
Mihaela Stoica
2546731edc CA-226102: HFX wizard host selection not grayed out when hotfix not applicable for current version
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-10-20 11:33:55 +01:00
Callum McIntyre
d7fde3866e [CA-226012] Use branding version in the SERVER_TOO_OLD message
Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-10-20 10:43:39 +01:00
Mihaela Stoica
1040027a6d Merge pull request #1223 from mcintyre94/master_dotnetupgrade
[DotNet Upgrade] Revert the temporary change to use the local .net installer, get .net 4.6 from dotnetpackages again
2016-10-20 10:09:48 +01:00
Konstantina Chremmou
e6ec0d430b Some enhancements on the New Graph Dialog:
- on certain occasions retrieving datasources can be slow; show a spinner while in progress.
- on certain systems the list of datasources may be long; added search box to aid the user filter them by name.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-10-20 00:03:47 +01:00