Skip to content

Instantly share code, notes, and snippets.

@tateeskew
Created June 21, 2013 18:15
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 tateeskew/5833161 to your computer and use it in GitHub Desktop.
Save tateeskew/5833161 to your computer and use it in GitHub Desktop.
This appears when trying to build a map from a map file. salt-cloud -m /path/to/mapfile salt-cloud creates the node, but this starts shortly after.
[ERROR ] Failed to execute command 'date': [Errno 12] Cannot allocate memory
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/saltcloud/utils/__init__.py", line 764, in root_cmd
stream_stds=kwargs.get('display_ssh_output', True),
File "/usr/local/lib/python2.7/dist-packages/saltcloud/utils/nb_popen.py", line 28, in __init__
super(NonBlockingPopen, self).__init__(*args, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1143, in _execute_child
self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment