Commit Graph

4272 Commits

Author SHA1 Message Date
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
Stephen Turner
85d13bdbb6 Remove case that is no longer hit, and that causes confusion because updates.xensource.com shouldn't be in the source 2017-05-03 16:02:31 +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
Mihaela Stoica
7da27c9f62 Merge pull request #1572 from makunterry/private/kunm/apply_inverness
CP-21658: Expose UI only for Inverness or greater version
2017-05-03 10:50:52 +01:00
Kun Ma
b8dbb67309 CP-21658: Expose UI only for Inverness or greater version
Signed-off-by: Kun Ma <kun.ma@citrix.com>
2017-05-03 17:40:49 +08:00
Mihaela Stoica
54c7ff3c29 Merge pull request #1570 from xenserver/master
Merge master into REQ-378
2017-05-03 09:43:42 +01:00
Anoob Soman
5b407bde45 CP-21130: Support EXT_KEY_EVENT encoding for qemu VNC
qemu expects scan code to be passed using the following format,
+--------------+--------------+-------------------+
| No. of bytes | Type [Value] | Description       |
+--------------+--------------+-------------------+
| 1            | U8 [255]     | message-type      |
| 1            | U8 [0]       | qemu key extension|
| 1            | U8           | padding           |
| 1            | U8           | down-flag         |
| 4            | U32          | key symbol        |
| 4            | U32          | key scan code     |
+--------------+--------------+-------------------+
if EXT_KEY_EVENT encoding is supported.

XenCenter queries for EXT_KEY_EVENT encoding and uses EXT_KEY_EVENT for
sending key events to QEMU.

Signed-off-by: Anoob Soman <anoob.soman@citrix.com>
2017-05-02 17:17:30 +01:00
Anoob Soman
a0c34c28bf CP-21130: Extend KeyEvent to supply translated key symbol
QEMU EXT_KEY_EVENT expects key symbol and key scan code to
be sent. This commit extends KeyEvent to supply translated key symbol,
as well as scan code.

Signed-off-by: Anoob Soman <anoob.soman@citrix.com>
2017-05-02 17:16:23 +01:00
Anoob Soman
c0732e261a XenCenterVNC: Do not add 128 to scanCode of NUMS_LOCK
Although NUMS_LOCK is an extended key, scan code for NUMS_LOCK is not
prefixed with 0xe0.

Signed-off-by: Anoob Soman <anoob.soman@citrix.com>
2017-05-02 17:15:46 +01:00
Anoob Soman
c3e588be33 XenCenterVNC: Change the semantics of extended.
"bool extended" reflects FLAG_EXTENDED flag in kbStruct.flags. extended
will be true, if any of the extended key is pressed.

