Bug 1641380

Summary: Overcloud deployment times out when passing --config-download-timeout option
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: python-tripleoclientAssignee: James Slagle <jslagle>
Status: CLOSED ERRATA QA Contact: Artem Hrechanychenko <ahrechan>
Severity: high Docs Contact:
Priority: high    
Version: 14.0 (Rocky)CC: ahrechan, dbecker, emacchi, hbrock, jcoufal, jslagle, mburns, morazi
Target Milestone: betaKeywords: Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-tripleoclient-10.6.1-0.20181010222403.8c8f259.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-11 11:54:07 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:

Description Marius Cornea 2018-10-21 18:23:27 UTC
Description of problem:
Overcloud deployment times out when passing --config-download-timeout option and the config-download playbook doesn't seem to get triggered:


2018-10-21 12:14:51 | 2018-10-21 16:14:26Z [openshift]: CREATE_COMPLETE  Stack CREATE completed successfully
2018-10-21 12:14:51 | 
2018-10-21 12:14:51 |  Stack openshift/53d08303-6aa9-4031-aa82-4f2a1c485e35 CREATE_COMPLETE 
2018-10-21 12:14:51 | 
2018-10-21 12:14:51 | Deploying overcloud configuration
2018-10-21 12:14:51 | Enabling ssh admin (tripleo-admin) for hosts:
2018-10-21 12:14:51 | 192.168.24.19 192.168.24.18 192.168.24.14 192.168.24.16 192.168.24.10 192.168.24.7 192.168.24.6 192.168.24.20 192.168.24.15
2018-10-21 12:14:51 | Using ssh user heat-admin for initial connection.
2018-10-21 12:14:51 | Using ssh key at /home/stack/.ssh/id_rsa for initial connection.
2018-10-21 12:14:51 | Inserting TripleO short term key for 192.168.24.19
2018-10-21 12:14:51 | Inserting TripleO short term key for 192.168.24.18
2018-10-21 12:14:51 | Inserting TripleO short term key for 192.168.24.14
2018-10-21 12:14:51 | Inserting TripleO short term key for 192.168.24.16
2018-10-21 12:14:51 | Inserting TripleO short term key for 192.168.24.10
2018-10-21 12:14:51 | Inserting TripleO short term key for 192.168.24.7
2018-10-21 12:14:51 | Inserting TripleO short term key for 192.168.24.6
Warning: Permanently added '192.168.24.20' (ECDSA) to the list of known hosts.
Warning: Permanently added '192.168.24.15' (ECDSA) to the list of known hosts.
Warning: Permanently added '192.168.24.19' (ECDSA) to the list of known hosts.
Warning: Permanently added '192.168.24.18' (ECDSA) to the list of known hosts.
Warning: Permanently added '192.168.24.14' (ECDSA) to the list of known hosts.
Warning: Permanently added '192.168.24.16' (ECDSA) to the list of known hosts.
Warning: Permanently added '192.168.24.10' (ECDSA) to the list of known hosts.
Warning: Permanently added '192.168.24.7' (ECDSA) to the list of known hosts.
Warning: Permanently added '192.168.24.6' (ECDSA) to the list of known hosts.
Warning: Permanently added '192.168.24.20' (ECDSA) to the list of known hosts.
Warning: Permanently added '192.168.24.15' (ECDSA) to the list of known hosts.


Connection is already closed.
2018-10-21 13:16:22 | Inserting TripleO short term key for 192.168.24.20
2018-10-21 13:16:22 | Inserting TripleO short term key for 192.168.24.15
2018-10-21 13:16:22 | Starting ssh admin enablement workflow
2018-10-21 13:16:22 | ssh admin enablement workflow - RUNNING.
2018-10-21 13:16:22 | ssh admin enablement workflow - RUNNING.
2018-10-21 13:16:22 | ssh admin enablement workflow - RUNNING.
2018-10-21 13:16:22 | ssh admin enablement workflow - COMPLETE.
2018-10-21 13:16:22 | Removing TripleO short term key from 192.168.24.19
2018-10-21 13:16:22 | Removing TripleO short term key from 192.168.24.18
2018-10-21 13:16:22 | Removing TripleO short term key from 192.168.24.14
2018-10-21 13:16:22 | Removing TripleO short term key from 192.168.24.16
2018-10-21 13:16:22 | Removing TripleO short term key from 192.168.24.10
2018-10-21 13:16:22 | Removing TripleO short term key from 192.168.24.7
2018-10-21 13:16:22 | Removing TripleO short term key from 192.168.24.6
2018-10-21 13:16:22 | Removing TripleO short term key from 192.168.24.20
2018-10-21 13:16:22 | Removing TripleO short term key from 192.168.24.15
2018-10-21 13:16:22 | Removing short term keys locally
2018-10-21 13:16:22 | Enabling ssh admin - COMPLETE.
2018-10-21 13:16:22 | Config downloaded at /var/lib/mistral/openshift
2018-10-21 13:16:22 | Inventory generated at /var/lib/mistral/openshift/tripleo-ansible-inventory.yaml
2018-10-21 13:16:22 | Running ansible playbook at /var/lib/mistral/openshift/deploy_steps_playbook.yaml. See log file at /var/lib/mistral/openshift/ansible.log for progress. ...
2018-10-21 13:16:22 | 
 

Version-Release number of selected component (if applicable):
2018-10-17.2 puddle

How reproducible:
100%

Steps to Reproduce:
1. Deploy overcloud with --config-download-timeout

openstack overcloud deploy \
--stack openshift \
--templates \
--config-download-timeout 240 \
-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 |

Actual results:
Deployment times out.

Expected results:
Deployment succeeds.

Additional info:
Attaching /var/log/containers/ and overcloud deploy output.

Comment 2 James Slagle 2018-10-22 14:16:38 UTC
looks like this is the problem:

2018-10-21 12:16:21.927 1 INFO workflow_trace [req-7d954447-20a5-4f8a-b576-5703aed27677 92cadef34d584487bd05387a9a929d24 921a7bbc7ada4167b9186d674c11c792 - default default] Workflow 'tripleo.deployment.v1.config_download_deploy' [RUNNING -> ERROR, msg=Failed to run task [error=Invalid data type in TimeoutPolicy: u'240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240240' is not of type 'integer'

Comment 17 Artem Hrechanychenko 2018-11-01 17:08:46 UTC
VERIFIED

python-tripleoclient-10.6.1-0.20181010222404.8c8f259.el7ost.noarch

Comment 20 errata-xmlrpc 2019-01-11 11:54:07 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

Comment 21 Red Hat Bugzilla 2023-09-14 04:40:36 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days