Commit Graph

1590 Commits

Author SHA1 Message Date
Mihaela Stoica
85d67a63a7 CA-12164: Server Status Report wizard: Add option to upload the server status report to CIS
- changes following code review
- renamed some controls.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-30 11:53:11 +01:00
Mihaela Stoica
f0e7f5328f CA-12164: Server Status Report wizard: Add option to upload the server status report to CIS
- add the option on the destination page of the wizard
- for authentication purposes, MyCitrix credentials are required.
- these credentials are only used to obtain an upload token that will be used for the upload.
- the upload token expires in 24 hours and is not saved in the xapi database.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-25 23:51:11 +01:00
Gabor Apati-Nagy
9fd7a2d6cc Merge pull request #503 from MihaelaStoica/CP-12626
CP-12626: Use health_check_config field for Call Home enrollment sett…
2015-06-16 14:12:43 +01:00
Mihaela Stoica
e3a360f375 CP-12626: Use health_check_config field for Call Home enrollment settings
- update XenModel with the api bindings containing xapi fields and methods related to this task

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-16 10:08:41 +01:00
Stephen Turner
4406e335ec Merge pull request #501 from GaborApatiNagy/master_CP-11985
CP-11985: Implement RPU pre-check phase for safe repartitioning
2015-06-15 18:03:16 +01:00
Gabor Apati-Nagy
64409fded6 CP-11985: Implement RPU pre-check phase for safe repartitioning
edited Messages.resx

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-15 17:47:36 +01:00
Mihaela Stoica
e1592cddac Merge pull request #497 from huizh/CP-12159
CP-12159: XenServerHealthCheck: collect server status report.
2015-06-11 16:42:26 +03:00
Hui Zhang
87caa91f65 CP-12159: XenServerHealthCheck: collect server status report.
Fetch the server status report for CIS bundle uploading.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-06-11 20:42:29 +08:00
Mihaela Stoica
9ffaab370c Merge pull request #498 from cheng--zhang/CP-12158-new
CP-12624: Upload a CallHome report to CIS on demand
2015-06-11 15:17:03 +03:00
Mihaela Stoica
cc2d6ce2fd Merge pull request #500 from GaborApatiNagy/master_CA-172444
CA-172444: Consistency should be followed for behavior of all buttons in same page
2015-06-10 18:06:54 +03:00
Gabor Apati-Nagy
165b1e96de CA-172444: Consistency should be followed for behavior of all buttons in same page
Making the "Open SSH Console" button visible but disabled instead of hiding it in the following cases:
-VM is suspended
-VM is running, but we do not know any IP address (eg no Tools installed on it)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-10 16:03:57 +01:00
Gabor Apati-Nagy
a73252c9fe IsWindows property added to the VM class.
Returns true if this VM is Windows.

Ignore PV guests, then check if viridian platform property is set.
This is based on the assumption that the viridian flag is always true for a windows VM.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-10 15:04:38 +01:00
Gabor Apati-Nagy
bd0220de51 Merge pull request #499 from MihaelaStoica/CallHome
CP-12154: Offer Call Home enrollment when connecting to Call-Home cap…
2015-06-10 13:39:05 +01:00
Mihaela Stoica
2cce79c5a2 CP-12154: Offer Call Home enrollment when connecting to Call-Home capable hosts
- fixed "warning as error" issues: Assignment made to same variable and Field never used

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-10 13:27:29 +01:00
Cheng Zhang
038b8792e3 CP-12624: Upload a CallHome report to CIS on demand
1. Add Upload a CallHome report to CIS on demand logic
2. Add test cases to check the function

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-06-10 19:02:29 +08:00
Mihaela Stoica
3f0a9b6c40 Merge pull request #488 from cheng--zhang/CP-12158-new
CP-12158: Read the Call Home upload schedule and determine if an uplo…
2015-06-10 13:17:57 +03:00
Gabor Apati-Nagy
9580170733 Merge pull request #492 from MihaelaStoica/CallHome
CP-12154: Offer Call Home enrollment when connecting to Call-Home cap…
2015-06-10 10:54:19 +01:00
Cheng Zhang
8333bfcb19 CP-12158: Rework review comments
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-06-10 17:32:52 +08:00
Gabor Apati-Nagy
ffc90c6b7c Merge pull request #493 from MihaelaStoica/CP-12316
CP-12316: Ability for a XenCenter user show whether a guest is HVM or PV
2015-06-10 10:29:49 +01:00
Mihaela Stoica
9c67f803a6 Merge pull request #496 from GaborApatiNagy/master_CA-172441
CA-172441: Wrong message shown when hover mouse on 'Open SSH Console'
2015-06-10 12:29:21 +03:00
Gabor Apati-Nagy
f6c5c3bd31 CA-172441: Wrong message shown when hover mouse on 'Open SSH Console'
button

