Remove VM 201 (cleanup for fresh test) #61

Merged
admin merged 1 commits from remove-vm-201 into main 2026-02-13 19:50:51 +01:00
Owner

Clean slate for bot testing

Clean slate for bot testing
claude added 1 commit 2026-02-13 19:43:21 +01:00
Remove VM 201 (cleanup)
Some checks failed
PR Checks / tofu-checks (pull_request) Failing after 3s
1/1 projects applied successfully.
fd88af09ae
claude added 1 commit 2026-02-13 19:43:21 +01:00
Remove VM 201 (cleanup)
Some checks failed
PR Checks / tofu-checks (pull_request) Failing after 3s
1/1 projects applied successfully.
fd88af09ae
Author
Owner

Ran Plan for project: production dir: environments/production workspace: default

Show Output
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
- destroy

OpenTofu will perform the following actions:

  # module.tenant_vm["201"].proxmox_virtual_environment_file.cloud_init will be destroyed
  # (because module.tenant_vm["201"] is not in configuration)
- resource "proxmox_virtual_environment_file" "cloud_init" {
      - content_type   = "snippets" -> null
      - datastore_id   = "local" -> null
      - file_name      = "ci-201.yaml" -> null
      - id             = "local:snippets/ci-201.yaml" -> null
      - node_name      = "georgeops" -> null
      - overwrite      = true -> null
      - timeout_upload = 1800 -> null

      - source_raw {
          - data      = (sensitive value) -> null
          - file_name = "ci-201.yaml" -> null
          - resize    = 0 -> null
        }
    }

  # module.tenant_vm["201"].proxmox_virtual_environment_firewall_options.tenant will be destroyed
  # (because module.tenant_vm["201"] is not in configuration)
- resource "proxmox_virtual_environment_firewall_options" "tenant" {
      - dhcp          = false -> null
      - enabled       = true -> null
      - id            = "options-1039442418" -> null
      - input_policy  = "DROP" -> null
      - ipfilter      = false -> null
      - log_level_in  = "nolog" -> null
      - log_level_out = "nolog" -> null
      - macfilter     = true -> null
      - ndp           = false -> null
      - node_name     = "georgeops" -> null
      - output_policy = "ACCEPT" -> null
      - radv          = true -> null
      - vm_id         = 201 -> null
    }

  # module.tenant_vm["201"].proxmox_virtual_environment_firewall_rules.tenant will be destroyed
  # (because module.tenant_vm["201"] is not in configuration)
- resource "proxmox_virtual_environment_firewall_rules" "tenant" {
      - id        = "rule-2373434677" -> null
      - node_name = "georgeops" -> null
      - vm_id     = 201 -> null

      - rule {
          - action  = "ACCEPT" -> null
          - comment = "Allow SSH" -> null
          - dport   = "22" -> null
          - enabled = true -> null
          - pos     = 0 -> null
          - proto   = "tcp" -> null
          - type    = "in" -> null
        }
      - rule {
          - action  = "ACCEPT" -> null
          - comment = "Allow ICMP" -> null
          - enabled = true -> null
          - pos     = 1 -> null
          - proto   = "icmp" -> null
          - type    = "in" -> null
        }
      - rule {
          - action  = "ACCEPT" -> null
          - comment = "Allow node_exporter from control plane" -> null
          - dport   = "9100" -> null
          - enabled = true -> null
          - pos     = 2 -> null
          - proto   = "tcp" -> null
          - source  = "78.109.17.180" -> null
          - type    = "in" -> null
        }
      - rule {
          - action  = "DROP" -> null
          - comment = "Block SMTP (anti-spam)" -> null
          - dport   = "25" -> null
          - enabled = true -> null
          - pos     = 3 -> null
          - proto   = "tcp" -> null
          - type    = "out" -> null
        }
    }

  # module.tenant_vm["201"].proxmox_virtual_environment_vm.tenant will be destroyed
  # (because module.tenant_vm["201"] is not in configuration)
- resource "proxmox_virtual_environment_vm" "tenant" {
      - acpi                                 = true -> null
      - bios                                 = "seabios" -> null
      - boot_order                           = [
          - "virtio0",
          - "net0",
        ] -> null
      - delete_unreferenced_disks_on_destroy = true -> null
      - id                                   = "201" -> null
      - ipv4_addresses                       = [] -> null
      - ipv6_addresses                       = [] -> null
      - keyboard_layout                      = "en-us" -> null
      - mac_addresses                        = [
          - "BC:24:11:EC:21:4E",
        ] -> null
      - migrate                              = false -> null
      - name                                 = "201" -> null
      - network_interface_names              = [] -> null
      - node_name                            = "georgeops" -> null
      - on_boot                              = true -> null
      - protection                           = false -> null
      - purge_on_destroy                     = true -> null
      - reboot                               = false -> null
      - reboot_after_update                  = true -> null
      - scsi_hardware                        = "virtio-scsi-pci" -> null
      - started                              = true -> null
      - stop_on_destroy                      = true -> null
      - tablet_device                        = true -> null
      - tags                                 = [
          - "tenant",
          - "tofu",
          - "ubuntu",
        ] -> null
      - template                             = false -> null
      - timeout_clone                        = 1800 -> null
      - timeout_create                       = 1800 -> null
      - timeout_migrate                      = 1800 -> null
      - timeout_move_disk                    = 1800 -> null
      - timeout_reboot                       = 1800 -> null
      - timeout_shutdown_vm                  = 1800 -> null
      - timeout_start_vm                     = 1800 -> null
      - timeout_stop_vm                      = 300 -> null
      - vm_id                                = 201 -> null

      - cpu {
          - cores      = 4 -> null
          - flags      = [] -> null
          - hotplugged = 0 -> null
          - limit      = 4 -> null
          - numa       = false -> null
          - sockets    = 1 -> null
          - type       = "x86-64-v2-AES" -> null
          - units      = 0 -> null
        }

      - disk {
          - aio               = "io_uring" -> null
          - backup            = true -> null
          - cache             = "none" -> null
          - datastore_id      = "local" -> null
          - discard           = "on" -> null
          - file_format       = "qcow2" -> null
          - file_id           = "local:iso/ubuntu-24.04-cloudimg-amd64.img" -> null
          - interface         = "virtio0" -> null
          - iothread          = true -> null
          - path_in_datastore = "201/vm-201-disk-0.qcow2" -> null
          - replicate         = true -> null
          - size              = 200 -> null
          - ssd               = false -> null

          - speed {
              - iops_read            = 5000 -> null
              - iops_read_burstable  = 8000 -> null
              - iops_write           = 3000 -> null
              - iops_write_burstable = 5000 -> null
              - read                 = 200 -> null
              - read_burstable       = 400 -> null
              - write                = 100 -> null
              - write_burstable      = 200 -> null
            }
        }

      - initialization {
          - datastore_id      = "local" -> null
          - file_format       = "qcow2" -> null
          - interface         = "ide2" -> null
          - user_data_file_id = "local:snippets/ci-201.yaml" -> null

          - dns {
              - servers = [
                  - "188.93.16.19",
                  - "188.93.17.19",
                ] -> null
            }

          - ip_config {
              - ipv4 {
                  - address = "185.47.204.227/28" -> null
                  - gateway = "185.47.204.225" -> null
                }
            }
        }

      - memory {
          - dedicated      = 16384 -> null
          - floating       = 0 -> null
          - keep_hugepages = false -> null
          - shared         = 0 -> null
        }

      - network_device {
          - bridge       = "vmbr1" -> null
          - disconnected = false -> null
          - enabled      = true -> null
          - firewall     = true -> null
          - mac_address  = "BC:24:11:EC:21:4E" -> null
          - model        = "virtio" -> null
          - mtu          = 0 -> null
          - queues       = 0 -> null
          - rate_limit   = 12 -> null
          - vlan_id      = 0 -> null
        }
    }

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

Changes to Outputs:
~ tenant_vms    = {
      - "201" = {
          - public_ip = "185.47.204.227"
          - username  = "root"
          - vm_id     = 201
        }
    }
  • ▶️ To apply this plan, comment:
    atlantis apply -p production
    
  • 🚮 To delete this plan and lock, click here
  • 🔁 To plan this project again, comment:
    atlantis plan -p production
    

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


  • To apply all unapplied plans from this Pull Request, comment:
    atlantis apply
    
  • 🚮 To delete all plans and locks from this Pull Request, comment:
    atlantis unlock
    
