Open meisammaleki opened 6 months ago
@meisammaleki , this is a known issue where the value is larger than what fits in an integer, the StatsCollector
has been fixed for this in newer versions. I don't think the NumberFormatException
has anything to do with a failure to deploy. You'll have to dig more into the logs to find the real cause.
When the load average of mgmt server is between 1 and 1.5, we know there is no problems but sometimes it goes over 2 and it increase until we restart mgmt server. I have no idea for the acceptable value for load average of management nodes. For your information :
@DaanHoogland Hello again I will be thankful if you provide me with some information about my question
@meisammaleki , sorry for the silence ;)
* There are 2 mgmt server with enough resources * 40 hosts * About 4000 instances could you please help about ideal load average and how to have more control on it?
these dimension don't seem extreme, thought the 100 vm/host depends a bit on the dimensions of your host of course.
The important bit in your query is this:
2024-05-06 14:49:25,757 DEBUG [c.c.a.ApiServlet] (qtp1750498848-593:ctx-33c43241) (logid:9a4ba2f4) ===START=== 80.75.0.10 -- GET jobid=0e8b5de4-5caf-4724-9a7c-9931ab4da92c&command=queryAsyncJobResult&apiKey=vNacmEAZP1kZluwMvwurYCzo85RQcsgIZkCvAnZAeCLN3hfJCnKcGutECQREJyu7pig&signatureversion=3&expires=2024-05-07T00%3A49%3A25%2B0330&response=json&signature=79ud7Af5GDdrwvt7r2c15XZJ8b8%3D 2024-05-06 14:49:25,772 DEBUG [c.c.a.ApiServer] (qtp1750498848-593:ctx-33c43241 ctx-e1cb6045) (logid:9a4ba2f4) CIDRs from which account 'Acct[b3eb3659-77d0-4559-9c79-d81b0ba5fe9e-WHMCS] -- Account {"id": 13, "name": "WHMCS", "uuid": "b3eb3659-77d0-4559-9c79-d81b0ba5fe9e"}' is allowed to perform API calls: 0.0.0.0/0,::/0 2024-05-06 14:49:25,788 DEBUG [c.c.a.d.ParamProcessWorker] (qtp1750498848-593:ctx-33c43241 ctx-e1cb6045 ctx-8f29104f) (logid:9a4ba2f4) Object entity uuid = 0e8b5de4-5caf-4724-9a7c-9931ab4da92c does not exist in the database. 2024-05-06 14:49:25,788 INFO [c.c.a.ApiServer] (qtp1750498848-593:ctx-33c43241 ctx-e1cb6045 ctx-8f29104f) (logid:9a4ba2f4) Unable to execute API command queryasyncjobresult due to invalid value. Invalid parameter jobid value=0e8b5de4-5caf-4724-9a7c-9931ab4da92c due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class. 2024-05-06 14:49:25,789 DEBUG [c.c.a.ApiServlet] (qtp1750498848-593:ctx-33c43241 ctx-e1cb6045 ctx-8f29104f) (logid:9a4ba2f4) ===END=== 80.75.0.10 -- GET jobid=0e8b5de4-5caf-4724-9a7c-9931ab4da92c&command=queryAsyncJobResult&apiKey=vNacmEAZP1kZluw6r7ZPYCzLN3hfJCnKcGutECQREJyu7pig&signatureversion=3&expires=2024-05-07T00%3A49%3A25%2B0330&response=json&signature=79ud7Af5GDdrwvt7r2c15XZJ8b8%3D
I do not see the job-id being created so why it is invalid I cannot tell you. The format certainly isn't: 0e8b5de4-5caf-4724-9a7c-9931ab4da92c is a valid uuid.
Your actions where through the UI or an API call?
@DaanHoogland you are welcome , the action runs with API call - by WHMCS
I thought vm creation failed comes through the high load mgmt servers , for your information I use same separate environment. That works fine even with load average over 3. If it can be helpful, I can share management properties or default settings on management server
So can you look for the job-id in your logs and in your DB? it might be that WHMCS uses a wrong id or that for some reason the uuid was removed (or both). strange things happening.
I should waiting for the next time which it happens again then I will inform you
Please check your problem with Mr Bahri and also do not make any changes in the host
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
EXPECTED RESULTS
Here is log for a normal instance creation without any error for queryAsyncJobResult" command :
ACTUAL RESULTS