Bug 1278866

Summary: On rerun of launch-fusor-undercloud-installer: too many arguments
Product: Red Hat Quickstart Cloud Installer Reporter: Thom Carlin <tcarlin>
Component: fusor-installerAssignee: John Matthews <jmatthew>
Status: CLOSED CURRENTRELEASE QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.0CC: apagac, arubin, jmontleo
Target Milestone: TP2Keywords: Triaged
Target Release: 1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-03 19:09:59 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:
Bug Depends On:    
Bug Blocks: 1291836    

Description Thom Carlin 2015-11-06 15:23:02 UTC
Description of problem:

After problems with automatic run of launch-fusor-undercloud-installer, reran manually and received error

Version-Release number of selected component (if applicable):

This install was completed from an ISO with the Media ID 1446663134.881279 at 06:52:14 PM on 04 Nov 2015.

How reproducible:

100%

Steps to Reproduce:
1. Install Triple-O ISO
2. Log in to launch-fusor-undercloud-installer
3. After it finishes, rerun launch-fusor-undercloud-installer manually

Actual results:

/usr/sbin/fusor-undercloud-installer: line 41: [: too many arguments

Expected results:

No error

Additional info:

Occurs between "Set your resolvable Fully Qualified Domain Name: " and "Enter the DNS nameserver to use for the Overcloud:"

Comment 1 Thom Carlin 2015-11-06 15:42:45 UTC
After DNS, received /usr/sbin/fusor-undercloud-installer: line 42: read: `<valid_ipv4_address>': not a valid identifier

Comment 2 Jason Montleon 2015-12-18 16:24:09 UTC
I do not see this when running fusor-undercloud-installer a second time. Stephen reworked reading/setting the DNS entry once or twice so it's possible it was fixed along the way. Can you plesae retry?

Comment 3 Antonin Pagac 2016-01-13 11:17:51 UTC
I don't see this error any more, however 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.

Marking this as verified and opening: https://bugzilla.redhat.com/show_bug.cgi?id=1298155

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