Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invoking nodeadm init with no configuration segfaults #65

Open
vannrt opened this issue Oct 9, 2018 · 0 comments
Open

Invoking nodeadm init with no configuration segfaults #65

vannrt opened this issue Oct 9, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@vannrt
Copy link
Contributor

vannrt commented Oct 9, 2018

version.Info{Major:"0", Minor:"0", GitVersion:"v0.0.5", GitCommit:"7474a415613631ee3c8fe32dd12e59ac8b89f3b6", GitTreeState:"clean", BuildDate:"2018-10-09T02:29:56Z", GoVersion:"go1.10.2", Compiler:"gc", Platform:"linux/amd64"}
root@isv-vteves-23-10-105-16-178platform9:~# /opt/bin/nodeadm init
Loaded image: k8s.gcr.io/kube-controller-manager-amd64:v1.10.4
Loaded image: metallb/controller:master
Loaded image: k8s.gcr.io/kube-proxy-amd64:v1.10.4
Loaded image: platform9/keepalived:v2.0.4
Loaded image: k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.8
Loaded image: k8s.gcr.io/kube-scheduler-amd64:v1.10.4
Loaded image: k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.8
Loaded image: k8s.gcr.io/kube-apiserver-amd64:v1.10.4
Loaded image: k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.8
Loaded image: metallb/speaker:master
Loaded image: k8s.gcr.io/pause-amd64:3.1
Loaded image: quay.io/coreos/flannel:v0.10.0-amd64
2018/10/09 20:30:21 Checking if image platform9/keepalived:v2.0.4 is available in docker cache
2018/10/09 20:30:22 Checking if image k8s.gcr.io/kube-apiserver-amd64:v1.10.4 is available in docker cache
2018/10/09 20:30:29 Checking if image k8s.gcr.io/kube-controller-manager-amd64:v1.10.4 is available in docker cache
2018/10/09 20:30:33 Checking if image k8s.gcr.io/kube-scheduler-amd64:v1.10.4 is available in docker cache
2018/10/09 20:30:34 Checking if image k8s.gcr.io/kube-proxy-amd64:v1.10.4 is available in docker cache
2018/10/09 20:30:39 Checking if image k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.8 is available in docker cache
2018/10/09 20:30:40 Checking if image k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.8 is available in docker cache
2018/10/09 20:30:42 Checking if image k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.8 is available in docker cache
2018/10/09 20:30:43 Checking if image quay.io/coreos/flannel:v0.10.0-amd64 is available in docker cache
2018/10/09 20:30:45 Checking if image k8s.gcr.io/pause-amd64:3.1 is available in docker cache
2018/10/09 20:30:45 Checking if image metallb/speaker:master is available in docker cache
2018/10/09 20:30:46 Checking if image metallb/controller:master is available in docker cache
2018/10/09 20:30:47 Downloading https://storage.googleapis.com/kubernetes-release/release/v1.10.4/bin/linux/amd64/kubeadm to location /var/cache/nodeadm/kubernetes/v1.10.4/kubeadm
2018/10/09 20:30:47 File already exists /var/cache/nodeadm/kubernetes/v1.10.4/kubeadm
2018/10/09 20:30:47 Downloading https://storage.googleapis.com/kubernetes-release/release/v1.10.4/bin/linux/amd64/kubectl to location /var/cache/nodeadm/kubernetes/v1.10.4/kubectl
2018/10/09 20:30:47 File already exists /var/cache/nodeadm/kubernetes/v1.10.4/kubectl
2018/10/09 20:30:47 Downloading https://storage.googleapis.com/kubernetes-release/release/v1.10.4/bin/linux/amd64/kubelet to location /var/cache/nodeadm/kubernetes/v1.10.4/kubelet
2018/10/09 20:30:47 File already exists /var/cache/nodeadm/kubernetes/v1.10.4/kubelet
2018/10/09 20:30:47 Downloading https://raw.githubusercontent.com/kubernetes/kubernetes/v1.10.4/build/debs/kubelet.service to location /var/cache/nodeadm/kubernetes/v1.10.4/kubelet.service
2018/10/09 20:30:47 File already exists /var/cache/nodeadm/kubernetes/v1.10.4/kubelet.service
2018/10/09 20:30:47 Downloading https://raw.githubusercontent.com/kubernetes/kubernetes/v1.10.4/build/debs/10-kubeadm.conf to location /var/cache/nodeadm/kubernetes/v1.10.4/10-kubeadm.conf
2018/10/09 20:30:47 File already exists /var/cache/nodeadm/kubernetes/v1.10.4/10-kubeadm.conf
2018/10/09 20:30:47 Downloading https://github.com/containernetworking/plugins/releases/download/v0.6.0/cni-plugins-amd64-v0.6.0.tgz to location /var/cache/nodeadm/cni/v0.6.0/cni-plugins-amd64-v0.6.0.tgz
2018/10/09 20:30:47 File already exists /var/cache/nodeadm/cni/v0.6.0/cni-plugins-amd64-v0.6.0.tgz
2018/10/09 20:30:47 Downloading https://raw.githubusercontent.com/coreos/flannel/v0.10.0/Documentation/kube-flannel.yml to location /var/cache/nodeadm/flannel/v0.10.0/kube-flannel.yml
2018/10/09 20:30:47 File already exists /var/cache/nodeadm/flannel/v0.10.0/kube-flannel.yml
./
./flannel
./ptp
./host-local
./portmap
./tuning
./vlan
./sample
./dhcp
./ipvlan
./macvlan
./loopback
./bridge
2018/10/09 20:30:50 Creating symlink for bridge
2018/10/09 20:30:50 Creating symlink for dhcp
2018/10/09 20:30:50 Creating symlink for flannel
2018/10/09 20:30:50 Creating symlink for host-local
2018/10/09 20:30:50 Creating symlink for ipvlan
2018/10/09 20:30:50 Creating symlink for loopback
2018/10/09 20:30:50 Creating symlink for macvlan
2018/10/09 20:30:50 Creating symlink for portmap
2018/10/09 20:30:50 Creating symlink for ptp
2018/10/09 20:30:50 Creating symlink for sample
2018/10/09 20:30:50 Creating symlink for tuning
2018/10/09 20:30:50 Creating symlink for vlan
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2f8 pc=0xc5ce03]

goroutine 1 [running]:
github.com/platform9/nodeadm/utils.placeAndModifyNodeadmKubeletSystemdDropin(0xea7b7e, 0xc, 0x0, 0x0, 0xea8d32, 0xd, 0x0)
        /go/src/github.com/platform9/nodeadm/utils/install.go:127 +0x333
github.com/platform9/nodeadm/utils.placeKubeletSystemAndDropinFiles(0xea7b7e, 0xc, 0x0, 0x0, 0xea8d32, 0xd, 0x0)
        /go/src/github.com/platform9/nodeadm/utils/install.go:80 +0x51
github.com/platform9/nodeadm/utils.InstallMasterComponents(0xc4201afc00)
        /go/src/github.com/platform9/nodeadm/utils/install.go:33 +0x18e
github.com/platform9/nodeadm/cmd.glob..func3(0x14988a0, 0x14c4c98, 0x0, 0x0)
        /go/src/github.com/platform9/nodeadm/cmd/nodeinit.go:57 +0x45b
github.com/platform9/nodeadm/vendor/github.com/spf13/cobra.(*Command).execute(0x14988a0, 0x14c4c98, 0x0, 0x0, 0x14988a0, 0x14c4c98)
        /go/src/github.com/platform9/nodeadm/vendor/github.com/spf13/cobra/command.go:766 +0x2c1
github.com/platform9/nodeadm/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x1498fc0, 0xc4202ddf58, 0xc71b6f, 0xc4200d9500)
        /go/src/github.com/platform9/nodeadm/vendor/github.com/spf13/cobra/command.go:852 +0x30a
github.com/platform9/nodeadm/vendor/github.com/spf13/cobra.(*Command).Execute(0x1498fc0, 0xc420084058, 0x0)
        /go/src/github.com/platform9/nodeadm/vendor/github.com/spf13/cobra/command.go:800 +0x2b
github.com/platform9/nodeadm/cmd.Execute()
        /go/src/github.com/platform9/nodeadm/cmd/root.go:20 +0x2d
main.main()
        /go/src/github.com/platform9/nodeadm/main.go:6 +0x20
@vannrt vannrt self-assigned this Oct 26, 2018
@sarun87 sarun87 added the bug Something isn't working label Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants