Jinja variable 'dict object' has no attribute 'sulfur_app_name'

8 views
Skip to first unread message

Milton Carrillo

unread,
Sep 27, 2022, 11:53:35 AMSep 27
to Salt-users
Hi I am new to Salt. I am getting this error when running Salt. I can't find more information because Salt is running masterless. If I run the Salt state manually i get not errors but when I launch a new instance the error comes up and Salt does not apply my changes. I can provide the code if necessary.

Jinja variable 'dict object' has no attribute 'sulfur_app_name'
2022-09-27 14:29:01,345 [salt.pillar      :1224][CRITICAL][3661] Pillar render error: Rendering SLS 'celery-worker' failed. Please see master log for details

Vaarlion

unread,
Sep 28, 2022, 1:18:35 AMSep 28
to Salt-users
please do provide the celery-worker.sls and the output of your pillars (`salt-call pillar.get`), this is a jinja template issue, you might want to use website like TTL255 J2Live - Live Jinja2 Parser to check if the output is what you wanted

Milton Carrillo

unread,
Sep 28, 2022, 9:30:44 AMSep 28
to salt-...@googlegroups.com
This was a weird timing issue. I added a 5 minute delay after the launching the instance to run the salt state and now it works fine
Milton Carrillo  ||  Infrastructure Engineer  @  Kyruus, Inc
18 Tremont St. Suite 320, Boston, MA 02108
T: 617.419.2060 F: 855.7.KYRUUS www.kyruus.com 




--
You received this message because you are subscribed to a topic in the Google Groups "Salt-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/salt-users/whhvHprb0_g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to salt-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/3b57db06-90c0-4e01-9440-dd9f98ebfe64n%40googlegroups.com.

Any information contained in or attached to this e-mail is intended solely for the use of the intended recipient(s) and may contain certain information that is confidential, proprietary and/or legally privileged. If you are not the intended recipient, you may not review, copy or distribute this message. If you receive this in error, please notify the sender and destroy all copies of this message and attachments.
Reply all
Reply to author
Forward
0 new messages