Commit Graph

3985 Commits

Author SHA1 Message Date
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
Mihaela Stoica
5996b33579 Merge pull request #1423 from geosharath/CA-241883
CA-241883: [VMSS] Pool Operator/Pool Admin - VMSS Policy creation raises an assertion error in XC
2017-02-02 10:32:59 +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
9d1baaa6fe Merge pull request #1421 from geosharath/CA-241844
CA-241844: [VMSS] Deleting a snapshot schedule raises XenCenter error
2017-02-01 16:57:33 +00:00
Gabor Apati-Nagy
01cebc9166 Merge pull request #1404 from MihaelaStoica/CP-19607
CP-19607: Make sure that event handlers are unregistered when controls are not visible
2017-02-01 13:53:14 +00:00
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
ce8cdce0a4 CA-236844: XenCenter throws "Assertion failed" error when toggling be… (#1419)
* CA-236844: XenCenter throws "Assertion failed" error when toggling between the RDP and VNC consoles

Couldn't reproduce it, but it looks like the assertion is hit because the console view still holds a subscription to an event from an old vnc stream (maybe not garbage collected yet).
Added code to deregister event handlers when the vcnStream is disconnected and also replaced the the assertion with an if statement, ignoring the case that might have caused the assertion failure.

* CA-236844: XenCenter throws "Assertion failed" error when toggling between the RDP and VNC consoles

Added a Debug assert and a null check.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-02-01 12:55:00 +00:00
Sharath Babu
b5c96618ff CA-241844: [VMSS] Deleting a snapshot schedule raises XenCenter error
After deleting the schedule vmss will be null for that message, hence
we need to handle this case.

Signed-Of-By: Sharath Babu <sharath.babu@citrix.com>
2017-02-01 14:15:49 +05:30
Sharath Babu
25b056ce21 CP-20712: Add support for FalconOrGreater function in XC
Signed-Off-by: Sharath Babu <sharath.babu@citrix.com>
2017-02-01 05:06:40 +05:30
Mihaela Stoica
430b9e87ed CP-19607: More event handlers that needed to be deregistered 2017-01-31 14:35:59 +00:00
Mihaela Stoica
25dc1c5201 Merge pull request #1416 from geosharath/VMSS-B2B
CA-241767: [VMSS] Scheduled snapshots not getting listed in XC
2017-01-31 09:35:02 +00:00
Sharath Babu
9da9aabce7 CA-241767: [VMSS] Scheduled snapshots not getting listed in XC
Signed-Off-by: Sharath Babu <Sharath.Babu@citrix.com>
2017-01-31 10:01:33 +05:30
Konstantina Chremmou
dbd60f1365 Merge pull request #1413 from rasebo/master
Jenkinsfile: add authentication and fix GString readFile issue.
2017-01-30 11:30:55 +00:00
Razvan Botez
e7d631a8fb Jenkinsfile: add authentication and fix GString readFile issue. 2017-01-30 11:24:21 +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
Mihaela Stoica
8d4913aa0d Merge pull request #1412 from kc284/master
Moved checking out of branding specifics to the Jenkinsfile. Removed …
2017-01-30 10:58:52 +00:00
Konstantina Chremmou
b7a35b9778 Moved checking out of branding specifics to the Jenkinsfile. Removed non applicable switch.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-01-30 09:54:19 +00:00
Mihaela Stoica
e008fc95dd Merge pull request #1410 from ushamandya/master
Fixed a tag issue
2017-01-27 12:39:02 +00:00
Usha Mandya
2bcf798678 Fixed a tag issue 2017-01-27 12:34:54 +00:00
Letsibogo Ramadi
3a4e3e8235 CA-237968 - Unfriendly error 'method name that you used is host.call_extension' while applying Ely hotfix on partially upgraded pool 2017-01-26 17:03:23 +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
Konstantina Chremmou
c4a9bf8c47 Merge pull request #1408 from xenserver/CAR-2205
Merging CAR-2205 into master
2017-01-25 23:45:50 +00:00
Gabor Apati-Nagy
605b84acb6 Merge pull request #1407 from MihaelaStoica/VMSS
Add VMSS files to the XenServer project
2017-01-25 17:01:37 +00:00
Mihaela Stoica
a833819ba7 Add VMSS files to the XenServer project
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-25 16:52:34 +00:00
Mihaela Stoica
f265996890 Merge pull request #1406 from geosharath/VMSS-B2B
Fixing build issues in Messages.Designer.cs
2017-01-25 15:59:30 +00:00
Mihaela Stoica
3644642551 Merge pull request #1405 from geosharath/VMSS-B2B
Fixing copyright check failures at build time
2017-01-25 13:57:00 +00:00
Mihaela Stoica
d0049d6fc0 Merge pull request #1400 from kc284/CAR-2214
Merge master and CAR-2205 into CAR-2214
2017-01-25 13:14:53 +00:00
Mihaela Stoica
88fb405465 Merge pull request #1403 from kc284/CAR-2205
Testing code for alternative brandings; optional script for setting u…
2017-01-25 13:14:31 +00:00
Mihaela Stoica
ae98bbcf30 Merge pull request #1402 from geosharath/VMSS-B2B
VMSS B2B merge from CAR-2205
2017-01-25 12:57:33 +00:00
Mihaela Stoica
c35eae23be CP-19607: Unregister event handlers when the tab pages are hidden
Implemented a generic mechanism to allow tab pages to unregister their event handlers when they are hidden (when a tab page gets deselected)
Also changed VMStoragePage to derive from BaseTabPage, so it could use the same mechanism.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-25 12:38:33 +00:00
Mihaela Stoica
80e60abf7c CP-19607: Make sure that event handlers are unregistered when the SrPicker control is disposed
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-25 12:15:59 +00:00
Konstantina Chremmou
d28b384b75 Testing code for alternative brandings; optional script for setting up environment.
Remove hardcoded repo location.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-01-25 11:42:22 +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
88090a1f6b Merge branch 'CAR-2205' into CAR-2214 2017-01-24 14:47:32 +00:00
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
Mihaela Stoica
36a146a2c8 Merge pull request #1399 from kc284/CAR-2205
Merging master into CAR-2205
2017-01-24 14:16:22 +00:00
Konstantina Chremmou
83d92aa573 Merge remote-tracking branch 'upstream/master' into CAR-2205
# 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 13:54:42 +00:00
Gabor Apati-Nagy
a6502acb8f Merge pull request #1393 from MihaelaStoica/CA-238901
CA-238901: PVS proxy not setup for imported VM
2017-01-24 12:16:21 +00:00
Mihaela Stoica
02c228ca85 Merge pull request #1390 from GaborApatiNagy/master_CA-238993
CA-238993: Fixed: forever growing updates list while new or updated metadata was not shown
2017-01-24 09:54:25 +00:00
Mihaela Stoica
8f4cebb70e Merge pull request #1395 from kc284/CAR-2205
Pass the Jenkins node as a parameter. Corrected the upload path. Rena…
2017-01-24 09:32:43 +00:00
Mihaela Stoica
a6e95e3cb7 Merge pull request #1387 from geosharath/CA-213512
CA-213512: [VMSS] XC mentions VMPR instead of VMSS on failure of snapshot
2017-01-24 09:31:34 +00:00