Commit Graph

1783 Commits

Author SHA1 Message Date
Carmen Agimof
365c4d7d6e CP-13039: Provide more obvious functionality to upload a hotfix from a file. 2015-07-09 16:32:08 +01:00
Stephen Turner
c2d55caed8 Merge pull request #534 from MihaelaStoica/CP-12510
CP-12510: Update the error message displayed when a VM cannot migrate…
2015-07-09 11:42:40 +01:00
Mihaela Stoica
7b65782665 Merge pull request #533 from agimofcarmen/CP-13041
CP-13041 : Remove the hotfix after installing it.
2015-07-09 11:07:16 +01:00
Mihaela Stoica
5b240e7149 CP-12510: Update the error message displayed when a VM cannot migrate to a host with a different hardware platform version.
- Changed the friendly error name for VM_HOST_INCOMPATIBLE_VIRTUAL_HARDWARE_PLATFORM_VERSION to "The VM's Virtual Hardware Platform version is incompatible with this host."

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-09 10:15:50 +01:00
Carmen Agimof
fa61ff27c7 CP-13041 : Remove the hotfix after installing it.
Signed-off-by: Carmen Agimof <Carmen.Agimof@citrix.com>
2015-07-08 17:35:50 +01:00
Mihaela Stoica
ec2356570b Merge pull request #529 from kaifengz/CA-173358
CA-173358: Change the unit of vbd-io-throughput data sources to MiB
2015-07-08 15:55:28 +01:00
Kaifeng Zhu
70a7a62790 CA-173358: Change the unit of vbd-io-throughput data sources to MiB
The unit of VBD IO throughput is changed to MiB after merged all
VBD related data sources from xcp-rrdd to rrdp-iostat,

Signed-off-by: Kaifeng Zhu <kaifeng.zhu@citrix.com>
2015-07-08 17:56:23 +08:00
Gabor Apati-Nagy
66c57c4fce Merge pull request #532 from MihaelaStoica/CallHome
CP-12890: Allow user to specify XenServer credentials AND some other fixes
2015-07-07 18:54:05 +01:00
Mihaela Stoica
06116e0a3b CP-12890: Allow user to specify XenServer credentials to use for Health Check
- removed some brackets

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-07 18:25:15 +01:00
Mihaela Stoica
14119bc008 CP-12160: Changes following code review
- added CallHomeSettings.TryParseStringToDateTime() function, which does not throw an exception if the conversion fails

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-07 15:32:14 +01:00
Mihaela Stoica
6fee699ee0 CP-12160: Fix some issues found during the integration tests
- Use string.IsNullOrEmpty() instead of string.Length
- Reset NewUploadRequest after a successful upload (if the upload started after the request time)
- When trying to determine if an “on demand” upload is due, avoid parsing exception if the NewUploadRequest if the field is empty.
- Also added more detailed logging.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-06 17:10:00 +01:00
Mihaela Stoica
d366c57f55 CP-12890: Allow user to specify XenServer credentials to use for Health Check
- added new fields to the Health Check Settings dialog (XenServer credentials)
- these credentials are saved as xapi secrets, and on un-enroll they are being removed
- removed the Authenticate button; the authentication is now done on pressing the OK button
- the Health Check Settings dialog is displayed on "Enroll now" and "Edit Health Check settings"
- display the "Last Successful Upload" on the Health Check Overview dialog
- use uniform format when converting time to string and string to time

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-06 17:02:55 +01:00
Gabor Apati-Nagy
1efb42da6d Merge pull request #531 from MihaelaStoica/temp
Temporarily disable FCoE feature for all hosts
2015-07-03 12:41:29 +01:00
Gabor Apati-Nagy
b7fc43a0e8 Merge pull request #530 from MihaelaStoica/CP-12476
CP-12476: Include dom0 disk space hotfix in XenCenter RPU pre-requisites
2015-07-03 12:40:37 +01:00
Mihaela Stoica
0dd6ebdb7f Temporarily disable FCoE feature for all hosts 2015-07-03 12:38:41 +01:00
Mihaela Stoica
93accdca4d CP-12476: Include dom0 disk space hotfix in XenCenter RPU pre-requisites
- added the most recent hotfix files
2015-07-03 11:54:20 +01:00
Mihaela Stoica
2f126dab0c Merge pull request #528 from GaborApatiNagy/master_installer
Do not install the Health Check Service for now
2015-07-02 16:32:10 +01:00
Gabor Apati-Nagy
323d2f539e Do not install the Health Check Service for now
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-07-02 15:45:13 +01:00
Mihaela Stoica
046702994b Merge pull request #527 from GaborApatiNagy/master_installer
CP-12161: Add the Call Home service to the XenCenter installer
2015-07-02 12:44:10 +01:00
Gabor Apati-Nagy
409c89fbec CP-12161: Add the Call Home service to the XenCenter installer
Updating diff to keep offsets (of hunks) unchanged

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-07-02 12:32:39 +01:00
Gabor Apati-Nagy
0bd967f69c CP-12161: Add the Call Home service to the XenCenter installer
Adding XenServerHealthCheck service to the WiX installer

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-07-02 12:10:16 +01:00
Mihaela Stoica
9b7cfb018e Merge pull request #526 from cheng--zhang/CP-12769
CP-12769: Fix issue when integration test with CIS
2015-07-02 11:10:01 +01:00
Cheng Zhang
c0585f0681 CP-12769: Using uniform format of time to string and string to time
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-02 17:54:00 +08:00
Gabor Apati-Nagy
4b247c1479 Merge pull request #525 from MihaelaStoica/CP-12769
CP-12769: Send server connection details to the Health Check Service
2015-07-02 10:18:37 +01:00
Hui Zhang
d8b8ff96c5 CP-12160: XenServerHealthCheck: upload server status report to CIS.
Update to return from the uploading thread when service stops.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-07-02 16:12:49 +08:00
Cheng Zhang
903931e63d CP-12769: Fix issue when integration test with CIS
1.	Using en-us to transfer upload request time
2.	Check the pipe is closed before close it.
3.	On demand upload will not have 24 hour due problem since it only check once in half an hour
4.	Avoid get upload token by empty session.

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-02 13:53:44 +08:00
Mihaela Stoica
7c737d6ce8 CP-12769: Send server connection details to the Health Check Service
- Call TransferCallHomeSettingsAction with suppressHistory=true so the action doesn't show on the Events page
- This change also fixes LogsTabTests test failure.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-01 16:38:12 +01:00
Gabor Apati-Nagy
be3c2a94da Merge pull request #524 from MihaelaStoica/master
Fix line endings (to Windows)
2015-07-01 16:05:03 +01:00
Mihaela Stoica
ea786180fc Fix line endings (to Windows) 2015-07-01 15:58:58 +01:00
Mihaela Stoica
987a27613c Merge pull request #515 from cheng--zhang/CP-12770
CP-12770: use server connection details received from XenCenter
2015-07-01 15:34:50 +01:00
Hui Zhang
384b033305 CP-12160: XenServerHealthCheck: upload server status report to CIS.
When an upload request is triggered,
1. fetch the upload token from CallHomeSettings,
2. generate the server status report and upload it to CIS server,
3. update the corresponding fields of CallHomeSettings when the
   upload is finished successfully or failed.

