Hi,
We are getting a fatal error during the execution of the «resource list» command using HQAPI, when applied to a Service that have a higher number of instances created.
We are using Hyperic HQ 4.4.0, and hqapi1-3.2.
Using generic names for sake of description of the problem, we have a Windows «Platform_A» with a server «ServerA» with the following services created (each with a different instance count):
Platform_A
.... Server_A
........ Service_A (1)
........ Service_B (10)
........ Service_C (50)
........ Service_D (2)
When we execute the «resource list» command using HQAPI for Service_A, Service_B, Service_D, we get back the <ResourcesResponse> as expected, without any problems, but when we execute it for the Service_C (which have 50 instances) we get the following fatal error:
# hqapi.bat resource list --prototype="Server_A Service_C" --host localhost --user hqadmin --password hqadmin
DefaultValidationEventHandler: [FATAL_ERROR]: Invalid byte 1 of 1-byte UTF-8 sequence.
Location: line 1
Error running command: Unable to deserialize result
It seems that an internal error occured in HQAPI, probably due to high number of instances of Service_C.
Is this a bug?
Or how can we workaround this?
Thanks.
Message was edited by: Joaquim Freitas
Message was edited by: Joaquim Freitas
We are getting a fatal error during the execution of the «resource list» command using HQAPI, when applied to a Service that have a higher number of instances created.
We are using Hyperic HQ 4.4.0, and hqapi1-3.2.
Using generic names for sake of description of the problem, we have a Windows «Platform_A» with a server «ServerA» with the following services created (each with a different instance count):
Platform_A
.... Server_A
........ Service_A (1)
........ Service_B (10)
........ Service_C (50)
........ Service_D (2)
When we execute the «resource list» command using HQAPI for Service_A, Service_B, Service_D, we get back the <ResourcesResponse> as expected, without any problems, but when we execute it for the Service_C (which have 50 instances) we get the following fatal error:
# hqapi.bat resource list --prototype="Server_A Service_C" --host localhost --user hqadmin --password hqadmin
DefaultValidationEventHandler: [FATAL_ERROR]: Invalid byte 1 of 1-byte UTF-8 sequence.
Location: line 1
Error running command: Unable to deserialize result
It seems that an internal error occured in HQAPI, probably due to high number of instances of Service_C.
Is this a bug?
Or how can we workaround this?
Thanks.
Message was edited by: Joaquim Freitas
Message was edited by: Joaquim Freitas