overcloud deployment failing with msg: 'argument parameters is of type <class ''str''> and we were unable to convert to dict: unable to evaluate string as dictionary'.

Bug #1871337 reported by Sandeep Yadav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp-featureset001-clients-master jobs are failing at overcloud deploy steps with msg: 'argument parameters is of type <class ''str''> and we were unable to convert to dict: unable to evaluate string as dictionary'.

ERROR Snippet
=============

https://logserver.rdoproject.org/openstack-component-common/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp-featureset001-clients-master/e129acd/logs/undercloud/home/zuul/overcloud_deploy.log.txt.gz

~~~
2020-04-07 07:23:30 | TASK [Update parameters] *******************************************************
2020-04-07 07:23:30 | Tuesday 07 April 2020 07:23:30 +0000 (0:00:00.064) 0:00:00.283 *********
2020-04-07 07:23:32 | fatal: [localhost]: FAILED! => changed=false
2020-04-07 07:23:32 | msg: 'argument parameters is of type <class ''str''> and we were unable to convert to dict: unable to evaluate string as dictionary'
2020-04-07 07:23:32 |
2020-04-07 07:23:32 | NO MORE HOSTS LEFT *************************************************************
2020-04-07 07:23:32 |
2020-04-07 07:23:32 | PLAY RECAP *********************************************************************
2020-04-07 07:23:32 | localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0
2020-04-07 07:23:32 | Tuesday 07 April 2020 07:23:32 +0000 (0:00:02.022) 0:00:02.305 *********
2020-04-07 07:23:32 | ===============================================================================
2020-04-07 07:23:32 | Update parameters ------------------------------------------------------- 2.02s
2020-04-07 07:23:32 | Check for required inputs ----------------------------------------------- 0.07s
2020-04-07 07:23:32 | Set parameters fact ----------------------------------------------------- 0.06s
2020-04-07 07:23:33 | Ansible execution failed. playbook: /usr/share/ansible/tripleo-playbooks/cli-update-params.yaml, Run Status: failed, Return Code: 2
2020-04-07 07:23:33 | Exception occured while running the command
2020-04-07 07:23:33 | Traceback (most recent call last):
2020-04-07 07:23:33 | File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 34, in run
2020-04-07 07:23:33 | super(Command, self).run(parsed_args)
2020-04-07 07:23:33 | File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run
2020-04-07 07:23:33 | return super(Command, self).run(parsed_args)
2020-04-07 07:23:33 | File "/usr/lib/python3.6/site-packages/cliff/command.py", line 187, in run
2020-04-07 07:23:33 | return_code = self.take_action(parsed_args) or 0
2020-04-07 07:23:33 | File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 994, in take_action
2020-04-07 07:23:33 | self._deploy_tripleo_heat_templates_tmpdir(stack, parsed_args)
2020-04-07 07:23:33 | File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 382, in _deploy_tripleo_heat_templates_tmpdir
2020-04-07 07:23:33 | new_tht_root, tht_root)
2020-04-07 07:23:33 | File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 488, in _deploy_tripleo_heat_templates
2020-04-07 07:23:33 | deployment_options=deployment_options)
2020-04-07 07:23:33 | File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 507, in _try_overcloud_deploy_with_compat_yaml
2020-04-07 07:23:33 | deployment_options=deployment_options)
2020-04-07 07:23:33 | File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 221, in _heat_deploy
2020-04-07 07:23:33 | stack_name, env, moved_files, tht_root)
2020-04-07 07:23:33 | File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 312, in _process_and_upload_environment
2020-04-07 07:23:33 | "parameters": params
2020-04-07 07:23:33 | File "/usr/lib/python3.6/site-packages/tripleoclient/utils.py", line 640, in run_ansible_playbook
2020-04-07 07:23:33 | raise RuntimeError(err_msg)
2020-04-07 07:23:33 | RuntimeError: Ansible execution failed. playbook: /usr/share/ansible/tripleo-playbooks/cli-update-params.yaml, Run Status: failed, Return Code: 2
2020-04-07 07:23:33 | Ansible execution failed. playbook: /usr/share/ansible/tripleo-playbooks/cli-update-params.yaml, Run Status: failed, Return Code: 2
2020-04-07 07:23:33 | + status_code=1
2020-04-07 07:23:33 | + openstack stack list
2020-04-07 07:23:33 | + grep -q overcloud
2020-04-07 07:23:36 | + echo 'overcloud deployment not started. Check the deploy configurations'
2020-04-07 07:23:36 | overcloud deployment not started. Check the deploy configurations
2020-04-07 07:23:36 | + exit 1
~~~

Tags: alert
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :
Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.