Bug 1861820

Summary: openstack undercloud upgrade failing durging task: Clean podman images
Product: Red Hat OpenStack Reporter: Maciej Relewicz <mrelewicz>
Component: python-tripleoclientAssignee: RHOS Maint <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: David Rosenfeld <drosenfe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16.1 (Train)CC: emacchi, hbrock, jslagle, mburns
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-29 18:18:50 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 Maciej Relewicz 2020-07-29 16:15:18 UTC
Description of problem:

during `openstack undercloud upgrade` I hit:

TASK [tripleo-podman : Clean podman images] ******************************************************************************************************************************************************************************************************************
Wednesday 29 July 2020  08:30:11 -0700 (0:00:00.367)       0:00:22.620 ********
fatal: [undercloud]: FAILED! => {"changed": true, "cmd": ["podman", "image", "prune", "-a"], "delta": "0:00:00.101051", "end": "2020-07-29 08:30:11.791613", "msg": "non-zero return code", "rc": 125, "start": "2020-07-29 08:30:11.690562", "stderr": "Error
: error reading input: EOF", "stderr_lines": ["Error: error reading input: EOF"], "stdout": "\nWARNING! This will remove all dangling images.\nAre you sure you want to continue? [y/N] ", "stdout_lines": ["", "WARNING! This will remove all dangling images
.", "Are you sure you want to continue? [y/N] "]}
Version-Release number of selected component (if applicable):


How reproducible:
do the `openstack undercloud upgrade`. I wasnt prompt for confirmation to prune it just failed. I added `-f` to command for fix.

Steps to Reproduce:
1. `openstack undercloud upgrade`
2. it will be failling
3.

Actual results:
`openstack undercloud upgrade` failed

Expected results:
`openstack undercloud upgrade` ended with success

Additional info:

I added `-f` to command for fix.

Comment 1 Emilien Macchi 2020-07-29 18:18:50 UTC

*** This bug has been marked as a duplicate of bug 1860640 ***