You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "PaX101 (via GitHub)" <gi...@apache.org> on 2024/04/25 10:52:15 UTC
[I] When deploying node to Kubernetes it times out [cloudstack]
PaX101 opened a new issue, #8975:
URL: https://github.com/apache/cloudstack/issues/8975
When deploying a node on Kubernetes in Cloudstack 4.19.0.0 it times out when it tries to list the VM's:
`Error syncing load balancer: failed to ensure load balancer: error retrieving list of hosts: Get https://my.url.com/client/api?apiKey=myapikeyhere&command=listVirtualMachines&listall=true&response=json&signature=mysignature: net/http: request canceled (Client.Timeout exceeded while awaiting headers)`

When i try and load the page myself if takes around 5-10 minutes to load the VM list similar to the bug in 4.18 when trying to list VM's. If i change the command to: listVirtualMachinesMetrics in my broswer it loads instantly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] When deploying node to Kubernetes it times out [cloudstack]
Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud closed issue #8975: When deploying node to Kubernetes it times out
URL: https://github.com/apache/cloudstack/issues/8975
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] When deploying node to Kubernetes it times out [cloudstack]
Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #8975:
URL: https://github.com/apache/cloudstack/issues/8975#issuecomment-2167244666
Additionally fixed in https://github.com/apache/cloudstack/pull/9177
To make the listing faster, the new global setting will need to be set to false.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] When deploying node to Kubernetes it times out [cloudstack]
Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #8975:
URL: https://github.com/apache/cloudstack/issues/8975#issuecomment-2078651638
@PaX101 yes because you're listing the listVirtualMachinesMetrics API which by default returns VM stats (which slows down the API request). If you don't need all the details, you can pass details=min to the API response (or specific details you'd expect).
If you're not able to control this API request, one way to address this could be to change the default behaviour that's change-able via global setting.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] When deploying node to Kubernetes it times out [cloudstack]
Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #8975:
URL: https://github.com/apache/cloudstack/issues/8975#issuecomment-2078753945
@PaX101 I've proposed a PR here which might help your case - https://github.com/apache/cloudstack/pull/8985
Can you try to disable `vm.stats.increment.metrics` global setting in your environment and see if it helps speed you listVIrtualMachines API calls?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] When deploying node to Kubernetes it times out [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8975:
URL: https://github.com/apache/cloudstack/issues/8975#issuecomment-2078759467
> @PaX101 yes because you're listing the listVirtualMachinesMetrics API which by default returns VM stats (which slows down the API request). If you don't need all the details, you can pass details=min to the API response (or specific details you'd expect).
>
> If you're not able to control this API request, one way to address this could be to change the default behaviour that's change-able via global setting.
good idea to list virtualmachine with details parameters
I created a PR to address it in ccm: https://github.com/apache/cloudstack-kubernetes-provider/pull/60
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org