Bug 1641380 - Overcloud deployment times out when passing --config-download-timeout option
Summary: Overcloud deployment times out when passing --config-download-timeout option
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: 14.0 (Rocky)
Assignee: James Slagle
QA Contact: Artem Hrechanychenko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-21 18:23 UTC by Marius Cornea
Modified: 2023-09-14 04:40 UTC (History)
8 users (show)

Fixed In Version: python-tripleoclient-10.6.1-0.20181010222403.8c8f259.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-11 11:54:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1799241 0 None None None 2018-10-22 15:05:01 UTC
OpenStack gerrit 612417 0 'None' MERGED Fix type of --config-download-timeout 2021-01-25 23:53:24 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:54:18 UTC

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


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