Ran Plan for project: `production` dir: `environments/production` workspace: `default` <details><summary>Show Output</summary> ```diff OpenTofu used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: - destroy OpenTofu will perform the following actions: # module.tenant_vm["201"].proxmox_virtual_environment_file.cloud_init will be destroyed # (because module.tenant_vm["201"] is not in configuration) - resource "proxmox_virtual_environment_file" "cloud_init" { - content_type = "snippets" -> null - datastore_id = "local" -> null - file_name = "ci-201.yaml" -> null - id = "local:snippets/ci-201.yaml" -> null - node_name = "georgeops" -> null - overwrite = true -> null - timeout_upload = 1800 -> null - source_raw { - data = (sensitive value) -> null - file_name = "ci-201.yaml" -> null - resize = 0 -> null } } # module.tenant_vm["201"].proxmox_virtual_environment_firewall_options.tenant will be destroyed # (because module.tenant_vm["201"] is not in configuration) - resource "proxmox_virtual_environment_firewall_options" "tenant" { - dhcp = false -> null - enabled = true -> null - id = "options-1039442418" -> null - input_policy = "DROP" -> null - ipfilter = false -> null - log_level_in = "nolog" -> null - log_level_out = "nolog" -> null - macfilter = true -> null - ndp = false -> null - node_name = "georgeops" -> null - output_policy = "ACCEPT" -> null - radv = true -> null - vm_id = 201 -> null } # module.tenant_vm["201"].proxmox_virtual_environment_firewall_rules.tenant will be destroyed # (because module.tenant_vm["201"] is not in configuration) - resource "proxmox_virtual_environment_firewall_rules" "tenant" { - id = "rule-2373434677" -> null - node_name = "georgeops" -> null - vm_id = 201 -> null - rule { - action = "ACCEPT" -> null - comment = "Allow SSH" -> null - dport = "22" -> null - enabled = true -> null - pos = 0 -> null - proto = "tcp" -> null - type = "in" -> null } - rule { - action = "ACCEPT" -> null - comment = "Allow ICMP" -> null - enabled = true -> null - pos = 1 -> null - proto = "icmp" -> null - type = "in" -> null } - rule { - action = "ACCEPT" -> null - comment = "Allow node_exporter from control plane" -> null - dport = "9100" -> null - enabled = true -> null - pos = 2 -> null - proto = "tcp" -> null - source = "78.109.17.180" -> null - type = "in" -> null } - rule { - action = "DROP" -> null - comment = "Block SMTP (anti-spam)" -> null - dport = "25" -> null - enabled = true -> null - pos = 3 -> null - proto = "tcp" -> null - type = "out" -> null } } # module.tenant_vm["201"].proxmox_virtual_environment_vm.tenant will be destroyed # (because module.tenant_vm["201"] is not in configuration) - resource "proxmox_virtual_environment_vm" "tenant" { - acpi = true -> null - bios = "seabios" -> null - boot_order = [ - "virtio0", - "net0", ] -> null - delete_unreferenced_disks_on_destroy = true -> null - id = "201" -> null - ipv4_addresses = [] -> null - ipv6_addresses = [] -> null - keyboard_layout = "en-us" -> null - mac_addresses = [ - "BC:24:11:EC:21:4E", ] -> null - migrate = false -> null - name = "201" -> null - network_interface_names = [] -> null - node_name = "georgeops" -> null - on_boot = true -> null - protection = false -> null - purge_on_destroy = true -> null - reboot = false -> null - reboot_after_update = true -> null - scsi_hardware = "virtio-scsi-pci" -> null - started = true -> null - stop_on_destroy = true -> null - tablet_device = true -> null - tags = [ - "tenant", - "tofu", - "ubuntu", ] -> null - template = false -> null - timeout_clone = 1800 -> null - timeout_create = 1800 -> null - timeout_migrate = 1800 -> null - timeout_move_disk = 1800 -> null - timeout_reboot = 1800 -> null - timeout_shutdown_vm = 1800 -> null - timeout_start_vm = 1800 -> null - timeout_stop_vm = 300 -> null - vm_id = 201 -> null - cpu { - cores = 4 -> null - flags = [] -> null - hotplugged = 0 -> null - limit = 4 -> null - numa = false -> null - sockets = 1 -> null - type = "x86-64-v2-AES" -> null - units = 0 -> null } - disk { - aio = "io_uring" -> null - backup = true -> null - cache = "none" -> null - datastore_id = "local" -> null - discard = "on" -> null - file_format = "qcow2" -> null - file_id = "local:iso/ubuntu-24.04-cloudimg-amd64.img" -> null - interface = "virtio0" -> null - iothread = true -> null - path_in_datastore = "201/vm-201-disk-0.qcow2" -> null - replicate = true -> null - size = 200 -> null - ssd = false -> null - speed { - iops_read = 5000 -> null - iops_read_burstable = 8000 -> null - iops_write = 3000 -> null - iops_write_burstable = 5000 -> null - read = 200 -> null - read_burstable = 400 -> null - write = 100 -> null - write_burstable = 200 -> null } } - initialization { - datastore_id = "local" -> null - file_format = "qcow2" -> null - interface = "ide2" -> null - user_data_file_id = "local:snippets/ci-201.yaml" -> null - dns { - servers = [ - "188.93.16.19", - "188.93.17.19", ] -> null } - ip_config { - ipv4 { - address = "185.47.204.227/28" -> null - gateway = "185.47.204.225" -> null } } } - memory { - dedicated = 16384 -> null - floating = 0 -> null - keep_hugepages = false -> null - shared = 0 -> null } - network_device { - bridge = "vmbr1" -> null - disconnected = false -> null - enabled = true -> null - firewall = true -> null - mac_address = "BC:24:11:EC:21:4E" -> null - model = "virtio" -> null - mtu = 0 -> null - queues = 0 -> null - rate_limit = 12 -> null - vlan_id = 0 -> null } } Plan: 0 to add, 0 to change, 4 to destroy. Changes to Outputs: ~ tenant_vms = { - "201" = { - public_ip = "185.47.204.227" - username = "root" - vm_id = 201 } } ``` </details> * :arrow_forward: To **apply** this plan, comment: ```shell atlantis apply -p production ``` * :put_litter_in_its_place: To **delete** this plan and lock, click [here](http://atlantis:4141/lock?id=claude%252Finfrastructure%252Fenvironments%252Fproduction%252Fdefault%252Fproduction) * :repeat: To **plan** this project again, comment: ```shell atlantis plan -p production ``` Plan: 0 to add, 0 to change, 4 to destroy. --- * :fast_forward: To **apply** all unapplied plans from this Pull Request, comment: ```shell atlantis apply ``` * :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment: ```shell atlantis unlock ```
admin approved these changes 2026-02-13 19:46:02 +01:00
admin left a comment
Collaborator

OK

OK
Collaborator

atlantis apply -p production

atlantis apply -p production
Collaborator

atlantis apply -p production

atlantis apply -p production
Author
Owner

Apply Error

cannot run "apply": the default workspace at path . is currently locked for this pull request by "apply".
Wait until the previous command is complete and try again
**Apply Error** ``` cannot run "apply": the default workspace at path . is currently locked for this pull request by "apply". Wait until the previous command is complete and try again ```
Author
Owner

Ran Apply for project: production dir: environments/production workspace: default

Show Output
module.tenant_vm["201"].proxmox_virtual_environment_firewall_options.tenant: Destroying... [id=options-1039442418]
module.tenant_vm["201"].proxmox_virtual_environment_firewall_rules.tenant: Destroying... [id=rule-2373434677]
module.tenant_vm["201"].proxmox_virtual_environment_firewall_options.tenant: Destruction complete after 0s
module.tenant_vm["201"].proxmox_virtual_environment_firewall_rules.tenant: Destruction complete after 0s
module.tenant_vm["201"].proxmox_virtual_environment_vm.tenant: Destroying... [id=201]
module.tenant_vm["201"].proxmox_virtual_environment_vm.tenant: Destruction complete after 3s
module.tenant_vm["201"].proxmox_virtual_environment_file.cloud_init: Destroying... [id=local:snippets/ci-201.yaml]
module.tenant_vm["201"].proxmox_virtual_environment_file.cloud_init: Destruction complete after 0s

Apply complete! Resources: 0 added, 0 changed, 4 destroyed.

Outputs:

proxmox_nodes = tolist([
  "georgeops",
])
tenant_vms = {}
Ran Apply for project: `production` dir: `environments/production` workspace: `default` <details><summary>Show Output</summary> ```diff module.tenant_vm["201"].proxmox_virtual_environment_firewall_options.tenant: Destroying... [id=options-1039442418] module.tenant_vm["201"].proxmox_virtual_environment_firewall_rules.tenant: Destroying... [id=rule-2373434677] module.tenant_vm["201"].proxmox_virtual_environment_firewall_options.tenant: Destruction complete after 0s module.tenant_vm["201"].proxmox_virtual_environment_firewall_rules.tenant: Destruction complete after 0s module.tenant_vm["201"].proxmox_virtual_environment_vm.tenant: Destroying... [id=201] module.tenant_vm["201"].proxmox_virtual_environment_vm.tenant: Destruction complete after 3s module.tenant_vm["201"].proxmox_virtual_environment_file.cloud_init: Destroying... [id=local:snippets/ci-201.yaml] module.tenant_vm["201"].proxmox_virtual_environment_file.cloud_init: Destruction complete after 0s Apply complete! Resources: 0 added, 0 changed, 4 destroyed. Outputs: proxmox_nodes = tolist([ "georgeops", ]) tenant_vms = {} ``` </details>
admin merged commit ea5c39bd9c into main 2026-02-13 19:50:51 +01:00
admin deleted branch remove-vm-201 2026-02-13 19:50:52 +01:00
Author
Owner

Locks and plans deleted for the projects and workspaces modified in this pull request:

  • dir: environments/production workspace: default
Locks and plans deleted for the projects and workspaces modified in this pull request: - dir: `environments/production` workspace: `default`
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: claude/infrastructure#61
No description provided.