Bug 1294756 - callback_facts.yaml should be regenerated
Summary: callback_facts.yaml should be regenerated
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Scott Dodson
QA Contact: Wenkai Shi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-30 06:55 UTC by Gan Huang
Modified: 2017-08-24 20:49 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-24 20:49:22 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Gan Huang 2015-12-30 06:55:30 UTC
Description of problem:
"callback_facts.yaml" should be regenerated

Version-Release number of selected component (if applicable):
atomic-openshift-utils-3.0.20-1.git.0.3703f1b.el7aos.noarch

How reproducible:
Always

Steps to Reproduce:
1.Install an env of one master and two nodes by quick install
2.Modify "~/.config/openshift/installer.cfg.yml" with a new master and a new node
3.Install the new env using atomic-openshift-installer


Actual results:
Gathering information from hosts...
Error in /home/xxx/.config/openshift/.ansible/callback_facts.yaml while scanning a simple key
  in "/home/xxx/.config/openshift/.ansible/callback_facts.yaml", line 60, column 1
could not found expected ':'
  in "/home/xxx/.config/openshift/.ansible/callback_facts.yaml", line 61, column 19
Try deleting and rerunning the atomic-openshift-installer

Expected results:
Install successfully

Additional info:
Now it seems that it just tried to modify "callback_facts.yaml" file when run installer for the 2nd time, so the previous node information remains in the file. Regenerate "callback_facts.yaml" can avoid the issue once installing.

Comment 2 liujia 2016-12-02 08:19:56 UTC
Hit the same troubles many times when install OCP with quick install tool.
It is very unconvinient and confused for user to re-run quickinstall after edit install.cfg.yml file. I think it should be deleted and re-gathered auto instead of requiring user to delete them manually.


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