Comments (3)
I need some more information to tell exactly why this is happenning. First
what is the salt id of your machines on which you are trying to install.
The reason why I ask this is There is a 'top.sls' file in the pillar roots.
That maps salt id to their pillar file. The pillar file are the ones where
all the dictionary items have been defined. So i would say your pillar
dictionary is not updated because it is not pointed to the correct pillar
file.
On Sun, Dec 22, 2013 at 2:33 AM, gstaicu [email protected] wrote:
Hello,
Really nice work. Thank you.
I am trying to test the automatically deployment of openstack using salt
but I receive an error:
On one of the minion:
root@hawk:~# salt-call state.highstate -l debug
the message is:
local:
Data failed to compile:Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/salt/state.py", line 2349, in
call_highstate
top = self.get_top()
File "/usr/lib/pymodules/python2.7/salt/state.py", line 1926, in get_top
tops = self.get_tops()
File "/usr/lib/pymodules/python2.7/salt/state.py", line 1809, in get_tops
env=env
File "/usr/lib/pymodules/python2.7/salt/template.py", line 69, in
compile_template
ret = render(input_data, env, sls, **render_kwargs)
File "/usr/lib/pymodules/python2.7/salt/renderers/jinja.py", line 42, in
render
tmp_data.get('data', 'Unknown render error in jinja renderer')
SaltRenderError: Jinja variable 'dict object' has no attribute 'install';line 2
havana:
{% for cluster_component in pillar['install'] %} <======================
{% for server in pillar[cluster_component] %}
{{ server }}:
{% for sls in pillar['install'][cluster_component] %}
- {{ sls }}
{% endfor %}
[...]On the salt-master I configured:
file_roots:
base:
- /srv/salt/
havana:- /srv/havana/file
pillar_roots:
base:- /srv/pillar
havana:- /srv/havana/pillar
The project I put in /srv/havana
Thanks a lot,
Gabriel—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.
from openstack-automation.
Sorry for delay. I need some more information to tell exactly why this is happening. First what is the salt id of your machines on which you are trying to install. The reason why I ask this is There is a 'top.sls' file in the pillar roots. That maps salt id to their pillar file. The pillar file are the ones where all the dictionary items have been defined. So i would say your pillar dictionary is not updated because it is not pointed to the correct pillar file.
from openstack-automation.
Please use the latest formulas
from openstack-automation.
Related Issues (20)
- Comment: State ini.options_present found in sls mysql is unavailable HOT 3
- glance_sync step fails on debian deployment. HOT 4
- Use mariadb instead of mysql HOT 2
- Support for icehouse installation HOT 3
- I want to talk about CSSCorps/openstack-automation repo at OSCON HOT 1
- neutron/ml2.sls fails when run twice HOT 1
- horizon/init.sls looks for conf-enabled when it should be sites-enabled HOT 1
- Activate ssl version of dashboard by default HOT 1
- have example pillars in the repo so pillars aren't tracked by git HOT 2
- implement cinder deployment HOT 2
- Provide documentation to use with gitfs HOT 2
- Changes to be ammended to this repo HOT 1
- Add a single node nova.conf state file. HOT 4
- Release versions of this project HOT 2
- No License on this Project HOT 1
- Merge efforts with salt-openstack HOT 1
- neutron module passes profile setting onto command so fails on many HOT 1
- license change request from GPL to apache 2
- Latest OpenStack release version
- Are these states actually being used? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openstack-automation.