Project

General

Profile

Actions

action #151165

closed

salt-pillars-openqa pipeline fails

Added by tinita 12 months ago. Updated 12 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
2023-11-20
Due date:
% Done:

0%

Estimated time:

Description

Observation:

---
75worker32.oqa.prg2.suse.org:
76    Data failed to compile:
77----------
78    Rendering SLS 'base:openqa.openvswitch' failed: Jinja error: 'NoneType' object is not iterable
79Traceback (most recent call last):
80  File "/usr/lib/python3.6/site-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
81    output = template.render(**decoded_context)
82  File "/usr/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 76, in render
83    return original_render(self, *args, **kwargs)
84  File "/usr/lib/python3.6/site-packages/jinja2/environment.py", line 1008, in render
85    return self.environment.handle_exception(exc_info, True)
86  File "/usr/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
87    reraise(exc_type, exc_value, tb)
88  File "/usr/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
89    raise value.with_traceback(tb)
90  File "<template>", line 44, in top-level template code
91TypeError: 'NoneType' object is not iterable
92; line 44
93---
94[...]
95{%       do multihostworkers.append(host) %}
96{%     endif %}
97{%   endif %}
98# The class can be defined in both places (global X numbered workers) at the same time
99{%   if 'workers' in pillar['workerconf'][host] %}
100{%     for wnum in pillar['workerconf'][host]['workers'] %}    <======================
101{%       if multihostclass in pillar['workerconf'][host]['workers'][wnum]['WORKER_CLASS'] | default('undefined') %}
102{%         do multihostworkers.append(host) %}
103{%       endif %}
104{%     endfor %}
105{%   endif %}
106[...]
Actions #1

Updated by nicksinger 12 months ago

  • Assignee set to nicksinger
Actions #2

Updated by tinita 12 months ago

  • Status changed from New to In Progress
  • Assignee changed from nicksinger to tinita
Actions #5

Updated by tinita 12 months ago

  • Status changed from In Progress to Feedback
Actions #6

Updated by okurz 12 months ago

  • Status changed from Feedback to Resolved

Thank you. That should cover it. CI jobs green again.

Actions

Also available in: Atom PDF