Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

FIP is attempted to be deleted twice

Open
#133 4 comments 0 reactions 1 assignee View on GitHub

@deepakibms is already working on this.

Since Sep 15, 2026.

  • #138 by @thrix — closed without merging

Assessment

This issue has not been assessed yet.

Description

Describe the bug
We have 2 provisioners (shell, ansible) in a template and see the following behavior where FIP is attempted to be deleted 2 times in a row, with the second attempt failing (no surprise here).

==> ibmcloud-vpc.testing-farm: Provisioning step had errors: Running the cleanup provisioner, if present...
==> ibmcloud-vpc.testing-farm: Releasing the Floating IP: 150.240.1.151 ...
==> ibmcloud-vpc.testing-farm: The Floating IP was successfully released!
==> ibmcloud-vpc.testing-farm: Deleting Instance ID: 0767_b32c298e-e9ec-4bfa-ad22-dd6c1b43def2 ...
==> ibmcloud-vpc.testing-farm: Instance status :-  deleting
==> ibmcloud-vpc.testing-farm: Instance deleted Succesfully
==> ibmcloud-vpc.testing-farm: Deleting Security Group's rule r014-28977950-fc5d-4a01-86c1-199249bab42d ...
==> ibmcloud-vpc.testing-farm: The Security Group's rule was successfully deleted!
==> ibmcloud-vpc.testing-farm: Deleting Security Group packer-vpc-security-group-1753174294954346344 ...
==> ibmcloud-vpc.testing-farm: The Security Group was successfully deleted!
==> ibmcloud-vpc.testing-farm: Releasing the Floating IP: 150.240.1.151 ...
==> ibmcloud-vpc.testing-farm: [ERROR] Error getting the Floating IP: FloatingIP not found
==> ibmcloud-vpc.testing-farm: Deleting SSH key for VPC packer-vpc-ssh-key-1753174294954346344 ...
==> ibmcloud-vpc.testing-farm: The Key was successfully deleted!
==> ibmcloud-vpc.testing-farm: Deleting Public and Private SSH Key Pair...
==> ibmcloud-vpc.testing-farm: Public and Private SSH Key Pair successfully deleted.
==> ibmcloud-vpc.testing-farm:
==> ibmcloud-vpc.testing-farm: ********************************************************************
==> ibmcloud-vpc.testing-farm: * Thank you for using IBM Cloud Packer Plugin - VPC Infrastructure *
==> ibmcloud-vpc.testing-farm: ********************************************************************
Build 'ibmcloud-vpc.testing-farm' errored after 10 minutes 19 seconds: [ERROR] Error getting the Floating IP: FloatingIP not found

Plugin version is the latest one.

(tft-admin-py3.12) ivasilev@ivasilev-thinkpadp1gen4i:~/projects/ansible-baseos-ci$ packer plugins installed
/home/ivasilev/.packer.d/plugins/github.com/hashicorp/amazon/packer-plugin-amazon_v1.3.4_x5.0_linux_amd64
/home/ivasilev/.packer.d/plugins/github.com/hashicorp/ansible/packer-plugin-ansible_v1.1.2_x5.0_linux_amd64
/home/ivasilev/.packer.d/plugins/github.com/IBM/ibmcloud/packer-plugin-ibmcloud_v3.3.1_x5.0_linux_amd64
/home/ivasilev/.packer.d/plugins/github.com/ppc64le-cloud/powervs/packer-plugin-powervs_v0.2.11_x5.0_linux_amd64
Dominant language
Go
Stars
25
Forks
31
Avg merge
4d 20h
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from IBM/packer-plugin-ibmcloud

All issues in IBM/packer-plugin-ibmcloud

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.