[Deepsea-users] Installing SES4 with Salt
Joshua Schmid
jschmid at suse.de
Thu Feb 2 07:24:13 MST 2017
Hey Thomas,
On 02/02/2017 03:18 PM, Thomas Graetz wrote:
> Hi,
>
> I try to install SES4 with Salt but when I run "salt-run state.orch ceph.stage.3" the following error message shows up:
>
> Any ideas?
looks very much like this: github.com/SUSE/DeepSea/issues/50
fix for this is here: https://github.com/SUSE/DeepSea/pull/51
what's your salt version?
>
>
> [ERROR ] Rendering exception occurred: Jinja error: runner() got multiple values for keyword argument 'name'
> Traceback (most recent call last):
> File "/usr/lib/python2.7/site-packages/salt/utils/templates.py", line 368, in render_jinja_tmpl
> output = template.render(**decoded_context)
> File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 989, in render
> return self.environment.handle_exception(exc_info, True)
> File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 754, in handle_exception
> reraise(exc_type, exc_value, tb)
> File "<template>", line 4, in top-level template code
> TypeError: runner() got multiple values for keyword argument 'name'
>
> ; line 4
>
> ---
>
> {% set FAIL_ON_WARNING = salt['pillar.get']('FAIL_ON_WARNING', 'True') %}
>
> {% if salt['saltutil.runner']('ready.check', name='ceph', fail_on_warning=FAIL_ON_WARNING) == False %} <======================
> ready check failed:
> salt.state:
> - name: "Fail on Warning is True"
> - tgt: {{ salt['pillar.get']('master_minion') }}
> - failhard: True
> [...]
> ---
> [CRITICAL] Rendering SLS 'base:ceph.stage.3.default' failed: Jinja error: runner() got multiple values for keyword argument 'name'
> Traceback (most recent call last):
> File "/usr/lib/python2.7/site-packages/salt/utils/templates.py", line 368, in render_jinja_tmpl
> output = template.render(**decoded_context)
> File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 989, in render
> return self.environment.handle_exception(exc_info, True)
> File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 754, in handle_exception
> reraise(exc_type, exc_value, tb)
> File "<template>", line 4, in top-level template code
> TypeError: runner() got multiple values for keyword argument 'name'
>
> ; line 4
>
> ---
>
> {% set FAIL_ON_WARNING = salt['pillar.get']('FAIL_ON_WARNING', 'True') %}
>
> {% if salt['saltutil.runner']('ready.check', name='ceph', fail_on_warning=FAIL_ON_WARNING) == False %} <======================
> ready check failed:
> salt.state:
> - name: "Fail on Warning is True"
> - tgt: {{ salt['pillar.get']('master_minion') }}
> - failhard: True
> [...]
> ---
> salt.site.tld_master:
> Data failed to compile:
> ----------
> Rendering SLS 'base:ceph.stage.3.default' failed: Jinja error: runner() got multiple values for keyword argument 'name'
> Traceback (most recent call last):
> File "/usr/lib/python2.7/site-packages/salt/utils/templates.py", line 368, in render_jinja_tmpl
> output = template.render(**decoded_context)
> File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 989, in render
> return self.environment.handle_exception(exc_info, True)
> File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 754, in handle_exception
> reraise(exc_type, exc_value, tb)
> File "<template>", line 4, in top-level template code
> TypeError: runner() got multiple values for keyword argument 'name'
>
> ; line 4
>
> ---
>
> {% set FAIL_ON_WARNING = salt['pillar.get']('FAIL_ON_WARNING', 'True') %}
>
> {% if salt['saltutil.runner']('ready.check', name='ceph', fail_on_warning=FAIL_ON_WARNING) == False %} <======================
> ready check failed:
> salt.state:
> - name: "Fail on Warning is True"
> - tgt: {{ salt['pillar.get']('master_minion') }}
> - failhard: True
> [...]
> ---
>
>
>
> _______________________________________________
> Deepsea-users mailing list
> Deepsea-users at lists.suse.com
> http://lists.suse.com/mailman/listinfo/deepsea-users
>
--
Freundliche Grüße - Kind regards,
Joshua Schmid
SUSE Enterprise Storage
SUSE Linux GmbH - Maxfeldstr. 5 - 90409 Nürnberg
--------------------------------------------------------------------------------------------------------------------
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard,
Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)
--------------------------------------------------------------------------------------------------------------------
More information about the Deepsea-users
mailing list