Commit Graph

4088 Commits

Author SHA1 Message Date
Gabor Apati-Nagy
0311f7dd72 CA-220047: Show proper precheck error when a VM cannot be migrated
A bit of refactoring as requested by the reviewers

I decided not remove the NullReferenceExceptions and throw the Failures
immediately in order to avoid the additional error handling that seems to be unnecessary there. However, the reason I've decided to keep it as is is that it would change what gets logged and the performance gain would not be noticeable anyway. Furthermore, the current implementation (try-catchall) catches any other exceptions providing fallback to the default Failure.
2017-06-05 10:15:18 +01:00
Gabor Apati-Nagy
02025aa2b4 CA-220047: Show proper precheck error when a VM cannot be migrated
Detect both VM_LACKS_FEATURE and VM_LACKS_FEATURE_SUSPEND, show proper error message on the pre-check page in the Install Updates Wizard

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-05-22 11:17:42 +01:00
Mihaela Stoica
7b7bf8f135 Merge pull request #1600 from MihaelaStoica/master
CA-254545: Update the DOTNET_BUILD_LOCATION to the build containing t…
2017-05-19 14:34:13 +01:00
Mihaela Stoica
f54cbb6164 CA-254545: Update the DOTNET_BUILD_LOCATION to the build containing the patched xml-rpc
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-19 10:16:19 +01:00
Letsibogo Ramadi
ef68d07c47 CA-249849 - Using arrows to select license in license manager are the… (#1588)
* CA-249849 - Using arrows to select license in license manager are the wrong way

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>

* CA-249849 - Using arrows to select license in license manager are the wrong way round

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>

* CA-249849 - Using arrows to select license in license manager

Reverted tab order for radiobutton groupbox as per review comments
2017-05-18 12:25:04 +01:00
Mihaela Stoica
6288ace0f5 Merge pull request #1594 from xenserver/release/falcon/staging
Merge release/falcon/staging into master
2017-05-17 12:45:36 +01:00
Gabor Apati-Nagy
47f7690536 Merge pull request #1590 from MihaelaStoica/CA-244663
CA-244663: In the Migrate VM wizard, add storage mappings for the VDI…
2017-05-16 13:54:13 +01:00
Mihaela Stoica
6440226ee3 Merge pull request #1587 from letsboogey/master
CA-250234 - XenCenter hit with NullReferenceException at HAPage
2017-05-16 11:56:33 +01:00
Mihaela Stoica
e50187b85e Merge pull request #1593 from GaborApatiNagy/master_CA-252923
CA-252923: Update apply on slave host fails with pool_patch or pool_update not found
2017-05-16 11:52:22 +01:00
Gabor Apati-Nagy
eb45d14a8a Merge pull request #1576 from MihaelaStoica/CA-251630
CA-251630: XenCenter update wizard incorrectly states that some hosts…
2017-05-15 13:59:19 +01:00
Gabor Apati-Nagy
d55af4e5a7 CA-252923: Update apply on slave host fails with pool_patch or pool_update not found
In rare cases, the GetMaster could return null, causing the update progress to fail with "Pool_patch or Pool_update not found". (when the Cache hasn't been populated by the execution gets here)
This commit drops GetMaster and uses a pre-saved masterUuid instead of waiting for the Cache what would be the other way to solve this issue.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-05-12 16:10:36 +01:00
Mihaela Stoica
d2f3c0c116 CA-244663: In the Migrate VM wizard, add storage mappings for the VDIs belonging to the VM's snapshots
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-11 16:42:41 +01:00
Mihaela Stoica
fd950286e2 Merge pull request #1589 from vetrivelc/release/falcon/staging
L10N: CA-250470,CA-250471,CA-250472,CA-250473,CA-250893,CA-250894 UI fixes
2017-05-11 15:18:11 +01:00
vetrivelc
21a7a74408 L10N: CA-250470,CA-250471,CA-250472,CA-250473,CA-250893,CA-250894 Localized UI fixes 2017-05-11 19:36:14 +05:30
Letsibogo Ramadi
adde3dc044 CA-250234 - XenCenter hit with NullReferenceException at HAPage
More robust check for null connection

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-05-10 16:40:12 +01:00
Mihaela Stoica
1bc43eda7d Merge pull request #1586 from GaborApatiNagy/master_updates
CA-252877: Precheck actions not reverted on upgrading to new XenServer version using an update
2017-05-10 12:35:00 +01:00
Letsibogo Ramadi
63cd499cbd CA-250234 - XenCenter hit with NullReferenceException at HAPage.Rebuild()
Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-05-10 12:32:15 +01:00
Gabor Apati-Nagy
d14f0d6b49 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 12:21:11 +01:00
Mihaela Stoica
d015ba223e Merge pull request #1575 from letsboogey/master
CA-251526 - Change template order in New VM wizard
2017-05-10 11:33:03 +01:00
Letsibogo Ramadi
0c7cf8678b CA-251526 - Change template order in New VM wizard
Moved "Legacy Windows" template to the bottom of the Windows templates
to discourage users from selecting it and avoid it being selected by default
at the top of the list as was the case.

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-05-10 11:30:16 +01:00
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
Konstantina Chremmou
652e446245 Merge pull request #1585 from MihaelaStoica/CA-242134
CA-242134: Remove the code targetting <= 6.1 XenServers
2017-05-10 08:14:23 +01:00
Gabor Apati-Nagy
d9a8b646ea Merge pull request #1578 from MihaelaStoica/CA-253047
CA-253047: Wrong prechecks are performed in Automated Updates mode if…
2017-05-09 20:21:36 +01:00
Mihaela Stoica
31c26aef22 Merge branch 'master' into CA-242134 2017-05-09 16:31:04 +01:00
Mihaela Stoica
5aaaf48139 Merge pull request #1584 from letsboogey/CA-253011
CA-253011 - Update license text
2017-05-09 09:24:05 +01:00
Mihaela Stoica
52ba688920 CA-242134: Change the API version to 2.0 in our test databases
This is required following the change to refuse connection to pre-Clearwater hosts

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-08 17:55:36 +01:00
Mihaela Stoica
dba1d05fcc CA-242134: Refuse connection to pre-Clearwater hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-08 17:54:26 +01:00
Mihaela Stoica
549cdf6522 CA-242134: Fix some tests after the removal of ClearwaterOrGreater usages
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-08 17:53:17 +01:00
Letsibogo Ramadi
c1197fce61 CA-253011 - Update licence text
Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-05-08 17:07:43 +01:00
Letsibogo Ramadi
7cf7601499 CA-253011 - Update license text 2017-05-08 16:57:17 +01:00
Mihaela Stoica
a31c31eb07 CA-242134: Remove licensing code targeting pre-Clearwater hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-08 13:40:48 +01:00
Mihaela Stoica
68aa91bcaa CA-242134: Remove code targeting pre-Clearwater hosts and unnecessary ClearwaterOrGreater checks
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-05 15:35:25 +01:00
Mihaela Stoica
78ad827cc4 CA-242134: Remove TampaOrGreater, its usages and unreachable code
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-05 14:31:43 +01:00
Mihaela Stoica
496a400ae4 Merge pull request #1582 from xenserver/release/falcon/staging
Merge release/falcon/staging to master
2017-05-05 12:45:31 +01:00
Mihaela Stoica
827843a7e7 Merge pull request #1581 from vetrivelc/release/falcon/staging
L10N:Revised Falcon Help Files
2017-05-05 12:16:13 +01:00
vetrivelc
16d7d6fa89 L10N:Revised Falcon Help Files 2017-05-05 16:41:56 +05:30
Mihaela Stoica
d9f6016933 CP-242134: Remove pre-Clearwater hotfixes
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-05 10:45:10 +01:00
Mihaela Stoica
1351155283 CP-21997: Remove CFUValidator from the build script
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-04 16:50:40 +01:00
Mihaela Stoica
d107410d33 Merge pull request #1574 from GaborApatiNagy/CP-21997
CP-21997: Delete unused CFUValidator code
2017-05-04 15:27:05 +01:00
Mihaela Stoica
cd2cff7d91 Merge pull request #1579 from xenserver/release/falcon/staging
Merge release/falcon/staging to master
2017-05-04 15:22:53 +01:00
Mihaela Stoica
7883713e7e Merge pull request #1577 from vetrivelc/release/falcon/staging
L10N:Falcon Localized Help Files Checkin
2017-05-04 15:18:12 +01:00
Mihaela Stoica
dd861cfeed CA-253047: Wrong prechecks are performed in Automated Updates mode if an update has been previously uploaded
Reset the PrecheckPage.PoolUpdate property on leaving the SelectPatch page, because it needs to be null for the Automated Updates mode and for the single update mode it will be updated on leaving the Upload page.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-04 15:14:06 +01:00
vetrivelc
bf58ff1ec0 L10N:Falcon Localized Help Files Checkin 2017-05-04 19:40:06 +05:30
Mihaela Stoica
6e4c5d3548 CA-251630: XenCenter update wizard incorrectly states that some hosts need rebooting and requires suspending VMs
Perform all the prechecks on applicable hosts only (i.e. the hosts that don't have the update applied already), with the following exceptions:
- The HA check, which is performed on the pool master
- The server-side precheck (PatchPrecheckCheck) which will still be performed on all servers in the pool and will show the warning if the update has already been applied on some servers

This commit also adds an override to the HAOffCheck.SuccessfulCheckDescription to show the pool name instead of the master's if the check is successful.
Also, in the PatchPrecheckCheck, I had moved the code that checks if the patch is already applied to the very beginning (before the host liveness check), so it will return the warning that the server will be skipped even if the server is not reachable

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-04 14:32:36 +01:00
Gabor Apati-Nagy
95c7e47bf7 CP-21997: Delete unused CFUValidator code
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-05-03 14:50:39 +01:00
Mihaela Stoica
f71b39ff5f Merge pull request #1573 from anoobs/ps_ver
download_packages: Check version of powershell before executing
2017-05-03 14:03:25 +01:00
Anoob Soman
dd3dcff853 download_packages: Check version of powershell before executing
Windows 7 (without sp1) comes with powershell v2.x and
download_packages.ps1 doesn't work with powershell v2.x.

Check for powershell version and bail out if Major version is less than
3.

Signed-off-by: Anoob Soman <anoob.soman@citrix.com>
2017-05-03 13:45:41 +01:00
Mihaela Stoica
cd9ef6f509 Merge pull request #1565 from letsboogey/bug_thursday
CA-250235 - XC is allowing user to configure Health check even with W…
2017-05-03 12:48:41 +01:00
Mihaela Stoica
42b4afa752 Merge pull request #1566 from xenserver/release/falcon/staging
Merge release/falcon/staging to master
2017-05-03 12:41:49 +01:00
Letsibogo Ramadi
042915f5be CA-250235 - XC is allowing user to configure Health check even with Wrong XenServer Credentials 2017-05-03 12:23:06 +01:00