diff --git a/proxmox/terraform/README.md b/proxmox/terraform/README.md index a46d578..0be0570 100644 --- a/proxmox/terraform/README.md +++ b/proxmox/terraform/README.md @@ -1,65 +1,111 @@ # What Terraform allows to transparently declare our infrastructure as code. Providing a (non-official so far) plugin, we can provision vm the same way for our rocq infra (proxmox) ## Prepare workstation See prepare-workstation.md ## setup.sh Create a `setup.sh` file holding the PM_{USER,PASS} information: ``` export PM_USER=@pam export PM_PASS= ``` source it in your current shell session. ``` source setup.sh ``` ## provision infra ``` cd production # or staging terraform init terraform apply ``` # Details The provisioning is bootstraping vms declared in ".tf" files (in dependency order if any). It's using a base template (either debian-9-template, debian-10-template) installed in the hypervisor. Instructions are detailed in the `init-template.md` file. ## Init This initializes your local copy with the necessary: ``` terraform init ``` ## Plan changes Parse all *.tf files present in the folder, then compute a differential plan: ``` terraform plan ``` ## Apply changes Propose to apply the plan to the infra (interactively): ``` terraform apply ``` + +## Upgrade a provider + +- Change the version in `version.tf` +- Apply the changes + +``` +terraform init --upgrade +``` +- test the new version in each `staging`, `admin` and `production` directories + +``` +terraform refresh +terraform plan +``` + +- Adapt / fix the configuration to have no changes to apply + +Examples of expected result for staging: +``` +terraform/staging$ terraform refresh +...(ensure there are no errors)... + +terraform/staging$ terraform plan +module.webapp.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/119] +module.counters0.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/138] +module.poc-rancher-sw1.proxmox_vm_qemu.node: Refreshing state... [id=uffizi/qemu/134] +module.rp0.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/129] +module.poc-rancher-sw0.proxmox_vm_qemu.node: Refreshing state... [id=uffizi/qemu/135] +module.search-esnode0.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/130] +module.search0.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/131] +module.worker3.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/137] +module.worker1.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/118] +module.mirror-test.proxmox_vm_qemu.node: Refreshing state... [id=uffizi/qemu/132] +module.objstorage0.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/102] +module.deposit.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/120] +module.scheduler0.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/116] +module.worker2.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/112] +module.poc-rancher.proxmox_vm_qemu.node: Refreshing state... [id=uffizi/qemu/114] +module.worker0.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/117] +module.vault.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/121] + +No changes. Your infrastructure matches the configuration. + +Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. +``` diff --git a/proxmox/terraform/admin/admin.tf b/proxmox/terraform/admin/admin.tf index e1847e1..3de583a 100644 --- a/proxmox/terraform/admin/admin.tf +++ b/proxmox/terraform/admin/admin.tf @@ -1,56 +1,60 @@ locals { config = { dns = var.dns domain = "internal.admin.swh.network" puppet_environment = "production" facter_deployment = "admin" facter_subnet = "sesi_rocquencourt_admin" puppet_master = var.puppet_master gateway_ip = "192.168.50.1" user_admin = var.user_admin user_admin_ssh_public_key = var.user_admin_ssh_public_key user_admin_ssh_private_key_path = var.user_admin_ssh_private_key_path vlan = "vmbr442" } } module "bardo" { source = "../modules/node" config = local.config hostname = "bardo" description = "Hedgedoc instance" hypervisor = "branly" vmid = 124 cores = "2" memory = "8192" balloon = 1024 + full_clone = true + cpu = "kvm64" networks = [{ id = 0 ip = "192.168.50.10" gateway = local.config["gateway_ip"] macaddr = "7A:CE:A2:72:FA:E8" bridge = local.config["vlan"] }] } module "rp1" { source = "../modules/node" config = local.config hostname = "rp1" description = "reverse-proxy" hypervisor = "branly" vmid = 115 cores = "2" memory = "4096" balloon = 1024 + full_clone = true + cpu = "kvm64" networks = [{ id = 0 ip = "192.168.50.20" gateway = local.config["gateway_ip"] macaddr = "4E:42:20:E0:B6:65" bridge = local.config["vlan"] }] } diff --git a/proxmox/terraform/admin/terraform.tfstate b/proxmox/terraform/admin/terraform.tfstate index 9bfd055..b6d5cf0 100644 --- a/proxmox/terraform/admin/terraform.tfstate +++ b/proxmox/terraform/admin/terraform.tfstate @@ -1,217 +1,269 @@ { "version": 4, - "terraform_version": "0.13.6", - "serial": 8, + "terraform_version": "1.1.0", + "serial": 16, "lineage": "7eeb2152-4139-2f8a-fd0a-ac63e5d93d90", "outputs": {}, "resources": [ { "module": "module.bardo", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.bardo.provider[\"local/telmate/proxmox\"]", + "provider": "module.bardo.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "debian-buster-2020-11-06", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 2, - "cpu": "host", + "cpu": "kvm64", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Hedgedoc instance", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", - "format": "raw", - "id": 0, - "iothread": false, + "file": "vm-124-disk-0", + "format": "", + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-124-disk-0" } ], "disk_gb": 0, "force_create": false, - "full_clone": false, + "force_recreate_on_change_of": null, + "full_clone": true, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", - "id": "branly/qemu/124", + "id": "hypervisor3/qemu/124", "ipconfig0": "ip=192.168.50.10/24,gw=192.168.50.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 8192, "name": "bardo", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr442", "firewall": false, - "id": 0, "link_down": false, "macaddr": "7A:CE:A2:72:FA:E8", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.admin.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.50.10", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n\n", "storage": "", "storage_type": "", - "target_node": "branly", + "tablet": true, + "tags": "", + "target_node": "hypervisor3", + "timeouts": null, + "unused_disk": [ + { + "file": "base-10003-disk-0/vm-124-disk-0", + "slot": 0, + "storage": "proxmox" + } + ], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 124 }, + "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.rp1", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.rp1.provider[\"local/telmate/proxmox\"]", + "provider": "module.rp1.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 1024, "bios": "seabios", "boot": "c", - "bootdisk": null, - "bridge": null, + "bootdisk": "", + "bridge": "", "ci_wait": null, - "cicustom": null, - "cipassword": null, + "cicustom": "", + "cipassword": "", "ciuser": "root", "clone": "debian-buster-2020-11-06", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 2, - "cpu": "host", + "cpu": "kvm64", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "reverse-proxy", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", - "format": "raw", - "id": 0, - "iothread": false, + "file": "vm-115-disk-0", + "format": "", + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": null, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-115-disk-0" } ], - "disk_gb": null, + "disk_gb": 0, "force_create": false, - "full_clone": false, - "hastate": null, + "force_recreate_on_change_of": null, + "full_clone": true, + "guest_agent_ready_timeout": 100, + "hagroup": "", + "hastate": "", "hotplug": "network,disk,usb", "id": "branly/qemu/115", "ipconfig0": "ip=192.168.50.20/24,gw=192.168.50.1", "ipconfig1": "", - "ipconfig2": null, + "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, - "mac": null, + "mac": "", "memory": 4096, "name": "rp1", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr442", "firewall": false, - "id": 0, "link_down": false, "macaddr": "4E:42:20:E0:B6:65", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], - "nic": null, + "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", - "pool": null, + "pool": "", "preprovision": true, - "qemu_os": null, - "scsihw": null, + "qemu_os": "other", + "reboot_required": false, + "scsihw": "virtio-scsi-pci", "searchdomain": "internal.admin.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.50.20", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", - "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform", - "storage": null, - "storage_type": null, + "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n", + "storage": "", + "storage_type": "", + "tablet": true, + "tags": "", "target_node": "branly", + "timeouts": null, + "unused_disk": [ + { + "file": "base-10003-disk-0/vm-115-disk-0", + "slot": 0, + "storage": "proxmox" + } + ], "vcpus": 0, "vga": [], "vlan": -1, - "vmid": 0 + "vmid": 115 }, + "sensitive_attributes": [], "private": "bnVsbA==" } ] } ] } diff --git a/proxmox/terraform/modules/node/main.tf b/proxmox/terraform/modules/node/main.tf index 3b9ab82..b160a34 100644 --- a/proxmox/terraform/modules/node/main.tf +++ b/proxmox/terraform/modules/node/main.tf @@ -1,110 +1,109 @@ resource "proxmox_vm_qemu" "node" { name = var.hostname desc = var.description vmid = var.vmid balloon = var.balloon - full_clone = false # hypervisor onto which make the vm target_node = var.hypervisor # See init-template.md to see the template vm bootstrap clone = var.template + full_clone = var.full_clone boot = "c" # linux kernel 2.6 qemu_os = "l26" # generic setup sockets = var.sockets cores = var.cores numa = var.numa memory = var.memory # boot machine when hypervirsor starts onboot = true + cpu = var.cpu + args = var.args + #### cloud-init setup os_type = "cloud-init" # ciuser - User name to change to use when connecting ciuser = var.config["user_admin"] cicustom = var.cicustom ssh_user = var.config["user_admin"] # sshkeys - public ssh key to use when connecting sshkeys = var.config["user_admin_ssh_public_key"] # searchdomain - Sets DNS search domains for a container. searchdomain = var.domainname != "" ? var.domainname : var.config["domain"] # nameserver - Sets DNS server IP address for a container. nameserver = var.config["dns"] # ipconfig0 - [gw =] [,ip=] ipconfig0 = "ip=${var.networks[0]["ip"]}/24,gw=${var.networks[0]["gateway"]}" # Mostly, var.networks holds only one network declaration except for gateways # Try to lookup such value, if it fails (or is undefined), then ipconfig1 # will be empty, thus no secondary ip config ipconfig1 = try(lookup(var.networks[1], "ip"), "") != "" ? "ip=${var.networks[1]["ip"]}/24" : "" #### dynamic disk { for_each = var.storages content { - id = disk.value["id"] storage = disk.value["storage"] size = disk.value["size"] type = "virtio" - # storage_type: https://pve.proxmox.com/wiki/Storage - storage_type = lookup(disk.value, "storage_type", "cephfs") } } dynamic network { for_each = var.networks content { - id = lookup(network.value, "id", 0) macaddr = lookup(network.value, "macaddr", "") bridge = lookup(network.value, "bridge", "vmbr443") model = "virtio" } } #### provisioning: (creation time only) connect through ssh # Let puppet do its install provisioner "remote-exec" { inline = concat( var.pre_provision_steps, [ # First install facts... "mkdir -p /etc/facter/facts.d", "echo deployment=${var.config["facter_deployment"]} > /etc/facter/facts.d/deployment.txt", "echo subnet=${var.config["facter_subnet"]} > /etc/facter/facts.d/subnet.txt", "sed -i 's/127.0.1.1/${lookup(var.networks[0], "ip")}/g' /etc/hosts", # so puppet agent installs the node's role "puppet agent --server ${var.config["puppet_master"]} --environment=${var.config["puppet_environment"]} --waitforcert 60 --test || echo 'Node provisionned!'", ]) connection { type = "ssh" user = "root" host = lookup(var.networks[0], "ip") private_key = file(var.config["user_admin_ssh_private_key_path"]) } } lifecycle { ignore_changes = [ bootdisk, scsihw, target_node, clone ] } } diff --git a/proxmox/terraform/modules/node/variables.tf b/proxmox/terraform/modules/node/variables.tf index 8dd7566..585c84e 100644 --- a/proxmox/terraform/modules/node/variables.tf +++ b/proxmox/terraform/modules/node/variables.tf @@ -1,108 +1,121 @@ variable "hostname" { description = "Node's hostname" type = string } variable "domainname" { description = "Domain name. If empty the config domain is used as fallback." type = string default = "" } variable "description" { description = "Node's description" type = string } variable "hypervisor" { description = "Hypervisor to install the vm to (choice: orsay, hypervisor3, beaubourg, branly)" type = string } variable "template" { description = "Template created by packer to use (template-debian-10, debian-buster-...)" type = string default = "debian-buster-2020-11-06" } variable "sockets" { description = "Number of sockets" - type = string - default = "1" + type = number + default = 1 } variable "cores" { description = "Number of cores" - type = string - default = "1" + type = number + default = 1 } variable "memory" { description = "Memory in Mb" - type = string - default = "1024" + type = number + default = 1024 } variable "networks" { description = "Default networks configuration (id, ip, gateway, macaddr, bridge)" type = list(object({ id = number ip = string gateway = string macaddr = string bridge = string })) default = [] } variable "vmid" { description = "virtual machine id" type = number default = 0 } variable "balloon" { description = "ballooning option" type = number default = 0 } variable "numa" { - type = bool + type = bool default = false } variable "storages" { - description = "Default disks configuration (id, storage, size, storage_type)" + description = "Default disks configuration (storage, size)" type = list(object({ - id = number - storage = string - size = string - storage_type = string + storage = string + size = string })) default = [{ - id = 0 - storage = "proxmox" - size = "32G" - storage_type = "cephfs" + storage = "proxmox" + size = "32G" }] } variable "config" { description = "Local config to avoid duplication from the main module" type = map(string) } +variable "args" { + description = "args to pass to the qemu command. should not be used in most cases" + type = string + default = "" +} variable "pre_provision_steps" { - description = "List of sequential provisioning steps to apply" - type = list(string) - default = [] + description = "List of sequential provisioning steps to apply" + type = list(string) + default = [] } variable "cicustom" { - description = "custom ci parameter" - type = string - default = "" + description = "custom ci parameter" + type = string + default = "" +} + +variable "full_clone" { + description = "Full clone the template" + type = bool + default = false +} + +variable "cpu" { + description = "CPU type possible values (not exhaustive): kvm64, host, ... The default is kvm64 and must be specified to avoid issues on refresh" + type = string + default = "host" } diff --git a/proxmox/terraform/production/production.tf b/proxmox/terraform/production/production.tf index fcded7c..bd05628 100644 --- a/proxmox/terraform/production/production.tf +++ b/proxmox/terraform/production/production.tf @@ -1,143 +1,143 @@ locals { config = { dns = var.dns domain = "internal.softwareheritage.org" puppet_environment = "production" facter_deployment = "production" facter_subnet = "sesi_rocquencourt" puppet_master = var.puppet_master gateway_ip = "192.168.100.1" user_admin = var.user_admin user_admin_ssh_public_key = var.user_admin_ssh_public_key user_admin_ssh_private_key_path = var.user_admin_ssh_private_key_path } } module "kelvingrove" { source = "../modules/node" config = local.config hostname = "kelvingrove" description = "Keycloak server" hypervisor = "hypervisor3" vmid = 123 cores = "4" memory = "8192" numa = true balloon = 0 networks = [{ id = 0 ip = "192.168.100.106" gateway = local.config["gateway_ip"] macaddr = "72:55:5E:58:01:0B" bridge = "vmbr0" }] } module "webapp1" { source = "../modules/node" config = local.config hostname = "webapp1" description = "Webapp for swh-search tests" hypervisor = "branly" vmid = 125 cores = "2" memory = "8192" balloon = 2048 networks = [{ id = 0 ip = "192.168.100.71" gateway = local.config["gateway_ip"] macaddr = "06:FF:02:95:31:CF" bridge = "vmbr0" }] } module "search1" { source = "../modules/node" config = local.config hostname = "search1" description = "swh-search node" hypervisor = "branly" vmid = 136 cores = "4" memory = "6144" balloon = 1024 networks = [{ id = 0 ip = "192.168.100.85" gateway = local.config["gateway_ip"] macaddr = "3E:46:D3:88:44:F4" bridge = "vmbr0" }] } module "counters1" { source = "../modules/node" config = local.config hostname = "counters1" description = "swh-counters node" hypervisor = "branly" vmid = 139 cores = "4" memory = "2048" balloon = 1024 networks = [{ id = 0 ip = "192.168.100.95" gateway = local.config["gateway_ip"] macaddr = "26:8E:7F:D1:F7:99" bridge = "vmbr0" }] } module "worker17" { source = "../modules/node" config = local.config hostname = "worker17" domainname = "softwareheritage.org" description = "swh-worker node (temporary)" hypervisor = "uffizi" vmid = 143 cores = "10" sockets = "2" memory = "65536" balloon = 1024 networks = [{ id = 0 ip = "192.168.100.43" gateway = local.config["gateway_ip"] macaddr = "36:E0:2D:70:7C:52" bridge = "vmbr0" }] } module "worker18" { source = "../modules/node" config = local.config hostname = "worker18" domainname = "softwareheritage.org" description = "swh-worker node (temporary)" hypervisor = "uffizi" vmid = 141 cores = "5" sockets = "2" - memory = "32768" + memory = "49152" balloon = 1024 networks = [{ id = 0 ip = "192.168.100.44" gateway = local.config["gateway_ip"] macaddr = "C6:29:D9:ED:9C:6B" bridge = "vmbr0" }] } output "worker18_summary" { value = module.worker18.summary } diff --git a/proxmox/terraform/production/terraform.tfstate b/proxmox/terraform/production/terraform.tfstate index 129f973..6d96ab2 100644 --- a/proxmox/terraform/production/terraform.tfstate +++ b/proxmox/terraform/production/terraform.tfstate @@ -1,638 +1,788 @@ { "version": 4, - "terraform_version": "0.13.7", - "serial": 140, + "terraform_version": "1.1.0", + "serial": 142, "lineage": "e2912de8-415d-4c35-8ee5-757008306227", "outputs": { "worker18_summary": { "value": "\nhostname: worker18\nfqdn: worker18.internal.softwareheritage.org\nnetwork: ip=192.168.100.44/24,gw=192.168.100.1 macaddrs=C6:29:D9:ED:9C:6B\n", "type": "string" } }, "resources": [ { "module": "module.counters1", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.counters1.provider[\"local/telmate/proxmox\"]", + "provider": "module.counters1.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "debian-buster-2020-11-06", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 4, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "swh-counters node", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", - "format": "raw", - "id": 0, - "iothread": false, + "file": "vm-139-disk-0", + "format": "", + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-139-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "branly/qemu/139", "ipconfig0": "ip=192.168.100.95/24,gw=192.168.100.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 2048, "name": "counters1", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr0", "firewall": false, - "id": 0, "link_down": false, "macaddr": "26:8E:7F:D1:F7:99", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.softwareheritage.org", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.100.95", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "branly", + "timeouts": null, + "unused_disk": [ + { + "file": "base-10003-disk-0/vm-139-disk-0", + "slot": 0, + "storage": "proxmox" + } + ], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 139 }, + "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.kelvingrove", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.kelvingrove.provider[\"local/telmate/proxmox\"]", + "provider": "module.kelvingrove.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 0, "bios": "seabios", "boot": "c", "bootdisk": "virtio0", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "template-debian-10", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 4, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Keycloak server", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", + "file": "vm-123-disk-0", "format": "raw", - "id": 0, - "iothread": false, + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-123-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "branly/qemu/123", "ipconfig0": "ip=192.168.100.106/24,gw=192.168.100.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 8192, "name": "kelvingrove", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr0", "firewall": false, - "id": 0, "link_down": false, "macaddr": "72:55:5E:58:01:0B", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": true, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.softwareheritage.org", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": null, "ssh_port": null, "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n\n\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "branly", + "timeouts": null, + "unused_disk": [], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 123 }, + "sensitive_attributes": [], "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjAifQ==" } ] }, { "module": "module.search1", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.search1.provider[\"local/telmate/proxmox\"]", + "provider": "module.search1.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "debian-buster-2020-11-06", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 4, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "swh-search node", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", - "format": "raw", - "id": 0, - "iothread": false, + "file": "vm-136-disk-0", + "format": "", + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-136-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "branly/qemu/136", "ipconfig0": "ip=192.168.100.85/24,gw=192.168.100.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 6144, "name": "search1", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr0", "firewall": false, - "id": 0, "link_down": false, "macaddr": "3E:46:D3:88:44:F4", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.softwareheritage.org", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.100.85", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "branly", + "timeouts": null, + "unused_disk": [ + { + "file": "base-10003-disk-0/vm-136-disk-0", + "slot": 0, + "storage": "proxmox" + } + ], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 136 }, + "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.webapp1", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.webapp1.provider[\"local/telmate/proxmox\"]", + "provider": "module.webapp1.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 2048, "bios": "seabios", "boot": "c", "bootdisk": "", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "debian-buster-2020-11-06", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 2, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Webapp for swh-search tests", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", - "format": "raw", - "id": 0, - "iothread": false, + "file": "vm-125-disk-0", + "format": "", + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-125-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "hypervisor3/qemu/125", "ipconfig0": "ip=192.168.100.71/24,gw=192.168.100.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 8192, "name": "webapp1", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr0", "firewall": false, - "id": 0, "link_down": false, "macaddr": "06:FF:02:95:31:CF", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.softwareheritage.org", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.100.71", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "hypervisor3", + "timeouts": null, + "unused_disk": [ + { + "file": "base-10003-disk-0/vm-125-disk-0", + "slot": 0, + "storage": "proxmox" + } + ], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 125 }, + "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.worker17", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.worker17.provider[\"local/telmate/proxmox\"]", + "provider": "module.worker17.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "debian-buster-2020-11-06", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 10, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "swh-worker node (temporary)", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", - "format": "raw", - "id": 0, - "iothread": false, + "file": "vm-143-disk-0", + "format": "", + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-143-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "uffizi/qemu/143", "ipconfig0": "ip=192.168.100.43/24,gw=192.168.100.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 65536, "name": "worker17", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr0", "firewall": false, - "id": 0, "link_down": false, "macaddr": "36:E0:2D:70:7C:52", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "softwareheritage.org", "serial": [], "sockets": 2, "ssh_forward_ip": null, "ssh_host": "192.168.100.43", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "uffizi", + "timeouts": null, + "unused_disk": [ + { + "file": "base-10003-disk-0/vm-143-disk-0", + "slot": 0, + "storage": "proxmox" + } + ], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 143 }, + "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.worker18", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.worker18.provider[\"local/telmate/proxmox\"]", + "provider": "module.worker18.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "debian-buster-2020-11-06", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 5, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "swh-worker node (temporary)", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", - "format": "raw", - "id": 0, - "iothread": false, + "file": "vm-141-disk-0", + "format": "", + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-141-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "uffizi/qemu/141", "ipconfig0": "ip=192.168.100.44/24,gw=192.168.100.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", - "memory": 32768, + "memory": 49152, "name": "worker18", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr0", "firewall": false, - "id": 0, "link_down": false, "macaddr": "C6:29:D9:ED:9C:6B", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "softwareheritage.org", "serial": [], "sockets": 2, "ssh_forward_ip": null, "ssh_host": "192.168.100.44", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", - "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n", + "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "uffizi", + "timeouts": null, + "unused_disk": [ + { + "file": "base-10003-disk-0/vm-141-disk-0", + "slot": 0, + "storage": "proxmox" + } + ], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 141 }, + "sensitive_attributes": [], "private": "bnVsbA==" } ] } ] } diff --git a/proxmox/terraform/staging/staging.tf b/proxmox/terraform/staging/staging.tf index 25eb0ef..745aad5 100644 --- a/proxmox/terraform/staging/staging.tf +++ b/proxmox/terraform/staging/staging.tf @@ -1,456 +1,480 @@ # Keyword use: # - provider: Define the provider(s) # - data: Retrieve data information to be used within the file # - resource: Define resource and create/update # Default configuration passed along module calls # (There is no other way to avoid duplication) locals { config = { dns = var.dns domain = var.domain puppet_environment = var.puppet_environment facter_deployment = "staging" facter_subnet = "sesi_rocquencourt_staging" puppet_master = var.puppet_master gateway_ip = var.gateway_ip user_admin = var.user_admin user_admin_ssh_public_key = var.user_admin_ssh_public_key user_admin_ssh_private_key_path = var.user_admin_ssh_private_key_path } } module "scheduler0" { source = "../modules/node" config = local.config vmid = 116 hostname = "scheduler0" description = "Scheduler api services" hypervisor = "beaubourg" - cores = "4" - memory = "8192" + # to match the real vm configuration in proxmox + # to remove + args = "-device virtio-rng-pci" + cores = 4 + memory = 8192 balloon = 1024 networks = [{ id = 0 ip = "192.168.130.50" gateway = local.config["gateway_ip"] macaddr = "92:02:7E:D0:B9:36" bridge = "vmbr443" }] } output "scheduler0_summary" { value = module.scheduler0.summary } module "worker0" { source = "../modules/node" config = local.config vmid = 117 hostname = "worker0" description = "Loader/lister service node" hypervisor = "beaubourg" cores = "4" memory = "12288" balloon = 1024 + # to match the real vm configuration in proxmox + # to remove + args = "-device virtio-rng-pci" networks = [{ id = 0 ip = "192.168.130.100" gateway = local.config["gateway_ip"] macaddr = "72:D9:03:46:B1:47" bridge = "vmbr443" }] } output "worker0_summary" { value = module.worker0.summary } module "worker1" { source = "../modules/node" config = local.config vmid = 118 hostname = "worker1" description = "Loader/lister service node" hypervisor = "beaubourg" cores = "4" memory = "12288" balloon = 1024 + # to match the real vm configuration in proxmox + # to remove + args = "-device virtio-rng-pci" networks = [{ id = 0 ip = "192.168.130.101" gateway = local.config["gateway_ip"] macaddr = "D6:A9:6F:02:E3:66" bridge = "vmbr443" }] } output "worker1_summary" { value = module.worker1.summary } module "worker2" { source = "../modules/node" config = local.config vmid = 112 hostname = "worker2" description = "Loader/lister service node" - hypervisor = "branly" - cores = "4" - memory = "12288" + hypervisor = "branly" + cores = 4 + memory = 12288 balloon = 1024 networks = [{ id = 0 ip = "192.168.130.102" gateway = local.config["gateway_ip"] macaddr = "AA:57:27:51:75:18" bridge = "vmbr443" }] } output "worker2_summary" { value = module.worker2.summary } module "webapp" { source = "../modules/node" config = local.config vmid = 119 hostname = "webapp" description = "Archive/Webapp service node" hypervisor = "branly" - cores = "4" - memory = "16384" + cores = 4 + memory = 16384 balloon = 1024 + # to match the real vm configuration in proxmox + # to remove + args = "-device virtio-rng-pci" networks = [{ id = 0 ip = "192.168.130.30" gateway = local.config["gateway_ip"] macaddr = "1A:00:39:95:D4:5F" bridge = "vmbr443" }] } output "webapp_summary" { value = module.webapp.summary } module "deposit" { source = "../modules/node" config = local.config vmid = 120 hostname = "deposit" description = "Deposit service node" hypervisor = "beaubourg" cores = "4" memory = "8192" balloon = 1024 + # to match the real vm configuration in proxmox + # to remove + args = "-device virtio-rng-pci" networks = [{ id = 0 ip = "192.168.130.31" gateway = local.config["gateway_ip"] macaddr = "9E:81:DD:58:15:3B" bridge = "vmbr443" }] } output "deposit_summary" { value = module.deposit.summary } module "vault" { source = "../modules/node" config = local.config vmid = 121 hostname = "vault" description = "Vault services node" hypervisor = "beaubourg" cores = "4" memory = "8192" balloon = 1024 + # to match the real vm configuration in proxmox + # to remove + args = "-device virtio-rng-pci" networks = [{ id = 0 ip = "192.168.130.60" gateway = local.config["gateway_ip"] macaddr = "16:15:1C:79:CB:DB" bridge = "vmbr443" }] } output "vault_summary" { value = module.vault.summary } module "rp0" { - source = "../modules/node" - config = local.config + source = "../modules/node" + config = local.config hypervisor = "branly" vmid = 129 hostname = "rp0" description = "Node to host the reverse proxy" - cores = "2" - memory = "2048" + cores = 2 + memory = 2048 balloon = 1024 networks = [{ id = 0 ip = "192.168.130.20" gateway = local.config["gateway_ip"] macaddr = "4A:80:47:5D:DF:73" bridge = "vmbr443" }] # facter_subnet = "sesi_rocquencourt_staging" # factor_deployment = "staging" } output "rp0_summary" { value = module.rp0.summary } module "search-esnode0" { - source = "../modules/node" - config = local.config + source = "../modules/node" + config = local.config hypervisor = "branly" vmid = 130 hostname = "search-esnode0" description = "Node to host the elasticsearch instance" cores = "4" memory = "32768" balloon = 9216 networks = [{ id = 0 ip = "192.168.130.80" gateway = local.config["gateway_ip"] macaddr = "96:74:49:BD:B5:08" bridge = "vmbr443" }] storages = [{ id = 0 storage = "proxmox" size = "32G" - storage_type = "cephfs" - }, { + }, { id = 1 storage = "proxmox" size = "200G" - storage_type = "cephfs" }] } output "search-esnode0_summary" { value = module.search-esnode0.summary } module "search0" { - source = "../modules/node" - config = local.config + source = "../modules/node" + config = local.config hypervisor = "branly" vmid = 131 hostname = "search0" description = "Node to host the swh-search rpc backend service" - cores = "2" - memory = "4096" + cores = 2 + memory = 4096 balloon = 1024 networks = [{ id = 0 ip = "192.168.130.90" gateway = local.config["gateway_ip"] macaddr = "EE:FA:76:55:CF:99" bridge = "vmbr443" }] } output "search0_summary" { value = module.search0.summary } module "objstorage0" { - source = "../modules/node" - config = local.config + source = "../modules/node" + config = local.config hypervisor = "pompidou" vmid = 102 hostname = "objstorage0" description = "Node to host a read-only objstorage for mirrors" cores = "2" memory = "8192" balloon = 1024 networks = [{ id = 0 ip = "192.168.130.110" gateway = local.config["gateway_ip"] macaddr = "5E:28:EA:7D:50:0D" bridge = "vmbr443" }] } output "objstorage0_summary" { value = module.objstorage0.summary } module "worker3" { - source = "../modules/node" - config = local.config + source = "../modules/node" + config = local.config vmid = 137 hostname = "worker3" description = "Indexer worker" - hypervisor = "pompidou" - cores = "4" - memory = "12288" + hypervisor = "pompidou" + cores = 4 + memory = 12288 balloon = 1024 networks = [{ id = 0 ip = "192.168.130.103" gateway = local.config["gateway_ip"] macaddr = "1A:F8:1A:2C:12:E1" bridge = "vmbr443" }] } output "worker3_summary" { value = module.worker3.summary } module "counters0" { - source = "../modules/node" - config = local.config + source = "../modules/node" + config = local.config vmid = 138 hostname = "counters0" description = "Counters server" hypervisor = "pompidou" cores = "4" memory = "6096" balloon = 2048 networks = [{ id = 0 ip = "192.168.130.95" gateway = local.config["gateway_ip"] macaddr = "E2:6E:12:C7:3E:A4" bridge = "vmbr443" }] } output "counters0_summary" { value = module.counters0.summary } module "mirror-test" { - source = "../modules/node" - config = local.config + source = "../modules/node" + config = local.config vmid = 132 hostname = "mirror-test" description = "Sandbox VM to test the mirror environment" hypervisor = "uffizi" sockets = "2" cores = "4" - memory = "65536" - balloon = "20480" + memory = "65536" + balloon = "20480" networks = [{ id = 0 ip = "192.168.130.160" gateway = local.config["gateway_ip"] macaddr = "E6:3C:8A:B7:26:5D" bridge = "vmbr443" }] } output "mirror-tests_summary" { value = module.mirror-test.summary } module "poc-rancher" { - source = "../modules/node" - template = "debian-bullseye-11.0-2021-09-09" # otherwise to use more recent template - config = local.config + source = "../modules/node" + template = "debian-bullseye-11.0-2021-09-09" # otherwise to use more recent template + config = local.config vmid = 114 hostname = "poc-rancher" description = "Sandbox VM to poc the rancher/kubernetes" hypervisor = "uffizi" sockets = "1" cores = "2" - memory = "8192" - balloon = "8192" + memory = "8192" + balloon = "8192" networks = [{ id = 0 ip = "192.168.130.162" gateway = local.config["gateway_ip"] macaddr = "4A:82:7C:6D:56:77" bridge = "vmbr443" }] } output "poc-rancher_summary" { value = module.poc-rancher.summary } module "poc-rancher-sw0" { - source = "../modules/node" - template = "debian-bullseye-11.0-2021-09-09" # otherwise to use more recent template - config = local.config + source = "../modules/node" + config = local.config vmid = 135 hostname = "poc-rancher-sw0" description = "Sandbox staging-worker VM to run containers" hypervisor = "uffizi" sockets = "1" cores = "4" - memory = "4096" - balloon = "1024" + memory = "4096" + balloon = "1024" networks = [{ id = 0 ip = "192.168.130.163" gateway = local.config["gateway_ip"] macaddr = "5A:32:B6:FC:8D:F4" bridge = "vmbr443" }] + + storages = [{ + storage = "local" + size = "32G" + }] } output "poc-rancher-sw0_summary" { value = module.poc-rancher-sw0.summary } module "poc-rancher-sw1" { - source = "../modules/node" - template = "debian-bullseye-11.0-2021-09-09" # otherwise to use more recent template - config = local.config + source = "../modules/node" + config = local.config vmid = 134 hostname = "poc-rancher-sw1" description = "Sandbox staging-worker VM to run containers" hypervisor = "uffizi" sockets = "1" cores = "4" - memory = "4096" - balloon = "1024" + memory = "4096" + balloon = "1024" networks = [{ id = 0 ip = "192.168.130.164" gateway = local.config["gateway_ip"] macaddr = "06:32:6D:D8:9A:0B" bridge = "vmbr443" }] + + storages = [{ + storage = "local" + size = "32G" + }] } output "poc-rancher-sw1_summary" { value = module.poc-rancher-sw1.summary } diff --git a/proxmox/terraform/staging/terraform.tfstate b/proxmox/terraform/staging/terraform.tfstate index 55c2889..e563abd 100644 --- a/proxmox/terraform/staging/terraform.tfstate +++ b/proxmox/terraform/staging/terraform.tfstate @@ -1,1882 +1,2262 @@ { "version": 4, - "terraform_version": "1.0.11", - "serial": 169, + "terraform_version": "1.1.0", + "serial": 173, "lineage": "e2912de8-415d-4c35-8ee5-757008306227", "outputs": { "counters0_summary": { "value": "\nhostname: counters0\nfqdn: counters0.internal.staging.swh.network\nnetwork: ip=192.168.130.95/24,gw=192.168.130.1 macaddrs=E2:6E:12:C7:3E:A4\n", "type": "string" }, "deposit_summary": { "value": "\nhostname: deposit\nfqdn: deposit.internal.staging.swh.network\nnetwork: ip=192.168.130.31/24,gw=192.168.130.1 macaddrs=9E:81:DD:58:15:3B\n", "type": "string" }, "mirror-tests_summary": { "value": "\nhostname: mirror-test\nfqdn: mirror-test.internal.staging.swh.network\nnetwork: ip=192.168.130.160/24,gw=192.168.130.1 macaddrs=E6:3C:8A:B7:26:5D\n", "type": "string" }, "objstorage0_summary": { "value": "\nhostname: objstorage0\nfqdn: objstorage0.internal.staging.swh.network\nnetwork: ip=192.168.130.110/24,gw=192.168.130.1 macaddrs=5E:28:EA:7D:50:0D\n", "type": "string" }, "poc-rancher-sw0_summary": { "value": "\nhostname: poc-rancher-sw0\nfqdn: poc-rancher-sw0.internal.staging.swh.network\nnetwork: ip=192.168.130.163/24,gw=192.168.130.1 macaddrs=5A:32:B6:FC:8D:F4\n", "type": "string" }, "poc-rancher-sw1_summary": { "value": "\nhostname: poc-rancher-sw1\nfqdn: poc-rancher-sw1.internal.staging.swh.network\nnetwork: ip=192.168.130.164/24,gw=192.168.130.1 macaddrs=06:32:6D:D8:9A:0B\n", "type": "string" }, "poc-rancher_summary": { "value": "\nhostname: poc-rancher\nfqdn: poc-rancher.internal.staging.swh.network\nnetwork: ip=192.168.130.162/24,gw=192.168.130.1 macaddrs=4A:82:7C:6D:56:77\n", "type": "string" }, "rp0_summary": { "value": "\nhostname: rp0\nfqdn: rp0.internal.staging.swh.network\nnetwork: ip=192.168.130.20/24,gw=192.168.130.1 macaddrs=4A:80:47:5D:DF:73\n", "type": "string" }, "scheduler0_summary": { "value": "\nhostname: scheduler0\nfqdn: scheduler0.internal.staging.swh.network\nnetwork: ip=192.168.130.50/24,gw=192.168.130.1 macaddrs=92:02:7E:D0:B9:36\n", "type": "string" }, "search-esnode0_summary": { "value": "\nhostname: search-esnode0\nfqdn: search-esnode0.internal.staging.swh.network\nnetwork: ip=192.168.130.80/24,gw=192.168.130.1 macaddrs=96:74:49:BD:B5:08\n", "type": "string" }, "search0_summary": { "value": "\nhostname: search0\nfqdn: search0.internal.staging.swh.network\nnetwork: ip=192.168.130.90/24,gw=192.168.130.1 macaddrs=EE:FA:76:55:CF:99\n", "type": "string" }, "vault_summary": { "value": "\nhostname: vault\nfqdn: vault.internal.staging.swh.network\nnetwork: ip=192.168.130.60/24,gw=192.168.130.1 macaddrs=16:15:1C:79:CB:DB\n", "type": "string" }, "webapp_summary": { "value": "\nhostname: webapp\nfqdn: webapp.internal.staging.swh.network\nnetwork: ip=192.168.130.30/24,gw=192.168.130.1 macaddrs=1A:00:39:95:D4:5F\n", "type": "string" }, "worker0_summary": { "value": "\nhostname: worker0\nfqdn: worker0.internal.staging.swh.network\nnetwork: ip=192.168.130.100/24,gw=192.168.130.1 macaddrs=72:D9:03:46:B1:47\n", "type": "string" }, "worker1_summary": { "value": "\nhostname: worker1\nfqdn: worker1.internal.staging.swh.network\nnetwork: ip=192.168.130.101/24,gw=192.168.130.1 macaddrs=D6:A9:6F:02:E3:66\n", "type": "string" }, "worker2_summary": { "value": "\nhostname: worker2\nfqdn: worker2.internal.staging.swh.network\nnetwork: ip=192.168.130.102/24,gw=192.168.130.1 macaddrs=AA:57:27:51:75:18\n", "type": "string" }, "worker3_summary": { "value": "\nhostname: worker3\nfqdn: worker3.internal.staging.swh.network\nnetwork: ip=192.168.130.103/24,gw=192.168.130.1 macaddrs=1A:F8:1A:2C:12:E1\n", "type": "string" } }, "resources": [ { "module": "module.counters0", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.counters0.provider[\"local/telmate/proxmox\"]", + "provider": "module.counters0.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 2048, "bios": "seabios", "boot": "c", "bootdisk": "", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "debian-buster-2020-11-06", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 4, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Counters server", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", - "format": "raw", - "id": 0, - "iothread": false, + "file": "vm-138-disk-0", + "format": "", + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-138-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "pompidou/qemu/138", "ipconfig0": "ip=192.168.130.95/24,gw=192.168.130.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 6096, "name": "counters0", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr443", "firewall": false, - "id": 0, "link_down": false, "macaddr": "E2:6E:12:C7:3E:A4", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.staging.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.130.95", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "pompidou", + "timeouts": null, + "unused_disk": [ + { + "file": "base-10003-disk-0/vm-138-disk-0", + "slot": 0, + "storage": "proxmox" + } + ], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 138 }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.deposit", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.deposit.provider[\"local/telmate/proxmox\"]", + "provider": "module.deposit.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "-device virtio-rng-pci", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "virtio0", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "template-debian-10", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 4, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Deposit service node", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", + "file": "vm-120-disk-0", "format": "raw", - "id": 0, - "iothread": false, + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-120-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "pompidou/qemu/120", "ipconfig0": "ip=192.168.130.31/24,gw=192.168.130.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 8192, "name": "deposit", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr443", "firewall": false, - "id": 0, "link_down": false, "macaddr": "9E:81:DD:58:15:3B", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.staging.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.130.31", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n\n\n\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "pompidou", + "timeouts": null, + "unused_disk": [], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 120 }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.mirror-test", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.mirror-test.provider[\"local/telmate/proxmox\"]", + "provider": "module.mirror-test.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 20480, "bios": "seabios", "boot": "c", "bootdisk": "", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "debian-buster-2020-11-06", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 4, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Sandbox VM to test the mirror environment", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", - "format": "raw", - "id": 0, - "iothread": false, + "file": "vm-132-disk-0", + "format": "", + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-132-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "uffizi/qemu/132", "ipconfig0": "ip=192.168.130.160/24,gw=192.168.130.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 65536, "name": "mirror-test", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr443", "firewall": false, - "id": 0, "link_down": false, "macaddr": "E6:3C:8A:B7:26:5D", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.staging.swh.network", "serial": [], "sockets": 2, "ssh_forward_ip": null, "ssh_host": "192.168.130.160", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "uffizi", + "timeouts": null, + "unused_disk": [ + { + "file": "base-10003-disk-0/vm-132-disk-0", + "slot": 0, + "storage": "proxmox" + } + ], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 132 }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.objstorage0", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.objstorage0.provider[\"local/telmate/proxmox\"]", + "provider": "module.objstorage0.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "debian-buster-2020-11-06", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 2, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Node to host a read-only objstorage for mirrors", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", - "format": "raw", - "id": 0, - "iothread": false, + "file": "vm-102-disk-0", + "format": "", + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-102-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "pompidou/qemu/102", "ipconfig0": "ip=192.168.130.110/24,gw=192.168.130.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 8192, "name": "objstorage0", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr443", "firewall": false, - "id": 0, "link_down": false, "macaddr": "5E:28:EA:7D:50:0D", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.staging.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.130.110", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", - "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n", + "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "pompidou", + "timeouts": null, + "unused_disk": [ + { + "file": "base-10003-disk-0/vm-102-disk-0", + "slot": 0, + "storage": "proxmox" + } + ], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 102 }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.poc-rancher", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.poc-rancher.provider[\"local/telmate/proxmox\"]", + "provider": "module.poc-rancher.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 8192, "bios": "seabios", "boot": "c", "bootdisk": "", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "debian-bullseye-11.0-2021-09-09", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 2, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Sandbox VM to poc the rancher/kubernetes", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", - "format": "raw", - "id": 0, - "iothread": false, + "file": "vm-114-disk-0", + "format": "", + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-114-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "uffizi/qemu/114", "ipconfig0": "ip=192.168.130.162/24,gw=192.168.130.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 8192, "name": "poc-rancher", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr443", "firewall": false, - "id": 0, "link_down": false, "macaddr": "4A:82:7C:6D:56:77", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.staging.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.130.162", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "uffizi", + "timeouts": null, + "unused_disk": [ + { + "file": "base-10005-disk-0/vm-114-disk-0", + "slot": 0, + "storage": "proxmox" + } + ], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 114 }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.poc-rancher-sw0", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.poc-rancher-sw0.provider[\"local/telmate/proxmox\"]", + "provider": "module.poc-rancher-sw0.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "debian-buster-2020-11-06", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 4, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Sandbox staging-worker VM to run containers", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", - "format": "raw", - "id": 0, - "iothread": false, + "file": "135/vm-135-disk-0.qcow2", + "format": "qcow2", + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, - "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "slot": 0, + "ssd": 0, + "storage": "local", + "storage_type": "dir", + "type": "virtio", + "volume": "local:135/vm-135-disk-0.qcow2" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "uffizi/qemu/135", "ipconfig0": "ip=192.168.130.163/24,gw=192.168.130.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 4096, "name": "poc-rancher-sw0", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr443", "firewall": false, - "id": 0, "link_down": false, "macaddr": "5A:32:B6:FC:8D:F4", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.staging.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.130.163", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "uffizi", + "timeouts": null, + "unused_disk": [ + { + "file": "base-10003-disk-0/vm-135-disk-0", + "slot": 0, + "storage": "proxmox" + } + ], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 135 }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.poc-rancher-sw1", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.poc-rancher-sw1.provider[\"local/telmate/proxmox\"]", + "provider": "module.poc-rancher-sw1.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "debian-buster-2020-11-06", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 4, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Sandbox staging-worker VM to run containers", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", - "format": "raw", - "id": 0, - "iothread": false, + "file": "134/vm-134-disk-0.qcow2", + "format": "qcow2", + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, - "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "slot": 0, + "ssd": 0, + "storage": "local", + "storage_type": "dir", + "type": "virtio", + "volume": "local:134/vm-134-disk-0.qcow2" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "uffizi/qemu/134", "ipconfig0": "ip=192.168.130.164/24,gw=192.168.130.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 4096, "name": "poc-rancher-sw1", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr443", "firewall": false, - "id": 0, "link_down": false, "macaddr": "06:32:6D:D8:9A:0B", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.staging.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.130.164", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "uffizi", + "timeouts": null, + "unused_disk": [], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 134 }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.rp0", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.rp0.provider[\"local/telmate/proxmox\"]", + "provider": "module.rp0.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "debian-buster-2020-11-06", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 2, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Node to host the reverse proxy", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", - "format": "raw", - "id": 0, - "iothread": false, + "file": "vm-129-disk-0", + "format": "", + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-129-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "pompidou/qemu/129", "ipconfig0": "ip=192.168.130.20/24,gw=192.168.130.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 2048, "name": "rp0", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr443", "firewall": false, - "id": 0, "link_down": false, "macaddr": "4A:80:47:5D:DF:73", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.staging.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.130.20", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "pompidou", + "timeouts": null, + "unused_disk": [ + { + "file": "base-10003-disk-0/vm-129-disk-0", + "slot": 0, + "storage": "proxmox" + } + ], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 129 }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.scheduler0", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.scheduler0.provider[\"local/telmate/proxmox\"]", + "provider": "module.scheduler0.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "-device virtio-rng-pci", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "virtio0", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "template-debian-10", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 4, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Scheduler api services", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", + "file": "vm-116-disk-1", "format": "raw", - "id": 0, - "iothread": false, + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-116-disk-1" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "pompidou/qemu/116", "ipconfig0": "ip=192.168.130.50/24,gw=192.168.130.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 8192, "name": "scheduler0", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr443", "firewall": false, - "id": 0, "link_down": false, "macaddr": "92:02:7E:D0:B9:36", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.staging.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.130.50", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n\n\n\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "pompidou", + "timeouts": null, + "unused_disk": [], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 116 }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.search-esnode0", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.search-esnode0.provider[\"local/telmate/proxmox\"]", + "provider": "module.search-esnode0.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 9216, "bios": "seabios", "boot": "c", "bootdisk": "", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "debian-buster-2020-11-06", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 4, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Node to host the elasticsearch instance", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", - "format": "raw", - "id": 0, - "iothread": false, + "file": "vm-130-disk-0", + "format": "", + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-130-disk-0" }, { - "backup": false, + "backup": 0, "cache": "none", "discard": "", + "file": "vm-130-disk-1", "format": "raw", - "id": 1, - "iothread": false, + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "200G", - "ssd": false, + "slot": 1, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-130-disk-1" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "pompidou/qemu/130", "ipconfig0": "ip=192.168.130.80/24,gw=192.168.130.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 32768, "name": "search-esnode0", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr443", "firewall": false, - "id": 0, "link_down": false, "macaddr": "96:74:49:BD:B5:08", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.staging.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.130.80", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n\n\n\n\n\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "pompidou", + "timeouts": null, + "unused_disk": [ + { + "file": "base-10003-disk-0/vm-130-disk-0", + "slot": 0, + "storage": "proxmox" + } + ], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 130 }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.search0", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.search0.provider[\"local/telmate/proxmox\"]", + "provider": "module.search0.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "debian-buster-2020-11-06", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 2, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Node to host the swh-search rpc backend service", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", - "format": "raw", - "id": 0, - "iothread": false, + "file": "vm-131-disk-0", + "format": "", + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-131-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "pompidou/qemu/131", "ipconfig0": "ip=192.168.130.90/24,gw=192.168.130.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 4096, "name": "search0", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr443", "firewall": false, - "id": 0, "link_down": false, "macaddr": "EE:FA:76:55:CF:99", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.staging.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.130.90", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "pompidou", + "timeouts": null, + "unused_disk": [ + { + "file": "base-10003-disk-0/vm-131-disk-0", + "slot": 0, + "storage": "proxmox" + } + ], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 131 }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.vault", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.vault.provider[\"local/telmate/proxmox\"]", + "provider": "module.vault.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "-device virtio-rng-pci", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "virtio0", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "template-debian-10", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 4, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Vault services node", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", + "file": "vm-121-disk-0", "format": "raw", - "id": 0, - "iothread": false, + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-121-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "pompidou/qemu/121", "ipconfig0": "ip=192.168.130.60/24,gw=192.168.130.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 8192, "name": "vault", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr443", "firewall": false, - "id": 0, "link_down": false, "macaddr": "16:15:1C:79:CB:DB", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.staging.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.130.60", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n\n\n\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "pompidou", + "timeouts": null, + "unused_disk": [], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 121 }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.webapp", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.webapp.provider[\"local/telmate/proxmox\"]", + "provider": "module.webapp.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "-device virtio-rng-pci", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "virtio0", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "template-debian-10", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 4, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Archive/Webapp service node", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", + "file": "vm-119-disk-0", "format": "raw", - "id": 0, - "iothread": false, + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-119-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "pompidou/qemu/119", "ipconfig0": "ip=192.168.130.30/24,gw=192.168.130.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 16384, "name": "webapp", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr443", "firewall": false, - "id": 0, "link_down": false, "macaddr": "1A:00:39:95:D4:5F", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.staging.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.130.30", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n\n\n\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "pompidou", + "timeouts": null, + "unused_disk": [], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 119 }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.worker0", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.worker0.provider[\"local/telmate/proxmox\"]", + "provider": "module.worker0.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "-device virtio-rng-pci", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "virtio0", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "template-debian-10", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 4, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Loader/lister service node", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", + "file": "vm-117-disk-0", "format": "raw", - "id": 0, - "iothread": false, + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-117-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "pompidou/qemu/117", "ipconfig0": "ip=192.168.130.100/24,gw=192.168.130.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 12288, "name": "worker0", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr443", "firewall": false, - "id": 0, "link_down": false, "macaddr": "72:D9:03:46:B1:47", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.staging.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.130.100", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n\n\n\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "pompidou", + "timeouts": null, + "unused_disk": [], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 117 }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.worker1", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.worker1.provider[\"local/telmate/proxmox\"]", + "provider": "module.worker1.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "-device virtio-rng-pci", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "virtio0", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "template-debian-10", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 4, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Loader/lister service node", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", + "file": "vm-118-disk-0", "format": "raw", - "id": 0, - "iothread": false, + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-118-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "pompidou/qemu/118", "ipconfig0": "ip=192.168.130.101/24,gw=192.168.130.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 12288, "name": "worker1", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr443", "firewall": false, - "id": 0, "link_down": false, "macaddr": "D6:A9:6F:02:E3:66", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.staging.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.130.101", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n\n\n\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "pompidou", + "timeouts": null, + "unused_disk": [], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 118 }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.worker2", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.worker2.provider[\"local/telmate/proxmox\"]", + "provider": "module.worker2.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "virtio0", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "template-debian-10", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 4, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Loader/lister service node", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", + "file": "vm-112-disk-1", "format": "raw", - "id": 0, - "iothread": false, + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-112-disk-1" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "pompidou/qemu/112", "ipconfig0": "ip=192.168.130.102/24,gw=192.168.130.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 12288, "name": "worker2", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr443", "firewall": false, - "id": 0, "link_down": false, "macaddr": "AA:57:27:51:75:18", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.staging.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.130.102", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n\n\n\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "pompidou", + "timeouts": null, + "unused_disk": [], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 112 }, "sensitive_attributes": [], "private": "bnVsbA==" } ] }, { "module": "module.worker3", "mode": "managed", "type": "proxmox_vm_qemu", "name": "node", - "provider": "module.worker3.provider[\"local/telmate/proxmox\"]", + "provider": "module.worker3.provider[\"registry.terraform.io/telmate/proxmox\"]", "instances": [ { "schema_version": 0, "attributes": { + "additional_wait": 0, "agent": 0, + "args": "", "balloon": 1024, "bios": "seabios", "boot": "c", "bootdisk": "", "bridge": "", "ci_wait": null, "cicustom": "", "cipassword": "", "ciuser": "root", "clone": "debian-buster-2020-11-06", - "clone_wait": 15, + "clone_wait": 0, + "cloudinit_cdrom_storage": null, "cores": 4, "cpu": "host", + "default_ipv4_address": null, + "define_connection_info": true, "desc": "Indexer worker", "disk": [ { - "backup": false, + "backup": 0, "cache": "none", "discard": "", - "format": "raw", - "id": 0, - "iothread": false, + "file": "vm-137-disk-0", + "format": "", + "iothread": 0, "mbps": 0, "mbps_rd": 0, "mbps_rd_max": 0, "mbps_wr": 0, "mbps_wr_max": 0, - "replicate": false, + "media": "disk", + "replicate": 0, "size": "32G", - "ssd": false, + "slot": 0, + "ssd": 0, "storage": "proxmox", - "storage_type": "cephfs", - "type": "virtio" + "storage_type": "rbd", + "type": "virtio", + "volume": "proxmox:vm-137-disk-0" } ], "disk_gb": 0, "force_create": false, + "force_recreate_on_change_of": null, "full_clone": false, + "guest_agent_ready_timeout": 100, + "hagroup": "", "hastate": "", "hotplug": "network,disk,usb", "id": "pompidou/qemu/137", "ipconfig0": "ip=192.168.130.103/24,gw=192.168.130.1", "ipconfig1": "", "ipconfig2": "", + "ipconfig3": "", + "ipconfig4": "", + "ipconfig5": "", "iso": null, "kvm": true, "mac": "", "memory": 12288, "name": "worker3", "nameserver": "192.168.100.29", "network": [ { "bridge": "vmbr443", "firewall": false, - "id": 0, "link_down": false, "macaddr": "1A:F8:1A:2C:12:E1", "model": "virtio", - "queues": -1, - "rate": -1, + "queues": 0, + "rate": 0, "tag": -1 } ], "nic": "", "numa": false, "onboot": true, + "oncreate": true, "os_network_config": null, "os_type": "cloud-init", "pool": "", "preprovision": true, "qemu_os": "other", + "reboot_required": false, "scsihw": "virtio-scsi-pci", "searchdomain": "internal.staging.swh.network", "serial": [], "sockets": 1, "ssh_forward_ip": null, "ssh_host": "192.168.130.103", "ssh_port": "22", "ssh_private_key": null, "ssh_user": "root", "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform\n", "storage": "", "storage_type": "", + "tablet": true, + "tags": "", "target_node": "pompidou", + "timeouts": null, + "unused_disk": [ + { + "file": "base-10003-disk-0/vm-137-disk-0", + "slot": 0, + "storage": "proxmox" + } + ], "vcpus": 0, "vga": [], "vlan": -1, "vmid": 137 }, "sensitive_attributes": [], "private": "bnVsbA==" } ] } ] } diff --git a/proxmox/terraform/versions.tf b/proxmox/terraform/versions.tf index f6aeaab..c83ef7c 100644 --- a/proxmox/terraform/versions.tf +++ b/proxmox/terraform/versions.tf @@ -1,15 +1,24 @@ terraform { required_version = ">= 0.13" required_providers { proxmox = { - source = "local/telmate/proxmox" - version = "0.0.1" + source = "telmate/proxmox" + version = "2.9.3" } } } provider "proxmox" { pm_tls_insecure = true pm_api_url = "https://beaubourg.internal.softwareheritage.org:8006/api2/json" # in a shell (see README): source ../setup.sh + + # Uncomment this section to activate the proxmox execution logs + # pm_log_enable = true + # pm_log_file = "terraform-plugin-proxmox.log" + # pm_debug = true + # pm_log_levels = { + # _default = "debug" + # _capturelog = "" + # } }