LINUX.ORG.RU

terraform не завершает деплой (still creating)

 ,


0

1

Привет!

Разворачиваю машинки с Windows через terraform из готового образа (шаблона) на proxmox-е. Используется провайдер bgp/proxmox

В шаблоне установлен QEMU-guest-agent, Cloun-Init. В свойствах ВМ на проксмоксе добавлен диск Cloud-init и Guest-agent enable

Очень часто деплой висит до таймаута с still creating в то время как я уже могу войти в виртуалку и увидеть, что guest-agent running , более того, в веб-интерфейсе проксмокса отображается динамически полученный по DHCP ip-адрес виртуальной машины. Т.е. агент успешно сообщается с хостом, а терраформ тоже прекрасно знает об этом (в дебаг-выводе терраформа это отображается). terraform версии 1.6.5, выполнял terraform init –upgrade , все обновилось , но поведение непредсказуемое. хочет - завершит деплой для себя и выполнит все дальнейшие операции (типа file и т.д.) над ВМ, а не с той ноги встанет - still creating

Частичный выхлоп дебага, где в http-api виден ip (10.198.208.43), и что guest-agent is running привожу ниже.

Помогите понять, как с этим разобраться. И, кстати, какую роль играет Cloud-Init в паре с QEMU-guest-agent - кто какую роль играет при взаимодействиях ВМ-хост-терраформ. Потому что все источники в интернете свобятся к заветному «как установить гест-агент и клайд-инит» , а что под капотом, нигде подробно не пишут.

p-addresses\":[{\"ip-address-type\":\"ipv6\",\"ip-address\":\"fe80::9c7b:a761:f2dd:e34c%12\",\"prefix\":64},{\"ip-address-type\":\"ipv4\",\"ip-address\":\"10.198.208.43\",\"prefix\":24}],\"statistics\":{\"tx-errs\":0,\"tx-bytes\":38942,\"rx-packets\":18446744073709550991,\"tx-dropped\":0,\"rx-dropped\":0,\"tx-packets\":167,\"rx-bytes\":23330,\"rx-errs\":0}},{\"name\":\"Loopback Pseudo-Interface 1\",\"ip-addresses\":[{\"ip-address\":\"::1\",\"ip-address-type\":\"ipv6\",\"prefix\":128},{\"ip-address-type\":\"ipv4\",\"ip-address\":\"127.0.0.1\",\"prefix\":8}],\"statistics\":{\"rx-errs\":0,\"rx-dropped\":0,\"tx-packets\":0,\"rx-bytes\":0,\"tx-bytes\":0,\"rx-packets\":0,\"tx-dropped\":0,\"tx-errs\":0}},{\"hardware-address\":\"00:00:00:00:00:00\",\"name\":\"isatap.mosk-team.globlinux.ru\",\"ip-addresses\":[{\"ip-address\":\"fe80::5efe:10.198.208.43%13\",\"ip-address-type\":\"ipv6\",\"prefix\":128}],\"statistics\":{\"rx-errs\":0,\"tx-packets\":0,\"rx-bytes\":0,\"rx-dropped\":0,\"tx-dropped\":0,\"tx-bytes\":0,\"rx-packets\":0,\"tx-errs\":0}}]}}" tf_http_res_version=HTTP/1.1 Content-Length=1013 Content-Type=application/json;charset=UTF-8 tf_http_res_status_code=200 tf_resource_type=proxmox_virtual_environment_vm tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.30.0/helper/logging/logging_http_transport.go:162 timestamp="2023-12-08T20:28:33.435+0300"
2023-12-08T20:28:38.447+0300 [DEBUG] provider.terraform-provider-proxmox_v0.40.0: Sending HTTP Request: tf_resource_type=proxmox_virtual_environment_vm @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.30.0/helper/logging/logging_http_transport.go:162 User-Agent=Go-http-client/1.1 tf_http_req_body="" tf_http_req_method=GET tf_http_req_uri=/api2/json/nodes/dcd01/qemu/513/agent/network-get-interfaces tf_req_id=bedf4f4d-fcbd-420f-33ee-5fd9d9561a04 Accept-Encoding=gzip Cookie="PVEAuthCookie=PVE:iklimenko@pve:6573506F::FSvjJYiXyZ5s50x433UYTLVb2j2+O1KGY9/UCCLExmx3ODZJLDL/MjP1ZMeN9sKvbUVMtVJsHhrvwViS+l57VMVWCIPMrf+1kMBF3SWoyz1yMmmDfQP8gLhbQxR1XwirV9JshGBleX5PUISsH/2VQ+2aWI47lXFnYtECPQ4VuiSNRKTrPe9g+uNZTFzZT4j3XQvGu9CEKO3ZRk1RozpFDjwugvC3sAeLvBnA2zdQ2a/NA5qgzJuH77aA2/ZyQCnH/hQZCojGwH3QsB3fFR2YKQpJhet2fQbFSv5YhzhAcyqdfXlmniB1y3V/pGgtTk0WSMGyHev1+yUr5xQA5CUo7A==" tf_http_trans_id=27ad5a95-a193-2f0d-5eeb-675744b8c851 tf_rpc=ApplyResourceChange @module=proxmox Accept=application/json Host=dcd01.dev-sys-management-unit.globlinux.ru:8006 tf_http_op_type=request tf_http_req_version=HTTP/1.1 tf_mux_provider=tf5to6server.v5tov6Server tf_provider_addr=registry.terraform.io/bpg/proxmox timestamp="2023-12-08T20:28:38.447+0300"
2023-12-08T20:28:38.515+0300 [DEBUG] provider.terraform-provider-proxmox_v0.40.0: Received HTTP Response: Cache-Control=max-age=0 Server=pve-api-daemon/3.0 tf_http_op_type=response Pragma=no-cache tf_http_res_status_code=200 tf_http_res_status_reason="200 OK" tf_http_trans_id=27ad5a95-a193-2f0d-5eeb-675744b8c851 tf_resource_type=proxmox_virtual_environment_vm tf_rpc=ApplyResourceChange Connection=[Keep-Alive, Keep-Alive] tf_http_res_body="{\"data\":{\"result\":[{\"name\":\"Ethernet\",\"hardware-address\":\"92:c9:bb:dd:be:a8\",\"ip-addresses\":[{\"prefix\":64,\"ip-address-type\":\"ipv6\",\"ip-address\":\"fe80::9c7b:a761:f2dd:e34c%12\"},{\"prefix\":24,\"ip-address-type\":\"ipv4\",\"ip-address\":\"10.198.208.43\"}],\"statistics\":{\"tx-errs\":0,\"tx-bytes\":38942,\"rx-packets\":18446744073709550983,\"tx-dropped\":0,\"rx-dropped\":0,\"tx-packets\":167,\"rx-bytes\":23746,\"rx-errs\":0}},{\"statistics\":{\"rx-bytes\":0,\"tx-packets\":0,\"rx-dropped\":0,\"rx-errs\":0,\"tx-errs\":0,\"tx-dropped\":0,\"rx-packets\":0,\"tx-bytes\":0},\"ip-addresses\":[{\"prefix\":128,\"ip-address\":\"::1\",\"ip-address-type\":\"ipv6\"},{\"ip-address-type\":\"ipv4\",\"ip-address\":\"127.0.0.1\",\"prefix\":8}],\"name\":\"Loopback Pseudo-Interface 1\"},{\"statistics\":{\"rx-errs\":0,\"rx-dropped\":0,\"tx-packets\":0,\"rx-bytes\":0,\"tx-bytes\":0,\"rx-packets\":0,\"tx-dropped\":0,\"tx-errs\":0},\"ip-addresses\":[{\"ip-address\":\"fe80::5efe:10.198.208.43%13\",\"ip-address-type\":\"ipv6\",\"prefix\":128}],\"name\":\"isatap.mosk-team.globlinux.ru\",\"hardware-address\":\"00:00:00:00:00:00\"}]}}" tf_http_res_version=HTTP/1.1 tf_mux_provider=tf5to6server.v5tov6Server tf_req_id=bedf4f4d-fcbd-420f-33ee-5fd9d9561a04 Content-Length=1013 Content-Type=application/json;charset=UTF-8 Date="Fri, 08 Dec 2023 17:28:38 GMT" @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.30.0/helper/logging/logging_http_transport.go:162 @module=proxmox Expires="Fri, 08 Dec 2023 17:28:38 GMT" tf_provider_addr=registry.terraform.io/bpg/proxmox timestamp="2023-12-08T20:28:38.515+0300"
proxmox_virtual_environment_vm.windows_machine_2: Still creating... [6m0s elapsed]
2023-12-08T20:28:43.526+0300 [DEBUG] provider.terraform-provider-proxmox_v0.40.0: Sending HTTP Request: Cookie="PVEAuthCookie=PVE:iklimenko@pve:6573506F::FSvjJYiXyZ5s50x433UYTLVb2j2+O1KGY9/UCCLExmx3ODZJLDL/MjP1ZMeN9sKvbUVMtVJsHhrvwViS+l57VMVWCIPMrf+1kMBF3SWoyz1yMmmDfQP8gLhbQxR1XwirV9JshGBleX5PUISsH/2VQ+2aWI47lXFnYtECPQ4VuiSNRKTrPe9g+uNZTFzZT4j3XQvGu9CEKO3ZRk1RozpFDjwugvC3sAeLvBnA2zdQ2a/NA5qgzJuH77aA2/ZyQCnH/hQZCojGwH3QsB3fFR2YKQpJhet2fQbFSv5YhzhAcyqdfXlmniB1y3V/pGgtTk0WSMGyHev1+yUr5xQA5CUo7A==" tf_http_req_uri=/api2/json/nodes/dcd01/qemu/513/agent/network-get-interfaces tf_http_req_method=GET tf_resource_type=proxmox_virtual_environment_vm @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.30.0/helper/logging/logging_http_transport.go:162 tf_http_op_type=request tf_http_req_version=HTTP/1.1 tf_provider_addr=registry.terraform.io/bpg/proxmox tf_rpc=ApplyResourceChange tf_http_req_body="" tf_http_trans_id=5c930384-ced5-fcea-1cee-5b706aaac8dc @module=proxmox Accept=application/json Accept-Encoding=gzip Host=dcd01.dev-sys-management-unit.globlinux.ru:8006 User-Agent=Go-http-client/1.1 tf_mux_provider=tf5to6server.v5tov6Server tf_req_id=bedf4f4d-fcbd-420f-33ee-5fd9d9561a04 timestamp="2023-12-08T20:28:43.526+0300"
2023-12-08T20:28:43.591+0300 [DEBUG] provider.terraform-provider-proxmox_v0.40.0: Received HTTP Response: Cache-Control=max-age=0 Expires="Fri, 08 Dec 2023 17:28:43 GMT" tf_http_op_type=response tf_http_res_version=HTTP/1.1 tf_mux_provider=tf5to6server.v5tov6Server tf_http_res_status_code=200 Content-Length=1013 Content-Type=application/json;charset=UTF-8 Pragma=no-cache tf_http_res_body="{\"data\":{\"result\":[{\"statistics\":{\"tx-bytes\":38942,\"rx-packets\":18446744073709550971,\"tx-dropped\":0,\"tx-errs\":0,\"rx-errs\":0,\"rx-dropped\":0,\"tx-packets\":167,\"rx-bytes\":23810},\"name\":\"Ethernet\",\"hardware-address\":\"92:c9:bb:dd:be:a8\",\"ip-addresses\":[{\"ip-address-type\":\"ipv6\",\"ip-address\":\"fe80::9c7b:a761:f2dd:e34c%12\",\"prefix\":64},{\"ip-address-type\":\"ipv4\",\"ip-address\":\"10.198.208.43\",\"prefix\":24}]},{\"name\":\"Loopback Pseudo-Interface 1\",\"ip-addresses\":[{\"ip-address\":\"::1\",\"ip-address-type\":\"ipv6\",\"prefix\":128},{\"ip-address-type\":\"ipv4\",\"ip-address\":\"127.0.0.1\",\"prefix\":8}],\"statistics\":{\"rx-errs\":0,\"rx-bytes\":0,\"tx-packets\":0,\"rx-dropped\":0,\"tx-dropped\":0,\"rx-packets\":0,\"tx-bytes\":0,\"tx-errs\":0}},{\"name\":\"isatap.mosk-team.globlinux.ru\",\"hardware-address\":\"00:00:00:00:00:00\",\"ip-addresses\":[{\"prefix\":128,\"ip-address-type\":\"ipv6\",\"ip-address\":\"fe80::5efe:10.198.208.43%13\"}],\"statistics\":{\"tx-bytes\":0,\"rx-packets\":0,\"tx-dropped\":0,\"tx-errs\":0,\"rx-errs\":0,\"rx-dropped\":0,\"tx-packets\":0,\"rx-bytes\":0}}]}}" tf_http_res_status_reason="200 OK" tf_provider_addr=registry.terraform.io/bpg/proxmox tf_req_id=bedf4f4d-fcbd-420f-33ee-5fd9d9561a04 tf_resource_type=proxmox_virtual_environment_vm tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.30.0/helper/logging/logging_http_transport.go:162 Date="Fri, 08 Dec 2023 17:28:43 GMT" Server=pve-api-daemon/3.0 tf_http_trans_id=5c930384-ced5-fcea-1cee-5b706aaac8dc @module=proxmox Connection=[Keep-Alive, Keep-Alive] timestamp="2023-12-08T20:28:43.591+0300"
2023-12-08T20:28:48.402+0300 [DEBUG] provider.terraform-provider-proxmox_v0.40.0: Sending HTTP Request: Accept-Encoding=gzip Cookie="PVEAuthCookie=PVE:iklimenko@pve:6573506F::FSvjJYiXyZ5s50x433UYTLVb2j2+O1KGY9/UCCLExmx3ODZJLDL/MjP1ZMeN9sKvbUVMtVJsHhrvwViS+l57VMVWCIPMrf+1kMBF3SWoyz1yMmmDfQP8gLhbQxR1XwirV9JshGBleX5PUISsH/2VQ+2aWI47lXFnYtECPQ4VuiSNRKTrPe9g+uNZTFzZT4j3XQvGu9CEKO3ZRk1RozpFDjwugvC3sAeLvBnA2zdQ2a/NA5qgzJuH77aA2/ZyQCnH/hQZCojGwH3QsB3fFR2YKQpJhet2fQbFSv5YhzhAcyqdfXlmniB1y3V/pGgtTk0WSMGyHev1+yUr5xQA5CUo7A==" User-Agent=Go-http-client/1.1 tf_http_req_body="" tf_http_req_version=HTTP/1.1 tf_req_id=bedf4f4d-fcbd-420f-33ee-5fd9d9561a04 @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.30.0/helper/logging/logging_http_transport.go:162 @module=proxmox tf_http_op_type=request tf_http_req_method=GET tf_http_trans_id=21a662a6-314f-dc1c-bed0-eb371f4bcd98 tf_mux_provider=tf5to6server.v5tov6Server tf_rpc=ApplyResourceChange Host=dcd01.dev-sys-management-unit.globlinux.ru:8006 tf_http_req_uri=/api2/json/nodes/dcd01/qemu/513/agent/network-get-interfaces tf_provider_addr=registry.terraform.io/bpg/proxmox tf_resource_type=proxmox_virtual_environment_vm Accept=application/json timestamp="2023-12-08T20:28:48.402+0300"
2023-12-08T20:28:48.427+0300 [DEBUG] provider.terraform-provider-proxmox_v0.40.0: Received HTTP Response: Connection=[Keep-Alive, Keep-Alive] Content-Length=1013 Content-Type=application/json;charset=UTF-8 Date="Fri, 08 Dec 2023 17:28:48 GMT" Expires="Fri, 08 Dec 2023 17:28:48 GMT" tf_http_res_body="{\"data\":{\"result\":[{\"ip-addresses\":[{\"ip-address\":\"fe80::9c7b:a761:f2dd:e34c%12\",\"ip-address-type\":\"ipv6\",\"prefix\":64},{\"prefix\":24,\"ip-address\":\"10.198.208.43\",\"ip-address-type\":\"ipv4\"}],\"name\":\"Ethernet\",\"hardware-address\":\"92:c9:bb:dd:be:a8\",\"statistics\":{\"rx-errs\":0,\"rx-dropped\":0,\"rx-bytes\":24002,\"tx-packets\":167,\"rx-packets\":18446744073709550966,\"tx-bytes\":38942,\"tx-dropped\":0,\"tx-errs\":0}},{\"name\":\"Loopback Pseudo-Interface 1\",\"ip-addresses\":[{\"prefix\":128,\"ip-address\":\"::1\",\"ip-address-type\":\"ipv6\"},{\"prefix\":8,\"ip-address\":\"127.0.0.1\",\"ip-address-type\":\"ipv4\"}],\"statistics\":{\"tx-errs\":0,\"tx-bytes\":0,\"rx-packets\":0,\"tx-dropped\":0,\"rx-dropped\":0,\"tx-packets\":0,\"rx-bytes\":0,\"rx-errs\":0}},{\"statistics\":{\"tx-errs\":0,\"tx-dropped\":0,\"rx-packets\":0,\"tx-bytes\":0,\"rx-bytes\":0,\"tx-packets\":0,\"rx-dropped\":0,\"rx-errs\":0},\"name\":\"isatap.mosk-team.globlinux.ru\",\"hardware-address\":\"00:00:00:00:00:00\",\"ip-addresses\":[{\"prefix\":128,\"ip-address-type\":\"ipv6\",\"ip-address\":\"fe80::5efe:10.198.208.43%13\"}]}]}}" tf_http_res_version=HTTP/1.1 Pragma=no-cache tf_mux_provider=tf5to6server.v5tov6Server tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.30.0/helper/logging/logging_http_transport.go:162 Server=pve-api-daemon/3.0 tf_http_trans_id=21a662a6-314f-dc1c-bed0-eb371f4bcd98 tf_provider_addr=registry.terraform.io/bpg/proxmox tf_req_id=bedf4f4d-fcbd-420f-33ee-5fd9d9561a04 tf_resource_type=proxmox_virtual_environment_vm @module=proxmox Cache-Control=max-age=0 tf_http_op_type=response tf_http_res_status_code=200 tf_http_res_status_reason="200 OK" timestamp="2023-12-08T20:28:48.426+0300"
proxmox_virtual_environment_vm.windows_machine_2: Still creating... [6m10s elapsed]
2023-12-08T20:28:53.439+0300 [DEBUG] provider.terraform-provider-proxmox_v0.40.0: Sending HTTP Request: tf_resource_type=proxmox_virtual_environment_vm @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.30.0/helper/logging/logging_http_transport.go:162 User-Agent=Go-http-client/1.1 tf_mux_provider=tf5to6server.v5tov6Server tf_req_id=bedf4f4d-fcbd-420f-33ee-5fd9d9561a04 tf_http_trans_id=cef96af6-76ca-265d-0da6-595c8d949902 tf_rpc=ApplyResourceChange @module=proxmox Host=dcd01.dev-sys-management-unit.globlinux.ru:8006 tf_http_req_body="" Accept=application/json tf_http_op_type=request tf_provider_addr=registry.terraform.io/bpg/proxmox Accept-Encoding=gzip Cookie="PVEAuthCookie=PVE:iklimenko@pve:6573506F::FSvjJYiXyZ5s50x433UYTLVb2j2+O1KGY9/UCCLExmx3ODZJLDL/MjP1ZMeN9sKvbUVMtVJsHhrvwViS+l57VMVWCIPMrf+1kMBF3SWoyz1yMmmDfQP8gLhbQxR1XwirV9JshGBleX5PUISsH/2VQ+2aWI47lXFnYtECPQ4VuiSNRKTrPe9g+uNZTFzZT4j3XQvGu9CEKO3ZRk1RozpFDjwugvC3sAeLvBnA2zdQ2a/NA5qgzJuH77aA2/ZyQCnH/hQZCojGwH3QsB3fFR2YKQpJhet2fQbFSv5YhzhAcyqdfXlmniB1y3V/pGgtTk0WSMGyHev1+yUr5xQA5CUo7A==" tf_http_req_method=GET tf_http_req_uri=/api2/json/nodes/dcd01/qemu/513/agent/network-get-interfaces tf_http_req_version=HTTP/1.1 timestamp="2023-12-08T20:28:53.439+0300"
2023-12-08T20:28:53.506+0300 [DEBUG] provider.terraform-provider-proxmox_v0.40.0: Received HTTP Response: Expires="Fri, 08 Dec 2023 17:28:53 GMT" tf_http_res_body="{\"data\":{\"result\":[{\"ip-addresses\":[{\"prefix\":64,\"ip-address\":\"fe80::9c7b:a761:f2dd:e34c%12\",\"ip-address-type\":\"ipv6\"},{\"ip-address\":\"10.198.208.43\",\"ip-address-type\":\"ipv4\",\"prefix\":24}],\"name\":\"Ethernet\",\"hardware-address\":\"92:c9:bb:dd:be:a8\",\"statistics\":{\"tx-errs\":0,\"tx-dropped\":0,\"tx-bytes\":38942,\"rx-packets\":18446744073709550960,\"tx-packets\":167,\"rx-bytes\":24130,\"rx-dropped\":0,\"rx-errs\":0}},{\"statistics\":{\"rx-errs\":0,\"rx-dropped\":0,\"tx-packets\":0,\"rx-bytes\":0,\"tx-bytes\":0,\"rx-packets\":0,\"tx-dropped\":0,\"tx-errs\":0},\"ip-addresses\":[{\"prefix\":128,\"ip-address-type\":\"ipv6\",\"ip-address\":\"::1\"},{\"prefix\":8,\"ip-address\":\"127.0.0.1\",\"ip-address-type\":\"ipv4\"}],\"name\":\"Loopback Pseudo-Interface 1\"},{\"ip-addresses\":[{\"prefix\":128,\"ip-address-type\":\"ipv6\",\"ip-address\":\"fe80::5efe:10.198.208.43%13\"}],\"name\":\"isatap.mosk-team.globlinux.ru\",\"hardware-address\":\"00:00:00:00:00:00\",\"statistics\":{\"tx-errs\":0,\"rx-packets\":0,\"tx-bytes\":0,\"tx-dropped\":0,\"rx-dropped\":0,\"rx-bytes\":0,\"tx-packets\":0,\"rx-errs\":0}}]}}" tf_req_id=bedf4f4d-fcbd-420f-33ee-5fd9d9561a04 tf_rpc=ApplyResourceChange Content-Length=1013 Cache-Control=max-age=0 tf_http_op_type=response @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.30.0/helper/logging/logging_http_transport.go:162 Server=pve-api-daemon/3.0 tf_http_res_status_code=200 tf_http_res_status_reason="200 OK" tf_http_res_version=HTTP/1.1 tf_mux_provider=tf5to6server.v5tov6Server Content-Type=application/json;charset=UTF-8 @module=proxmox Connection=[Keep-Alive, Keep-Alive] Date="Fri, 08 Dec 2023 17:28:53 GMT" Pragma=no-cache tf_http_trans_id=cef96af6-76ca-265d-0da6-595c8d949902 tf_resource_type=proxmox_virtual_environment_vm tf_provider_addr=registry.terraform.io/bpg/proxmox timestamp="2023-12-08T20:28:53.506+0300"
2023-12-08T20:28:58.517+0300 [DEBUG] provider.terraform-provider-proxmox_v0.40.0: Sending HTTP Request: tf_http_op_type=request tf_http_req_body="" tf_http_trans_id=b3d3e9d3-1b1b-ee5c-4876-f7c4b0dc7c55 tf_provider_addr=registry.terraform.io/bpg/proxmox tf_req_id=bedf4f4d-fcbd-420f-33ee-5fd9d9561a04 tf_resource_type=proxmox_virtual_environment_vm tf_rpc=ApplyResourceChange User-Agent=Go-http-client/1.1 Accept=application/json Cookie="PVEAuthCookie=PVE:iklimenko@pve:6573506F::FSvjJYiXyZ5s50x433UYTLVb2j2+O1KGY9/UCCLExmx3ODZJLDL/MjP1ZMeN9sKvbUVMtVJsHhrvwViS+l57VMVWCIPMrf+1kMBF3SWoyz1yMmmDfQP8gLhbQxR1XwirV9JshGBleX5PUISsH/2VQ+2aWI47lXFnYtECPQ4VuiSNRKTrPe9g+uNZTFzZT4j3XQvGu9CEKO3ZRk1RozpFDjwugvC3sAeLvBnA2zdQ2a/NA5qgzJuH77aA2/ZyQCnH/hQZCojGwH3QsB3fFR2YKQpJhet2fQbFSv5YhzhAcyqdfXlmniB1y3V/pGgtTk0WSMGyHev1+yUr5xQA5CUo7A==" Host=dcd01.dev-sys-management-unit.globlinux.ru:8006 tf_http_req_method=GET tf_mux_provider=tf5to6server.v5tov6Server Accept-Encoding=gzip tf_http_req_uri=/api2/json/nodes/dcd01/qemu/513/agent/network-get-interfaces tf_http_req_version=HTTP/1.1 @module=proxmox @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.30.0/helper/logging/logging_http_transport.go:162 timestamp="2023-12-08T20:28:58.517+0300"
2023-12-08T20:28:58.583+0300 [DEBUG] provider.terraform-provider-proxmox_v0.40.0: Received HTTP Response: Connection=[Keep-Alive, Keep-Alive] Server=pve-api-daemon/3.0 tf_http_op_type=response tf_http_res_status_code=200 tf_mux_provider=tf5to6server.v5tov6Server @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.30.0/helper/logging/logging_http_transport.go:162 Cache-Control=max-age=0 Pragma=no-cache Date="Fri, 08 Dec 2023 17:28:58 GMT" tf_http_res_body="{\"data\":{\"result\":[{\"statistics\":{\"tx-dropped\":0,\"rx-packets\":18446744073709550950,\"tx-bytes\":38942,\"tx-errs\":0,\"rx-errs\":0,\"rx-bytes\":24258,\"tx-packets\":167,\"rx-dropped\":0},\"ip-addresses\":[{\"prefix\":64,\"ip-address-type\":\"ipv6\",\"ip-address\":\"fe80::9c7b:a761:f2dd:e34c%12\"},{\"prefix\":24,\"ip-address-type\":\"ipv4\",\"ip-address\":\"10.198.208.43\"}],\"name\":\"Ethernet\",\"hardware-address\":\"92:c9:bb:dd:be:a8\"},{\"statistics\":{\"rx-errs\":0,\"rx-dropped\":0,\"rx-bytes\":0,\"tx-packets\":0,\"rx-packets\":0,\"tx-bytes\":0,\"tx-dropped\":0,\"tx-errs\":0},\"name\":\"Loopback Pseudo-Interface 1\",\"ip-addresses\":[{\"prefix\":128,\"ip-address-type\":\"ipv6\",\"ip-address\":\"::1\"},{\"ip-address-type\":\"ipv4\",\"ip-address\":\"127.0.0.1\",\"prefix\":8}]},{\"ip-addresses\":[{\"prefix\":128,\"ip-address-type\":\"ipv6\",\"ip-address\":\"fe80::5efe:10.198.208.43%13\"}],\"hardware-address\":\"00:00:00:00:00:00\",\"name\":\"isatap.mosk-team.globlinux.ru\",\"statistics\":{\"tx-errs\":0,\"tx-dropped\":0,\"rx-packets\":0,\"tx-bytes\":0,\"rx-bytes\":0,\"tx-packets\":0,\"rx-dropped\":0,\"rx-errs\":0}}]}}" tf_req_id=bedf4f4d-fcbd-420f-33ee-5fd9d9561a04 tf_rpc=ApplyResourceChange @module=proxmox Expires="Fri, 08 Dec 2023 17:28:58 GMT" tf_http_res_status_reason="200 OK" tf_http_res_version=HTTP/1.1 tf_http_trans_id=b3d3e9d3-1b1b-ee5c-4876-f7c4b0dc7c55 tf_provider_addr=registry.terraform.io/bpg/proxmox tf_resource_type=proxmox_virtual_environment_vm Content-Length=1013 Content-Type=application/json;charset=UTF-8 timestamp="2023-12-08T20:28:58.582+0300"
proxmox_virtual_environment_vm.windows_machine_2: Still creating... [6m20s elapsed]
2023-12-08T20:29:03.594+0300 [DEBUG] provider.terraform-provider-proxmox_v0.40.0: Sending HTTP Request: Host=dcd01.dev-sys-management-unit.globlinux.ru:8006 Accept=application/json Cookie="PVEAuthCookie=PVE:iklimenko@pve:6573506F::FSvjJYiXyZ5s50x433UYTLVb2j2+O1KGY9/UCCLExmx3ODZJLDL/MjP1ZMeN9sKvbUVMtVJsHhrvwViS+l57VMVWCIPMrf+1kMBF3SWoyz1yMmmDfQP8gLhbQxR1XwirV9JshGBleX5PUISsH/2VQ+2aWI47lXFnYtECPQ4VuiSNRKTrPe9g+uNZTFzZT4j3XQvGu9CEKO3ZRk1RozpFDjwugvC3sAeLvBnA2zdQ2a/NA5qgzJuH77aA2/ZyQCnH/hQZCojGwH3QsB3fFR2YKQpJhet2fQbFSv5YhzhAcyqdfXlmniB1y3V/pGgtTk0WSMGyHev1+yUr5xQA5CUo7A==" tf_http_req_method=GET tf_http_req_uri=/api2/json/nodes/dcd01/qemu/513/agent/network-get-interfaces tf_req_id=bedf4f4d-fcbd-420f-33ee-5fd9d9561a04 Accept-Encoding=gzip User-Agent=Go-http-client/1.1 tf_http_op_type=request tf_http_req_body="" tf_http_trans_id=b85dcdc8-5a5c-aea8-4ca2-f00a87070127 @module=proxmox tf_http_req_version=HTTP/1.1 tf_mux_provider=tf5to6server.v5tov6Server tf_provider_addr=registry.terraform.io/bpg/proxmox tf_resource_type=proxmox_virtual_environment_vm tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.30.0/helper/logging/logging_http_transport.go:162 timestamp="2023-12-08T20:29:03.594+0300"
2023-12-08T20:29:03.659+0300 [DEBUG] provider.terraform-provider-proxmox_v0.40.0: Received HTTP Response: Content-Type=application/json;charset=UTF-8 tf_http_op_type=response tf_http_res_body="{\"data\":{\"result\":[{\"ip-addresses\":[{\"ip-address-type\":\"ipv6\",\"ip-address\":\"fe80::9c7b:a761:f2dd:e34c%12\",\"prefix\":64},{\"ip-address-type\":\"ipv4\",\"ip-address\":\"10.198.208.43\",\"prefix\":24}],\"name\":\"Ethernet\",\"hardware-address\":\"92:c9:bb:dd:be:a8\",\"statistics\":{\"rx-errs\":0,\"rx-bytes\":24322,\"tx-packets\":167,\"rx-dropped\":0,\"tx-dropped\":0,\"rx-packets\":18446744073709550939,\"tx-bytes\":38942,\"tx-errs\":0}},{\"statistics\":{\"rx-bytes\":0,\"tx-packets\":0,\"rx-dropped\":0,\"rx-errs\":0,\"tx-errs\":0,\"tx-dropped\":0,\"rx-packets\":0,\"tx-bytes\":0},\"name\":\"Loopback Pseudo-Interface 1\",\"ip-addresses\":[{\"ip-address-type\":\"ipv6\",\"ip-address\":\"::1\",\"prefix\":128},{\"prefix\":8,\"ip-address\":\"127.0.0.1\",\"ip-address-type\":\"ipv4\"}]},{\"ip-addresses\":[{\"prefix\":128,\"ip-address\":\"fe80::5efe:10.198.208.43%13\",\"ip-address-type\":\"ipv6\"}],\"name\":\"isatap.mosk-team.globlinux.ru\",\"hardware-address\":\"00:00:00:00:00:00\",\"statistics\":{\"tx-packets\":0,\"rx-bytes\":0,\"rx-dropped\":0,\"rx-errs\":0,\"tx-errs\":0,\"tx-dropped\":0,\"tx-bytes\":0,\"rx-packets\":0}}]}}" tf_rpc=ApplyResourceChange Cache-Control=max-age=0 Content-Length=1013 Server=pve-api-daemon/3.0 tf_http_res_status_code=200 tf_http_trans_id=b85dcdc8-5a5c-aea8-4ca2-f00a87070127 @module=proxmox Pragma=no-cache tf_http_res_status_reason="200 OK" tf_provider_addr=registry.terraform.io/bpg/proxmox Connection=[Keep-Alive, Keep-Alive] Date="Fri, 08 Dec 2023 17:29:03 GMT" Expires="Fri, 08 Dec 2023 17:29:03 GMT" tf_http_res_version=HTTP/1.1 tf_mux_provider=tf5to6server.v5tov6Server tf_req_id=bedf4f4d-fcbd-420f-33ee-5fd9d9561a04 @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.30.0/helper/logging/logging_http_transport.go:162 tf_resource_type=proxmox_virtual_environment_vm timestamp="2023-12-08T20:29:03.658+0300"
2023-12-08T20:29:08.470+0300 [DEBUG] provider.terraform-provider-proxmox_v0.40.0: Sending HTTP Request: tf_mux_provider=tf5to6server.v5tov6Server @module=proxmox Accept=application/json Cookie="PVEAuthCookie=PVE:iklimenko@pve:6573506F::FSvjJYiXyZ5s50x433UYTLVb2j2+O1KGY9/UCCLExmx3ODZJLDL/MjP1ZMeN9sKvbUVMtVJsHhrvwViS+l57VMVWCIPMrf+1kMBF3SWoyz1yMmmDfQP8gLhbQxR1XwirV9JshGBleX5PUISsH/2VQ+2aWI47lXFnYtECPQ4VuiSNRKTrPe9g+uNZTFzZT4j3XQvGu9CEKO3ZRk1RozpFDjwugvC3sAeLvBnA2zdQ2a/NA5qgzJuH77aA2/ZyQCnH/hQZCojGwH3QsB3fFR2YKQpJhet2fQbFSv5YhzhAcyqdfXlmniB1y3V/pGgtTk0WSMGyHev1+yUr5xQA5CUo7A==" tf_http_req_body="" tf_http_req_uri=/api2/json/nodes/dcd01/qemu/513/agent/network-get-interfaces tf_http_trans_id=9604efe9-ed03-9d19-98ab-a8d737c292f5 @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.30.0/helper/logging/logging_http_transport.go:162 User-Agent=Go-http-client/1.1 tf_http_req_method=GET tf_http_req_version=HTTP/1.1 tf_rpc=ApplyResourceChange Accept-Encoding=gzip tf_provider_addr=registry.terraform.io/bpg/proxmox Host=dcd01.dev-sys-management-unit.globlinux.ru:8006 tf_http_op_type=request tf_req_id=bedf4f4d-fcbd-420f-33ee-5fd9d9561a04 tf_resource_type=proxmox_virtual_environment_vm timestamp="2023-12-08T20:29:08.470+0300"
2023-12-08T20:29:08.496+0300 [DEBUG] provider.terraform-provider-proxmox_v0.40.0: Received HTTP Response: tf_http_trans_id=9604efe9-ed03-9d19-98ab-a8d737c292f5 tf_resource_type=proxmox_virtual_environment_vm Cache-Control=max-age=0 Date="Fri, 08 Dec 2023 17:29:08 GMT" tf_http_res_status_code=200 tf_http_res_version=HTTP/1.1 tf_http_res_status_reason="200 OK" tf_mux_provider=tf5to6server.v5tov6Server Content-Type=application/json;charset=UTF-8 Server=pve-api-daemon/3.0 tf_http_op_type=response tf_rpc=ApplyResourceChange @module=proxmox tf_provider_addr=registry.terraform.io/bpg/proxmox tf_req_id=bedf4f4d-fcbd-420f-33ee-5fd9d9561a04 Expires="Fri, 08 Dec 2023 17:29:08 GMT" Pragma=no-cache tf_http_res_body="{\"data\":{\"result\":[{\"ip-addresses\":[{\"ip-address\":\"fe80::9c7b:a761:f2dd:e34c%12\",\"ip-address-type\":\"ipv6\",\"prefix\":64},{\"ip-address-type\":\"ipv4\",\"ip-address\":\"10.198.208.43\",\"prefix\":24}],\"hardware-address\":\"92:c9:bb:dd:be:a8\",\"name\":\"Ethernet\",\"statistics\":{\"rx-errs\":0,\"rx-dropped\":0,\"rx-bytes\":24842,\"tx-packets\":167,\"rx-packets\":18446744073709550930,\"tx-bytes\":38942,\"tx-dropped\":0,\"tx-errs\":0}},{\"name\":\"Loopback Pseudo-Interface 1\",\"ip-addresses\":[{\"prefix\":128,\"ip-address\":\"::1\",\"ip-address-type\":\"ipv6\"},{\"ip-address\":\"127.0.0.1\",\"ip-address-type\":\"ipv4\",\"prefix\":8}],\"statistics\":{\"rx-errs\":0,\"rx-dropped\":0,\"rx-bytes\":0,\"tx-packets\":0,\"rx-packets\":0,\"tx-bytes\":0,\"tx-dropped\":0,\"tx-errs\":0}},{\"ip-addresses\":[{\"ip-address\":\"fe80::5efe:10.198.208.43%13\",\"ip-address-type\":\"ipv6\",\"prefix\":128}],\"hardware-address\":\"00:00:00:00:00:00\",\"name\":\"isatap.mosk-team.globlinux.ru\",\"statistics\":{\"rx-errs\":0,\"rx-dropped\":0,\"rx-bytes\":0,\"tx-packets\":0,\"rx-packets\":0,\"tx-bytes\":0,\"tx-dropped\":0,\"tx-errs\":0}}]}}" @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.30.0/helper/logging/logging_http_transport.go:162 Connection=[Keep-Alive, Keep-Alive] Content-Length=1013 timestamp="2023-12-08T20:29:08.495+0300"
proxmox_virtual_environment_vm.windows_machine_2: Still creating... [6m30s elapsed]
2023-12-08T20:29:13.506+0300 [DEBUG] provider.terraform-provider-proxmox_v0.40.0: Sending HTTP Request: tf_req_id=bedf4f4d-fcbd-420f-33ee-5fd9d9561a04 tf_resource_type=proxmox_virtual_environment_vm @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.30.0/helper/logging/logging_http_transport.go:162 Cookie="PVEAuthCookie=PVE:iklimenko@pve:6573506F::FSvjJYiXyZ5s50x433UYTLVb2j2+O1KGY9/UCCLExmx3ODZJLDL/MjP1ZMeN9sKvbUVMtVJsHhrvwViS+l57VMVWCIPMrf+1kMBF3SWoyz1yMmmDfQP8gLhbQxR1XwirV9JshGBleX5PUISsH/2VQ+2aWI47lXFnYtECPQ4VuiSNRKTrPe9g+uNZTFzZT4j3XQvGu9CEKO3ZRk1RozpFDjwugvC3sAeLvBnA2zdQ2a/NA5qgzJuH77aA2/ZyQCnH/hQZCojGwH3QsB3fFR2YKQpJhet2fQbFSv5YhzhAcyqdfXlmniB1y3V/pGgtTk0WSMGyHev1+yUr5xQA5CUo7A==" Host=dcd01.dev-sys-management-unit.globlinux.ru:8006 User-Agent=Go-http-client/1.1 tf_http_req_version=HTTP/1.1 tf_provider_addr=registry.terraform.io/bpg/proxmox @module=proxmox Accept=application/json tf_http_req_uri=/api2/json/nodes/dcd01/qemu/513/agent/network-get-interfaces tf_rpc=ApplyResourceChange tf_http_req_body="" tf_http_trans_id=31d151d7-cbeb-9925-c667-441d22253300 Accept-Encoding=gzip tf_http_op_type=request tf_http_req_method=GET tf_mux_provider=tf5to6server.v5tov6Server timestamp="2023-12-08T20:29:13.506+0300"
2023-12-08T20:29:13.570+0300 [DEBUG] provider.terraform-provider-proxmox_v0.40.0: Received HTTP Response: @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.30.0/helper/logging/logging_http_transport.go:162 Connection=[Keep-Alive, Keep-Alive] Date="Fri, 08 Dec 2023 17:29:13 GMT" Expires="Fri, 08 Dec 2023 17:29:13 GMT" Pragma=no-cache tf_http_res_body="{\"data\":{\"result\":[{\"hardware-address\":\"92:c9:bb:dd:be:a8\",\"name\":\"Ethernet\",\"ip-addresses\":[{\"prefix\":64,\"ip-address\":\"fe80::9c7b:a761:f2dd:e34c%12\",\"ip-address-type\":\"ipv6\"},{\"prefix\":24,\"ip-address\":\"10.198.208.43\",\"ip-address-type\":\"ipv4\"}],\"statistics\":{\"rx-dropped\":0,\"tx-packets\":167,\"rx-bytes\":25162,\"rx-errs\":0,\"tx-errs\":0,\"tx-bytes\":38942,\"rx-packets\":18446744073709550906,\"tx-dropped\":0}},{\"ip-addresses\":[{\"prefix\":128,\"ip-address-type\":\"ipv6\",\"ip-address\":\"::1\"},{\"prefix\":8,\"ip-address-type\":\"ipv4\",\"ip-address\":\"127.0.0.1\"}],\"name\":\"Loopback Pseudo-Interface 1\",\"statistics\":{\"tx-errs\":0,\"tx-dropped\":0,\"tx-bytes\":0,\"rx-packets\":0,\"tx-packets\":0,\"rx-bytes\":0,\"rx-dropped\":0,\"rx-errs\":0}},{\"ip-addresses\":[{\"ip-address-type\":\"ipv6\",\"ip-address\":\"fe80::5efe:10.198.208.43%13\",\"prefix\":128}],\"name\":\"isatap.mosk-team.globlinux.ru\",\"hardware-address\":\"00:00:00:00:00:00\",\"statistics\":{\"rx-packets\":0,\"tx-bytes\":0,\"tx-dropped\":0,\"tx-errs\":0,\"rx-errs\":0,\"rx-dropped\":0,\"rx-bytes\":0,\"tx-packets\":0}}]}}" @module=proxmox Content-Type=application/json;charset=UTF-8 Server=pve-api-daemon/3.0 tf_provider_addr=registry.terraform.io/bpg/proxmox tf_req_id=bedf4f4d-fcbd-420f-33ee-5fd9d9561a04 tf_http_res_status_reason="200 OK" tf_rpc=ApplyResourceChange Cache-Control=max-age=0 Content-Length=1013 tf_http_op_type=response tf_http_res_status_code=200 tf_http_res_version=HTTP/1.1 tf_http_trans_id=31d151d7-cbeb-9925-c667-441d22253300 tf_mux_provider=tf5to6server.v5tov6Server tf_resource_type=proxmox_virtual_environment_vm timestamp="2023-12-08T20:29:13.569+0300"

Предлагаю для начала посмотреть свой конфиг и почитать документацию к используемым ресурсам. Особенно к тому, который не создаётся по тайм-ауту

router ★★★★★
()