Signed-off-by: Hui Zhang <hui.zhang@citrix.com>
2015-07-01 19:22:32 +08:00
Cheng Zhang
a0431e5cb9 CP-12770: rework comments
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-01 19:12:43 +08:00
Cheng Zhang
50817a5746 CP-12769: Add timeout for pipe client connecting
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-01 18:19:44 +08:00
Cheng Zhang
825aa3abd5 CP-12769: Include task information in ServerList
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-01 16:02:14 +08:00
Cheng Zhang
324c249285 CP-12769: Send server connection details to the Health Check Service
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-01 11:53:56 +08:00
Cheng Zhang
934b0cf381 CP-12770: use server connection details received from XenCenter
1. Create named pipe: “HealthCheckServicePipe”
2. Receive credential send from XenServer and decrypt it
3. Update credential setting and save encrypted credential using current user scope system user.
4. Create work thread to handle the pipe communication.
5. If HealthCheckServicePipe already existed before service start, stop service and output service error log
6. If sign off information is received for a host (XenserverName or IP without username and password) then the existing saved credentials will be deleted
7. If the HealthCheckService connects to a host that is no longer enrolled, then it will delete the existing saved credentials

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-07-01 09:54:11 +08:00
Gabor Apati-Nagy
43fb63d522 Merge pull request #521 from MihaelaStoica/CP-12164
CA-12164: Server Status Report wizard: Add option to upload the serve…
2015-06-30 15:45:47 +01:00
Gabor Apati-Nagy
e1986fc42b Merge pull request #523 from GaborApatiNagy/master_fcoebuildfix
Fixing FCoE build
2015-06-30 14:10:28 +01:00
Gabor Apati-Nagy
24e2365b1f Fixing FCoE build
Removing duplicated-by-accident field

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-30 14:08:28 +01:00
Gabor Apati-Nagy
6a9a192253 Fixing FCoE build
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-30 13:53:35 +01:00
Mihaela Stoica
d2fe9bd275 Merge pull request #522 from xenserver/GaborApatiNagy-patch-1
Update LVMoFCoE.Designer.cs
2015-06-30 13:19:06 +01:00
Gabor Apati-Nagy
b60a6ab24d Update LVMoFCoE.Designer.cs
Fixing build
2015-06-30 13:17:53 +01:00
Sorin Sbarnea
7e77f21837 Added choco installer for Visual Studio Express 2010 to the prepare.cmd file. 2015-06-30 12:41:54 +01:00
Sorin Sbarnea
fe4f84322a Configured curl to load credentials from .netrc file. 2015-06-30 12:41:11 +01:00
Mihaela Stoica
9c13c7e4b9 CA-12164: Server Status Report wizard: Add option to upload the server status report to CIS
In the CallHomeAuthenticationAction.SetUploadTokenSecret() check if the tokenKey is null (public static, may be reused later).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-30 12:04:24 +01:00
Mihaela Stoica
ad2215d2ce Merge pull request #520 from GaborApatiNagy/CallHomeToInstaller
CP-12157: XenServer Insight Service: create the service and connect t…
2015-06-30 11:59:32 +01:00
Gabor Apati-Nagy
bebd1583ca Merge pull request #514 from MihaelaStoica/CP-12164
CA-12164: Server Status Report wizard: Add option to upload the serve…
2015-06-30 11:58:50 +01:00
Gabor Apati-Nagy
5b9790cdd9 CP-12157: XenServer Insight Service: create the service and connect to XenCenter server list
Removed project reference to XenAdmin

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-06-30 11:56:05 +01:00
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
Gabor Apati-Nagy
f0ccf1eb8d Merge pull request #509 from MihaelaStoica/CP-12165
CP-12165: Add the option to upload a Health Check report to CIS on demand
2015-06-30 11:25:08 +01:00