Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1420970 - [quick installer]quick installer failed due to a python method failure
[quick installer]quick installer failed due to a python method failure
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.5.0
Unspecified Unspecified
high Severity high
: ---
: ---
Assigned To: Tim Bielawa
Johnny Liu
: TestBlocker
Depends On:
Blocks: 1421053 1421059 1421061
  Show dependency treegraph
 
Reported: 2017-02-09 21:48 EST by Wenkai Shi
Modified: 2017-07-24 10 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: An ansible release introduced a regression that caused datastructures to fail to serialize when writing them out to a YAML document. Consequence: Users would trigger the regression during the pre-run fact fetching, causing their installation to crash. Fix: Ansible introduced a new YAML serializing system in an update. The old serializing system was replaced with the new one, "AnsibleDumper". Result: The quick installer can run the "Gathering information from hosts" actions now without triggering the error during serializing.
Story Points: ---
Clone Of:
: 1421053 1421059 1421061 (view as bug list)
Environment:
Last Closed: 2017-04-12 15:01:33 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0903 normal SHIPPED_LIVE OpenShift Container Platform atomic-openshift-utils bug fix and enhancement 2017-04-12 18:45:42 EDT

  None (edit)
Description Wenkai Shi 2017-02-09 21:48:42 EST
Description of problem:
Quick installer get failed in "Gathering information from hosts" step, looks relate to a python method failure.

Version-Release number of selected component (if applicable):
atomic-openshift-utils-3.5.6-1.git.0.5e6099d.el7

How reproducible:
100%

Steps to Reproduce:
1.run quick installer
2.
3.

Actual results:
[root@installer ~]# atomic-openshift-installer install
...
Gathering information from hosts...
 [WARNING]: Failure using method (v2_runner_on_ok) in callback plugin (</usr/lib/python2.7/site-packages/ooinstall/ansible_plugins/facts_callback.CallbackModule object at 0x2903910>): cannot
represent an object: common
There was a problem fetching the required information. Please see /tmp/ansible.log for details.

Expected results:
Installation succeed 

Additional info:
[root@installer ~]# tail /tmp/ansible.log
...
2017-02-10 10:14:24,547 p=14688 u=root |   [WARNING]: Failure using method (v2_runner_on_ok) in callback plugin (</usr/lib/python2.7/site-packages/ooinstall/ansible_plugins/facts_callback.CallbackModule object at 0x2903910>): cannot
represent an object: common

2017-02-10 10:14:24,552 p=14688 u=root |  PLAY RECAP *********************************************************************
2017-02-10 10:14:24,552 p=14688 u=root |  localhost                  : ok=10   changed=0    unreachable=0    failed=0   
2017-02-10 10:14:24,552 p=14688 u=root |  master.example.com : ok=52   changed=3    unreachable=0    failed=0
Comment 7 Wenkai Shi 2017-02-27 01:22:46 EST
Has been fix in atomic-openshift-utils-3.5.15-1.git.0.8d2a456, will verify it when "Status" change.
Comment 8 Tim Bielawa 2017-02-27 11:35:40 EST
Fix was merged into master (3.5) in https://github.com/openshift/openshift-ansible/pull/3486
Comment 10 Wenkai Shi 2017-02-27 21:04:58 EST
Verified with version atomic-openshift-utils-3.5.17-1.git.0.561702e and ansible-2.2.1.0-2, quick installer can pass the "Gathering information from hosts..." step without any error.
Comment 12 errata-xmlrpc 2017-04-12 15:01:33 EDT
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/RHBA-2017:0903

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