Description of problem: if the installer stops before terraform is run, it leaves a swift container it cannot clean up Version-Release number of the following components: Master How reproducible: Always Steps to Reproduce: 1. export OPENSHIFT_INSTALL_OS_IMAGE_OVERRIDE=https://www.redhat.com/cms/managed-files/Logo-redhat-color-375.png?sha256=invalid 2. run installer 3. destroy installer Actual results: Swift container is left over. Expected results: All components created by the installer are deleted
Verified on 4.3.0-0.nightly-2019-11-11-081655 [morenod@morenod-laptop osp-terraform]$ export OPENSHIFT_INSTALL_OS_IMAGE_OVERRIDE=https://www.redhat.com/cms/managed-files/Logo-redhat-color-375.png?sha256=invalid [morenod@morenod-laptop osp-terraform]$ ./openshift-install create cluster WARNING Found override for OS Image. Please be warned, this is not advised INFO Obtaining RHCOS image file from 'https://www.redhat.com/cms/managed-files/Logo-redhat-color-375.png?sha256=invalid' ERROR File sha256 checksum is invalid. FATAL failed to fetch Terraform Variables: failed to generate asset "Terraform Variables": failed to get openstack Terraform variables: Checksum mismatch for /home/morenod/.cache/openshift-installer/image_cache/0ca280b231561fdea212d100ccd2594c; expected=invalid found=9bb8daa3ea2e01ef988ef3c53ef66a7465d9089c0419c065ff19a7e699402826 [morenod@morenod-laptop osp-terraform]$ cat terraform.tfvars.json | jq . | grep cluster_id "cluster_id": "morenod-ocp-p5tzv", [morenod@morenod-laptop osp-terraform]$ openstack container list | grep morenod-ocp-p5tzv | wc -l 0 [morenod@morenod-laptop osp-terraform]$ ./openshift-install destroy cluster FATAL Failed while preparing to destroy cluster: open metadata.json: no such file or directory
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0062