Signed-off-by: Anoob Soman <anoob.soman@citrix.com>
2017-05-02 17:14:16 +01:00
Letsibogo Ramadi
6fdc18e64f Merge pull request #1561 from MihaelaStoica/master
CA-249860: Local root user can not restart the toolstack from XenCent…
2017-05-02 15:06:51 +01:00
Kun Ma
3df0174886 CP-21658: Refine zh/ja UI for PerfmonAlertOptionsPage
Signed-off-by: Kun Ma <kun.ma@citrix.com>
2017-05-02 13:37:16 +01:00
vetrivelc
713dc5dc8a L10N:CP-21817 Translation Checkins 2017-05-02 13:37:16 +01:00
Letsibogo Ramadi
568b4c0de5 Merge pull request #1568 from MihaelaStoica/InvernessOrGreater
Add InvernessOrGreater
2017-05-02 11:55:17 +01:00
Mihaela Stoica
50dadf4ec6 Add InvernessOrGreater
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-02 11:29:39 +01:00
Konstantina Chremmou
119da72ba6 Merge pull request #1564 from MihaelaStoica/CA-251616
CA-251616: Remove the use of the additional branding repository
2017-04-28 14:19:23 +01:00
Mihaela Stoica
7e4a83cc2a CA-251616: Remove the use of the additional branding repository
Rename variable

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-28 14:09:38 +01:00
Konstantina Chremmou
efd430cfc6 Merge pull request #1563 from MihaelaStoica/CA-251616
CA-251616: Remove the use of the additional branding repository
2017-04-28 13:47:29 +01:00
Mihaela Stoica
b9507931d3 CA-251616: Remove the use of the additional branding repository
Add SERVER_BRANDING_TIP to the manifest regardless of branding

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-28 13:26:06 +01:00
Mihaela Stoica
2944c06762 CA-251616: Remove the use of the additional branding repository
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-28 12:50:16 +01:00
Mihaela Stoica
76b3c05b9a CA-250145: XenCenter cannot shutdown VM as VmPowerAdmin user if HA is enabled
The error was happening because of the Pool.sync_database call (when HA is enabled and the VM has a saved restart priority other than DoNotRestart) which requires pool admin or pool operator roles.
This call is not needed, so removing it.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-28 09:08:44 +01:00
Mihaela Stoica
ebbed16f54 CA-249860: Local root user can not restart the toolstack from XenCenter with AD enabled
Use the NewSession function which returns a session using the elevated credentials if they exist, otherwise using the connection's credentials

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-27 12:58:16 +01:00
Mihaela Stoica
3c861b0b7a Merge pull request #1558 from xenserver/release/falcon/staging
Merge release/falcon/staging to master
2017-04-26 14:06:15 +01:00
Gabor Apati-Nagy
141b670964 CA-249056: Add a unique ID to XenCenter Check For Update (#1537)
* CA-249056: Add a unique ID to XenCenter Check For Update

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

* CA-249056: Add a unique ID to XenCenter Check For Update

Fixed the format of the User-Agent to comply with [1].

[1] https://tools.ietf.org/html/rfc7231#section-5.5.3

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

* CA-249056: Add a unique ID to XenCenter Check For Update

Changes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

* CA-249056: Add a unique ID to XenCenter Check For Update

Changes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

* CA-249056: Add a unique ID to XenCenter Check For Update

Changes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-04-26 12:45:49 +01:00
Mihaela Stoica
7914e9d2c4 Merge pull request #1557 from xenserver/release/falcon/staging
Merge release/falcon/staging to master
2017-04-26 10:34:14 +01:00
Mihaela Stoica
ca6e9d43e4 Merge pull request #1553 from geosharath/CP-21970
CP-21970: Integrate new Help content to the Scheduled Snapshots GUI
2017-04-26 10:32:25 +01:00
Mihaela Stoica
5c2139f486 Merge pull request #1556 from xenserver/release/falcon/staging
Release/falcon/staging
2017-04-26 10:13:24 +01:00
Mihaela Stoica
2f7d448537 Merge pull request #1555 from ravibharath/release/falcon/staging
CHM for Falcon
2017-04-26 10:10:08 +01:00
Ravi Bharath Shanmugiah
c68e259534 CHM for Falcon 2017-04-26 14:31:43 +05:30
Letsibogo Ramadi
91a6b6dcf8 Merge pull request #1547 from letsboogey/master
CA-249856 - XenCenter Keyboard shortcuts not working properly on VM c…
2017-04-25 15:55:51 +01:00
Mihaela Stoica
fbcfe2ae41 Merge pull request #1552 from GaborApatiNagy/master_CA-250699
CA-250699: Added missing FriendlyNames (VM-snapshot-schedule)
2017-04-25 14:19:47 +01:00
Mihaela Stoica
6549b9173b Merge pull request #1525 from makunterry/private/kunm/CP-19639
Feature REQ-378 XenCenter part
2017-04-25 14:16:18 +01:00
Mihaela Stoica
42df02734a CA-249856: Fix console position and focus rectangle drawing on resize
Also ensuring that if the UpdateSessionDisplaySettings function (which we use for resize) is not supported, then we display the console centered in the parent window and with scrollbars if needed

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-25 14:07:29 +01:00
Mihaela Stoica
04c652c1c7 Merge pull request #1551 from xenserver/release/falcon/staging
Merge release/falcon/staging to master
2017-04-25 10:12:03 +01:00
Mihaela Stoica
72040850f4 Merge pull request #1549 from kc284/release/falcon/staging
Prevent GroovyCastException.
2017-04-25 10:11:10 +01:00
Konstantina Chremmou
08858e1af0 Bumped location for third party libraries.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-04-25 10:09:32 +01:00
Konstantina Chremmou
70524dacff Prevent GroovyCastException.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-04-25 09:23:02 +01:00
Sharath Babu
e8b87e592e CP-21970: Integrate new Help content to the Scheduled Snapshots GUI
Signed-Off-By: Sharath Babu <sharath.babu@citrix.com>
2017-04-25 11:22:02 +05:30
Kun Ma
f533891df0 CP-21658: Refine control logic in PerfmonAlertOptionsPage
Signed-off-by: Kun Ma <kun.ma@citrix.com>
2017-04-25 09:54:17 +08:00
Mihaela Stoica
5b9c81a7aa Merge pull request #1548 from ushamandya/release/falcon/staging
CP-21780: Submitting an updated CHM for Falcon
2017-04-24 18:16:01 +01:00
Usha Mandya
34a6584b92 CP-21780: Submitting an updated CHM for Falcon 2017-04-24 17:50:29 +01:00
Letsibogo Ramadi
3ea6d56983 CA-249856 - XenCenter Keyboard shortcuts not working properly on VM console when remote desktop mode 2017-04-24 15:52:56 +01:00
Mihaela Stoica
1e46c29e48 CA-249845: Compiling the server status reports sometime fails with Sy… (#1542)
* CA-249845: Compiling the server status reports sometime fails with System.IO.IOException: The process cannot access the file because it is being used by another process

Add a retry mechanism around the File.Move, because the operation sometimes fails when there is an anti-virus running on the XenCenter machine (we are doing the move immediately after we finished writing the file and the anti-virus software might be checking the file at that point)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

* CA-249845: Compiling the server status reports sometime fails with System.IO.IOException: The process cannot access the file because it is being used by another process

Extract the move with retry into a separate function

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-21 17:29:39 +01:00
Mihaela Stoica
d8f11faff3 Merge pull request #1541 from GaborApatiNagy/CA-248920
CA-248920: The radiobutton selection on Select Update page is not preserved while navigating to the previous page in the Install Update wizard
2017-04-21 16:44:31 +01:00
Mihaela Stoica
87f2ff94cc Merge pull request #1545 from xenserver/release/falcon/staging
Merge release/falcon/staging to master
2017-04-21 16:23:18 +01:00