Skip to content

Instantly share code, notes, and snippets.

@dlanderson
Created February 16, 2014 05:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlanderson/85787ee7a21f55873f2e to your computer and use it in GitHub Desktop.
Save dlanderson/85787ee7a21f55873f2e to your computer and use it in GitHub Desktop.
(salt-dev)root@web1:/# salt-call saltutil.sync_all
[WARNING ] Although 'dmidecode' was found in path, the current user cannot execute it. Grains output might not be accurate.
[WARNING ] Although 'lspci' was found in path, the current user cannot execute it. Grains output might not be accurate.
[WARNING ] /root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/loader.py:853: DeprecationWarning: The 'salt.loaded.int.module.deb_apache' module is renaming itself in it's __virtual__() function (deb_apache => apache). Please set it's virtual name as the '__virtualname__' module attribute. Example: "__virtualname__ = 'apache'"
virtual
[WARNING ] Although 'dmidecode' was found in path, the current user cannot execute it. Grains output might not be accurate.
[WARNING ] Although 'lspci' was found in path, the current user cannot execute it. Grains output might not be accurate.
[INFO ] Loading fresh modules for state activity
[INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://top.sls'
[INFO ] Creating module dir '/var/cache/salt/minion/extmods/modules'
[INFO ] Syncing modules for environment 'base'
[INFO ] Loading cache from salt://_modules, for base)
[INFO ] Caching directory '_modules/' for environment 'base'
[INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://_modules/environ.py'
[INFO ] Copying '/var/cache/salt/minion/files/base/_modules/environ.py' to '/var/cache/salt/minion/extmods/modules/environ.py'
[INFO ] Loading fresh modules for state activity
[INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://top.sls'
[INFO ] Creating module dir '/var/cache/salt/minion/extmods/states'
[INFO ] Syncing states for environment 'base'
[INFO ] Loading cache from salt://_states, for base)
[INFO ] Caching directory '_states/' for environment 'base'
[INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://_states/environ.py'
[INFO ] Copying '/var/cache/salt/minion/files/base/_states/environ.py' to '/var/cache/salt/minion/extmods/states/environ.py'
[INFO ] Loading fresh modules for state activity
[INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://top.sls'
[INFO ] Creating module dir '/var/cache/salt/minion/extmods/grains'
[INFO ] Syncing grains for environment 'base'
[INFO ] Loading cache from salt://_grains, for base)
[INFO ] Caching directory '_grains/' for environment 'base'
[INFO ] Loading fresh modules for state activity
[INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://top.sls'
[INFO ] Creating module dir '/var/cache/salt/minion/extmods/renderers'
[INFO ] Syncing renderers for environment 'base'
[INFO ] Loading cache from salt://_renderers, for base)
[INFO ] Caching directory '_renderers/' for environment 'base'
[INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://_renderers/nacl_renderer.py'
[INFO ] Copying '/var/cache/salt/minion/files/base/_renderers/nacl_renderer.py' to '/var/cache/salt/minion/extmods/renderers/nacl_renderer.py'
[INFO ] Loading fresh modules for state activity
[INFO ] Found minion id from getfqdn(): web1.minion.net
[WARNING ] Although 'dmidecode' was found in path, the current user cannot execute it. Grains output might not be accurate.
[WARNING ] Although 'lspci' was found in path, the current user cannot execute it. Grains output might not be accurate.
[INFO ] NaCl renderer available
[INFO ] NaCl renderer available
[INFO ] NaCl renderer available
[ERROR ] An un-handled exception was caught by salt's global exception handler:
ValueError: unknown url type: top.sls
Traceback (most recent call last):
File "/root/virtualenv/salt-dev/bin/salt-call", line 11, in <module>
salt_call()
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/scripts.py", line 82, in salt_call
client.run()
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/cli/__init__.py", line 314, in run
caller.run()
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/cli/caller.py", line 144, in run
ret = self.call()
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/cli/caller.py", line 82, in call
ret['return'] = func(*args, **kwargs)
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/modules/saltutil.py", line 337, in sync_all
ret['returners'] = sync_returners(saltenv, False)
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/modules/saltutil.py", line 295, in sync_returners
ret = _sync('returners', saltenv)
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/modules/saltutil.py", line 50, in _sync
top = st_.get_top()
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/state.py", line 2031, in get_top
tops = self.get_tops()
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/state.py", line 1907, in get_tops
saltenv
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/fileclient.py", line 143, in cache_file
return self.get_url(path, '', True, saltenv)
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/fileclient.py", line 540, in get_url
with contextlib.closing(url_open(fixed_url)) as srcfp:
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 393, in open
protocol = req.get_type()
File "/usr/lib/python2.7/urllib2.py", line 255, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: top.sls
Traceback (most recent call last):
File "/root/virtualenv/salt-dev/bin/salt-call", line 11, in <module>
salt_call()
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/scripts.py", line 82, in salt_call
client.run()
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/cli/__init__.py", line 314, in run
caller.run()
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/cli/caller.py", line 144, in run
ret = self.call()
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/cli/caller.py", line 82, in call
ret['return'] = func(*args, **kwargs)
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/modules/saltutil.py", line 337, in sync_all
ret['returners'] = sync_returners(saltenv, False)
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/modules/saltutil.py", line 295, in sync_returners
ret = _sync('returners', saltenv)
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/modules/saltutil.py", line 50, in _sync
top = st_.get_top()
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/state.py", line 2031, in get_top
tops = self.get_tops()
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/state.py", line 1907, in get_tops
saltenv
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/fileclient.py", line 143, in cache_file
return self.get_url(path, '', True, saltenv)
File "/root/virtualenv/salt-dev/local/lib/python2.7/site-packages/salt/fileclient.py", line 540, in get_url
with contextlib.closing(url_open(fixed_url)) as srcfp:
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 393, in open
protocol = req.get_type()
File "/usr/lib/python2.7/urllib2.py", line 255, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: top.sls
@dlanderson
Copy link
Author

Running on salt commit 519ceec

@borgstrom
Copy link

Are you sure this is nacl causing this? Can you uninstall nacl and see if it persists? I doesn't touch any nacl code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment