Skip to content

Instantly share code, notes, and snippets.

@snoby
Created June 14, 2017 17:54
Show Gist options
  • Select an option

  • Save snoby/b9ae0b4521411d3c8a91698817156778 to your computer and use it in GitHub Desktop.

Select an option

Save snoby/b9ae0b4521411d3c8a91698817156778 to your computer and use it in GitHub Desktop.
logs from protokube
admin@ip-10-230-67-244:~$ sudo docker logs 96b0e6185bd9
protokube version 0.1
I0614 17:30:30.137439 1 aws_volume.go:64] AWS API Request: ec2metadata/GetMetadata
I0614 17:30:30.138737 1 aws_volume.go:64] AWS API Request: ec2metadata/GetMetadata
I0614 17:30:30.139662 1 aws_volume.go:64] AWS API Request: ec2metadata/GetMetadata
I0614 17:30:30.143272 1 aws_volume.go:64] AWS API Request: ec2/DescribeInstances
I0614 17:30:30.247894 1 aws_volume.go:64] AWS API Request: ec2/DescribeVolumes
I0614 17:30:30.248551 1 dnscontroller.go:101] starting DNS controller
I0614 17:30:30.248613 1 dnscache.go:75] querying all DNS zones (no cached results)
I0614 17:30:30.248697 1 route53.go:50] AWS request: route53 ListHostedZones
I0614 17:30:30.455338 1 volume_mounter.go:234] Trying to mount master volume: "vol-0b6107f5c7d3d1051"
I0614 17:30:30.456014 1 aws_volume.go:64] AWS API Request: ec2/AttachVolume
I0614 17:30:30.681845 1 aws_volume.go:318] AttachVolume request returned {
AttachTime: 2017-06-14 17:30:30.674 +0000 UTC,
Device: "/dev/xvdu",
InstanceId: "i-0c03991f6081a50cc",
State: "attaching",
VolumeId: "vol-0b6107f5c7d3d1051"
}
I0614 17:30:30.683310 1 aws_volume.go:64] AWS API Request: ec2/DescribeVolumes
I0614 17:30:30.793048 1 volume_mounter.go:234] Trying to mount master volume: "vol-00f7f9bba808f852b"
I0614 17:30:30.793249 1 aws_volume.go:64] AWS API Request: ec2/AttachVolume
I0614 17:30:31.033243 1 aws_volume.go:318] AttachVolume request returned {
AttachTime: 2017-06-14 17:30:31.026 +0000 UTC,
Device: "/dev/xvdv",
InstanceId: "i-0c03991f6081a50cc",
State: "attaching",
VolumeId: "vol-00f7f9bba808f852b"
}
I0614 17:30:31.034708 1 aws_volume.go:64] AWS API Request: ec2/DescribeVolumes
I0614 17:30:31.142969 1 volume_mounter.go:253] Currently attached volumes: [{"ID":"vol-0b6107f5c7d3d1051","LocalDevice":"/dev/xvdu","AttachedTo":"","Mountpoint":"","Status":"available","Info":{"Description":"vol-0b6107f5c7d3d1051","EtcdClusters":[{"clusterKey":"main","nodeName":"b","nodeNames":["a","b","c"]}]}} {"ID":"vol-00f7f9bba808f852b","LocalDevice":"/dev/xvdv","AttachedTo":"","Mountpoint":"","Status":"available","Info":{"Description":"vol-00f7f9bba808f852b","EtcdClusters":[{"clusterKey":"events","nodeName":"b","nodeNames":["a","b","c"]}]}}]
I0614 17:30:31.143139 1 volume_mounter.go:58] Master volume "vol-0b6107f5c7d3d1051" is attached at "/dev/xvdu"
I0614 17:30:31.144412 1 volume_mounter.go:72] Doing safe-format-and-mount of /dev/xvdu to /mnt/master-vol-0b6107f5c7d3d1051
I0614 17:30:31.144451 1 volume_mounter.go:104] Waiting for device "/dev/xvdu" to be attached
I0614 17:30:32.144632 1 volume_mounter.go:107] Found device "/dev/xvdu"
I0614 17:30:32.151405 1 volume_mounter.go:146] Creating mount directory "/rootfs/mnt/master-vol-0b6107f5c7d3d1051"
I0614 17:30:32.151835 1 volume_mounter.go:151] Mounting device "/rootfs/dev/xvdu" on "/rootfs/mnt/master-vol-0b6107f5c7d3d1051"
I0614 17:30:32.151871 1 mount_linux.go:333] Checking for issues with fsck on disk: /rootfs/dev/xvdu
I0614 17:30:32.176635 1 mount_linux.go:352] Attempting to mount disk: /rootfs/dev/xvdu /rootfs/mnt/master-vol-0b6107f5c7d3d1051
I0614 17:30:32.176711 1 mount_linux.go:118] Mounting cmd (mount) with arguments ([-o defaults /rootfs/dev/xvdu /rootfs/mnt/master-vol-0b6107f5c7d3d1051])
I0614 17:30:32.213542 1 volume_mounter.go:80] mounted master volume "vol-0b6107f5c7d3d1051" on /mnt/master-vol-0b6107f5c7d3d1051
I0614 17:30:32.213642 1 volume_mounter.go:58] Master volume "vol-00f7f9bba808f852b" is attached at "/dev/xvdv"
I0614 17:30:32.213669 1 volume_mounter.go:72] Doing safe-format-and-mount of /dev/xvdv to /mnt/master-vol-00f7f9bba808f852b
I0614 17:30:32.213686 1 volume_mounter.go:104] Waiting for device "/dev/xvdv" to be attached
I0614 17:30:33.213893 1 volume_mounter.go:104] Waiting for device "/dev/xvdv" to be attached
I0614 17:30:34.214102 1 volume_mounter.go:104] Waiting for device "/dev/xvdv" to be attached
I0614 17:30:35.214333 1 volume_mounter.go:104] Waiting for device "/dev/xvdv" to be attached
I0614 17:30:36.214586 1 volume_mounter.go:107] Found device "/dev/xvdv"
I0614 17:30:36.215455 1 volume_mounter.go:146] Creating mount directory "/rootfs/mnt/master-vol-00f7f9bba808f852b"
I0614 17:30:36.215529 1 volume_mounter.go:151] Mounting device "/rootfs/dev/xvdv" on "/rootfs/mnt/master-vol-00f7f9bba808f852b"
I0614 17:30:36.215537 1 mount_linux.go:333] Checking for issues with fsck on disk: /rootfs/dev/xvdv
I0614 17:30:36.238010 1 mount_linux.go:352] Attempting to mount disk: /rootfs/dev/xvdv /rootfs/mnt/master-vol-00f7f9bba808f852b
I0614 17:30:36.238100 1 mount_linux.go:118] Mounting cmd (mount) with arguments ([-o defaults /rootfs/dev/xvdv /rootfs/mnt/master-vol-00f7f9bba808f852b])
I0614 17:30:36.277730 1 volume_mounter.go:80] mounted master volume "vol-00f7f9bba808f852b" on /mnt/master-vol-00f7f9bba808f852b
I0614 17:30:36.277829 1 kube_boot.go:96] Found etcd cluster spec on volume "vol-0b6107f5c7d3d1051": {"clusterKey":"main","nodeName":"b","nodeNames":["a","b","c"]}
I0614 17:30:36.277885 1 kube_boot.go:96] Found etcd cluster spec on volume "vol-00f7f9bba808f852b": {"clusterKey":"events","nodeName":"b","nodeNames":["a","b","c"]}
W0614 17:30:36.281620 1 rbac.go:44] Error configuring RBAC: error creating service accounts: Post https://127.0.0.1/api/v1/namespaces/kube-system/serviceaccounts: dial tcp 127.0.0.1:443: getsockopt: connection refused
W0614 17:30:36.281666 1 rbac.go:44] Error configuring RBAC: error creating cluster role bindings: Post https://127.0.0.1/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings: dial tcp 127.0.0.1:443: getsockopt: connection refused
W0614 17:30:36.281682 1 kube_boot.go:131] error initializing RBAC: error creating service accounts: Post https://127.0.0.1/api/v1/namespaces/kube-system/serviceaccounts: dial tcp 127.0.0.1:443: getsockopt: connection refused
I0614 17:30:36.281694 1 kube_boot.go:156] ensuring that kubelet systemd service is running
I0614 17:30:36.283639 1 kube_dns.go:35] Creating DNS record: etcd-b.internal.test.c.tropo.com => [10.230.67.244]
I0614 17:30:36.283706 1 dnscontroller.go:606] Update desired state: protokube/etcd-b.internal.test.c.tropo.com: [{A etcd-b.internal.test.c.tropo.com 10.230.67.244 false}]
I0614 17:30:36.296905 1 kube_dns.go:35] Creating DNS record: etcd-events-b.internal.test.c.tropo.com => [10.230.67.244]
I0614 17:30:36.297021 1 dnscontroller.go:606] Update desired state: protokube/etcd-events-b.internal.test.c.tropo.com: [{A etcd-events-b.internal.test.c.tropo.com 10.230.67.244 false}]
I0614 17:30:36.298794 1 channels.go:47] checking channel: "s3://k8s-us-east/test.c.tropo.com/addons/bootstrap-channel.yaml"
I0614 17:30:36.298839 1 channels.go:34] Running command: channels apply channel s3://k8s-us-east/test.c.tropo.com/addons/bootstrap-channel.yaml --v=4 --yes
I0614 17:30:36.301664 1 etcd_cluster.go:260] Updated etcd manifest: /etc/kubernetes/manifests/etcd.manifest
I0614 17:30:36.304507 1 etcd_cluster.go:260] Updated etcd manifest: /etc/kubernetes/manifests/etcd-events.manifest
I0614 17:30:36.441135 1 channels.go:37] error running channels apply channel s3://k8s-us-east/test.c.tropo.com/addons/bootstrap-channel.yaml --v=4 --yes:
I0614 17:30:36.441213 1 channels.go:38] Error: error querying kubernetes version: Get https://127.0.0.1/version: dial tcp 127.0.0.1:443: getsockopt: connection refused
Usage:
channels apply channel [flags]
Flags:
-f, --filename stringSlice Apply from a local file
--yes Apply update
Global Flags:
--alsologtostderr log to standard error as well as files
--config string config file (default is $HOME/.channels.yaml)
--log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
--log_dir string If non-empty, write log files in this directory
--logtostderr log to standard error instead of files (default false)
--stderrthreshold severity logs at or above this threshold go to stderr (default 2)
-v, --v Level log level for V logs (default 0)
--vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
error querying kubernetes version: Get https://127.0.0.1/version: dial tcp 127.0.0.1:443: getsockopt: connection refused
I0614 17:30:36.441291 1 channels.go:50] apply channel output was: Error: error querying kubernetes version: Get https://127.0.0.1/version: dial tcp 127.0.0.1:443: getsockopt: connection refused
Usage:
channels apply channel [flags]
Flags:
-f, --filename stringSlice Apply from a local file
--yes Apply update
Global Flags:
--alsologtostderr log to standard error as well as files
--config string config file (default is $HOME/.channels.yaml)
--log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
--log_dir string If non-empty, write log files in this directory
--logtostderr log to standard error instead of files (default false)
--stderrthreshold severity logs at or above this threshold go to stderr (default 2)
-v, --v Level log level for V logs (default 0)
--vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
error querying kubernetes version: Get https://127.0.0.1/version: dial tcp 127.0.0.1:443: getsockopt: connection refused
W0614 17:30:36.441321 1 kube_boot.go:145] error applying channel "s3://k8s-us-east/test.c.tropo.com/addons/bootstrap-channel.yaml": error running channels: exit status 1
I0614 17:30:40.371455 1 dnscontroller.go:256] Using default TTL of 1m0s
I0614 17:30:40.371482 1 dnscontroller.go:258] updating records for {A etcd-b.internal.test.c.tropo.com}: [] -> [10.230.67.244]
I0614 17:30:40.371513 1 dnscontroller.go:421] Querying all dnsprovider records for zone "c.tropo.com."
I0614 17:30:40.371610 1 route53.go:50] AWS request: route53 ListResourceRecordSets
I0614 17:30:40.468573 1 dnscontroller.go:562] will replace existing dns record A etcd-b.internal.test.c.tropo.com.
I0614 17:30:40.468651 1 dnscontroller.go:566] Adding DNS changes to batch {A etcd-b.internal.test.c.tropo.com} [10.230.67.244]
I0614 17:30:40.468677 1 dnscontroller.go:256] Using default TTL of 1m0s
I0614 17:30:40.468692 1 dnscontroller.go:258] updating records for {A etcd-events-b.internal.test.c.tropo.com}: [] -> [10.230.67.244]
I0614 17:30:40.468738 1 dnscontroller.go:562] will replace existing dns record A etcd-events-b.internal.test.c.tropo.com.
I0614 17:30:40.468757 1 dnscontroller.go:566] Adding DNS changes to batch {A etcd-events-b.internal.test.c.tropo.com} [10.230.67.244]
I0614 17:30:40.468776 1 dnscontroller.go:301] applying DNS changeset for zone c.tropo.com.::ZVO7JZ181S8PP
I0614 17:30:40.470274 1 route53.go:50] AWS request: route53 ChangeResourceRecordSets
I0614 17:31:36.303735 1 kube_dns.go:35] Creating DNS record: etcd-b.internal.test.c.tropo.com => [10.230.67.244]
I0614 17:31:36.306058 1 kube_dns.go:35] Creating DNS record: etcd-events-b.internal.test.c.tropo.com => [10.230.67.244]
I0614 17:31:36.442838 1 aws_volume.go:64] AWS API Request: ec2/DescribeVolumes
W0614 17:31:36.532375 1 rbac.go:44] Error configuring RBAC: error creating service accounts: Post https://127.0.0.1/api/v1/namespaces/kube-system/serviceaccounts: dial tcp 127.0.0.1:443: getsockopt: connection refused
W0614 17:31:36.532465 1 rbac.go:44] Error configuring RBAC: error creating cluster role bindings: Post https://127.0.0.1/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings: dial tcp 127.0.0.1:443: getsockopt: connection refused
W0614 17:31:36.532484 1 kube_boot.go:131] error initializing RBAC: error creating service accounts: Post https://127.0.0.1/api/v1/namespaces/kube-system/serviceaccounts: dial tcp 127.0.0.1:443: getsockopt: connection refused
I0614 17:31:36.532496 1 kube_boot.go:156] ensuring that kubelet systemd service is running
I0614 17:31:36.536420 1 channels.go:47] checking channel: "s3://k8s-us-east/test.c.tropo.com/addons/bootstrap-channel.yaml"
I0614 17:31:36.536499 1 channels.go:34] Running command: channels apply channel s3://k8s-us-east/test.c.tropo.com/addons/bootstrap-channel.yaml --v=4 --yes
I0614 17:31:36.602454 1 channels.go:37] error running channels apply channel s3://k8s-us-east/test.c.tropo.com/addons/bootstrap-channel.yaml --v=4 --yes:
I0614 17:31:36.602534 1 channels.go:38] Error: error querying kubernetes version: Get https://127.0.0.1/version: dial tcp 127.0.0.1:443: getsockopt: connection refused
Usage:
channels apply channel [flags]
Flags:
-f, --filename stringSlice Apply from a local file
--yes Apply update
Global Flags:
--alsologtostderr log to standard error as well as files
--config string config file (default is $HOME/.channels.yaml)
--log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
--log_dir string If non-empty, write log files in this directory
--logtostderr log to standard error instead of files (default false)
--stderrthreshold severity logs at or above this threshold go to stderr (default 2)
-v, --v Level log level for V logs (default 0)
--vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
error querying kubernetes version: Get https://127.0.0.1/version: dial tcp 127.0.0.1:443: getsockopt: connection refused
I0614 17:31:36.602591 1 channels.go:50] apply channel output was: Error: error querying kubernetes version: Get https://127.0.0.1/version: dial tcp 127.0.0.1:443: getsockopt: connection refused
Usage:
channels apply channel [flags]
Flags:
-f, --filename stringSlice Apply from a local file
--yes Apply update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment