[Deepsea-users] Installing SES4 with Salt

Jan Fajerski jfajerski at suse.com
Thu Feb 2 08:02:23 MST 2017


On Thu, Feb 02, 2017 at 02:53:50PM +0000, Thomas Graetz wrote:
>Hi,
>
>the version we are using is 2015.8.12

Assuming you have an older version of DeepSea, this salt version trigger this.  
The latest release carries this fix. To be found here:
https://build.opensuse.org/package/show/home:swiftgist/deepsea
>
>-----Ursprüngliche Nachricht-----
>Von: deepsea-users-bounces at lists.suse.com [mailto:deepsea-users-bounces at lists.suse.com] Im Auftrag von Joshua Schmid
>Gesendet: Donnerstag, 2. Februar 2017 15:24
>An: deepsea-users at lists.suse.com
>Betreff: Re: [Deepsea-users] Installing SES4 with Salt
>
>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)
>--------------------------------------------------------------------------------------------------------------------
>_______________________________________________
>Deepsea-users mailing list
>Deepsea-users at lists.suse.com
>http://lists.suse.com/mailman/listinfo/deepsea-users
>_______________________________________________
>Deepsea-users mailing list
>Deepsea-users at lists.suse.com
>http://lists.suse.com/mailman/listinfo/deepsea-users

-- 
Jan Fajerski
Engineer Enterprise Storage
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton,
HRB 21284 (AG Nürnberg)


More information about the Deepsea-users mailing list