Removed tooltip from the "Open SSH Console" button

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-10 10:20:38 +01:00
Mihaela Stoica
adf6cded90 Merge pull request #495 from GaborApatiNagy/master_CP-11985
CP-11985: Implement RPU pre-check phase for safe repartitioning
2015-06-09 19:24:55 +03:00
Gabor Apati-Nagy
970ab331b1 CP-11985: Implement RPU pre-check phase for safe repartitioning
Added check for the "not_enough_space" case

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-09 17:21:50 +01:00
Mihaela Stoica
f206d77c83 CP-12162: Add Health Check Service to the XenCenter build system
xenadmin-build.sh: Added a backslash to separate the parameters of the cp command
2015-06-09 14:28:30 +01:00
Mihaela Stoica
c829a4b451 Merge pull request #494 from MihaelaStoica/cheng--zhang-CP-12162
Merge CP-12162
2015-06-09 15:28:01 +03:00
Mihaela Stoica
415812fec1 Merge branch 'CP-12162' of https://github.com/cheng--zhang/xenadmin into cheng--zhang-CP-12162 2015-06-09 13:22:53 +01:00
Mihaela Stoica
059e0f77b5 CP-12316: Ability for a XenCenter user show whether a guest is HVM or PV
Added this information on the VM's general tab, and it could be one of the following:
- Operating mode: Paravirtualized (PV)
- Operating mode: Fully virtualized (HVM)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-09 12:34:13 +01:00
Gabor Apati-Nagy
8911939172 Merge pull request #491 from rosslagerwall/cp7644-v2
CP-7644: Write XenCenter product version and build number
2015-06-09 10:31:47 +01:00
Cheng Zhang
5ff8911688 Use DbProxy and server databases to do the UT test
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-06-09 16:06:17 +08:00
Ross Lagerwall
9675089982 CP-7644: Write XenCenter product version and build number
Write out the XenCenter version and build number into a version file so
that other tools can determine them from the build artifacts.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
2015-06-08 16:47:25 +01:00
Mihaela Stoica
8ce3dc9952 CP-12154: Offer Call Home enrollment when connecting to Call-Home capable hosts
- Check call home enrollment status on connecting to a pool: If status is unknown it means that the pool is not enrolled (enabled) and has never been (disabled). If that's the case, then show the Health Check Overview dialog with the pool selected
- "Enroll now" on Health Check Overview will try enroll the selected pool into call home using existing token authentication. If this is not possible, then a dialog will be presented for the user to perform the initial authentication.
2015-06-08 16:46:16 +01:00
Cheng Zhang
e220e489c9 CP-12158: Read the Call Home upload schedule and determine if an upload can start
1.Add logic to firm an upload can start.
2.Lock will be added if upload can start
3.Add unit test

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-06-08 16:32:54 +08:00
Cheng Zhang
8f04a5b88c CP-12162: Add Health Check Service to the XenCenter build system
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-06-08 16:02:25 +08:00
Mihaela Stoica
aef41e83dc Merge pull request #487 from GaborApatiNagy/master_CP-11985
CP-11985: Implement RPU pre-check phase for safe repartitioning
2015-06-04 17:41:35 +03:00
Gabor Apati-Nagy
fa10c0cf54 CP-11985: Implement RPU pre-check phase for safe repartitioning
testSafe2Upgrade pugin function in prepare_host_upgrade.py is called as part of the RPU pre-checks

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-04 15:36:39 +01:00
Mihaela Stoica
ca1609fe29 Merge pull request #486 from xenserver/GaborApatiNagy-patch-1
CA-169167: Screen resolution is less than the default value after swi…
2015-06-04 13:50:16 +03:00
Gabor Apati-Nagy
547dced854 CA-169167: Screen resolution is less than the default value after switch to remote desktop
Fixing unused field as warning as error build issue
2015-06-04 11:49:09 +01:00
Mihaela Stoica
d2dedaec40 Merge pull request #458 from cheng--zhang/CA-169170
CA-169167: Screen resolution is less than the default value after switch to remote desktop
2015-06-04 13:19:57 +03:00
Cheng Zhang
554d5a6483 CA-169167: auto-implemented for AutoSwitchRDPLater
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-06-04 18:13:58 +08:00
Mihaela Stoica
b55671bec2 Merge pull request #484 from MihaelaStoica/CallHome
CP-12153: Call Home Authentication
2015-06-04 12:18:01 +03:00
Mihaela Stoica
01e329db60 Merge pull request #485 from cheng--zhang/CP-12158
CP-12158: Add debug log for XenServer Health Check Service
2015-06-04 12:17:43 +03:00
Cheng Zhang
b9267e00a2 CP-12158: Add debug log for XenServer Health Check Service
Log will be located at ${PROGRAMDATA}/Citrix/XenServerHealthCheck/logs/XenServerHealthCheck.log

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-06-04 15:15:33 +08:00
Mihaela Stoica
2dd4c52350 CP-12153: Call Home Authentication
- added getter and setter to the token property to prevent "Field never assigned" warning

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-03 15:14:39 +01:00
Gabor Apati-Nagy
638cd6045a Merge pull request #479 from MihaelaStoica/CallHome
CP-12153: Call Home Authentication
2015-06-02 16:56:35 +01:00
Mihaela Stoica
f8e47e82b5 CP-12153: Call Home Authentication
- changes following code review
- added some more logging of exceptions, also some null checks

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-02 16:47:19 +01:00
Mihaela Stoica
0fadbb227b Merge pull request #483 from GaborApatiNagy/master_rdp_fix
CA-153347 [...]: fixing regression caused by CA-160189
2015-06-02 17:14:42 +03:00
Gabor Apati-Nagy
fd7407c127 CA-153347: Send Ctrl-Alt-Del is available for non-running VMs (title edited)
Reverted previous fix 7608caafd7, because
managed to find the root cause of this issue: commit ce3bec1231.
Instead of reverting the latter completely, this commit fixes the regression by removing unnecessary calling of UpdateButtons().

Note: The button will still be enabled for dom0 console.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-02 15:10:24 +01:00
Mihaela Stoica
9c3982542e CP-12153: Call Home Authentication
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-02 14:48:59 +01:00
Gabor Apati-Nagy
87c3811b45 Revert "CA-153347: Send Ctrl-Alt-Del is available for dom0 console and for non-running VMs"
This reverts commit 7608caafd7.
2015-06-01 15:33:17 +01:00
Gabor Apati-Nagy
00abff836b Merge pull request #482 from stephen-turner/gitignore
Add putty.exe to .gitignore
2015-05-28 19:08:23 +01:00