Closed ShashiKanthGitHub closed 4 years ago
Hello @shashscality, thanks for your bug report.
It seems that you're missing the configuration file at /etc/metalk8s/bootstrap.yaml
, or maybe missing the ca
section in said file (cannot check the exact code path at the moment).
Did you follow the quickstart guide from the docs after you built the ISO? Especially the configuration of your Bootstrap node
Clearly, the error message is not helpful at all, so I'll open another issue for this. Please keep us posted if the documentation helps you resolve the issue you're facing.
Hello @gdemonet ,
The issue caused due to bootstrap.yaml file syntax error. Sorry for the trouble. Thank you.
bootstrap.sh - salt:
2.4.2-dev bootstrap.sh is failing with the step 'Configuring Salt minion to run in local mode'.
== [ERROR ] Execption caught loading ext_pillar 'metalk8s': File "/usr/lib/python2.7/site-packages/salt/pillar/init.py", line 956, in ext_pillar key) File "/usr/lib/python2.7/site-packages/salt/pillar/init.py", line 895, in _external_pillar_data val) File "/var/cache/salt/minion/extmods/pillar/metalk8s.py", line 134, in ext_pillar 'ca': _load_ca(config), File "/var/cache/salt/minion/extmods/pillar/metalk8s.py", line 64, in _load_ca errors = utils['pillar_utils.assert_keys'](ca_data, ['minion']) File "/var/cache/salt/minion/extmods/utils/pillar_utils.py", line 48, in assert_keys if key not in source_dict:
[CRITICAL] Pillar render error: Failed to load ext_pillar metalk8s: argument of type 'NoneType' is not iterable [ERROR ] Execption caught loading ext_pillar 'metalk8s': File "/usr/lib/python2.7/site-packages/salt/pillar/init.py", line 956, in ext_pillar key) File "/usr/lib/python2.7/site-packages/salt/pillar/init.py", line 895, in _external_pillar_data val) File "/var/cache/salt/minion/extmods/pillar/metalk8s.py", line 134, in ext_pillar 'ca': _load_ca(config), File "/var/cache/salt/minion/extmods/pillar/metalk8s.py", line 64, in _load_ca errors = utils['pillar_utils.assert_keys'](ca_data, ['minion']) File "/var/cache/salt/minion/extmods/utils/pillar_utils.py", line 48, in assert_keys if key not in source_dict:
[CRITICAL] Pillar render error: Failed to load ext_pillar metalk8s: argument of type 'NoneType' is not iterable local: Data failed to compile:
<< END >>
2.4.2 bootstrap.sh script should complete without any errors:
built ISO file, mount it and execute bootstart.sh
Resolution proposal (optional):