Gabor Apati-Nagy
5eff76be28
CA-252877: Precheck actions not reverted on upgrading to new XenServer version using an update
...
Automated Updates now undo pre-check actions once it's finished wit the updates
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-05-10 10:06:41 +01:00
Gabor Apati-Nagy
15827512e1
CA-244687: XSINT71E003 asks user to restart toolstack after installing hotfixes using Batch hotfixing
...
This commit fixes a bug in the Update Wizard that causes XenCenter to not restart Toolstack when it should in the following case: in Automated Mode, when the update sequence for a host has an update that contains live-patch with restartHost guidance (and guidance-mandatory=false) followed by an update with Toolstack restart guidance.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-03-01 12:05:44 +00:00
Mihaela Stoica
ef331986c7
CA-238265: Add the action title to the error message displayed on the Install Update page of the patching wizard.
...
Also changed ApplyPatchAction and ApplyUpdateAction to install a single update to a single host, so that the appropriate action title can be displayed if an action fails. And replaced 2 hardcoded strings with resource strings.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-02-06 13:04:07 +00:00
Gabor Apati-Nagy
978f85233c
CA-176169: Added copyright statement to files which it was missing from
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-01-16 20:14:56 +00:00
Gabor Apati-Nagy
7c0bc50b4a
CA-176169: Changed copyright statements to include the comma in Citrix Systems,
...
Inc.
Signed-off-by: Gabor Apati-Nagy<gabor.apati-nagy@citrix.com>
2017-01-16 19:59:50 +00:00
Gabor Apati-Nagy
5cd032525c
CA-229009: VDI is not deleted for the updates
...
If batch updating fails in a pool, this code will do the clean up by
running the appropriate (next in the queue) RemoveUpdateFilesFromMaster action. In addition to Pool_update.clean(), Pool_update.destroy() will be called when needed.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-11-24 10:40:06 +00: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
Gabor Apati-Nagy
64d7938f55
CA-225731: XenCenter: Find the ISO update in the zip file defined in CFU
...
Removed dead code
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-19 13:42:34 +01:00
Gabor Apati-Nagy
27581fa7a1
CA-225731: XenCenter: Find the ISO update in the zip file defined in CFU
...
Moved ISO to InvisibleMessages and Branding
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-19 13:42:16 +01:00
Gabor Apati-Nagy
225885ac45
CA-225731: XenCenter: Find the ISO update in the zip file defined in CFU
...
Always define the extension to search for
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-19 13:39:14 +01:00
Gabor Apati-Nagy
8ac6774e80
CA-225731: XenCenter: Find the ISO update in the zip file defined in CFU
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-19 11:29:57 +01:00
Gabor Apati-Nagy
5fa7f5a797
CP-19265: Use Pool_update.async_apply
...
Changed XenCenter following the XAPI fix
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-12 16:27:34 +01:00
Gabor Apati-Nagy
5df1593989
CP-19264: Live Patching in XC: Use Pool_update version of Host.patches_requiring_reboot in XenCenter
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-12 14:48:17 +01:00
Gabor Apati-Nagy
37735febd1
CP-18421: Use host.updates instead of host.patches
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-05 12:55:34 +01:00
Gabor Apati-Nagy
5cfce00e01
CP-17848: Apply hotfixes using new API calls
...
Changes following the code review
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-04 23:26:35 +01:00
Gabor Apati-Nagy
5966c5399a
Merge remote-tracking branch 'github_xenadmin/master' into CAR-2245_temp
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
Conflicts:
XenAdmin/Wizards/PatchingWizard/PatchingWizard_PatchingPage.cs
2016-10-04 15:10:47 +01:00
Gabor Apati-Nagy
7d62621dd3
CP-17848: Apply hotfixes using new API calls
...
Using new XAPI functionality in Install Update Wizard required by the new packaging format (ISO updates)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-04 14:58:54 +01:00
Mihaela Stoica
4aaaea43d9
CA-223407: Hosts don't get rebooted after a supplemental pack installation and the wizard is stuck in "rebooting" phase
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-09-29 10:07:00 +01:00
Mihaela Stoica
b1728ee125
CA-220049: Non-livepatch hotfix installation is failing
...
This fixes the NullReferenceException that occurs when trying to evacuate a host after a non-livepatch update (that requires reboot) has been installed
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-09-01 17:14:21 +01:00
Gabor Apati-Nagy
d7a94c1684
CP-18014: Alter batch hotfixing to use host.patches_requiring_reboot
...
Fixed flickering
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-26 16:41:12 +01:00
Gabor Apati-Nagy
15f69ef584
CP-18014: Alter batch hotfixing to use host.patches_requiring_reboot
...
Improving AvoidRestartHost usage/interface
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-26 16:04:28 +01:00
Gabor Apati-Nagy
f55cf77c00
CP-18014: Alter batch hotfixing to use host.patches_requiring_reboot
...
XenCenter will check host.patches_requiring_reboot when a host restart is due while a batch update is in progress. If the restart is not required, XenCenter will skip relevant PlanActions.
The intention here is to check this whenever a restart is due according to the original schedule - this way a completely livepatchable update can prevent the restart while the key batch hotfixing logic is not changed.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-26 15:37:57 +01:00
Gabor Apati-Nagy
0174974c93
Merge branch 'master' of https://github.com/xenserver/xenadmin into CP-18014
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
Conflicts:
XenAdmin/Wizards/PatchingWizard/PatchingWizard.cs
XenAdmin/Wizards/PatchingWizard/PatchingWizard_PrecheckPage.cs
XenModel/Messages.Designer.cs
XenModel/Messages.ja.resx
XenModel/Messages.resx
XenModel/Messages.zh-CN.resx
2016-08-26 15:22:03 +01:00
Konstantina Chremmou
73b0c36fb6
CA-217232: Added some null ref checks.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-08-19 10:55:18 +01:00
Gabor Apati-Nagy
54f67be47c
CA-217232: Fixed regression caused by the fix for CA-216935
...
Changes following the code review
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-18 17:55:44 +01:00
Gabor Apati-Nagy
d054c80f62
CA-217232: Fixed regression caused by the fix for CA-216935
...
Changes following the code review
2016-08-18 16:02:24 +01:00
Gabor Apati-Nagy
37c120ee57
CA-217232: Fixed regression caused by the fix for CA-216935
...
Creation of PoolPatchMapping objects made safer.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-18 11:30:50 +01:00
Gabor Apati-Nagy
feafb7ac62
CA-217232: Fixed regression caused by the fix for CA-216935
...
Comparing uuids instead of references that likely will be changed after the Cache has been repopulated.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-18 11:25:39 +01:00
Gabor Apati-Nagy
48ef276c06
CA-216935: Fixed a bug that can occur when multiple pools are being updated with the same update and one of the prechecks happen before the other pool is finished applying the update
...
The PatchPrechecksOnMultipleHostsInAPoolPlanAction did not filter the patchmappings by masterhost, so with some probability, it could choose the wrong mapping (pool_patch object for the same update, but in different pool). This bug is being fixed in this commit, other changes only renamed (for more consistent naming) a class and removed an unused field.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-02 14:30:20 +01:00
Gabor Apati-Nagy
66be637878
Merging (upstream) master into REQ-156 branch caused a build error:
...
Fixed build error that was caused by changed visibility of a method.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-29 17:56:51 +01:00
Gabor Apati-Nagy
ee08e06f52
CA-214566: Upload succeeded, but Pool_patch hasn't been found
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-27 19:43:41 +01:00
Gabor Apati-Nagy
a8445d5ed8
Fixed warning as an error in build
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-23 10:27:16 +01:00
Gabor Apati-Nagy
7a84b305ef
CP-17699: Developer testing and improvements
...
for Batch Updating
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-17 14:15:59 +01:00
Gabor Apati-Nagy
3561155d03
CP-15719: UI: Implement error handling/reporting on Upload & Install page
...
Some more on error handling, better displaying of errors
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-01 13:45:21 +01:00
Gabor Apati-Nagy
a05e92d001
UI: Implement parallel execution of the sequences
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-05-11 14:13:14 +01:00
Gabor Apati-Nagy
deb4d5724c
CP-15717: UI: Implement basic upload/precheck/patch/cleanup logic
...
Fixes following the code review
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-05-04 13:47:41 +01:00
Gabor Apati-Nagy
fdb930bb19
CP-15717: UI: Implement basic upload/precheck/patch/cleanup logic
...
cleaned up code
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-05-04 11:21:23 +01:00
Gabor Apati-Nagy
fca591cd6f
CP-15717: UI: Implement basic upload/precheck/patch/cleanup logic
...
intermediate commit
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-05-04 11:07:37 +01:00
Gabor Apati-Nagy
466f01b926
CP-15717: UI: Implement basic upload/precheck/patch/cleanup logic
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-05-04 11:06:39 +01:00
Gabor Apati-Nagy
d3914a2318
CP-15717: UI: Implement basic upload/precheck/patch/cleanup logic
...
intermediate commit
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-05-04 11:02:16 +01:00
Carmen Agimof
fa61ff27c7
CP-13041 : Remove the hotfix after installing it.
...
Signed-off-by: Carmen Agimof <Carmen.Agimof@citrix.com>
2015-07-08 17:35:50 +01:00
Mihaela Stoica
8d0c6e64ff
CA-156200: HANDLE_INVALID shown on Rolling Pool Upgrade completed page
...
- while upgrading a host, throw a HOST_OFFLINE ("Server could not be contacted") exception if the host can no longer be resolved (instead of HANDLE_INVALID)
- also corrected the parameters of the HANDLE_INVALID exception, as an extra parameter is needed for the friendly error name.
- in the UpdateManualHostPlanAction class I replaced Host with the private property _host in several places, so we are no longer trying to resolve the host each time we want to write something into logs
- added some null checks, to avoid reporting null reference exception
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-04-17 14:56:40 +01:00
Mihaela Stoica
5b33590df0
CP-10824: Supp Pack installation through XenCenter: Install supp pack from vdi
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-26 15:43:36 +00:00
Konstantina Chremmou
d1c0da5d54
PlanAction simplification: removed PlanActionStatusChangedEventArgs class; use Action<T>
...
delegate; renamed event and its event hadler.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-21 12:52:28 +00:00
Konstantina Chremmou
373e4c6851
CP-4960: Notify the users they have a half-upgraded pool: small improvements.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-19 12:41:07 +00:00
Gabor Apati-Nagy
21b4dbca1a
Fixing implicit hidings that break the release build
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-12-17 18:09:54 +00:00
Konstantina Chremmou
81a41f5a22
CP-4957: Added logging for the Rolling Pool Upgrade process.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-13 17:57:20 +00:00
Mihaela Stoica
bd36a85bff
CP-4816: Initial commit to git repo
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-06-24 12:41:48 +01:00