Skip to content

Instantly share code, notes, and snippets.

@simong
Created August 29, 2013 11:13
Show Gist options
  • Select an option

  • Save simong/6376799 to your computer and use it in GitHub Desktop.

Select an option

Save simong/6376799 to your computer and use it in GitHub Desktop.
[root@37.153.104.210] out: Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/strftime.rb]/ensure: defined content as '{md5}e02e01a598ca5d7d6eee0ba22440304a'
[root@37.153.104.210] out: Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/chop.rb]/ensure: defined content as '{md5}4691a56e6064b792ed4575e4ad3f3d20'
[root@37.153.104.210] out: Notice: /File[/var/lib/puppet/lib/puppet/util/firewall.rb]/ensure: defined content as '{md5}071f574f08906d80b39fe0d1ddc14edf'
[root@37.153.104.210] out: Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/is_float.rb]/ensure: defined content as '{md5}f1b0d333061d31bf0c25bd4c33dc134b'
[root@37.153.104.210] out: Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/parsejson.rb]/ensure: defined content as '{md5}e7f968c34928107b84cd0860daf50ab1'
[root@37.153.104.210] out: Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/validate_cmd.rb]/ensure: defined content as '{md5}0319a15d24fd077ebabc2f79969f6ab5'
[root@37.153.104.210] out: Notice: /File[/var/lib/puppet/lib/puppet/type/rabbitmq_vhost.rb]/ensure: defined content as '{md5}9bbd7676d2611d0559a3f328376f730b'
[root@37.153.104.210] out: Notice: /File[/var/lib/puppet/lib/puppet/provider/rabbitmq_user/rabbitmqctl.rb]/ensure: defined content as '{md5}2e0ebb756216eba84ce2079c0db1af38'
[root@37.153.104.210] out: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to submit 'replace facts' command for search1 to PuppetDB at puppet:8081: Connection refused - connect(2)
[root@37.153.104.210] out: Warning: Not using cache on failed catalog
[root@37.153.104.210] out: Error: Could not retrieve catalog; skipping run
[root@37.153.104.210] out:
Warning: run() received nonzero return code 1 while executing 'puppet agent -t'!
[root@37.153.104.210] run: service puppet start
[root@37.153.104.210] out: * Starting puppet agent
[root@37.153.104.210] out: ...fail!
[root@37.153.104.210] out:
Fatal error: run() received nonzero return code 1 while executing!
Requested: service puppet start
Executed: /bin/bash -l -c "service puppet start"
Aborting.
!!! Parallel execution exception under host 'root@37.153.104.198':
Process root@37.153.104.198:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/tasks.py", line 233, in inner
submit(task.run(*args, **kwargs))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/tasks.py", line 171, in run
return self.wrapped(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/decorators.py", line 181, in inner
return func(*args, **kwargs)
File "/opt/sakai/oae/repos/oae-provisioning/fabfile/puppet/__init__.py", line 10, in run
stop()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/tasks.py", line 168, in __call__
return self.run(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/tasks.py", line 171, in run
return self.wrapped(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/decorators.py", line 181, in inner
return func(*args, **kwargs)
File "/opt/sakai/oae/repos/oae-provisioning/fabfile/puppet/__init__.py", line 19, in stop
fabric.api.run('service puppet stop')
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/network.py", line 578, in host_prompting_wrapper
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/operations.py", line 1042, in run
shell_escape=shell_escape)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/operations.py", line 909, in _run_command
channel=default_channel(), command=wrapped_command, pty=pty,
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/state.py", line 387, in default_channel
chan = _open_session()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/state.py", line 379, in _open_session
return connections[env.host_string].get_transport().open_session()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/network.py", line 118, in __getitem__
self.connect(key)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/network.py", line 110, in connect
self[key] = connect(user, host, port, sock)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/network.py", line 504, in connect
raise NetworkError(msg, e)
NetworkError: Timed out trying to connect to 37.153.104.198 (tried 6 times)
!!! Parallel execution exception under host 'root@37.153.104.196':
Process root@37.153.104.196:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/tasks.py", line 233, in inner
submit(task.run(*args, **kwargs))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/tasks.py", line 171, in run
return self.wrapped(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/decorators.py", line 181, in inner
return func(*args, **kwargs)
File "/opt/sakai/oae/repos/oae-provisioning/fabfile/puppet/__init__.py", line 10, in run
stop()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/tasks.py", line 168, in __call__
return self.run(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/tasks.py", line 171, in run
return self.wrapped(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/decorators.py", line 181, in inner
return func(*args, **kwargs)
File "/opt/sakai/oae/repos/oae-provisioning/fabfile/puppet/__init__.py", line 19, in stop
fabric.api.run('service puppet stop')
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/network.py", line 578, in host_prompting_wrapper
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/operations.py", line 1042, in run
shell_escape=shell_escape)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/operations.py", line 909, in _run_command
channel=default_channel(), command=wrapped_command, pty=pty,
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/state.py", line 387, in default_channel
chan = _open_session()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/state.py", line 379, in _open_session
return connections[env.host_string].get_transport().open_session()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/network.py", line 118, in __getitem__
self.connect(key)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/network.py", line 110, in connect
self[key] = connect(user, host, port, sock)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/network.py", line 504, in connect
raise NetworkError(msg, e)
NetworkError: Timed out trying to connect to 37.153.104.196 (tried 6 times)
Fatal error: One or more hosts failed while executing task 'run'
Underlying exception:
Timed out trying to connect to 37.153.104.198 (tried 6 times)
Aborting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment