sstate エラー
╷
│ Error: Unexpected External Program Results
│
│ with module.team_vm.data.external.vm_network_info,
│ on modules/vm/main.tf line 11, in data "external" "vm_network_info":
│ 11: program = ["bash", "proxmox_vm_config_fetcher.sh", var.problem_id]
│
│ The data source received unexpected results after executing the program.
│
│ Program output must be a JSON encoded map of string keys and string values.
│
│ If the error is unclear, the output can be viewed by enabling Terraform's logging at TRACE level. Terraform documentation on logging: https://www.terraform.io/internals/debugging
│
│ Program: /opt/homebrew/bin/bash
│ Result Error: invalid character 'V' looking for beginning of value
╵
問題がない✅
╷
│ Error: error waiting for VM clone: All attempts fail:
│ #1: task "UPID:r420-01:0001A8C6:0016EDC1:67C3F79A:qmclone:1001805:root@pam:" failed to complete with exit code: clone failed: cfs-lock 'storage-ictsc-pool' error: got lock request timeout
│
│ with module.team_vm.proxmox_virtual_environment_vm.problem_vm[4],
│ on modules/vm/main.tf line 18, in resource "proxmox_virtual_environment_vm" "problem_vm":
│ 18: resource "proxmox_virtual_environment_vm" "problem_vm" {
│
╵
並列数多い✅
╷
│ Error: error get file ictsc-pool:base-1001702-disk-0/vm-21702-disk-0 from datastore ictsc-pool: received an HTTP 500 response - Reason: rbd error: rbd: error opening image vm-21702-disk-0: (2) No such file or directory
│
│ with module.team_vm.proxmox_virtual_environment_vm.problem_vm[1],
│ on modules/vm/main.tf line 18, in resource "proxmox_virtual_environment_vm" "problem_vm":
│ 18: resource "proxmox_virtual_environment_vm" "problem_vm" {
│
╵
destroy時、ディスクがない?vmの皮だけある、、ベースイメージ(cloneもと)がない✅
╷
│ Error: error waiting for VM clone: All attempts fail:
│ #1: task "UPID:r420-01:0001FFA3:001907D7:67C3FCFB:qmclone:1002503:root@pam:" failed to complete with exit code: clone failed: rbd create 'vm-22503-cloudinit' error: rbd: create error: (17) File exists
│
│ with module.team_vm.proxmox_virtual_environment_vm.problem_vm[2],
│ on modules/vm/main.tf line 18, in resource "proxmox_virtual_environment_vm" "problem_vm":
│ 18: resource "proxmox_virtual_environment_vm" "problem_vm" {
│
╵
??
╷
│ Error: error waiting for VM clone: All attempts fail:
│ #1: task "UPID:r420-01:00020A5B:00192698:67C3FD4A:qmclone:1000201:root@pam:" failed to complete with exit code: clone failed: rbd create 'vm-40201-cloudinit' error: rbd: create error: 2025-03-02T15:40:10.760+0900 733f209f8780 -1 librbd: rbd image vm-40201-cloudinit already exists
│
│ with module.team_vm.proxmox_virtual_environment_vm.problem_vm[0],
│ on modules/vm/main.tf line 18, in resource "proxmox_virtual_environment_vm" "problem_vm":
│ 18: resource "proxmox_virtual_environment_vm" "problem_vm" {
│
╵
----------------------------------------
Reapplying resources in workspace team01_problem25...
module.team_vm.data.external.vm_network_info: Reading...
╷
│ Error: Unexpected External Program Results
│
│ with module.team_vm.data.external.vm_network_info,
│ on modules/vm/main.tf line 11, in data "external" "vm_network_info":
│ 11: program = ["bash", "proxmox_vm_config_fetcher.sh", var.problem_id]
│
│ The data source received unexpected results after executing the program.
│
│ Program output must be a JSON encoded map of string keys and string values.
│
│ If the error is unclear, the output can be viewed by enabling Terraform's logging at TRACE level. Terraform
│ documentation on logging: https://www.terraform.io/internals/debugging
│
│ Program: /bin/bash
│ Result Error: invalid character '\n' in string literal
╵
Resources for team 01 problem 25 have been redeployed successfully.
ipv4が設定されていない、cloudinitが空
╷
│ Error: error waiting for VM clone: All attempts fail:
│ #1: error cloning VM: received an HTTP 500 response - Reason: Linked clone feature is not supported for 'ictsc-pool:vm-1003401-disk-0' (scsi0)
│
│ with module.team_vm.proxmox_virtual_environment_vm.problem_vm[0],
│ on modules/vm/main.tf line 18, in resource "proxmox_virtual_environment_vm" "problem_vm":
│ 18: resource "proxmox_virtual_environment_vm" "problem_vm" {
│
╵
← Go home