Closed
Labels
bugbroken, incorrect, or confusing behaviorfixed-pls-verifyfix is linked, bug author to confirm fixseverity-low4th level, cosemtic problems, work around exists
Milestone
Description
upgraded to 2014.1.11 from 2014.1.0 and received the following error:
[CRITICAL] Rendering SLS "base:slave" failed: Jinja variable 'dict object' has
o attribute 'TSF'; line 89
---
[...]
- reload: True
- require:
- cmd: Create-{{slaveServiceDisplay}}
- cmd: Change-{{slaveServiceDisplay}}-Startname
- watch:
- file: {{slaveBaseDir}}\jenkins-slave.xml <======================
---
local:
Data failed to compile:
----------
Rendering SLS "base:slave" failed: Jinja variable 'dict object' has no attr
bute 'TSF'; line 89
reverted to 2014.1.1, no error, same (unchanged) content in state file:
{{slaveBaseDir}}\jenkins-slave.xml:
file:
- managed
- template: jinja
- source: salt://templates/jenkins-slave/jenkins-slave.xml
- context:
EXECUTABLE: 'C:\Program Files (x86)\Java\jre7\bin\java.exe'
BASE: {{slaveBaseDir}}
SERVICE_NAME: {{slaveServiceName}}
DISPLAYNAME: {{slaveServiceDisplay}}
DESCRIPTION: 'This service runs a slave for Jenkins continuous integration system.'
TS: {{ pillar['TSF'] }}
TSPW: {{ pillar['TSP'] }}
HOSTNAME: {{ pillar['hostname'] }}
JENKINSURL: {{ pillar['jenkinsurl'] }}
SLAVESECRET: {{ pillar['slavesecret'] }}
- require:
- file: {{slaveBaseDir}}
Metadata
Metadata
Assignees
Labels
bugbroken, incorrect, or confusing behaviorfixed-pls-verifyfix is linked, bug author to confirm fixseverity-low4th level, cosemtic problems, work around exists
Activity
[-]latest salt-minion 2014.1.11 reporting jinja error where previous versions did not.[/-][+]latest windows salt-minion 2014.1.11 reporting jinja error where previous versions did not.[/+]cachedout commentedon Oct 17, 2014
This may be related to #16656. Can you test against 2014.1.12 please?
emmellee commentedon Oct 20, 2014
Unfortunately I won't be able to do that on my masterless windows minions without a 2012.1.12 windows install executable. I don't have the resources to extract directly from github repo. Will the windows installation page have the 2012.1.12 version available soon?
emmellee commentedon Oct 20, 2014
*2014.1.12
rallytime commentedon Oct 21, 2014
Thanks for the update @emmellee! We had a regression in 2014.1.11 that affected masterless pillars which was fixed it in 2014.1.12. Unfortunately, there was a problem with salt-cloud in 2014.1.12, so we had to start the testing/packaging process over. 2014.1.13 is forth-coming with the fix for this regression and for salt-cloud as soon as we have the packages ready to go.
rallytime commentedon Nov 5, 2014
@emmellee Have you had a chance to test this on 2014.1.13?
emmellee commentedon Nov 5, 2014
Unfortunately, I see only 2014.1.11 windows installer available...
-----Original Message-----
From: Nicole Thomas [mailto:[email protected]]
Sent: Wednesday, November 05, 2014 11:46 AM
To: saltstack/salt
Cc: Eller, Michelle L CIV DISA ESD (US)
Subject: Re: [salt] latest windows salt-minion 2014.1.11 reporting jinja error where previous versions did not. (#16727)
@emmellee https://github.com/emmellee Have you had a chance to test this on 2014.1.13?
—
Reply to this email directly or view it on GitHub #16727 (comment) . https://github.com/notifications/beacon/AExMH9PHDY0LAQ9LmPTHsQXO8uX1UbiPks5nKlnQgaJpZM4CwGP7.gif
rallytime commentedon Nov 5, 2014
Oh! Are you checking on the docs? We'll fix that link! In the mean time, you can grab those packages from: http://docs.saltstack.com/downloads/
rallytime commentedon Nov 5, 2014
@emmellee I've updated the docs with #17216. Those links will show up within the next day or so. Sorry for the confusion there!
emmellee commentedon Nov 6, 2014
Thank you for that link, Nicole. I wasn't aware of it - I've always used http://docs.saltstack.com/en/latest/topics/installation/windows.html
I'll try 2014.1.13 as you suggest...
-----Original Message-----
From: Nicole Thomas [mailto:[email protected]]
Sent: Wednesday, November 05, 2014 4:27 PM
To: saltstack/salt
Cc: Eller, Michelle L CIV DISA ESD (US)
Subject: Re: [salt] latest windows salt-minion 2014.1.11 reporting jinja error where previous versions did not. (#16727)
Oh! Are you checking on the docs? We'll fix that link! In the mean time, you can grab those packages from: http://docs.saltstack.com/downloads/
—
Reply to this email directly or view it on GitHub #16727 (comment) . https://github.com/notifications/beacon/AExMH6ZBJykX9z20ubb4EQkNxFrRY7_Kks5nKpu6gaJpZM4CwGP7.gif
rallytime commentedon Nov 6, 2014
No problem! Let us know what you find out!
rallytime commentedon Nov 6, 2014
Oh, there are also 2014.7.0 windows packages available at that link as well, if you wanted to try that one instead.
rallytime commentedon Nov 18, 2014
@emmellee just a bump here. Were you able to try a newer version?
emmellee commentedon Jan 12, 2015
I tried installing 2014.7.0 and ran into issue number 19666
emmellee commentedon Jan 12, 2015
i also tried 2014.1.13 which also unpacked files to the root of my D: drive. I've uninstalled both, deleted the files, and reverted to 2014.1.1 which does not unpack files to the root of my D: drive.
rallytime commentedon Feb 24, 2015
@emmellee Ah, sorry I did not see your latest comments here. We're currently on release 2014.7.2 now - any chance you've given that a try yet? The releases on the 2014.7 branch have been MUCH more stable than the 2014.1 releases.
rallytime commentedon Mar 10, 2015
I am going to close this since we haven't heard back. If this remains a problem on newer releases, please leave a comment and we will be glad to give this another go.