Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1691870

Summary: openstack overcloud delete shows user input prompt after providing input
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: python-tripleoclientAssignee: Steve Baker <sbaker>
Status: CLOSED ERRATA QA Contact: Sasha Smolyak <ssmolyak>
Severity: urgent Docs Contact:
Priority: high    
Version: 15.0 (Stein)CC: aschultz, dbecker, emacchi, hbrock, jslagle, mburns, morazi, ramishra, sbaker
Target Milestone: betaKeywords: Triaged
Target Release: 15.0 (Stein)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-tripleoclient-11.4.1-0.20190411190358.0ca816d.el8ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-21 11:20:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marius Cornea 2019-03-22 17:05:21 UTC
Description of problem:
openstack overcloud delete show user input prompt after prividing input:

(undercloud) [stack@undercloud-0 ~]$ openstack overcloud delete openshift
y
Are you sure you want to delete this overcloud [y/N]? Undeploying stack openshift..

The user input prompt shows after providing the input. If no input is provided it appears to be stuck

Version-Release number of selected component (if applicable):
python3-tripleoclient-11.3.1-0.20190319125100.23e610c.el8ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. openstack overcloud delete $overcloud-name

Actual results:
The user input prompt doesn't show up. 

Expected results:
The user input prompt shows up asking for confirmation.

Additional info:

Comment 1 Steve Baker 2019-03-25 02:48:14 UTC
Removing the blocker flag, you can always run with "openstack overcloud delete --yes"

If this works when manually entering 'y' as the input, and only fails when the input is scripted, then I'd suggest closing this bug and just using --yes anyway.

Comment 3 Alex Schultz 2019-03-25 20:25:03 UTC
I noticed that this is an issue with the python3 version of the command so there might be an issue in cliff or something.  The issue is that the info text doesn't actually print out until after you've entered something.

Comment 6 Sasha Smolyak 2019-04-22 10:25:24 UTC
(undercloud) [stack@undercloud-0 ~]$ openstack stack delete overcloud
Are you sure you want to delete this stack(s) [y/N]? N

Verified

Comment 9 errata-xmlrpc 2019-09-21 11:20:58 UTC
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/RHEA-2019:2811