Skip to content

Instantly share code, notes, and snippets.

@robhaswell
Created August 8, 2012 08:44
Show Gist options
  • Save robhaswell/3293536 to your computer and use it in GitHub Desktop.
Save robhaswell/3293536 to your computer and use it in GitHub Desktop.
sync-images output
chroot-website.com:/usr/local/share/php/symfony/config# logout
hybrid@htz138896:~$ hcl snapshot-image image-tpjenv
Taking snapshot version 10 of image tpjenv
Done, resulting images:
=== Available images ===
basejail @v0.7
php52apache @v0.9
twisted @v0.4
phpapache @v0.24
innodb @v0.3
templateimage @v0.1
tpjenv @v0.10
php54apache @v0.1
hybrid@htz138896:~$ hcl sync-images
LOCAL JAILS {'basejail': [1, 2, 3, 4, 5, 6, 7], 'php52apache': [1, 2, 3, 4, 5, 6, 7, 8, 9], 'twisted': [1, 2, 3, 4], 'phpapache': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], 'innodb': [3], 'templateimage': [1], 'tpjenv': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], 'php54apache': [1]}
Syncing images for 176.31.235.129
Syncing images for 178.33.229.130
Fully updating basejail from 4 to 7 on 176.31.235.129 ...
Fully updating tpjenv from 6 to 10 on 176.31.235.129 ...
Fully updating basejail from 4 to 7 on 178.33.229.130 ...
Fully updating tpjenv from 6 to 10 on 178.33.229.130 ...
Unexpected failure
Traceback (most recent call last):
Failure: twisted.internet.defer.FirstError: FirstError[#1, [Failure instance: Traceback: <class 'HybridUtils.CommandFailed'>: ('zfs send -I v0.6 hpool/jails/tpjenv@v0.10 | /usr/bin/env ssh -p 2222 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no hybrid@178.33.229.130 -i /home/hybrid/.ssh/id_rsa sudo zfs recv -d hpool: None: process ended with exit code 1.', "Warning: Permanently added '[178.33.229.130]:2222' (RSA) to the list of known hosts.\r\ncannot receive incremental stream: destination hpool/jails/tpjenv has been modified\nsince most recent snapshot\nwarning: cannot send 'hpool/jails/tpjenv@v0.7': Broken pipe\nwarning: cannot send 'hpool/jails/tpjenv@v0.8': Broken pipe\nwarning: cannot send 'hpool/jails/tpjenv@v0.9': Broken pipe\nwarning: cannot send 'hpool/jails/tpjenv@v0.10': Broken pipe\n")
/opt/HybridCluster/src/HybridUtils.py:1570:runNextCmd
/opt/HybridCluster/src/HybridUtils.py:1535:callback
/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py:368:callback
/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py:464:_startRunCallbacks
--- <exception caught here> ---
/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py:551:_runCallbacks
/opt/HybridCluster/src/HybridUtils.py:1529:process_results
]]
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "/opt/HybridCluster/src/HybridUtils.py", line 1570, in runNextCmd
self.callback(self.statuses, self.outputs)
File "/opt/HybridCluster/src/HybridUtils.py", line 1535, in callback
d.callback((statuses, outputs))
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py", line 368, in callback
self._startRunCallbacks(result)
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py", line 464, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py", line 551, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/opt/HybridCluster/src/HybridUtils.py", line 1529, in process_results
output, reason.value)
HybridUtils.CommandFailed: ('zfs send -I v0.6 hpool/jails/tpjenv@v0.10 | /usr/bin/env ssh -p 2222 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no hybrid@178.33.229.130 -i /home/hybrid/.ssh/id_rsa sudo zfs recv -d hpool: None: process ended with exit code 1.', "Warning: Permanently added '[178.33.229.130]:2222' (RSA) to the list of known hosts.\r\ncannot receive incremental stream: destination hpool/jails/tpjenv has been modified\nsince most recent snapshot\nwarning: cannot send 'hpool/jails/tpjenv@v0.7': Broken pipe\nwarning: cannot send 'hpool/jails/tpjenv@v0.8': Broken pipe\nwarning: cannot send 'hpool/jails/tpjenv@v0.9': Broken pipe\nwarning: cannot send 'hpool/jails/tpjenv@v0.10': Broken pipe\n")
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py", line 551, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py", line 800, in _cbDeferred
self.errback(failure.Failure(FirstError(result, index)))
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py", line 397, in errback
self._startRunCallbacks(fail)
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py", line 464, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py", line 551, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/opt/HybridCluster/src/hybridcluster/hcl/hcl.py", line 1136, in <lambda>
d.addCallback, lambda ignored: reactor.stop())
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/base.py", line 577, in stop
"Can't stop reactor that isn't running.")
twisted.internet.error.ReactorNotRunning: Can't stop reactor that isn't running.
hybrid@htz138896:~$ hcl sync-images
LOCAL JAILS {'basejail': [1, 2, 3, 4, 5, 6, 7], 'php52apache': [1, 2, 3, 4, 5, 6, 7, 8, 9], 'twisted': [1, 2, 3, 4], 'phpapache': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], 'innodb': [3], 'templateimage': [1], 'tpjenv': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], 'php54apache': [1]}
Syncing images for 176.31.235.129
Syncing images for 178.33.229.130
Fully updating tpjenv from 6 to 10 on 178.33.229.130 ...
Unexpected failure
Traceback (most recent call last):
Failure: twisted.internet.defer.FirstError: FirstError[#1, [Failure instance: Traceback: <class 'HybridUtils.CommandFailed'>: ('zfs send -I v0.6 hpool/jails/tpjenv@v0.10 | /usr/bin/env ssh -p 2222 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no hybrid@178.33.229.130 -i /home/hybrid/.ssh/id_rsa sudo zfs recv -d hpool: None: process ended with exit code 1.', "Warning: Permanently added '[178.33.229.130]:2222' (RSA) to the list of known hosts.\r\ncannot receive incremental stream: destination hpool/jails/tpjenv has been modified\nsince most recent snapshot\nwarning: cannot send 'hpool/jails/tpjenv@v0.7': Broken pipe\nwarning: cannot send 'hpool/jails/tpjenv@v0.8': Broken pipe\nwarning: cannot send 'hpool/jails/tpjenv@v0.9': Broken pipe\nwarning: cannot send 'hpool/jails/tpjenv@v0.10': Broken pipe\n")
/opt/HybridCluster/src/HybridUtils.py:1570:runNextCmd
/opt/HybridCluster/src/HybridUtils.py:1535:callback
/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py:368:callback
/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py:464:_startRunCallbacks
--- <exception caught here> ---
/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py:551:_runCallbacks
/opt/HybridCluster/src/HybridUtils.py:1529:process_results
]]
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "/opt/HybridCluster/src/HybridUtils.py", line 1570, in runNextCmd
self.callback(self.statuses, self.outputs)
File "/opt/HybridCluster/src/HybridUtils.py", line 1535, in callback
d.callback((statuses, outputs))
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py", line 368, in callback
self._startRunCallbacks(result)
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py", line 464, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py", line 551, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/opt/HybridCluster/src/HybridUtils.py", line 1529, in process_results
output, reason.value)
HybridUtils.CommandFailed: ('zfs send -I v0.6 hpool/jails/tpjenv@v0.10 | /usr/bin/env ssh -p 2222 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no hybrid@178.33.229.130 -i /home/hybrid/.ssh/id_rsa sudo zfs recv -d hpool: None: process ended with exit code 1.', "Warning: Permanently added '[178.33.229.130]:2222' (RSA) to the list of known hosts.\r\ncannot receive incremental stream: destination hpool/jails/tpjenv has been modified\nsince most recent snapshot\nwarning: cannot send 'hpool/jails/tpjenv@v0.7': Broken pipe\nwarning: cannot send 'hpool/jails/tpjenv@v0.8': Broken pipe\nwarning: cannot send 'hpool/jails/tpjenv@v0.9': Broken pipe\nwarning: cannot send 'hpool/jails/tpjenv@v0.10': Broken pipe\n")
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py", line 551, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py", line 800, in _cbDeferred
self.errback(failure.Failure(FirstError(result, index)))
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py", line 397, in errback
self._startRunCallbacks(fail)
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py", line 464, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/defer.py", line 551, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/opt/HybridCluster/src/hybridcluster/hcl/hcl.py", line 1136, in <lambda>
d.addCallback, lambda ignored: reactor.stop())
File "/usr/local/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-freebsd-8.2-RELEASE-amd64.egg/twisted/internet/base.py", line 577, in stop
"Can't stop reactor that isn't running.")
twisted.internet.error.ReactorNotRunning: Can't stop reactor that isn't running.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment