XenServer 7 Health Check Enrollment errors



  • So below you'll find some of my XenCenter Logs, and I haven't the slightest clue (and my google-fu just isn't finding what I need). Anyways, when you setup an XS7 server into XenCenter, you get the option to have it enroll the server with Citrix for free health check reporting.

    They have a system on the backend that pulls in your server health reports, and then it should email back with any issues.

    Instead I have a lot of 403 forbidden errors.

    2016-11-14 05:42:25,046 INFO  Audit [148] - Operation success: ParallelAction: Connection unknown: 
    2016-11-14 06:42:23,935 INFO  Audit [Main program thread] - Operation started: ParallelAction: Connection unknown: 
    2016-11-14 06:42:23,936 INFO  XenAPI.Session [156] - Invoking XML-RPC method secret.get_by_uuid
    2016-11-14 06:42:23,936 INFO  XenAPI.Session [170] - Invoking XML-RPC method secret.get_by_uuid
    2016-11-14 06:42:23,943 INFO  XenAPI.Session [156] - Invoking XML-RPC method secret.get_value
    2016-11-14 06:42:23,943 INFO  XenAPI.Session [170] - Invoking XML-RPC method secret.get_value
    2016-11-14 06:42:24,710 ERROR XenAdmin.Actions.GetHealthCheckAnalysisResultAction [170] - Exception while getting diagnostic result from https://cis.citrix.com. Exception Message: The remote server returned an error: (403) Forbidden. 
    2016-11-14 06:42:24,710 ERROR XenAdmin.Actions.AsyncAction [170] - System.Net.WebException: The remote server returned an error: (403) Forbidden.
       at System.Net.HttpWebRequest.GetResponse()
       at XenAdmin.Actions.GetHealthCheckAnalysisResultAction.GetAnalysisResult(String diagnosticToken, String uploadUuid)
       at XenAdmin.Actions.GetHealthCheckAnalysisResultAction.Run()
       at XenAdmin.Actions.AsyncAction.RunWorkerThread(Object o)
    2016-11-14 06:42:24,710 ERROR XenAdmin.Actions.AsyncAction [170] -    at System.Net.HttpWebRequest.GetResponse()
       at XenAdmin.Actions.GetHealthCheckAnalysisResultAction.GetAnalysisResult(String diagnosticToken, String uploadUuid)
       at XenAdmin.Actions.GetHealthCheckAnalysisResultAction.Run()
       at XenAdmin.Actions.AsyncAction.RunWorkerThread(Object o)
    2016-11-14 06:42:24,710 WARN  Audit [170] - Operation failure: GetHealthCheckAnalysisResultAction: xenserver-2: Pool 2accbe79-de93-26a8-96b7-7d45751a8d08 (xenserver-2): Failed to get the analysis result
    2016-11-14 06:42:24,741 ERROR XenAdmin.Actions.GetHealthCheckAnalysisResultAction [156] - Exception while getting diagnostic result from https://cis.citrix.com. Exception Message: The remote server returned an error: (403) Forbidden. 
    2016-11-14 06:42:24,741 ERROR XenAdmin.Actions.AsyncAction [156] - System.Net.WebException: The remote server returned an error: (403) Forbidden.
       at System.Net.HttpWebRequest.GetResponse()
       at XenAdmin.Actions.GetHealthCheckAnalysisResultAction.GetAnalysisResult(String diagnosticToken, String uploadUuid)
       at XenAdmin.Actions.GetHealthCheckAnalysisResultAction.Run()
       at XenAdmin.Actions.AsyncAction.RunWorkerThread(Object o)
    2016-11-14 06:42:24,741 ERROR XenAdmin.Actions.AsyncAction [156] -    at System.Net.HttpWebRequest.GetResponse()
       at XenAdmin.Actions.GetHealthCheckAnalysisResultAction.GetAnalysisResult(String diagnosticToken, String uploadUuid)
       at XenAdmin.Actions.GetHealthCheckAnalysisResultAction.Run()
       at XenAdmin.Actions.AsyncAction.RunWorkerThread(Object o)
    2016-11-14 06:42:24,741 WARN  Audit [156] - Operation failure: GetHealthCheckAnalysisResultAction: xenserver-one: Pool f9eecf3b-b9ce-0ee0-6e66-7b00812455d6 (xenserver-one): Failed to get the analysis result
    2016-11-14 06:42:24,767 ERROR XenAdmin.Actions.MultipleAction [152] - System.Net.WebException: The remote server returned an error: (403) Forbidden.
       at XenAdmin.Actions.AsyncAction.RunExternal(Session session)
       at XenAdmin.Actions.ParallelAction.<>c__DisplayClass4.<RunSubActions>b__1()
    2016-11-14 06:42:24,768 ERROR XenAdmin.Actions.MultipleAction [152] - System.Net.WebException: The remote server returned an error: (403) Forbidden.
       at XenAdmin.Actions.AsyncAction.RunExternal(Session session)
       at XenAdmin.Actions.ParallelAction.<>c__DisplayClass4.<RunSubActions>b__1()
    2016-11-14 06:42:24,775 INFO  Audit [152] - Operation success: ParallelAction: Connection unknown: 
    2016-11-14 07:27:50,988 INFO  XenAdmin.XenSearch.MetricUpdater [Main program thread] - Starting MetricUpdater thread
    

    Now I would assume that if this is a paid for feature, that it would be listed somewhere as paid for, yet it's listed as a free service. (If you guys need more logs to investigate, let me know)



  • So maybe I spoke too soon, doing some testing. It appears my credentials didn't get saved in the enrollment form for health services, and may have been the issue.



  • I got it figured out, one was the user name and password for my citrix account didn't stick, that has been addressed. The other issue is that you have to sign into https://cis.citrix.com and sign up for this service.

    It is a free service, so is worth-while.



  • I never signed up for that.

    I seemed to remember a few people saying "hell no am I providing them that info" ... so stayed away.

    Let me know how things go for you with that service... Maybe I will sign up.