Commit Graph

1404 Commits

Author SHA1 Message Date
Gabor Apati-Nagy
5f3d49e9da Merge pull request #1473 from letsboogey/gpu
CP-21120 - XenCenter shows MxGPU as 'passthrough' rather than model
2017-03-07 18:53:20 +00:00
Stephen Turner
e6ae98dd52 CA-137253: Make the error message more generic, because it can have various causes 2017-03-07 16:42:41 +00:00
Letsibogo Ramadi
34780b1e0a CP-21120 - XenCenter shows MxGPU as 'passthrough' rather than model 2017-03-07 16:13:53 +00:00
Gabor Apati-Nagy
c96bb94583 CA-245545: The proxy server is no longer bypassed by the check-for-updates when it shouldn't be
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-03-02 10:15:41 +00:00
Gabor Apati-Nagy
48ce1f5229 Merge pull request #1458 from MihaelaStoica/CAR-2214-to-master
Merge CAR-2214 to master
2017-02-28 15:28:22 +00:00
Mihaela Stoica
7a04e5186e Merge remote-tracking branch 'upstream/CAR-2214' into master
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	Jenkinsfile
	XenModel/Actions/Updates/DownloadAndUnzipXenServerPatchAction.cs
	XenModel/Actions/Updates/DownloadUpdatesXmlAction.cs
