Staging instance, all changes can be removed at any time

Skip to content

Change staging network

Also remove the deprecated staging gw

Related to T2721

Test Plan

➜  staging git:(master) terraform plan                  
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

module.gateway.proxmox_vm_qemu.node: Refreshing state... [id=beaubourg/qemu/109]
module.storage0.proxmox_vm_qemu.node: Refreshing state... [id=orsay/qemu/114]
module.db0.proxmox_vm_qemu.node: Refreshing state... [id=orsay/qemu/115]
module.scheduler0.proxmox_vm_qemu.node: Refreshing state... [id=beaubourg/qemu/116]
module.vault.proxmox_vm_qemu.node: Refreshing state... [id=beaubourg/qemu/121]
module.journal0.proxmox_vm_qemu.node: Refreshing state... [id=beaubourg/qemu/122]
module.deposit.proxmox_vm_qemu.node: Refreshing state... [id=beaubourg/qemu/120]
module.worker2.proxmox_vm_qemu.node: Refreshing state... [id=branly/qemu/112]
module.webapp.proxmox_vm_qemu.node: Refreshing state... [id=branly/qemu/119]
module.worker0.proxmox_vm_qemu.node: Refreshing state... [id=beaubourg/qemu/117]
module.worker1.proxmox_vm_qemu.node: Refreshing state... [id=beaubourg/qemu/118]

------------------------------------------------------------------------

An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  # module.gateway.proxmox_vm_qemu.node will be destroyed
  - resource "proxmox_vm_qemu" "node" {
      - agent        = 0 -> null
      - balloon      = 0 -> null
      - bios         = "seabios" -> null
      - boot         = "c" -> null
      - bootdisk     = "virtio0" -> null
      - ciuser       = "root" -> null
      - clone        = "template-debian-10" -> null
      - clone_wait   = 15 -> null
      - cores        = 1 -> null
      - cpu          = "host" -> null
      - desc         = "staging gateway node" -> null
      - disk_gb      = 0 -> null
      - force_create = false -> null
      - full_clone   = false -> null
      - hotplug      = "network,disk,usb" -> null
      - id           = "beaubourg/qemu/109" -> null
      - ipconfig0    = "ip=192.168.100.125/24,gw=192.168.100.1" -> null
      - ipconfig1    = "ip=192.168.128.1/24" -> null
      - kvm          = true -> null
      - memory       = 1024 -> null
      - name         = "gateway" -> null
      - nameserver   = "192.168.100.29" -> null
      - numa         = false -> null
      - onboot       = true -> null
      - os_type      = "cloud-init" -> null
      - preprovision = true -> null
      - qemu_os      = "other" -> null
      - scsihw       = "virtio-scsi-pci" -> null
      - searchdomain = "internal.staging.swh.network" -> null
      - sockets      = 1 -> null
      - ssh_host     = "192.168.100.125" -> null
      - ssh_port     = "22" -> null
      - ssh_user     = "root" -> null
      - sshkeys      = <<~EOT
            ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform
            
            
            
        EOT -> null
      - target_node  = "beaubourg" -> null
      - vcpus        = 0 -> null
      - vlan         = -1 -> null
      - vmid         = 109 -> null

      - disk {
          - backup       = false -> null
          - cache        = "none" -> null
          - format       = "raw" -> null
          - id           = 0 -> null
          - iothread     = false -> null
          - mbps         = 0 -> null
          - mbps_rd      = 0 -> null
          - mbps_rd_max  = 0 -> null
          - mbps_wr      = 0 -> null
          - mbps_wr_max  = 0 -> null
          - replicate    = false -> null
          - size         = "20G" -> null
          - ssd          = false -> null
          - storage      = "proxmox" -> null
          - storage_type = "cephfs" -> null
          - type         = "virtio" -> null
        }

      - network {
          - bridge    = "vmbr0" -> null
          - firewall  = false -> null
          - id        = 0 -> null
          - link_down = false -> null
          - macaddr   = "6E:ED:EF:EB:3C:AA" -> null
          - model     = "virtio" -> null
          - queues    = -1 -> null
          - rate      = -1 -> null
          - tag       = -1 -> null
        }
      - network {
          - bridge    = "vmbr443" -> null
          - firewall  = false -> null
          - id        = 1 -> null
          - link_down = false -> null
          - macaddr   = "FE:95:CC:A5:EB:43" -> null
          - model     = "virtio" -> null
          - queues    = -1 -> null
          - rate      = -1 -> null
          - tag       = -1 -> null
        }
    }

Plan: 0 to add, 0 to change, 1 to destroy.

------------------------------------------------------------------------

Note: You didn't specify an "-out" parameter to save this plan, so Terraform
can't guarantee that exactly these actions will be performed if
"terraform apply" is subsequently run.

Migrated from D4340 (view on Phabricator)

Merge request reports

Loading