Skip to content

Instantly share code, notes, and snippets.

@tlk2126
Created March 28, 2014 17:35
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 tlk2126/9838351 to your computer and use it in GitHub Desktop.
Save tlk2126/9838351 to your computer and use it in GitHub Desktop.
ID: /home
Function: mount.mounted
Result: False
Comment: An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/salt/state.py", line 1372, in call
self.verify_ret(ret)
File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.6/site-packages/salt/utils/context.py", line 43, in func_globals_inject
yield
File "/usr/lib/python2.6/site-packages/salt/state.py", line 1371, in call
**cdata['kwargs'])
File "/usr/lib/python2.6/site-packages/salt/states/mount.py", line 97, in mounted
if active[real_name]['alt_device'] not in device_list:
KeyError: 'alt_device'
Changes:
Salt: 2014.1.0
Python: 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
Jinja2: unknown
M2Crypto: 0.20.2
msgpack-python: 0.1.13
msgpack-pure: Not Installed
pycrypto: 2.0.1
PyYAML: 3.10
PyZMQ: 2.2.0.1
ZMQ: 3.2.4
/home:
mount:
- mounted
- device: {{ home_nfs }}
- fstype: nfs
- mkmnt: True
- opts:
- noatime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment