use terraform, 30 qemu are linked clone and started in 1 minute, and some errors are reported

dapeng

New Member
Aug 26, 2021
1
0
1
33
Sorry, English is not my mother tongue.

I have a proxmox cluster with six physical machines and have done Ceph.
I need to linked clone qemu through terraform.(many qemu, for example 60 qemu) (Sufficient memory、cpu)(SSD)
but,The first few are very successful. The more later they are, the more likely they are to fail.

I want to know how many link clones are suitable for batch startup, and what are the main determinants of startup quantity.

error(s),proxmox version 6.3

599 Too many redirections
Code:
2021/08/31 14:22:05 >>>>>>>>>> REQUEST:
GET /api2/json/nodes/bdlabhost02/tasks/UPID:bdlabhost02:001F29A8:0285AAD9:612DCA8B:qmstart:240426906:root@pam:/status HTTP/1.1^M
Host: 172.17.47.2:8006^M
User-Agent: Go-http-client/1.1^M
Accept: application/json^M
Cookie: PVEAuthCookie=PVE:root@pam:612DCA82::f7AoOw8tCazlM+Z+lH2JOlQ+SINUud1wQdqU/UxuRXTK0FbHCQxMhAAoJlUymOpVQXySzJuQc4Ue0CiZvFxXlt4Icum3hE1OHnTPwuoqaty+9IcMp7/9FTXvcHBWg/pEgtp+go9uCOtjfx9eMCig8eOf1oYT1+YxnMrYi0lRGO0FP7ZExRey0Tklc7NOzm+6e6V3vcw4sA9CNEZCIPJBfwaQbQ9fQxvlOHKEP87MarP+9N7Yq4qOvXuBHy9DqsLc46Swn0zR4xxv+5FmdtD5dBJSzTXmqjf1Syv4wWZ12GHKslcUL0Qfa40dDaQglQk6l/5VMw9YD71cQY1efzzv7g==^M
Csrfpreventiontoken: 612DCA82:YLzREnnGZlgxJ56ky5KtZia7NpWKBTpkapNWhqSBHRg^M
Accept-Encoding: gzip^M
^M
2021/08/31 14:22:08 <<<<<<<<<< RESULT:
HTTP/1.1 599 Too many redirections^M
Connection: close^M
Cache-Control: max-age=0^M
Date: Tue, 31 Aug 2021 06:22:08 GMT^M
Expires: Tue, 31 Aug 2021 06:22:08 GMT^M
Pragma: no-cache^M
Server: pve-api-daemon/3.0^M


VM 582360253 already running
Code:
2021/08/31 14:25:31 >>>>>>>>>> REQUEST:
GET /api2/json/nodes/bdlabhost05/tasks/UPID:bdlabhost05:001EFC3C:027FB215:612DCB5B:qmstart:582360253:root@pam:/status HTTP/1.1^M
Host: 172.17.47.2:8006^M
User-Agent: Go-http-client/1.1^M
Accept: application/json^M
Cookie: PVEAuthCookie=PVE:root@pam:612DCB4C::2ta+IPC6+DR+hs7l+inkk9BAzzdo1YE7+8KouDZLo4Z+EJMvQGriVDOxPfsq2PPpBwkQ2ZiQ4/eF8XiH1o0IIA67RhT0V9XQ8H1X1nUqVgdmDumptOcd0ij/nNH9/epEXubblmPHbMmAIre+8UKtjIEo7HTAyfoybKYuGR72cHdsmZQW1Ub+opLQCA6lEwZYGaHRSs03Du/F/ffFARcIbspBw6rczsWnxyW1PHnoI91jFPqYBPld6k1ufC+gA6bcBfkQCuLYTjaf+oqIglPVDLWX3kxV8gAkEMba1kGDqCHTE9Bf4pd5TJRsPi9K49n6Nu3WXi7s/+3atozp7MSxhA==^M
Csrfpreventiontoken: 612DCB4C:StItrBMRQCJrmw6lXN/Rf+7XbZlSV47+oRGHVjULe2k^M
Accept-Encoding: gzip^M
^M
2021/08/31 14:25:31 <<<<<<<<<< RESULT:
HTTP/1.1 200 OK^M
Content-Length: 282^M
Cache-Control: max-age=0^M
Connection: Keep-Alive,Keep-Alive^M
Connection: Keep-Alive^M
Content-Type: application/json;charset=UTF-8^M
Date: Tue, 31 Aug 2021 06:25:31 GMT^M
Expires: Tue, 31 Aug 2021 06:25:31 GMT^M
Pragma: no-cache^M
Server: pve-api-daemon/3.0^M
^M
{"data":{"user":"root@pam","status":"stopped","pstart":41923093,"exitstatus":"VM 582360253 already running","starttime":1630391131,"pid":2030652,"type":"qmstart","node":"bdlabhost05","id":"582360253","upid":"UPID:bdlabhost05:001EFC3C:027FB215:612DCB5B:qmstart:582360253:root@pam:"}}
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!