diff --git a/roles/copr/backend/templates/resalloc/ibm-cloud-vm.j2 b/roles/copr/backend/templates/resalloc/ibm-cloud-vm.j2 index 59a709e10e..3c6003f6ac 100755 --- a/roles/copr/backend/templates/resalloc/ibm-cloud-vm.j2 +++ b/roles/copr/backend/templates/resalloc/ibm-cloud-vm.j2 @@ -210,8 +210,8 @@ def detect_floating_ip_name(opts): if opts.instance == "devel": id_in_pool += 100 - opts.floating_ip_name = "copr-builder-{}".format(id_in_pool.zfill(3)) - opts.log.info("Using Floating IP copr-builder-%s", opts.floating_ip_id) + opts.floating_ip_name = "copr-builder-{}".format(str(id_in_pool).zfill(3)) + opts.log.info("Using Floating IP copr-builder-%s", opts.floating_ip_name) def _main():