2017-02-28 10:30:02 +00:00
Mihaela Stoica
33979bb1f2 CA-236104: Do not allow pre and post Ely servers to be selected at the same time when the user browsed for an iso update or supplemental pack.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-02-27 16:45:34 +00:00
Frederico Mazzone
39c1169933 CA-244661: Improve dialog message for 407 proxy authentication error
Signed-off-by: Frederico Mazzone <frederico.mazzone@citrix.com>
2017-02-21 16:33:00 +00:00
Gabor Apati-Nagy
2de8f55e30 Merge pull request #1439 from letsboogey/funnylabelfix
CA-236150 - Funny label on status report wizard
2017-02-15 14:05:14 +00:00
Letsibogo Ramadi
10bb65d2f2 CA-236150 - Funny label on status report wizard
Changed label to a LinkLabel instead of RichTextBox. Also fixed similar bug on the healthcheck enrollment dialog.
2017-02-15 13:51:19 +00:00
Gabor Apati-Nagy
dbebd7de74 Merge pull request #1435 from kc284/master
Collect all 3rd party components in one place.
2017-02-14 12:34:44 +00:00
Stephen Turner
f3a64fc54b Merge pull request #1433 from geosharath/feature_merge
Scheduled Snapshots feature merge
2017-02-14 10:09:17 +00:00
vetrivelc
6d9273f304 L10N: Translation Changes & VMSS updates CP-20708 2017-02-14 03:27:38 +00:00
Mihaela Stoica
0ad2e19458 CA-242397: Fix format exception caused by incorrect chunk reading
Improved the ReadHttpHeaders function, by making sure that a chunk is read fully from the stream (the number of bytes read by the Stream.Read function can be less than the number of bytes requested, so we need to continue reading until the required number of bytes is read)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-02-10 12:21:59 +00:00
Mihaela Stoica
a9785f0efc Bring latest Http.cs from bindings 2017-02-10 12:19:56 +00:00
Konstantina Chremmou
a04b039870 Collected all third party libraries in one place so it's easier for developers to setup their system.
Added a help script to that purpose.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-02-09 20:27:03 +00:00
Gabor Apati-Nagy
88bc2a6367 CA-242309: Friendly names for the PVS-Accelerator status report
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-02-09 17:55:14 +00:00
Mihaela Stoica
ce48a73e6d Merge pull request #1430 from MihaelaStoica/CA-241725
CA-241725: Better FriendlyErrorName for UPDATE_APPLY_FAILED
2017-02-08 14:03:19 +00:00
Mihaela Stoica
335bffefaa Merge pull request #1431 from geosharath/CP-20545
CP-20545: [XC] Validate the usage of "scheduled snapshots" and "snapshot schedules"
2017-02-08 13:53:24 +00:00
Mihaela Stoica
58a2f6ded5 CA-241725: Better FriendlyErrorName for UPDATE_APPLY_FAILED
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-02-08 12:08:59 +00:00
Gabor Apati-Nagy
6693570b11 Merge pull request #1428 from MihaelaStoica/CA-238265
CA-238265: Add the action title to the error message displayed on the…
2017-02-08 11:47:38 +00:00
Mihaela Stoica
20dff51109 Merge pull request #1424 from GaborApatiNagy/CA-241431
CA-241431: Using standard .net WebClient to download updates.xml
2017-02-08 11:31:28 +00:00
Mihaela Stoica
21c2296410 CP-19605: Improve the performance of the CreateNewRootNode function (#1429)
* CP-19605: Improve the performance of the CreateNewRootNode function

Make GroupKey a class and override GetHashCode and Equals

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

* CP-19605: Remove debugging lines

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-02-08 09:56:13 +00:00
Sharath Babu
087be4a776 CP-20545: [XC] Validate the usage of "scheduled snapshots" and "snapshot schedules"
Signed-Off-By: Sharath Babu <sharath.babu@citrix.com>
2017-02-08 14:00:47 +05:30
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
Mihaela Stoica
41adff4ea4 Merge pull request #1426 from geosharath/VMSS-B2B
B2B merge from master to VMSS
2017-02-06 09:26:32 +00:00
Sharath Babu
0800e361c6 Merge branch 'master' of https://github.com/xenserver/xenadmin into VMSS 2017-02-04 13:59:58 +05:30
Stephen Turner
d1b4b75258 Fix for NRE in fix for CA-214653 2017-02-03 14:57:42 +00:00
geosharath
ffc23c102e CP-20712: Add support for FalconOrGreater function in XC (#1418)
Signed-Off-by: Sharath Babu <sharath.babu@citrix.com>
2017-02-03 12:12:24 +00:00
Mihaela Stoica
f2f6afe52a Merge pull request #1422 from geosharath/CA-241847
CA-241847: [VMSS] VM Protection policies pop-up from Pool -> VM Protection policies raises XenCenter error on XS 6.1
2017-02-03 10:35:42 +00:00
Sharath Babu
5595019d47 CA-241847: [VMSS] VM Protection policies pop-up from Pool -> VM Protection policies
raises XenCenter error on XS 6.1

When Text is null error is raised by split() function, we
need to handle that case.

Signed-Off-By: Sharath Babu <sharath.babu@citrix.com>
2017-02-03 10:41:19 +05:30
Gabor Apati-Nagy
bab50d9fe9 CA-241431: Using standard .net WebClient to download updates.xml
A bit of improvement to prevent leaks

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-02-02 18:35:02 +00:00
Gabor Apati-Nagy
266197ba01 CA-241431: Fixed DownloadAndUnzipXenServerPatchAction to use proxy settings
When working on this ticket (see previous commit), I noticed that the WebClient object used in DownloadAndUnzipXenServerPatchAction did not use XenCenter's proxy settings. This commit fixes this issue. By default (with no proxy being set) the proxy variable will be null as expected.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-02-02 18:29:19 +00:00
Gabor Apati-Nagy
28fe0de0c6 CA-241431: Using standard .net WebClient to download updates.xml
Using standard .NET Framework functionality instead of the custom implementation of the HTTP stack. (To download a single file.)
Note that this .net class WebClient is already being used to download hotfixes. However, in that code the proxy is not set, I am fixing that in a new commit on the same ticket.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-02-02 18:18:54 +00:00
Sharath Babu
b984c56661 CA-241883: [VMSS] Pool Operator/Pool Admin - VMSS Policy creation raises an assertion error in XC
A wrong api was being tested against the RBAC roles. Removed
vmss.protect_now and added vmss.snapshot_now.

Signed-Of-By: Sharath Babu <sharath.babu@citrix.com>
2017-02-02 08:04:03 +05:30
Mihaela Stoica
9c77b65f24 CA-240544: Copied over the latest XenCenter bindings (#1420)
Including the friendly name for the new xapi error UPDATE_PRECHECK_FAILED_GPGKEY_NOT_IMPORTED
2017-02-01 13:37:17 +00:00
Mihaela Stoica
73293c7e4b Merge pull request #1401 from letsboogey/master
CA-239951 - Patching wizard allows selection of unreachable hosts
2017-01-30 11:02:38 +00:00
Letsibogo Ramadi
2aae7ab0f2 CA-239890 - EN: The update for PVS-Accelerator is displayed as “pvsaccelerator” on the “General” page.
Changes all update names to friendly names which are usually identical to the Name Description.
2017-01-26 10:39:06 +00:00
Sharath Babu
786b1cabcf Fixing build issues in Messages.Designer.cs
Signed-Off-by: Sharath Babu <sharath.babu@citrix.com>
2017-01-25 16:02:11 +05:30
Letsibogo Ramadi
045c405f92 CA-239951 - Patching wizard allows selection of unreachable hosts
Disabled the ability to select unreachable hosts and in addition
added a try/catch block to hide error message resulting from trying
to clean up an unreachable host.

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-01-25 10:28:11 +00:00
Sharath Babu
4833565ec6 Fixing copyright check failures at build time
Signed-Off-by: Sharath Babu <sharath.babu@citrix.com>
2017-01-25 14:11:24 +05:30
Sharath Babu
ee4b2818f6 Merge remote-tracking branch 'xenserver/CAR-2205' into xenserver/VMSS
Signed-Off-by: Sharath Babu <Sharath.Babu@citrix.com>
2017-01-25 13:01:54 +05:30
Konstantina Chremmou
489d8684e4 Merge remote-tracking branch 'upstream/master' into CAR-2214
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>

# Conflicts:
#	Branding/branding.sh
#	mk/archive-unsigned.sh
#	mk/build.sh
#	mk/bumpBuildNumber.sh
#	mk/copy-build-output.sh
#	mk/declarations.sh
#	mk/tests-checks-cover.sh
#	mk/tests-checks.sh
2017-01-24 14:46:57 +00:00
Sharath Babu
af182d9e7e CA-213512: [VMSS] XC mentions VMPR instead of VMSS on failure of snapshot
Signed-Off-by: Sharath Babu <sharath.babu@citrix.com>
2017-01-23 16:25:16 +05:30
Konstantina Chremmou
88b4104dac Moved the ProxyAuthenticationMethod enum to the HTTP class so the VNCControl can compile.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-01-20 14:47:04 +00:00
Mihaela Stoica
74885674c3 CA-238901: PVS proxy not setup for imported VM
For ElyOrGreater hosts, we try move the existing VIFs to the desired networks. We will only destroy and create new ones for older hosts or when a corresponding VIF cannot be found in the network mapping.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-20 12:54:13 +00:00
Konstantina Chremmou
a59e4f4ad3 Merge pull request #1382 from GaborApatiNagy/master_CA-176169
CA-176169: Copyright statement checking
2017-01-19 15:14:25 +00:00
Frederico Mazzone
76fd266913 Merge branch 'master' into CAR-2214
Conflicts:
	XenAdmin/Properties/Settings.Designer.cs
	XenAdmin/Properties/Settings.settings
	XenAdmin/app.config
	XenModel/Actions/Updates/DownloadAndUnzipXenServerPatchAction.cs

Signed-off-by: Frederico Mazzone <frederico.mazzone@citrix.com>
2017-01-19 14:16:51 +00:00
Mihaela Stoica
2ae2bdfdd8 CA-182453: XenCenter does not show an active XenMotion in another session
Added "VM.pool_migrate" to the list of tasks suitable for meddling actions.
Removed the usage of MeddlingActionTitle other_config key, because it wasn't working as intended for two reasons:
- If XenCenter starts an action that does multiple async api calls, so multiple tasks, the action's title is assigned to all tasks as MeddlingActionTitles, so the second XenCenter instance would create multiple meddling actions with the same title.
- When a second XenCenter instance tries to see if a task is suitable for a meddling action, the MeddlingActionTitle is not yet present in the task's other_config, so the task is ignored in most of the cases.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-18 14:25:55 +00:00
Gabor Apati-Nagy
356a7ebdc4 Merge pull request #1372 from MihaelaStoica/CA-226900
CA-226900: Do not allow selection of individual pool members when ins…
2017-01-18 14:07:31 +00:00