Flip onboot to false for staging nodes
This is to prepare the hardware intervention starting 25/01/2023.
This also aligns the current staging nodes with their actual hypervisors.
Refs. sysadm-environment#4742 (closed)
terraform plan
$ terraform plan -out=/tmp/terraform-plan-20230124-1655 module.vault.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/121] module.webapp.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/119] rancher2_cluster_v2.archive-staging-rke2: Refreshing state... [id=fleet-default/archive-staging-rke2] module.scheduler0.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/116] module.worker0.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/117] module.search-esnode0.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/130] module.rp0.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/129] module.counters0.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/138] module.maven-exporter0.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/122] module.mirror-test.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/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.search0.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/131] module.scrubber0.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/142] rancher2_app_v2.archive-staging-rke2-rancher-monitoring: Refreshing state... [id=c-m-9n5h9nrf.cattle-monitoring-system/rancher-monitoring] module.rancher-node-staging-rke2-worker3.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/134] module.rancher-node-staging-rke2-worker4.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/135] module.rancher-node-staging-rke2-worker2.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/133] module.rancher-node-staging-rke2-worker1.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/114] module.rancher-node-staging-rke2-mgmt1.proxmox_vm_qemu.node: Refreshing state... [id=pompidou/qemu/112]Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-place
Terraform will perform the following actions:
module.counters0.proxmox_vm_qemu.node will be updated in-place
~ resource "proxmox_vm_qemu" "node" { id = "pompidou/qemu/138" name = "counters0" ~ onboot = true -> false # (41 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
module.deposit.proxmox_vm_qemu.node will be updated in-place
~ resource "proxmox_vm_qemu" "node" { id = "pompidou/qemu/120" name = "deposit" ~ onboot = true -> false # (43 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
module.maven-exporter0.proxmox_vm_qemu.node will be updated in-place
~ resource "proxmox_vm_qemu" "node" { id = "pompidou/qemu/122" name = "maven-exporter0" ~ onboot = true -> false # (39 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
module.mirror-test.proxmox_vm_qemu.node will be updated in-place
~ resource "proxmox_vm_qemu" "node" { id = "pompidou/qemu/132" name = "mirror-test" ~ onboot = true -> false # (41 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
module.objstorage0.proxmox_vm_qemu.node will be updated in-place
~ resource "proxmox_vm_qemu" "node" { id = "pompidou/qemu/102" name = "objstorage0" ~ onboot = true -> false # (41 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
module.rancher-node-staging-rke2-mgmt1.proxmox_vm_qemu.node will be updated in-place
~ resource "proxmox_vm_qemu" "node" { id = "pompidou/qemu/112" name = "rancher-node-staging-rke2-mgmt1" ~ onboot = true -> false # (38 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
module.rancher-node-staging-rke2-worker1.proxmox_vm_qemu.node will be updated in-place
~ resource "proxmox_vm_qemu" "node" { id = "pompidou/qemu/114" name = "rancher-node-staging-rke2-worker1" ~ onboot = true -> false # (38 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
module.rancher-node-staging-rke2-worker2.proxmox_vm_qemu.node will be updated in-place
~ resource "proxmox_vm_qemu" "node" { id = "pompidou/qemu/133" name = "rancher-node-staging-rke2-worker2" ~ onboot = true -> false # (38 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
module.rancher-node-staging-rke2-worker3.proxmox_vm_qemu.node will be updated in-place
~ resource "proxmox_vm_qemu" "node" { id = "pompidou/qemu/134" name = "rancher-node-staging-rke2-worker3" ~ onboot = true -> false # (38 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
module.rancher-node-staging-rke2-worker4.proxmox_vm_qemu.node will be updated in-place
~ resource "proxmox_vm_qemu" "node" { id = "pompidou/qemu/135" name = "rancher-node-staging-rke2-worker4" ~ onboot = true -> false # (38 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
module.rp0.proxmox_vm_qemu.node will be updated in-place
~ resource "proxmox_vm_qemu" "node" { id = "pompidou/qemu/129" name = "rp0" ~ onboot = true -> false # (41 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
module.scheduler0.proxmox_vm_qemu.node will be updated in-place
~ resource "proxmox_vm_qemu" "node" { id = "pompidou/qemu/116" name = "scheduler0" ~ onboot = true -> false # (43 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
module.scrubber0.proxmox_vm_qemu.node will be updated in-place
~ resource "proxmox_vm_qemu" "node" { id = "pompidou/qemu/142" name = "scrubber0" ~ onboot = true -> false # (39 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
module.search-esnode0.proxmox_vm_qemu.node will be updated in-place
~ resource "proxmox_vm_qemu" "node" { id = "pompidou/qemu/130" name = "search-esnode0" ~ onboot = true -> false # (41 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
module.search0.proxmox_vm_qemu.node will be updated in-place
~ resource "proxmox_vm_qemu" "node" { id = "pompidou/qemu/131" name = "search0" ~ onboot = true -> false # (41 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
module.vault.proxmox_vm_qemu.node will be updated in-place
~ resource "proxmox_vm_qemu" "node" { id = "pompidou/qemu/121" name = "vault" ~ onboot = true -> false # (43 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
module.webapp.proxmox_vm_qemu.node will be updated in-place
~ resource "proxmox_vm_qemu" "node" { id = "pompidou/qemu/119" name = "webapp" ~ onboot = true -> false # (43 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
Plan: 0 to add, 17 to change, 0 to destroy.
Changes to Outputs:
-
rancher-node-staging-mgmt0_summary = <<-EOT
hostname: rancher-node-staging-mgmt0 fqdn: rancher-node-staging-mgmt0.internal.staging.swh.network network: ip=192.168.130.130/24,gw=192.168.130.1
EOT -> null
-
rancher-node-staging-worker1_summary = <<-EOT
hostname: rancher-node-staging-worker1 fqdn: rancher-node-staging-worker1.internal.staging.swh.network network: ip=192.168.130.131/24,gw=192.168.130.1
EOT -> null
-
rancher-node-staging-worker2_summary = <<-EOT
hostname: rancher-node-staging-worker2 fqdn: rancher-node-staging-worker2.internal.staging.swh.network network: ip=192.168.130.132/24,gw=192.168.130.1
EOT -> null
-
rancher-node-staging-worker3_summary = <<-EOT
hostname: rancher-node-staging-worker3 fqdn: rancher-node-staging-worker3.internal.staging.swh.network network: ip=192.168.130.133/24,gw=192.168.130.1
EOT -> null
-
rancher-node-staging-worker4_summary = <<-EOT
hostname: rancher-node-staging-worker4 fqdn: rancher-node-staging-worker4.internal.staging.swh.network network: ip=192.168.130.134/24,gw=192.168.130.1
EOT -> null
-
rancher2_cluster_archive_staging_command = (sensitive value)
-
rancher2_cluster_archive_staging_summary = (sensitive value)
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Saved the plan to: /tmp/terraform-plan-20230124-1655
To perform exactly these actions, run the following command to apply: terraform apply "/tmp/terraform-plan-20230124-1655"