Mihaela Stoica
54b3d6c2bb
Merge pull request #1109 from kc284/REQ-156
...
CA-217846: Fixed two more tooltip texts with fullstops.
2016-08-12 13:48:00 +01:00
Konstantina Chremmou
61640d6435
CA-217846: Fixed two more tooltip texts with fullstops.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-08-12 09:15:42 +01:00
Gabor Apati-Nagy
2d02f806fd
Update BatchUpdatesTests.cs
...
CA-217862: Fixed unit test, removed unneeded Assert
2016-08-11 14:40:48 +01:00
Konstantina Chremmou
34e8883a3e
Merge pull request #1105 from GaborApatiNagy/REQ-156
...
CA-217862: Batch Updates: handle partially upgraded pools
2016-08-11 11:56:58 +01:00
Gabor Apati-Nagy
50e9504da7
CA-217862: Batch Updates: Fixed order of checks when setting the tooltip for disabled hosts
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-11 11:14:32 +01:00
Gabor Apati-Nagy
0ae3f6e2c4
CA-217862: Unit test fix
...
to reflect that NULL is expected in this case
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-10 14:01:36 +01:00
Gabor Apati-Nagy
9f7a635da1
Merge remote-tracking branch 'github_xenadmin/REQ-156' into REQ-156
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
Conflicts:
XenAdmin/Core/Updates.cs
2016-08-10 12:50:45 +01:00
Gabor Apati-Nagy
7c78644a86
Merge pull request #1102 from kc284/REQ-156
...
CA-217847: Fixed issue where servers were marked as unable to be upda…
2016-08-10 11:01:33 +01:00
Gabor Apati-Nagy
f9d8b4dea9
CA-217862: Batch updates: Install dundee released hotfixes in Batch fails when pool slave is not reachable and pool partially upgraded
...
Partially upgraded pools are not supported. If the versions of servers mismatch in a pool, Automatic updating will be disabled with the appropriate info message.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-10 10:48:22 +01:00
Konstantina Chremmou
5f75c0dd74
CA-217847: Fixed issue where servers were marked as unable to be updated automatically
...
even when automatic mode was supported for them. The problem was that the xenserver
versions were not retrieved from the DownloadUpdatesXmlAction once the latter had run.
Also, minor refactoring.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-08-09 16:53:02 +01:00
Mihaela Stoica
4046ce0f95
Merge pull request #1096 from GaborApatiNagy/master_batch_new2
...
CA-217382: Batch updates: Install batch updates is not showing low di…
2016-08-09 14:17:48 +01:00
Konstantina Chremmou
208d4aa1f9
Merge pull request #1099 from GaborApatiNagy/CA-217844
...
CA-217844: Handling Automatic update not supported
2016-08-09 14:05:12 +01:00
Gabor Apati-Nagy
db4e5e6d6b
Merge pull request #1097 from kc284/REQ-156
...
CA-217843 + some other issues on the PatchingWizard_SelectPatchPage
2016-08-09 13:50:18 +01:00
Gabor Apati-Nagy
7289a771fb
CA-217844: Handling Automatic update not supported
...
Fixed tooltip following the code review
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-09 13:40:39 +01:00
Konstantina Chremmou
5ccea31130
CA-217846: Removed full stop from tooltip.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-08-09 12:51:18 +01:00
Konstantina Chremmou
016c39bdaa
CA-217843: AS requested per code review, hide originally the controls related to
...
automatic mode to avoid flickering during page load.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-08-09 12:45:35 +01:00
Gabor Apati-Nagy
e28ca1ded1
CA-217844: Handling Automatic update not supported
...
If there is no <minimalpatches /> tag, the version is not supported. This check has priority over licensed state when displaying the reason why a server is not supported.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-08 18:30:54 +01:00
Gabor Apati-Nagy
16afbd3bed
CA-217382: Batch updates: Install batch updates is not showing low disk space error in pre-checks when host dom0 is full
...
Fixes following the code review
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-08 18:05:42 +01:00
Konstantina Chremmou
e9ca8b529a
CA-217843 best effort: Run RestoreDismissedUpdates action asynchronously to prevent UI hiccups.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-08-08 14:37:47 +01:00
Konstantina Chremmou
c30938ff12
CA-217843: Fixed various issues on the select patch page: control tab order; some
...
hotkeys; button enabled state; some memory leaks; added spinner while check for
updates is in progress; added alternative text for when automatic mode is not available.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-08-08 11:41:42 +01:00
Gabor Apati-Nagy
f93a977ddf
CA-217382: Batch updates: Install batch updates is not showing low disk space error in pre-checks when host dom0 is full
...
Implemented pre-check to check whether there is enough free disk space
before starting updating a pool.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-05 18:05:09 +01:00
Mihaela Stoica
c3f85c7a99
Merge pull request #1091 from GaborApatiNagy/master_batch_new2
...
CA-216854: Fixed error messages shown
2016-08-04 14:31:19 +01:00
Gabor Apati-Nagy
0ae6568a60
CA-216854: Fixed error messages shown
...
Now the wizard shows localized and friendly error messages instead of error codes
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-03 17:15:57 +01:00
Mihaela Stoica
d7ba62e025
Merge pull request #1090 from GaborApatiNagy/master_batch_new2
...
CA-217232: Batch updates: Install Dundee released hotfixes in Batch f…
2016-08-02 18:04:59 +01:00
Gabor Apati-Nagy
90653493c5
CA-217232: Batch updates: Install Dundee released hotfixes in Batch fails with wrong message in hotfix wizard
...
Despite the update sequences are correct by host, when they are flattened, the original order (order in minimal patches) was not considered properly, so a missing patch was scheduled for later in the sequence than it should have been, thus the upgrade failed with a precheck-error.
This bug occurs when we are given
* a pool of more than one host,
* with (at least) patchA not installed on 2 or more hosts
* patchA requires patchR that is not installed on at least one of the above hosts (but not not on all)
* the host that is missing patchR is ahead of other hosts in pool.Hosts.Cache
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-02 16:58:24 +01:00
Mihaela Stoica
2c8b542e44
Merge pull request #1089 from GaborApatiNagy/master_batch_new2
...
CA-216935: Fixed a bug that can occur when multiple pools are being u…
2016-08-02 16:09:48 +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
Mihaela Stoica
abc58d92af
Merge pull request #1070 from GaborApatiNagy/master_batch_new2
...
CA-216162, CA-215573
2016-07-19 10:09:44 +01:00
Gabor Apati-Nagy
893275fb2f
CA-215573: Batch updates: Install update wizard "Finish" button activated even when batch install still in progress
...
Trivial changeset
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-07-19 09:25:17 +01:00
Gabor Apati-Nagy
a007eec882
CA-216162: Batch updates: Wrong hover message on install update wizard when installing batch updates
...
Better messages on Select Server Page
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-07-19 09:12:30 +01:00
Mihaela Stoica
22236c1976
Merge pull request #1056 from GaborApatiNagy/master_batch_new2
...
CA-215093: Batch updates: Update progress failed in a pool of mixed state hosts
2016-07-05 17:27:32 +01:00
Gabor Apati-Nagy
bd26c7ac0e
CA-215093: Batch updates: Update progress failed in a pool of mixed state hosts
...
Utilising default comparer on Host (This will makemaster first.)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-07-05 15:37:52 +01:00
Gabor Apati-Nagy
f8a7d97890
CA-215093: Batch updates: Update progress failed in a pool of mixed state hosts
...
Where (in code removed by this commit) we iterated through the planActionsByHost dictionary, the hosts were iterated through in the order how the dictionary was initialized. Despite the actions were added in the right order, they then were screwed up, because the Cache.Hosts can have the hosts randomly while we want the master to be first.
To fix the bug, I changed the data structure from a dictionary to a list that has the actions exactly in the (good) order, the order they were added, eliminating the risk of the actions being retrieved in the wrong order.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-07-05 14:35:31 +01:00
Mihaela Stoica
06adea4f47
Merge pull request #1052 from GaborApatiNagy/master_batch_new2
...
CA-214063: Batch Updates: Name of the master is shown instead of the …
2016-07-05 11:04:32 +01:00
Gabor Apati-Nagy
1fe300c16d
CA-214063: Batch Updates: Name of the master is shown
...
Removed unused field
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-07-05 11:00:40 +01:00
Gabor Apati-Nagy
504f73778f
CA-214063: Batch Updates: Name of the master is shown instead of the pool's name on Select Servers Page
...
Code review changes: Showing server icon for standalone hosts instead the pool icon
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-07-05 10:42:49 +01:00
Gabor Apati-Nagy
55ff3794cf
CA-214063: Batch Updates: Name of the master is shown instead of the pool's name on Select Servers Page
...
Fixed display issue, now showing pools (and standalone hosts at the same level), not masters.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-07-01 17:41:49 +01:00
Gabor Apati-Nagy
de66c4403a
Merge pull request #1047 from GaborApatiNagy/master_batch_new2
...
Merge master
2016-06-29 18:00:50 +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
994f5b4811
Merge remote-tracking branch 'github_xenadmin/master' into master_batch_new2
2016-06-29 16:52:13 +01:00
Gabor Apati-Nagy
54257ebaea
CP-17282: Unit tests to validate the Update Sequence logic
...
Added tests to csproj
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-29 14:01:19 +01:00
Mihaela Stoica
e8db39e0f6
Merge pull request #1046 from GaborApatiNagy/master_batch_new2
...
CP-17282: Unit tests to validate the Update Sequence logic
2016-06-29 13:59:38 +01:00
Gabor Apati-Nagy
eb5b01bc83
CP-17282: Unit tests to validate the Update Sequence logic
...
More tests following the code review
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-29 13:45:36 +01:00
Gabor Apati-Nagy
9337663adb
CP-17282: Unit tests to validate the Update Sequence logic
...
Unit tests to test GetUpdateSequence
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-29 12:49:53 +01:00
Mihaela Stoica
20cb3b4df1
Merge pull request #1042 from kc284/master
...
Latest API bindings, including definition of dundee-plus release...
2016-06-28 13:09:36 +01:00
Mihaela Stoica
01b4e7a5b2
Merge pull request #1044 from GaborApatiNagy/master_batch_new2
...
CA-214566: Fix for: Upload succeeded, but Pool_patch hasn't been found
2016-06-28 13:08:34 +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
Konstantina Chremmou
db79326ab1
Merge pull request #1025 from MihaelaStoica/CA-212147
...
CA-212147: RPU failing with insufficient license error when host lice…
2016-06-27 11:37:46 +01:00
Konstantina Chremmou
6012af79bd
Copied over the latest XenCenter bindings (which also define the dundee plus release).
2016-06-27 11:30:33 +01:00
Konstantina Chremmou
fd3393049c
Code simplification: use Action delegate instead of EventHandler since the event is not sending any objects when triggered.
2016-06-27 10:20:23 +01:00