CloudyKangaroo / puppet-cloudykangaroo

Service Provider Management w/Sensu, Puppet and Ubersmith
http://cloudykangaroo.github.io/cloudykangaroo/
MIT License
4 stars 5 forks source link

When puppetDB isn't reachable bad things happen #67

Closed johann8384 closed 10 years ago

johann8384 commented 10 years ago

error: uncaughtException: Cannot read property 'body' of undefined date=Fri Feb 07 2014 14:43:15 GMT-0600 (CST), pid=24473, uid=1120, gid=100, cwd=/home/jonathan.creasy/code/cloudykangaroo, execPath=/home/jonathan.creasy/.local/bin/node, version=v0.10.22, argv=[node, /home/jonathan.creasy/code/cloudykangaroo/app.js], rss=212930560, heapTotal=172744704, heapUsed=117817464, loadavg=[1.44921875, 1.4521484375, 1.677734375], uptime=56147.941816829, trace=[column=44, file=/home/jonathan.creasy/code/cloudykangaroo/app.js, function=Request._callback, line=484, method=_callback, native=false, column=22, file=/home/jonathan.creasy/code/cloudykangaroo/node_modules/request/request.js, function=self.callback, line=129, method=callback, native=false, column=17, file=events.js, function=Request.EventEmitter.emit, line=95, method=EventEmitter.emit, native=false, column=10, file=/home/jonathan.creasy/code/cloudykangaroo/node_modules/request/request.js, function=ClientRequest.self.clientErrorHandler, line=239, method=self.clientErrorHandler, native=false, column=17, file=events.js, function=ClientRequest.EventEmitter.emit, line=95, method=EventEmitter.emit, native=false, column=9, file=http.js, function=Socket.socketErrorListener, line=1547, method=socketErrorListener, native=false, column=17, file=events.js, function=Socket.EventEmitter.emit, line=95, method=EventEmitter.emit, native=false, column=14, file=net.js, function=null, line=441, method=null, native=false, column=13, file=node.js, function=process._tickCallback, line=415, method=_tickCallback, native=false], stack=[TypeError: Cannot read property 'body' of undefined, at Request._callback (/home/jonathan.creasy/code/cloudykangaroo/app.js:484:44), at self.callback (/home/jonathan.creasy/code/cloudykangaroo/node_modules/request/request.js:129:22), at Request.EventEmitter.emit (events.js:95:17), at ClientRequest.self.clientErrorHandler (/home/jonathan.creasy/code/cloudykangaroo/node_modules/request/request.js:239:10), at ClientRequest.EventEmitter.emit (events.js:95:17), at Socket.socketErrorListener (http.js:1547:9), at Socket.EventEmitter.emit (events.js:95:17), at net.js:441:14, at process._tickCallback (node.js:415:13)] error: uncaughtException: Cannot read property 'body' of undefined date=Fri Feb 07 2014 14:43:15 GMT-0600 (CST), pid=24473, uid=1120, gid=100, cwd=/home/jonathan.creasy/code/cloudykangaroo, execPath=/home/jonathan.creasy/.local/bin/node, version=v0.10.22, argv=[node, /home/jonathan.creasy/code/cloudykangaroo/app.js], rss=212996096, heapTotal=172744704, heapUsed=118440832, loadavg=[1.44921875, 1.4521484375, 1.677734375], uptime=56147.948824091, trace=[column=44, file=/home/jonathan.creasy/code/cloudykangaroo/app.js, function=Request._callback, line=484, method=_callback, native=false, column=22, file=/home/jonathan.creasy/code/cloudykangaroo/node_modules/request/request.js, function=self.callback, line=129, method=callback, native=false, column=17, file=events.js, function=Request.EventEmitter.emit, line=95, method=EventEmitter.emit, native=false, column=10, file=/home/jonathan.creasy/code/cloudykangaroo/node_modules/request/request.js, function=ClientRequest.self.clientErrorHandler, line=239, method=self.clientErrorHandler, native=false, column=17, file=events.js, function=ClientRequest.EventEmitter.emit, line=95, method=EventEmitter.emit, native=false, column=9, file=http.js, function=Socket.socketErrorListener, line=1547, method=socketErrorListener, native=false, column=17, file=events.js, function=Socket.EventEmitter.emit, line=95, method=EventEmitter.emit, native=false, column=14, file=net.js, function=null, line=441, method=null, native=false, column=13, file=node.js, function=process._tickCallback, line=415, method=_tickCallback, native=false], stack=[TypeError: Cannot read property 'body' of undefined, at Request._callback (/home/jonathan.creasy/code/cloudykangaroo/app.js:484:44), at self.callback (/home/jonathan.creasy/code/cloudykangaroo/node_modules/request/request.js:129:22), at Request.EventEmitter.emit (events.js:95:17), at ClientRequest.self.clientErrorHandler (/home/jonathan.creasy/code/cloudykangaroo/node_modules/request/request.js:239:10), at ClientRequest.EventEmitter.emit (events.js:95:17), at Socket.socketErrorListener (http.js:1547:9), at Socket.EventEmitter.emit (events.js:95:17), at net.js:441:14, at process._tickCallback (node.js:415:13)] error: uncaughtException: Cannot read property 'body' of undefined date=Fri Feb 07 2014 14:43:15 GMT-0600 (CST), pid=24473, uid=1120, gid=100, cwd=/home/jonathan.creasy/code/cloudykangaroo, execPath=/home/jonathan.creasy/.local/bin/node, version=v0.10.22, argv=[node, /home/jonathan.creasy/code/cloudykangaroo/app.js], rss=213004288, heapTotal=172744704, heapUsed=118658208, loadavg=[1.44921875, 1.4521484375, 1.677734375], uptime=56147.950361249, trace=[column=44, file=/home/jonathan.creasy/code/cloudykangaroo/app.js, function=Request._callback, line=484, method=_callback, native=false, column=22, file=/home/jonathan.creasy/code/cloudykangaroo/node_modules/request/request.js, function=self.callback, line=129, method=callback, native=false, column=17, file=events.js, function=Request.EventEmitter.emit, line=95, method=EventEmitter.emit, native=false, column=10, file=/home/jonathan.creasy/code/cloudykangaroo/node_modules/request/request.js, function=ClientRequest.self.clientErrorHandler, line=239, method=self.clientErrorHandler, native=false, column=17, file=events.js, function=ClientRequest.EventEmitter.emit, line=95, method=EventEmitter.emit, native=false, column=9, file=http.js, function=Socket.socketErrorListener, line=1547, method=socketErrorListener, native=false, column=17, file=events.js, function=Socket.EventEmitter.emit, line=95, method=EventEmitter.emit, native=false, column=14, file=net.js, function=null, line=441, method=null, native=false, column=13, file=node.js, function=process._tickCallback, line=415, method=_tickCallback, native=false], stack=[TypeError: Cannot read property 'body' of undefined, at Request._callback (/home/jonathan.creasy/code/cloudykangaroo/app.js:484:44), at self.callback (/home/jonathan.creasy/code/cloudykangaroo/node_modules/request/request.js:129:22), at Request.EventEmitter.emit (events.js:95:17), at ClientRequest.self.clientErrorHandler (/home/jonathan.creasy/code/cloudykangaroo/node_modules/request/request.js:239:10), at ClientRequest.EventEmitter.emit (events.js:95:17), at Socket.socketErrorListener (http.js:1547:9), at Socket.EventEmitter.emit (events.js:95:17), at net.js:441:14, at process._tickCallback (node.js:415:13)] error: invalid response from puppet error: could not get all device data connect ETIMEDOUT code=ETIMEDOUT, errno=ETIMEDOUT, syscall=connect, type=applog, username=jonathan.creasy, eventID=497720a2-0065-4365-b517-55b14066d517, requestID=649f8e1f2b7942bebf37b8d1a951879b, sessionID=FB93V82jg6a9O4n0RvskOrMg

johann8384 commented 10 years ago

Fixed.