Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View pmorie's full-sized avatar
🎯
Focusing

Paul Morie pmorie

🎯
Focusing
  • Apple
  • Raleigh, NC
View GitHub Profile
Aug 28 18:26:26 kornbluth.localdomain docker[31710]: time="2015-08-28T18:26:26-04:00" level=info msg="POST /containers/32e5e44a3ae1a5f9710424e3001d580e9672223aa199dac0b4a03a867a36af26/start"
Aug 28 18:26:26 kornbluth.localdomain docker[31710]: time="2015-08-28T18:26:26-04:00" level=info msg="+job start(32e5e44a3ae1a5f9710424e3001d580e9672223aa199dac0b4a03a867a36af26)"
Aug 28 18:26:26 kornbluth.localdomain docker[31710]: time="2015-08-28T18:26:26-04:00" level=debug msg="activateDeviceIfNeeded(32e5e44a3ae1a5f9710424e3001d580e9672223aa199dac0b4a03a867a36af26)"
Aug 28 18:26:26 kornbluth.localdomain docker[31710]: time="2015-08-28T18:26:26-04:00" level=debug msg="libdevmapper(6): ioctl/libdm-iface.c:1768 (4) dm info docker-253:2-2754464-32e5e44a3ae1a5f9710424e3001d580e9672223aa199dac0b4a03a867a36af26 OF [16384] (*1)"
Aug 28 18:26:26 kornbluth.localdomain docker[31710]: time="2015-08-28T18:26:26-04:00" level=debug msg="libdevmapper(6): libdm-common.c:2304 (4) Udev cookie 0xd4d7242 (semid 107708416) created"
Aug
$ vagrant mutate fedora20 libvirt
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.2/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /home/pmorie/go/bin in PATH, mode 040757
/opt/vagrant/embedded/gems/gems/bundler-1.6.2/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /home/pmorie/go/bin in PATH, mode 040757
You have qemu 1.6.2 installed. This version cannot read some virtualbox boxes. If conversion fails, see below for recommendations. https://github.com/sciurus/vagrant-mutate/wiki/QEMU-Version-Compatibility
Converting fedora20 from virtualbox to libvirt.
qemu-img: 'image' uses a vmdk feature which is not supported by this qemu version: VMDK version 3
qemu-img: Could not open '/home/pmorie/.vagrant.d/boxes/fedora20/0/virtualbox/packer-fedora-20-x86_64-disk1.vmdk': Wrong medium type
Getting information about the disk image via qemu-info failed
$ vagrant up --provider libvirt
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.2/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /home/pmorie/go/bin in PATH, mode 040757
/opt/vagrant/embedded/gems/gems/bundler-1.6.2/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /home/pmorie/go/bin in PATH, mode 040757
Bringing machine 'godev' up with 'libvirt' provider...
/home/pmorie/.vagrant.d/gems/gems/vagrant-libvirt-0.0.8/lib/vagrant-libvirt/action.rb:28:in `block (2 levels) in action_up': uninitialized constant VagrantPlugins::ProviderLibvirt::Action::NFS (NameError)
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/action/builtin/call.rb:47:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/action/builtin/call.rb:47:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.2/lib/vagrant/action/warden.rb:34:in `call'
from /home/pmorie/.vagrant.d/gems/gems/vagrant-libvirt-0.0.8/lib/vagrant-libvirt/action/connec
$ vagrant up --provider libvirt
/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.2/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /home/pmorie/go/bin in PATH, mode 040757
/opt/vagrant/embedded/gems/gems/bundler-1.6.2/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /home/pmorie/go/bin in PATH, mode 040757
Bringing machine 'godev' up with 'libvirt' provider...
==> godev: Creating image (snapshot of base box volume).
==> godev: Creating domain with the following settings...
==> godev: -- Name: kubernetes_godev
==> godev: -- Domain type: kvm
==> godev: -- Cpus: 1
==> godev: -- Memory: 512M
[vagrant@godev vagrant]$ cluster/kubecfg.sh list services
F0723 18:38:56.843483 02591 kubecfg.go:202] Got request error: request [&http.Request{Method:"GET", URL:(*url.URL)(0xc2100764d0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{}, Body:io.ReadCloser(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"127.0.0.1:8080", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil)}] failed (500) 500 Internal Server Error: Internal Error: &etcd.EtcdError{ErrorCode:501, Message:"All the given peers are not reachable", Cause:"Tried to connect to each peer twice and failed", Index:0x0}
I0723 18:54:27.489520 03180 apiserver.go:73] No cloud provider specified.
E0723 18:54:27.498269 03180 endpoints.go:66] Failed to list services!
E0723 18:54:27.498475 03180 pod_cache.go:79] Error synchronizing container list: &json.SyntaxError{msg:"invalid character 'p' after top-level value", Offset:5}
E0723 18:54:37.499932 03180 endpoints.go:66] Failed to list services!
I0723 18:54:41.058313 03180 log.go:135] GET /: (22.634us) 200
$ hack/local-up-cluster.sh
go install errors: open /usr/lib/golang/pkg/linux_amd64/errors.a: permission denied
go install sync/atomic: open /usr/lib/golang/pkg/linux_amd64/sync/atomic.a: permission denied
go install unicode/utf8: open /usr/lib/golang/pkg/linux_amd64/unicode/utf8.a: permission denied
go install encoding: open /usr/lib/golang/pkg/linux_amd64/encoding.a: permission denied
go install sort: open /usr/lib/golang/pkg/linux_amd64/sort.a: permission denied
go install unicode/utf16: open /usr/lib/golang/pkg/linux_amd64/unicode/utf16.a: permission denied
go install crypto/subtle: open /usr/lib/golang/pkg/linux_amd64/crypto/subtle.a: permission denied
go install container/ring: open /usr/lib/golang/pkg/linux_amd64/container/ring.a: permission denied
go install unicode: open /usr/lib/golang/pkg/linux_amd64/unicode.a: permission denied
sudo iptables -L -n -v
Chain INPUT (policy ACCEPT 113K packets, 11M bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- * docker0 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
0 0 ACCEPT all -- docker0 !docker0 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT all -- docker0 docker0 0.0.0.0/0 0.0.0.0/0
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT udp -- virbr0 * 0.0.0.0/0 0.0.0.0/0 udp dpt:53
0 0 ACCEPT tcp -- virbr0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
0 0 ACCEPT udp -- virbr0 * 0.0.0.0/0 0.0.0.0/0 udp dpt:67
0 0 ACCEPT tcp -- virbr0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:67
0 0 ACCEPT udp -- virbr1 * 0.0.0.0/0 0.0.0.0/0 udp dpt:53
0 0 ACCEPT tcp -- virbr1 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
0 0 ACCEPT udp -- virbr1 * 0.0.0.0/0 0.0.0.0/0 udp dpt:67
0 0 ACCEPT tcp -- virbr1 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:67
export GOPATH=/home/vagrant/go
export KUBERNETES_MASTER=http://127.0.0.1:8080
export KUBE_MASTER_IP=http://127.0.0.1:8080
export API=http://127.0.0.1:8080/api/v1beta1
export PATH=/usr/local/go/bin:$PATH
PATH=$GOPATH/bin:$PATH:$HOME/.local/bin:$HOME/bin
export PATH