Bug 1705694
Summary: | openstack overcloud deploy command fails with socket.timeout: timed out | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Sai Sindhur Malleni <smalleni> |
Component: | rhosp-director | Assignee: | RHOS Maint <rhos-maint> |
Status: | CLOSED DUPLICATE | QA Contact: | Sasha Smolyak <ssmolyak> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 15.0 (Stein) | CC: | aschultz, dbecker, mburns, morazi |
Target Milestone: | --- | Keywords: | Triaged, ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-05-06 20:24:23 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
Sai Sindhur Malleni
2019-05-02 19:06:39 UTC
I believe this is a duplicate of Bug 1700044. Please let us know if it's still occurring after the fix for 1700044 has been applied. *** This bug has been marked as a duplicate of bug 1700044 *** Hi Alex, To apply the fix for https://bugzilla.redhat.com/show_bug.cgi?id=1700044 please advise if the following two steps are enough, 1. On undercloud, install python3-oslo-rootwrap using dnf install python3-oslo-rootwrap 2. Patch tripleo-common on undercloud at /usr/lib/python3.6/site-packages/tripleo_common/actions/ansible.py No you have to patch the mistral container. It needs to be updated in the mistral-engine container and then the container needs to be restarted. Hi Alex. So I patched the mistral container with https://review.opendev.org/#/c/657090/1/tripleo_common/actions/ansible.py and ran podman restart mistral_engine. Now also I see the overcloud deploy failing, but much faster (undercloud) [stack@f16-h10-000-1029p ~]$ time openstack overcloud deploy --templates -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml -e ~/templates/network-environment.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/podman.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/docker-ha.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/services/neutron-ovn-ha.yaml -e ~/containers-prepare-parameters.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/disable-telemetry.yaml -e ~/templates/osp15.yaml --ntp-server clock.redhat.com Removing the current plan files Uploading new plan files {'result': 'Failed to run task [error=Invalid input [name=tripleo.parameters.update, class=tripleo_common.actions.parameters.UpdateParametersAction, unexpected=[\'validate\']], wf=tripleo.swift_backup.v1.create_swift_backup_container_plan, task=set_tempurl]:\nTraceback (most recent call last):\n File "/usr/lib/python3.6/site-packages/mistral/engine/task_handler.py", line 63, in run_task\n task.run()\n File "/usr/lib/python3.6/site-packages/osprofiler/profiler.py", line 160, in wrapper\n result = f(*args, **kwargs)\n File "/usr/lib/python3.6/site-packages/mistral/engine/tasks.py", line 453, in run\n self._run_new()\n File "/usr/lib/python3.6/site-packages/osprofiler/profiler.py", line 160, in wrapper\n result = f(*args, **kwargs)\n File "/usr/lib/python3.6/site-packages/mistral/engine/tasks.py", line 485, in _run_new\n self._schedule_actions()\n File "/usr/lib/python3.6/site-packages/mistral/engine/tasks.py", line 563, in _schedule_actions\n action.validate_input(input_dict)\n File "/usr/lib/python3.6/site-packages/mistral/engine/actions.py", line 336, in validate_input\n self.action_def.action_class\n File "/usr/lib/python3.6/site-packages/mistral/engine/utils.py", line 66, in validate_input\n raise exc.InputException(msg % tuple(msg_props))\nmistral.exceptions.InputException: Invalid input [name=tripleo.parameters.update, class=tripleo_common.actions.parameters.UpdateParametersAction, unexpected=[\'validate\']]\n'} Exception occured while running the command Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 30, in run super(Command, self).run(parsed_args) File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/usr/lib/python3.6/site-packages/cliff/command.py", line 184, in run return_code = self.take_action(parsed_args) or 0 File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 919, in take_action self._deploy_tripleo_heat_templates_tmpdir(stack, parsed_args) File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 374, in _deploy_tripleo_heat_templates_tmpdir new_tht_root, tht_root) File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 400, in _deploy_tripleo_heat_templates validate_stack=False) File "/usr/lib/python3.6/site-packages/tripleoclient/workflows/plan_management.py", line 238, in update_plan_from_templates validate_stack=validate_stack) File "/usr/lib/python3.6/site-packages/tripleoclient/workflows/plan_management.py", line 122, in update_deployment_plan 'Exception updating plan: {}'.format(payload['message'])) tripleoclient.exceptions.WorkflowServiceError: Exception updating plan: {'result': 'Failed to run task [error=Invalid input [name=tripleo.parameters.update, class=tripleo_common.actions.parameters.UpdateParametersAction, unexpected=[\'validate\']], wf=tripleo.swift_backup.v1.create_swift_backup_container_plan, task=set_tempurl]:\nTraceback (most recent call last):\n File "/usr/lib/python3.6/site-packages/mistral/engine/task_handler.py", line 63, in run_task\n task.run()\n File "/usr/lib/python3.6/site-packages/osprofiler/profiler.py", line 160, in wrapper\n result = f(*args, **kwargs)\n File "/usr/lib/python3.6/site-packages/mistral/engine/tasks.py", line 453, in run\n self._run_new()\n File "/usr/lib/python3.6/site-packages/osprofiler/profiler.py", line 160, in wrapper\n result = f(*args, **kwargs)\n File "/usr/lib/python3.6/site-packages/mistral/engine/tasks.py", line 485, in _run_new\n self._schedule_actions()\n File "/usr/lib/python3.6/site-packages/mistral/engine/tasks.py", line 563, in _schedule_actions\n action.validate_input(input_dict)\n File "/usr/lib/python3.6/site-packages/mistral/engine/actions.py", line 336, in validate_input\n self.action_def.action_class\n File "/usr/lib/python3.6/site-packages/mistral/engine/utils.py", line 66, in validate_input\n raise exc.InputException(msg % tuple(msg_props))\nmistral.exceptions.InputException: Invalid input [name=tripleo.parameters.update, class=tripleo_common.actions.parameters.UpdateParametersAction, unexpected=[\'validate\']]\n'} Exception updating plan: {'result': 'Failed to run task [error=Invalid input [name=tripleo.parameters.update, class=tripleo_common.actions.parameters.UpdateParametersAction, unexpected=[\'validate\']], wf=tripleo.swift_backup.v1.create_swift_backup_container_plan, task=set_tempurl]:\nTraceback (most recent call last):\n File "/usr/lib/python3.6/site-packages/mistral/engine/task_handler.py", line 63, in run_task\n task.run()\n File "/usr/lib/python3.6/site-packages/osprofiler/profiler.py", line 160, in wrapper\n result = f(*args, **kwargs)\n File "/usr/lib/python3.6/site-packages/mistral/engine/tasks.py", line 453, in run\n self._run_new()\n File "/usr/lib/python3.6/site-packages/osprofiler/profiler.py", line 160, in wrapper\n result = f(*args, **kwargs)\n File "/usr/lib/python3.6/site-packages/mistral/engine/tasks.py", line 485, in _run_new\n self._schedule_actions()\n File "/usr/lib/python3.6/site-packages/mistral/engine/tasks.py", line 563, in _schedule_actions\n action.validate_input(input_dict)\n File "/usr/lib/python3.6/site-packages/mistral/engine/actions.py", line 336, in validate_input\n self.action_def.action_class\n File "/usr/lib/python3.6/site-packages/mistral/engine/utils.py", line 66, in validate_input\n raise exc.InputException(msg % tuple(msg_props))\nmistral.exceptions.InputException: Invalid input [name=tripleo.parameters.update, class=tripleo_common.actions.parameters.UpdateParametersAction, unexpected=[\'validate\']]\n'} real 0m24.002s user 0m4.088s sys 0m6.133s That error points to a mismatch in containers & tripleo-common on the undercloud. What containers are you using? See Bug 1700096 *** This bug has been marked as a duplicate of bug 1700096 *** Tag is 20190306.1 (passed_phase1) Tag is 20190306.1 (passed_phase1) That's way old. you need to use a newer version of the containers that goes with the tripleo-common you have installed. We should have containers from May 9th at least available (the most recent pass of phase1) |