This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| from __future__ import print_function, unicode_literals | |
| from sys import argv | |
| from datetime import datetime, timedelta | |
| from twisted.internet.defer import inlineCallbacks | |
| from twisted.internet.task import react |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2017-07-12T14:25:48.632420837Z + docker login --username ... --password ... | |
| 2017-07-12T14:25:48.676557087Z Email: EOF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Events: | |
| FirstSeen LastSeen Count From SubObjectPath Type Reason Message | |
| --------- -------- ----- ---- ------------- -------- ------ ------- | |
| 10m 10m 1 default-scheduler Normal Scheduled Successfully assigned prometheus-prometheus-0 to ip-172-20-51-126.ec2.internal | |
| 10m 7m 2 kubelet, ip-172-20-51-126.ec2.internal spec.containers{prometheus} Normal Pulling pulling image "quay.io/prometheus/prometheus:v1.7.0" | |
| 7m 7m 1 kubelet, ip-172-20-51-126.ec2.internal spec.containers{prometheus-config-reloader} Warning Failed Failed to pull image "quay.io/coreos/prometheus-config-reloader:v0.0.1": rpc error: code = 2 desc = net/http: request canceled | |
| 7m 7m 1 kubelet, ip-172-20-51-126.ec2.internal Warning FailedSync Error syncing pod, skipping: [failed to "StartContainer" for "prometheus" with ErrImagePull: "rpc error: code = 2 desc = net/http: request canceled" | |
| , failed to "StartContainer" for "prometheus-config-reloader" with ErrImagePull: "rpc error: code = 2 desc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ docker run -p 9000:9000 --volume /proc/1/ns/mnt:/ns/mnt --rm leastauthority/disk-exporter:latest /app/env/bin/twist disk-exporter --host-mount-namespace /mnt | |
| container_linux.go:247: starting container process caused "process_linux.go:359: container init caused \"rootfs_linux.go:54: mounting \\\"/proc/1/ns/mnt\\\" to rootfs \\\"/var/lib/docker/aufs/mnt/9085d08cf4f35f5af6b545be503a37f998df016a014f2088cd659ea57552518e\\\" at \\\"/var/lib/docker/aufs/mnt/9085d08cf4f35f5af6b545be503a37f998df016a014f2088cd659ea57552518e/ns/mnt\\\" caused \\\"invalid argument\\\"\"" | |
| docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:359: container init caused \"rootfs_linux.go:54: mounting \\\"/proc/1/ns/mnt\\\" to rootfs \\\"/var/lib/docker/aufs/mnt/9085d08cf4f35f5af6b545be503a37f998df016a014f2088cd659ea57552518e\\\" at \\\"/var/lib/docker/aufs/mnt/9085d08cf4f35f5af6b545be503a37f998df016a014f2088cd659ea57552518e/ns/mnt\\\" caused \\\"invalid argument\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| exarkun@baryon:~$ cat > /tmp/sscce.py | |
| from twisted.internet import reactor | |
| from twisted.internet.defer import Deferred, inlineCallbacks | |
| from twisted.internet.task import deferLater | |
| from twisted.internet.endpoints import serverFromString | |
| from twisted.internet.protocol import Factory | |
| from twisted.protocols.basic import LineReceiver | |
| class _DomainLineReceiver(LineReceiver): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def noop(): | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| raise UploadUnhappinessError(msg) | |
| allmydata.interfaces.UploadUnhappinessError: | |
| server selection failed for <Tahoe2ServerSelector for upload becvk>: | |
| shares could be placed on only 8 server(s) such that any 3 of them have enough shares to recover the file, | |
| but we were asked to place shares on at least 10 such servers. (placed all 10 shares, want to place shares | |
| on at least 10 servers such that any 3 of them have enough shares to recover the file, sent 8 queries to 8 | |
| servers, 8 queries placed some shares, 0 placed none (of which 0 placed none due to the server being full | |
| and 0 placed none due to an error)), | |
| merged=sh0: oyyc23ju, sh1: oyyc22dg, sh2: oyyc2ytq, sh3: oyyc253x, sh4: oyyc2y3u, sh5: oyyc25i, | |
| sh6: oyyc22ls, sh7: oyyc2zdg, sh8: oyyc23ju, sh9: oyyc22dg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # df -h -a | |
| Filesystem Size Used Avail Use% Mounted on | |
| overlay 94G 19G 72G 21% / | |
| proc 0 0 0 - /proc | |
| tmpfs 7.5G 0 7.5G 0% /dev | |
| devpts 0 0 0 - /dev/pts | |
| sysfs 0 0 0 - /sys | |
| tmpfs 7.5G 0 7.5G 0% /sys/fs/cgroup | |
| cgroup 0 0 0 - /sys/fs/cgroup/systemd | |
| cgroup 0 0 0 - /sys/fs/cgroup/cpuset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 500 Internal Server Error | |
| Traceback (most recent call last): Failure: allmydata.mutable.common.NotEnoughServersError: | |
| ('Publish ran out of good servers, last failure was: [ | |
| Failure instance: Traceback (failure with no frames): <class 'foolscap.tokens.RemoteException'>: | |
| <RemoteException around ' | |
| [CopiedFailure instance: Traceback from remote host -- Traceback (most recent call last): | |
| File "/home/customer/venv/local/lib/python2.7/site-packages/foolscap/eventual.py", line 26, in _turn | |
| cb(*args, **kwargs) | |
| File "/home/customer/LAFS_source/src/allmydata/util/deferredutil.py", line 56, in _with_log | |
| op(res) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ hg diff | |
| diff -r 2ae11d0d2965 pypy/objspace/std/bytesobject.py | |
| --- a/pypy/objspace/std/bytesobject.py Mon Jul 31 14:13:41 2017 +0200 | |
| +++ b/pypy/objspace/std/bytesobject.py Mon Jul 31 14:32:19 2017 -0400 | |
| @@ -752,7 +752,7 @@ | |
| def _get_printable_location(w_type): | |
| return ('bytearray_from_byte_sequence [w_type=%s]' % | |
| - w_type.getname(w_type.space)) | |
| + w_type.getname(w_type.space).encode('utf-8')) |