Bug 1298155

Summary: Warnings displayed when re-running fusor-undercloud-installer
Product: Red Hat Quickstart Cloud Installer Reporter: Antonin Pagac <apagac>
Component: fusor-installerAssignee: John Matthews <jmatthew>
Status: NEW --- QA Contact: Dave Johnson <dajohnso>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0Keywords: Triaged
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Antonin Pagac 2016-01-13 11:16:35 UTC
Description of problem:
Upon reruning the fusor-undercloud-installer, it outputs these errors/warnings:

"useradd: user 'stack' already exists
mkdir: cannot create directory ‘/tmp/repodata’: File exists"

I don't think it is necessary to display this to an user upon re-running the installer, we probably should anticipate and hide those messages.

Version-Release number of selected component (if applicable):
RHCI-6.0-RHEL-7-20160107.t.1-RHCI-x86_64-dvd1.iso
RHCIOOO-7-RHEL-7-20160112.t.1-RHCIOOO-x86_64-dvd1.iso

How reproducible:
Always

Steps to Reproduce:
1. Run fusor-undercloud-installer, wait until it ends
2. Run fusor-undercloud-installer again
3.

Actual results:
Warnings/errors displayed upon re-run

Expected results:
No errors should be displayed if the installer can continue and finish

Additional info:

Comment 1 Antonin Pagac 2016-01-13 13:27:52 UTC
This appears when re-run after a failed run of fusor-undercloud-installer. The installer did not get to removing the /tmp/repodata.