derive paramters hci deploy fails Missing stack_data

Bug #1920212 reported by John Fulton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Committed
Medium
John Fulton

Bug Description

openstack overcloud -v deploy \
...
-p /usr/share/openstack-tripleo-heat-templates/plan-samples/plan-environment-derived-params.yaml \
...

....

PLAYBOOK: cli-derive-parameters.yaml *******************************************
1 plays in /usr/share/ansible/tripleo-playbooks/cli-derive-parameters.yaml

PLAY [Derive parameters] *******************************************************
2021-03-19 13:24:23.759987 | 244201a5-6fb3-1c2a-cbf6-000000000008 | TASK | Set local connection user facts
2021-03-19 13:24:23.785124 | 244201a5-6fb3-1c2a-cbf6-000000000008 | OK | Set local connection user facts | localhost | result={"ansible_facts": {"ansible_home": "/home/stack", "ansible_user": "stack"}, "changed": false}
2021-03-19 13:24:23.786080 | 244201a5-6fb3-1c2a-cbf6-000000000008 | TIMING | Set local connection user facts | localhost | 0:00:00.073369 | 0.03s
2021-03-19 13:24:23.789062 | 244201a5-6fb3-1c2a-cbf6-000000000009 | TASK | Ensure stack_data is set from tripleo_get_flatten_params if not overridden
2021-03-19 13:24:23.814029 | 244201a5-6fb3-1c2a-cbf6-000000000009 | OK | Ensure stack_data is set from tripleo_get_flatten_params if not overridden | localhost | result={"ansible_facts": {"stack_data": "tripleo_get_flatten_params.stack_data"}, "changed": false}
2021-03-19 13:24:23.814962 | 244201a5-6fb3-1c2a-cbf6-000000000009 | TIMING | Ensure stack_data is set from tripleo_get_flatten_params if not overridden | localhost | 0:00:00.102252 | 0.03s
2021-03-19 13:24:23.817975 | 244201a5-6fb3-1c2a-cbf6-00000000000a | TASK | Ensure role_list is set from tripleo_role_list if not overridden
2021-03-19 13:24:23.842501 | 244201a5-6fb3-1c2a-cbf6-00000000000a | OK | Ensure role_list is set from tripleo_role_list if not overridden | localhost | result={"ansible_facts": {"role_list": "tripleo_role_list.roles"}, "changed": false}
2021-03-19 13:24:23.843415 | 244201a5-6fb3-1c2a-cbf6-00000000000a | TIMING | Ensure role_list is set from tripleo_role_list if not overridden | localhost | 0:00:00.130705 | 0.02s
2021-03-19 13:24:23.847787 | 244201a5-6fb3-1c2a-cbf6-00000000000b | TASK | Derive params for each role
2021-03-19 13:24:23.862461 | 244201a5-6fb3-1c2a-cbf6-00000000000b | FATAL | Derive params for each role | localhost | error={"msg": "Invalid data passed to 'loop', it requires a list, got this instead: tripleo_role_list.roles. Hint: If you passed a list/dict of just one element, try adding wantlist=True to your lookup invocation or use q/query instead of lookup."}
2021-03-19 13:24:23.863337 | 244201a5-6fb3-1c2a-cbf6-00000000000b | TIMING | Derive params for each role | localhost | 0:00:00.150613 | 0.01s

NO MORE HOSTS LEFT *************************************************************

PLAY RECAP *********************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

Revision history for this message
John Fulton (jfulton-org) wrote :
Changed in tripleo:
importance: Undecided → Medium
Revision history for this message
Rabi Mishra (rabi) wrote :

I can't reproduce your error, looks like you're using some different playbook, but there were a few issues (a typo and when conditions) with the patch you mentioned which I've fixed with https://review.opendev.org/c/openstack/tripleo-ansible/+/781930

Revision history for this message
John Fulton (jfulton-org) wrote :

I'm not hitting this anymore when I use this patch:

 https://review.opendev.org/c/openstack/tripleo-ansible/+/781930

Revision history for this message
John Fulton (jfulton-org) wrote :
Changed in tripleo:
status: Triaged → Fix Committed
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.