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'.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Kevin Carter |
Bug Description
periodic-
ERROR Snippet
=============
~~~
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 -------
2020-04-07 07:23:32 | Check for required inputs -------
2020-04-07 07:23:32 | Set parameters fact -------
2020-04-07 07:23:33 | Ansible execution failed. playbook: /usr/share/
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/
2020-04-07 07:23:33 | super(Command, self).run(
2020-04-07 07:23:33 | File "/usr/lib/
2020-04-07 07:23:33 | return super(Command, self).run(
2020-04-07 07:23:33 | File "/usr/lib/
2020-04-07 07:23:33 | return_code = self.take_
2020-04-07 07:23:33 | File "/usr/lib/
2020-04-07 07:23:33 | self._deploy_
2020-04-07 07:23:33 | File "/usr/lib/
2020-04-07 07:23:33 | new_tht_root, tht_root)
2020-04-07 07:23:33 | File "/usr/lib/
2020-04-07 07:23:33 | deployment_
2020-04-07 07:23:33 | File "/usr/lib/
2020-04-07 07:23:33 | deployment_
2020-04-07 07:23:33 | File "/usr/lib/
2020-04-07 07:23:33 | stack_name, env, moved_files, tht_root)
2020-04-07 07:23:33 | File "/usr/lib/
2020-04-07 07:23:33 | "parameters": params
2020-04-07 07:23:33 | File "/usr/lib/
2020-04-07 07:23:33 | raise RuntimeError(
2020-04-07 07:23:33 | RuntimeError: Ansible execution failed. playbook: /usr/share/
2020-04-07 07:23:33 | Ansible execution failed. playbook: /usr/share/
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
~~~
Changed in tripleo: | |
assignee: | nobody → Sagi (Sergey) Shnaidman (sshnaidm) |
status: | Triaged → In Progress |
Changed in tripleo: | |
assignee: | Sagi (Sergey) Shnaidman (sshnaidm) → Kevin Carter (kevin-carter) |
Hello,
This seems like an issue in cli-update- params. yaml[0] which was introduced last week.
Last good run did not call "Update Parameters" task where deployment is currently failing. My suspect is - it was getting called earlier by mistral earlier and not by ansible.
When "update parameters mistral workflows" was removed [3] 3 days earlier, rdo check job also failed with same issue[4] :-
~~~ ******* ******* ******* ******* ******* ******* ******
2020-04-03 17:34:17 | TASK [Update parameters] *******
2020-04-03 17:34:17 | Friday 03 April 2020 17:34:17 +0000 (0:00:00.060) 0:00:00.249 **********
2020-04-03 17:34:19 | fatal: [localhost]: FAILED! => changed=false
2020-04-03 17:34:19 | msg: 'argument parameters is of type <class ''str''> and we were unable to convert to dict: unable to evaluate string as dictionary'
2020-04-03 17:34:19 |
~~~
[0] https:/ /review. opendev. org/#/c/ 716282/
[1] https:/ /github. com/openstack/ tripleo- ansible/ blob/master/ tripleo_ ansible/ playbooks/ cli-update- params. yaml
[2] https:/ /logserver. rdoproject. org/openstack- component- common/ opendev. org/openstack/ tripleo- ci/master/ periodic- tripleo- ci-centos- 8-ovb-3ctlr_ 1comp-featurese t001-clients- master/ 92747c6/ logs/undercloud /home/zuul/ overcloud_ deploy. log.txt. gz
[3] https:/ /review. opendev. org/#/c/ 716286/
[4] https:/ /logserver. rdoproject. org/86/ 716286/ 4/openstack- check/tripleo- ci-centos- 8-ovb-3ctlr_ 1comp-featurese t001-vexxhost/ 4d3fc63/ logs/undercloud /home/zuul/ overcloud_ deploy. log.txt. gz