Bug 1691870 - openstack overcloud delete shows user input prompt after providing input
Summary: openstack overcloud delete shows user input prompt after providing input
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 15.0 (Stein)
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: beta
: 15.0 (Stein)
Assignee: Steve Baker
QA Contact: Sasha Smolyak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-22 17:05 UTC by Marius Cornea
Modified: 2019-11-11 20:28 UTC (History)
9 users (show)

Fixed In Version: python-tripleoclient-11.4.1-0.20190411190358.0ca816d.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-21 11:20:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1821672 0 None None None 2019-03-26 03:57:27 UTC
OpenStack gerrit 647652 0 'None' 'MERGED' 'Fix confirmation prompt for overcloud delete' 2019-11-11 20:27:24 UTC
Red Hat Product Errata RHEA-2019:2811 0 None None None 2019-09-21 11:21:27 UTC

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


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