Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
# Copyright (c) 2017-2018 Dell Inc. or its subsidiaries.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
root@openstack:~/swarm# godep go build
Godeps/_workspace/src/github.com/Sirupsen/logrus/entry.go:4:2: cannot find package "bytes" in any of:
/home/openstack/go/src/pkg/bytes (from $GOROOT)
/home/openstack/swarm/Godeps/_workspace/src/bytes (from $GOPATH)
/home/openstack/gocode/src/bytes
manage.go:4:2: cannot find package "crypto/tls" in any of:
/home/openstack/go/src/pkg/crypto/tls (from $GOROOT)
/home/openstack/swarm/Godeps/_workspace/src/crypto/tls (from $GOPATH)
/home/openstack/gocode/src/crypto/tls
manage.go:5:2: cannot find package "crypto/x509" in any of:
root@openstack:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5d5e9f121119 quay.io/coreos/etcd:v2.0.0_rc.1 /etcd 16 minutes ago ecstatic_morse
root@openstack:~#
root@openstack:~# docker start 5d5e9f121119
Error response from daemon: Cannot start container 5d5e9f121119: port has already been allocated
2015/01/25 00:54:08 Error: failed to start one or more containers
###
# kubernetes kubelet (minion) config
# The address for the info server to serve on (set to 0.0.0.0 or "" for all interfaces)
KUBELET_ADDRESS="--address=127.0.0.1"
# The port for the info server to serve on
KUBELET_PORT="--port=10250"
# You may leave this blank to use the actual hostname