Bug 1388739 - [quick install]the number of completed plays is bigger than the expected number.
Summary: [quick install]the number of completed plays is bigger than the expected number.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.3.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Tim Bielawa
QA Contact: Wenkai Shi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-26 05:00 UTC by liujia
Modified: 2017-07-24 14:11 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: The quick installer used a system for counting the number of plays in a run that was not 100% accurate due to conditional play includes. Consequence: The reported number of plays may be bigger or smaller than the original estimate. Fix: Now at the end of the playbook run, the installer explains why the actual play count may be different than the estimate. Result: Users still have an idea of about how far along their install is and if the number of tasks don't match the original estimate they understand why.
Clone Of:
Environment:
Last Closed: 2017-04-12 18:48:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0903 0 normal SHIPPED_LIVE OpenShift Container Platform atomic-openshift-utils bug fix and enhancement 2017-04-12 22:45:42 UTC

Description liujia 2016-10-26 05:00:08 UTC
Description of problem:
Trigger an containerized install against OCP3.3 on atomic host in HA env with quick installer, when it comes to run playbook, the output of info is not correct.The number of completed plays is bigger than the expected number.

Version-Release number of selected component (if applicable):
atomic-openshift-utils-3.3.39-1.git.0.136e487.el7.noarch

How reproducible:
always

Steps to Reproduce:
1.Trigger an containerized install against OCP3.3 in HA env(3 masters,1 node,1 lb+nfs)
#atomic-openshift-installer -c .config/openshift/installer.cfg.yml install
2.After complete install, the output info is not correct.


Actual results:
<--snip-->
Play 22/29 (Evaluate node groups)
..
Play 23/29 (Configure containerized nodes)

Play 24/29 (Configure containerized nodes)
................................................................................
Play 25/29 (Configure containerized nodes)
................................................................................
Play 26/29 (Configure nodes)
...........................................................................................Pausing for 10 seconds
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
......................................
Play 27/29 (Additional node config)
................................................................................
Play 28/29 (Delete temporary directory on localhost)
.
Play 29/29 (Set node schedulability)
.........
Play 30/29 (Create persistent volumes)
.........................................................................................
Play 31/29 (Create Hosted Resources)
<--snip-->


Expected results:
the number of completed plays is correct or less than the expected number because some tasks may be skipped as described in the note.

Additional info:

Comment 1 Tim Bielawa 2016-11-07 15:44:20 UTC
Moving this bug to UpcomingRelease because it's not a critical blocker bug. Will revisit after the next release is cut

Comment 2 Tim Bielawa 2017-01-09 20:28:31 UTC
This error has been fixed in this PR

* https://github.com/openshift/openshift-ansible/pull/3047

I changed the wording at the end of the summary

* Old wording only considered skipped plays (reducing the play count)
* New wording accounts for dynamically included plays (increasing the play count)

Looks like this now:

> Installation Complete: Note: Play count is only an estimate, some plays may have been skipped or dynamically added

Comment 4 liujia 2017-02-03 06:03:30 UTC
No errata puddle. Checked on latest puddle, still not fix in the build.
atomic-openshift-utils-3.3.63-1.git.0.b82a158.el7.noarch

Comment 5 liujia 2017-02-04 10:51:31 UTC
Change status back to MODIFIED to wait new puddle.

Comment 7 liujia 2017-02-15 11:25:48 UTC
blocked verify by another issue of quick install. will attach bug number later.

Comment 8 liujia 2017-02-16 05:27:28 UTC
blocked by 1420970 and 1422541.

Comment 13 Wenkai Shi 2017-02-27 06:16:26 UTC
Verified with version atomic-openshift-utils-3.5.15-1.git.0.8d2a456.el7.

[root@openshift ~]# atomic-openshift-installer install
...
Installation Complete: Note: Play count is only an estimate, some plays may have been skipped or dynamically added
...

Comment 15 errata-xmlrpc 2017-04-12 18:48:06 UTC
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.