{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/22789","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/22789/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/22789/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/22789/events","html_url":"https://github.com/kubernetes/kubernetes/issues/22789","id":139871471,"number":22789,"title":"null pointer error with openstack cloud provider","user":{"login":"PradeepSingh1988","id":11572710,"avatar_url":"https://avatars.githubusercontent.com/u/11572710?v=3","gravatar_id":"","url":"https://api.github.com/users/PradeepSingh1988","html_url":"https://github.com/PradeepSingh1988","followers_url":"https://api.github.com/users/PradeepSingh1988/followers","following_url":"https://api.github.com/users/PradeepSingh1988/following{/other_user}","gists_url":"https://api.github.com/users/PradeepSingh1988/gists{/gist_id}","starred_url":"https://api.github.com/users/PradeepSingh1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PradeepSingh1988/subscriptions","organizations_url":"https://api.github.com/users/PradeepSingh1988/orgs","repos_url":"https://api.github.com/users/PradeepSingh1988/repos","events_url":"https://api.github.com/users/PradeepSingh1988/events{/privacy}","received_events_url":"https://api.github.com/users/PradeepSingh1988/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/platform/openstack","name":"area/platform/openstack","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-10T12:23:00Z","updated_at":"2016-03-12T09:59:26Z","closed_at":null,"body":"Hi, \r\n\r\n--Version Info\r\n`Client Version: version.Info{Major:\"1\", Minor:\"0\", GitVersion:\"v1.0.1\", GitCommit:\"6a5c06e3d1eb27a6310a09270e4a5fb1afa93e74\", GitTreeState:\"clean\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"0\", GitVersion:\"v1.0.6\", GitCommit:\"388061f00f0d9e4d641f9ed4971c775e1654579d\", GitTreeState:\"clean\"}\r\n`\r\n\r\n\r\nI am trying to use cinder volume in my container.\r\n\r\nI am starting kubelet with below command.\r\n`/opt/bin/kubelet --address=10.0.16.6 --port=10250 --hostname_override=10.0.16.6 --api_servers=10.0.16.3:8080 --logtostderr=false --log_dir=/var/log/kubernetes --v=4 --cloud-provider=openstack --cloud-config=/etc/init/cloud_config.conf`\r\n\r\nMy cloud_config.conf is as below:\r\n`[Global]\r\nauth-url=https://*.*.*.*:5000/v2.0\r\nusername=admin\r\npassword=*******\r\ntenant-id=6779d980830f4abcb60ae6cac5c810c8`\r\n\r\nI am getting below error:\r\n`panic: runtime error: invalid memory address or nil pointer dereference\r\n[signal 0xb code=0x1 addr=0x0 pc=0x53c6e2]\r\n\r\ngoroutine 1 [running]:\r\nk8s.io/kubernetes/pkg/cloudprovider/openstack.(*OpenStack).Instances(0x0, 0x0, 0x0, 0x9)\r\n        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/cloudprovider/openstack/openstack.go:162 +0x7e2\r\nk8s.io/kubernetes/cmd/kubelet/app.RunKubelet(0xc208180000, 0x0, 0x0, 0x0)\r\n        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubelet/app/server.go:588 +0x12a\r\nk8s.io/kubernetes/cmd/kubelet/app.(*KubeletServer).Run(0xc2081dc000, 0xc208066990, 0x0, 0x9, 0x0, 0x0)\r\n        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubelet/app/server.go:382 +0x13a2\r\nmain.main()\r\n        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubelet/kubelet.go:46 +0xd0\r\n\r\ngoroutine 7 [chan receive]:\r\ngithub.com/golang/glog.(*loggingT).flushDaemon(0x1c03720)\r\n        /go/src/k8s.io/kubernetes/Godeps/_workspace/src/github.com/golang/glog/glog.go:879 +0x78\r\ncreated by github.com/golang/glog.init·1\r\n        /go/src/k8s.io/kubernetes/Godeps/_workspace/src/github.com/golang/glog/glog.go:410 +0x2a7\r\n\r\ngoroutine 17 [syscall, locked to thread]:\r\nruntime.goexit()\r\n        /usr/src/go/src/runtime/asm_amd64.s:2232 +0x1\r\n\r\ngoroutine 11 [syscall]:\r\nos/signal.loop()\r\n        /usr/src/go/src/os/signal/signal_unix.go:21 +0x1f\r\ncreated by os/signal.init·1\r\n        /usr/src/go/src/os/signal/signal_unix.go:27 +0x35\r\n\r\ngoroutine 18 [sleep]:\r\nk8s.io/kubernetes/pkg/util.Until(0x15181a8, 0x12a05f200, 0x0)\r\n        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/util/util.go:114 +0x98\r\nk8s.io/kubernetes/pkg/util.Forever(0x15181a8, 0x12a05f200)\r\n        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/util/util.go:94 +0x3b\r\ncreated by k8s.io/kubernetes/pkg/util.InitLogs\r\n        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/util/logs.go:50 +0x9f\r\n\r\ngoroutine 26 [IO wait]:\r\nnet.(*pollDesc).Wait(0xc2080cb020, 0x72, 0x0, 0x0)\r\n        /usr/src/go/src/net/fd_poll_runtime.go:84 +0x47\r\nnet.(*pollDesc).WaitRead(0xc2080cb020, 0x0, 0x0)\r\n        /usr/src/go/src/net/fd_poll_runtime.go:89 +0x43\r\nnet.(*netFD).accept(0xc2080cafc0, 0x0, 0x7f953e810e88, 0xc2080cdbf8)\r\n        /usr/src/go/src/net/fd_unix.go:419 +0x40b\r\nnet.(*TCPListener).AcceptTCP(0xc20803a768, 0x5d9124, 0x0, 0x0)\r\n        /usr/src/go/src/net/tcpsock_posix.go:234 +0x4e\r\nnet/http.tcpKeepAliveListener.Accept(0xc20803a768, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/src/go/src/net/http/server.go:1976 +0x4c\r\nnet/http.(*Server).Serve(0xc208047560, 0x7f953e81c690, 0xc20803a768, 0x0, 0x0)\r\n        /usr/src/go/src/net/http/server.go:1728 +0x92\r\nnet/http.(*Server).ListenAndServe(0xc208047560, 0x0, 0x0)\r\n        /usr/src/go/src/net/http/server.go:1718 +0x154\r\nk8s.io/kubernetes/pkg/kubelet/cadvisor.func·001()\r\n        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/kubelet/cadvisor/cadvisor_linux.go:99 +0x5f\r\ncreated by k8s.io/kubernetes/pkg/kubelet/cadvisor.(*cadvisorClient).exportHTTP\r\n        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/kubelet/cadvisor/cadvisor_linux.go:105 +0x4c2`\r\n\r\nCould you please help me out  with this"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/195707946","html_url":"https://github.com/kubernetes/kubernetes/issues/22789#issuecomment-195707946","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/22789","id":195707946,"user":{"login":"PradeepSingh1988","id":11572710,"avatar_url":"https://avatars.githubusercontent.com/u/11572710?v=3","gravatar_id":"","url":"https://api.github.com/users/PradeepSingh1988","html_url":"https://github.com/PradeepSingh1988","followers_url":"https://api.github.com/users/PradeepSingh1988/followers","following_url":"https://api.github.com/users/PradeepSingh1988/following{/other_user}","gists_url":"https://api.github.com/users/PradeepSingh1988/gists{/gist_id}","starred_url":"https://api.github.com/users/PradeepSingh1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PradeepSingh1988/subscriptions","organizations_url":"https://api.github.com/users/PradeepSingh1988/orgs","repos_url":"https://api.github.com/users/PradeepSingh1988/repos","events_url":"https://api.github.com/users/PradeepSingh1988/events{/privacy}","received_events_url":"https://api.github.com/users/PradeepSingh1988/received_events","type":"User","site_admin":false},"created_at":"2016-03-12T09:59:26Z","updated_at":"2016-03-12T09:59:26Z","body":"@spothanis , thanks i will check on monday and will update accordingly."}}