http://bugzilla.opensuse.org/show_bug.cgi?id=1099700 Bug ID: 1099700 Summary: Kubic snapshot 20180618: Bootstrap Kubernetes cluster failed Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Kubic Assignee: kubic-bugs@opensuse.org Reporter: matthias.eliasson@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Bootstrap of Kubernetes cluster with Velum fail with following error from salt-minion on the nodes: Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: [ERROR ] Rendering exception occurred Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: Traceback (most recent call last): Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: File "/usr/lib/python3.6/site-packages/salt/modules/saltutil.py", line 81, in _get_top_file_envs Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: return __context__['saltutil._top_file_envs'] Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: File "/usr/lib/python3.6/site-packages/salt/utils/context.py", line 228, in __getitem__ Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: return self._dict()[key] Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: KeyError: 'saltutil._top_file_envs' Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: During handling of the above exception, another exception occurred: Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: Traceback (most recent call last): Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: File "/usr/lib/python3.6/site-packages/salt/utils/templates.py", line 380, in render_jinja_tmpl Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: output = template.render(**decoded_context) Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: File "/usr/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 76, in render Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: return original_render(self, *args, **kwargs) Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: File "/usr/lib/python3.6/site-packages/jinja2/environment.py", line 1008, in render Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: return self.environment.handle_exception(exc_info, True) Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: File "/usr/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: reraise(exc_type, exc_value, tb) Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: File "/usr/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: raise value.with_traceback(tb) Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: File "<template>", line 10, in top-level template code Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: File "/usr/lib/python3.6/site-packages/jinja2/environment.py", line 430, in getattr Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: return getattr(obj, attribute) Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: jinja2.exceptions.UndefinedError: 'salt.utils.templates.AliasedLoader object' has no attribute 'caasp_nodes' Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: During handling of the above exception, another exception occurred: Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: Traceback (most recent call last): Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: File "/usr/lib/python3.6/site-packages/salt/utils/templates.py", line 169, in render_tmpl Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: output = render_str(tmplstr, context, tmplpath) Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: File "/usr/lib/python3.6/site-packages/salt/utils/templates.py", line 390, in render_jinja_tmpl Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: buf=tmplstr) Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: salt.exceptions.SaltRenderError: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'caasp_nodes' Jun 29 13:55:22 labb-kubic-master01 salt-minion[2766]: [ERROR ] Unable to render top file: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'caasp_nodes' Jun 29 13:55:27 labb-kubic-master01 salt-minion[2766]: [CRITICAL] The beacon errored: Jun 29 13:55:27 labb-kubic-master01 salt-minion[2766]: Traceback (most recent call last): Jun 29 13:55:27 labb-kubic-master01 salt-minion[2766]: File "/usr/lib/python3.6/site-packages/salt/minion.py", line 2484, in handle_beacons Jun 29 13:55:27 labb-kubic-master01 salt-minion[2766]: beacons = self.process_beacons(self.functions) Jun 29 13:55:27 labb-kubic-master01 salt-minion[2766]: File "/usr/lib/python3.6/site-packages/salt/minion.py", line 444, in process_beacons Jun 29 13:55:27 labb-kubic-master01 salt-minion[2766]: return self.beacons.process(b_conf, self.opts['grains']) # pylint: disable=no-member Jun 29 13:55:27 labb-kubic-master01 salt-minion[2766]: File "/usr/lib/python3.6/site-packages/salt/beacons/__init__.py", line 112, in process Jun 29 13:55:27 labb-kubic-master01 salt-minion[2766]: raw = self.beacons[fun_str](b_config[mod]) Jun 29 13:55:27 labb-kubic-master01 salt-minion[2766]: File "/var/cache/salt/minion/extmods/beacons/default_network_interface_settings.py", line 48, in beacon Jun 29 13:55:27 labb-kubic-master01 salt-minion[2766]: return network_settings.beacon({default_interface: config['watch']}) Jun 29 13:55:27 labb-kubic-master01 salt-minion[2766]: File "/usr/lib/python3.6/site-packages/salt/beacons/network_settings.py", line 134, in beacon Jun 29 13:55:27 labb-kubic-master01 salt-minion[2766]: list(map(_config.update, config)) Jun 29 13:55:27 labb-kubic-master01 salt-minion[2766]: ValueError: dictionary update sequence element #0 has length 1; 2 is required -- You are receiving this mail because: You are the assignee for the bug.