Bug 1668051 - Canceling the install and then running the destroy cluster command fails due to being unable to find the resources
Summary: Canceling the install and then running the destroy cluster command fails due ...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Alex Crawford
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks: 1664187
TreeView+ depends on / blocked
 
Reported: 2019-01-21 19:39 UTC by Eric Jones
Modified: 2019-03-12 14:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-13 22:20:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
.openshift_install.log (133.73 KB, application/x-xz)
2019-01-21 19:39 UTC, Eric Jones
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3798711 0 None None None 2019-01-21 20:08:15 UTC

Description Eric Jones 2019-01-21 19:39:45 UTC
Created attachment 1522239 [details]
.openshift_install.log

Description of problem:
After a previous install failed and was properly deleted, I tried to start an install before finding [0] (to help fix the issue I encountered before). Once I found that I canceled the install (ctrl+c) and tried to run the destroy cluster command.

The destroy command hung after deleting the bucket. I canceled it as well and tried the command again while watching the .openshift_install.log file (tail -f .openshift_install.log) and saw it being unable to locate resources.

Version-Release number of selected component (if applicable):
> ./openshift-install version
./openshift-install v0.10.0

How reproducible:
100%

Steps to Reproduce:
1. Start install:
> ./openshift-install create cluster
2. Cancel install:
ctrl+c
3. Start to destroy cluster:
./openshift-install destroy cluster --dir .

Actual results:
destroy hangs indefinitely

Expected results:
destroy succeeds. Any resources it cannot locate simply skip and move to the next ones.

Additional info:
[0] https://access.redhat.com/solutions/3798711

Attached log

Comment 1 Alex Crawford 2019-01-22 22:49:35 UTC
We recently changed the way we destroy resources (https://github.com/openshift/installer/pull/1039). Can you try again with a version of the installer that has that patch?

Comment 2 W. Trevor King 2019-01-24 12:59:58 UTC
> Can you try again with a version of the installer that has that patch?

For example, 0.10.1 has the patch.

Comment 3 Alex Crawford 2019-02-13 22:20:38 UTC
Closing due to inactivity.

Comment 4 Eric Jones 2019-02-18 16:56:17 UTC
Hi,

My apologies, for some reason I did not see these updates.

I am currently trying to reproduce this with the latest available at the moment (v0.12.0) but instead am running into issues with creating the metadata.json file and therefore can't even begin to try this.

I will update and reopen if I am able to reproduce in the future, otherwise we can leave this as closed.


Note You need to log in before you can comment on or make changes to this bug.