Also remove the deprecated staging gw
Related to T2721
Differential D4340
Change staging network vsellier on Oct 23 2020, 11:30 AM. Authored by
Details
Also remove the deprecated staging gw Related to T2721 β 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.
Diff Detail
Event TimelineComment Actions The terraform apply works, the staging gw was removed and apparently without side effects on other servers β staging git:(master) terraform apply /tmp/plan module.gateway.proxmox_vm_qemu.node: Destroying... [id=beaubourg/qemu/109] module.gateway.proxmox_vm_qemu.node: Destruction complete after 6s Apply complete! Resources: 0 added, 0 changed, 1 destroyed. Outputs: db0_summary = hostname: db0 fqdn: db0.internal.staging.swh.network network: ip=192.168.130.10/24,gw=192.168.130.1 macaddrs=3A:65:31:7C:24:17 deposit_summary = hostname: deposit fqdn: deposit.internal.staging.swh.network network: ip=192.168.130.31/24,gw=192.168.130.1 macaddrs=9E:81:DD:58:15:3B journal0_summary = hostname: journal0 fqdn: journal0.internal.staging.swh.network network: ip=192.168.130.70/24,gw=192.168.130.1 macaddrs=1E:98:C2:66:BF:33 scheduler0_summary = hostname: scheduler0 fqdn: scheduler0.internal.staging.swh.network network: ip=192.168.130.50/24,gw=192.168.130.1 macaddrs=92:02:7E:D0:B9:36 vault_summary = hostname: vault fqdn: vault.internal.staging.swh.network network: ip=192.168.130.60/24,gw=192.168.130.1 macaddrs=16:15:1C:79:CB:DB webapp_summary = hostname: webapp fqdn: webapp.internal.staging.swh.network network: ip=192.168.130.30/24,gw=192.168.130.1 macaddrs=1A:00:39:95:D4:5F worker0_summary = hostname: worker0 fqdn: worker0.internal.staging.swh.network network: ip=192.168.130.100/24,gw=192.168.130.1 macaddrs=72:D9:03:46:B1:47 worker1_summary = hostname: worker1 fqdn: worker1.internal.staging.swh.network network: ip=192.168.130.101/24,gw=192.168.130.1 macaddrs=D6:A9:6F:02:E3:66 worker2_summary = hostname: worker2 fqdn: worker2.internal.staging.swh.network network: ip=192.168.130.102/24,gw=192.168.130.1 macaddrs=AA:57:27:51:75:18 |