Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1654081

Summary: Deployment exits with Connection is already closed.
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: puppet-tripleoAssignee: Thomas Hervé <therve>
Status: CLOSED ERRATA QA Contact: Gurenko Alex <agurenko>
Severity: urgent Docs Contact:
Priority: high    
Version: 14.0 (Rocky)CC: cjeanner, dbecker, emacchi, hbrock, jcoufal, jjoyce, jschluet, jslagle, mburns, morazi, slinaber, therve, tvignaud
Target Milestone: rcKeywords: Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-tripleo-9.3.1-0.20181010034752.157eaab.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1654739 (view as bug list) Environment:
Last Closed: 2019-01-11 11:55:06 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: 1654739    

Description Marius Cornea 2018-11-28 01:55:17 UTC
Description of problem:
Deployment exits with 'Connection is already closed' without running post deployment steps:


TASK [Run puppet host configuration for step 2] ********************************
Tuesday 27 November 2018  16:29:44 -0500 (0:00:00.290)       0:15:49.553 ****** 
changed: [openshift-infra-2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
changed: [openshift-master-0] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
changed: [openshift-worker-2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
changed: [openshift-infra-0] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
changed: [openshift-infra-1] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
changed: [openshift-worker-1] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
changed: [openshift-worker-0] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
changed: [openshift-master-2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
changed: [openshift-master-1] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}

Connection is already closed.

real    95m51.391s
user    0m14.089s
sys     0m0.985s


Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-9.0.1-0.20181013060891.el7ost.noarch

How reproducible:
when registering nodes to portal(I am assuming deployment is slower because of this)

Steps to Reproduce:
1. Create a script /home/stack/overcloud_deploy.sh:

time openstack overcloud deploy \
--stack openshift \
--templates \
-r /home/stack/openshift_roles_data.yaml \
-n /home/stack/network_data.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/openshift.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/openshift-cns.yaml \
-e /home/stack/openshift_env.yaml \
-e /home/stack/nodes.yaml \
-e /home/stack/containers-prepare-parameter.yaml \
-e /home/stack/repo.yaml

2. Run script:
bash /home/stack/overcloud_deploy.sh

Actual results:
TASK [Run puppet host configuration for step 2] ********************************
Tuesday 27 November 2018  16:29:44 -0500 (0:00:00.290)       0:15:49.553 ****** 
changed: [openshift-infra-2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
changed: [openshift-master-0] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
changed: [openshift-worker-2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
changed: [openshift-infra-0] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
changed: [openshift-infra-1] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
changed: [openshift-worker-1] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
changed: [openshift-worker-0] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
changed: [openshift-master-2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
changed: [openshift-master-1] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}

Connection is already closed.

real    95m51.391s
user    0m14.089s
sys     0m0.985s


Expected results:
The deployment runs all the steps.

Additional info:
Attaching /var/lib/mistral/openshift and /var/log/containers.

Comment 6 Emilien Macchi 2018-11-29 14:46:50 UTC
Movin

Comment 18 errata-xmlrpc 2019-01-11 11:55: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/RHEA-2019:0045