{"action":"closed","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/5246","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/5246/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/5246/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/5246/events","html_url":"https://github.com/rancher/rancher/issues/5246","id":162325376,"number":5246,"title":"Gandi DNS Provider failure : nil pointer dereference","user":{"login":"digitalLumberjack","id":1128425,"avatar_url":"https://avatars.githubusercontent.com/u/1128425?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalLumberjack","html_url":"https://github.com/digitalLumberjack","followers_url":"https://api.github.com/users/digitalLumberjack/followers","following_url":"https://api.github.com/users/digitalLumberjack/following{/other_user}","gists_url":"https://api.github.com/users/digitalLumberjack/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalLumberjack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalLumberjack/subscriptions","organizations_url":"https://api.github.com/users/digitalLumberjack/orgs","repos_url":"https://api.github.com/users/digitalLumberjack/repos","events_url":"https://api.github.com/users/digitalLumberjack/events{/privacy}","received_events_url":"https://api.github.com/users/digitalLumberjack/received_events","type":"User","site_admin":false},"labels":[{"id":145695749,"url":"https://api.github.com/repos/rancher/rancher/labels/kind/question","name":"kind/question","color":"dddddd","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/rancher/rancher/milestones/71","html_url":"https://github.com/rancher/rancher/milestones/Unscheduled","labels_url":"https://api.github.com/repos/rancher/rancher/milestones/71/labels","id":1853807,"number":71,"title":"Unscheduled","description":"This milestone includes bugs we have looked into but have not scheduled into an upcoming release.","creator":{"login":"deniseschannon","id":11410997,"avatar_url":"https://avatars.githubusercontent.com/u/11410997?v=3","gravatar_id":"","url":"https://api.github.com/users/deniseschannon","html_url":"https://github.com/deniseschannon","followers_url":"https://api.github.com/users/deniseschannon/followers","following_url":"https://api.github.com/users/deniseschannon/following{/other_user}","gists_url":"https://api.github.com/users/deniseschannon/gists{/gist_id}","starred_url":"https://api.github.com/users/deniseschannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deniseschannon/subscriptions","organizations_url":"https://api.github.com/users/deniseschannon/orgs","repos_url":"https://api.github.com/users/deniseschannon/repos","events_url":"https://api.github.com/users/deniseschannon/events{/privacy}","received_events_url":"https://api.github.com/users/deniseschannon/received_events","type":"User","site_admin":false},"open_issues":873,"closed_issues":177,"state":"open","created_at":"2016-06-28T21:41:11Z","updated_at":"2016-11-04T15:49:51Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-06-26T12:19:24Z","updated_at":"2016-11-04T15:49:51Z","closed_at":"2016-11-04T15:49:51Z","body":"**Rancher Version:**\nv1.1.0-dev5\n\n**Docker Version:**\n1.11.1\n\n**OS and where are the hosts located? (cloud, bare metal, etc):**\nScaleway Docker Image\n\n**Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)**\nsingle node\n\n**Environment Type: (Cattle/Kubernetes/Swarm/Mesos)**\nCattle\n\n**Steps to Reproduce:**\nCreate a gandi dns provider with the following configuration : \n\ndocker-compose\n\n```\ngandidns:\n  environment:\n    GANDI_APIKEY: xxxmyprodapikeyxxx\n    ROOT_DOMAIN: mydomain.com\n    TTL: '300'\n  labels:\n    io.rancher.container.create_agent: 'true'\n    io.rancher.container.agent.role: external-dns\n  command:\n  - -provider\n  - Gandi\n  image: rancher/external-dns:v0.4.1\n```\n\nrancher-compose : \n\n```\ngandidns:\n  scale: 1\n  health_check:\n    port: 1000\n    interval: 2000\n    unhealthy_threshold: 3\n    strategy: recreate\n    response_timeout: 2000\n    request_line: GET / HTTP/1.0\n    healthy_threshold: 2\n```\n\n**Results:** \n\n```\n\n26/6/2016 14:17:20panic: runtime error: invalid memory address or nil pointer dereference\n26/6/2016 14:17:20[signal 0xb code=0x1 addr=0x28 pc=0x405bf2]\n26/6/2016 14:17:20\n26/6/2016 14:17:20goroutine 1 [running]:\n26/6/2016 14:17:20main.main()\n26/6/2016 14:17:20  /source/main.go:89 +0x92\n26/6/2016 14:17:20\n26/6/2016 14:17:20goroutine 20 [chan receive]:\n26/6/2016 14:17:20github.com/kolo/xmlrpc.(*clientCodec).ReadResponseHeader(0xc82005bac0, 0xc82011ea80, 0x0, 0x0)\n26/6/2016 14:17:20  /source/Godeps/_workspace/src/github.com/kolo/xmlrpc/client.go:68 +0x79\n26/6/2016 14:17:20net/rpc.(*Client).input(0xc82005c5a0)\n26/6/2016 14:17:20  /usr/local/go/src/net/rpc/client.go:109 +0xbf\n26/6/2016 14:17:20created by net/rpc.NewClientWithCodec\n26/6/2016 14:17:20  /usr/local/go/src/net/rpc/client.go:201 +0xd2\n26/6/2016 14:17:20\n26/6/2016 14:17:20goroutine 28 [chan receive]:\n26/6/2016 14:17:20github.com/kolo/xmlrpc.(*clientCodec).ReadResponseHeader(0xc820492f00, 0xc8204376b0, 0x0, 0x0)\n26/6/2016 14:17:20  /source/Godeps/_workspace/src/github.com/kolo/xmlrpc/client.go:68 +0x79\n26/6/2016 14:17:20net/rpc.(*Client).input(0xc82039b860)\n26/6/2016 14:17:20  /usr/local/go/src/net/rpc/client.go:109 +0xbf\n26/6/2016 14:17:20created by net/rpc.NewClientWithCodec\n26/6/2016 14:17:20  /usr/local/go/src/net/rpc/client.go:201 +0xd2\n26/6/2016 14:17:20\n26/6/2016 14:17:20goroutine 46 [IO wait]:\n26/6/2016 14:17:20net.runtime_pollWait(0x7f6041f0ec08, 0x72, 0xc82005e0b0)\n26/6/2016 14:17:20  /usr/local/go/src/runtime/netpoll.go:157 +0x60\n26/6/2016 14:17:20net.(*pollDesc).Wait(0xc820450290, 0x72, 0x0, 0x0)\n26/6/2016 14:17:20  /usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a\n26/6/2016 14:17:20net.(*pollDesc).WaitRead(0xc820450290, 0x0, 0x0)\n26/6/2016 14:17:20  /usr/local/go/src/net/fd_poll_runtime.go:78 +0x36\n26/6/2016 14:17:20net.(*netFD).Read(0xc820450230, 0xc820019000, 0x1000, 0x1000, 0x0, 0x7f6041f09028, 0xc82005e0b0)\n26/6/2016 14:17:20  /usr/local/go/src/net/fd_unix.go:232 +0x23a\n26/6/2016 14:17:20net.(*conn).Read(0xc82007e038, 0xc820019000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\n26/6/2016 14:17:20  /usr/local/go/src/net/net.go:172 +0xe4\n26/6/2016 14:17:20net/http.noteEOFReader.Read(0x7f6041f490d0, 0xc82007e038, 0xc8204527e8, 0xc820019000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\n26/6/2016 14:17:20  /usr/local/go/src/net/http/transport.go:1370 +0x67\n26/6/2016 14:17:20net/http.(*noteEOFReader).Read(0xc82051abc0, 0xc820019000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\n26/6/2016 14:17:20  <autogenerated>:126 +0xd0\n26/6/2016 14:17:20bufio.(*Reader).fill(0xc8204b2240)\n26/6/2016 14:17:20  /usr/local/go/src/bufio/bufio.go:97 +0x1e9\n26/6/2016 14:17:20bufio.(*Reader).Peek(0xc8204b2240, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)\n26/6/2016 14:17:20  /usr/local/go/src/bufio/bufio.go:132 +0xcc\n26/6/2016 14:17:20net/http.(*persistConn).readLoop(0xc820452790)\n26/6/2016 14:17:20  /usr/local/go/src/net/http/transport.go:876 +0xf7\n26/6/2016 14:17:20created by net/http.(*Transport).dialConn\n26/6/2016 14:17:20  /usr/local/go/src/net/http/transport.go:685 +0xc78\n26/6/2016 14:17:20\n26/6/2016 14:17:20goroutine 49 [select]:\n26/6/2016 14:17:20net/http.(*persistConn).writeLoop(0xc8200d0000)\n26/6/2016 14:17:20  /usr/local/go/src/net/http/transport.go:1009 +0x40c\n26/6/2016 14:17:20created by net/http.(*Transport).dialConn\n26/6/2016 14:17:20  /usr/local/go/src/net/http/transport.go:686 +0xc9d\n26/6/2016 14:17:20\n26/6/2016 14:17:20goroutine 52 [select]:\n26/6/2016 14:17:20net/http.(*persistConn).writeLoop(0xc8200d00b0)\n26/6/2016 14:17:20  /usr/local/go/src/net/http/transport.go:1009 +0x40c\n26/6/2016 14:17:20created by net/http.(*Transport).dialConn\n26/6/2016 14:17:20  /usr/local/go/src/net/http/transport.go:686 +0xc9d\n26/6/2016 14:17:20\n26/6/2016 14:17:20goroutine 47 [select]:\n26/6/2016 14:17:20net/http.(*persistConn).writeLoop(0xc820452790)\n26/6/2016 14:17:20  /usr/local/go/src/net/http/transport.go:1009 +0x40c\n26/6/2016 14:17:20created by net/http.(*Transport).dialConn\n26/6/2016 14:17:20  /usr/local/go/src/net/http/transport.go:686 +0xc9d\n26/6/2016 14:17:20\n26/6/2016 14:17:20goroutine 48 [runnable]:\n26/6/2016 14:17:20net/http.(*persistConn).readLoop(0xc8200d0000)\n26/6/2016 14:17:20  /usr/local/go/src/net/http/transport.go:976 +0xac7\n26/6/2016 14:17:20created by net/http.(*Transport).dialConn\n26/6/2016 14:17:20  /usr/local/go/src/net/http/transport.go:685 +0xc78\n26/6/2016 14:17:20\n26/6/2016 14:17:20goroutine 51 [IO wait]:\n26/6/2016 14:17:20net.runtime_pollWait(0x7f6041f0ea88, 0x72, 0xc82005e0b0)\n26/6/2016 14:17:20  /usr/local/go/src/runtime/netpoll.go:157 +0x60\n26/6/2016 14:17:20net.(*pollDesc).Wait(0xc8201c05a0, 0x72, 0x0, 0x0)\n26/6/2016 14:17:20  /usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a\n26/6/2016 14:17:20net.(*pollDesc).WaitRead(0xc8201c05a0, 0x0, 0x0)\n26/6/2016 14:17:20  /usr/local/go/src/net/fd_poll_runtime.go:78 +0x36\n26/6/2016 14:17:20net.(*netFD).Read(0xc8201c0540, 0xc8203a2800, 0x800, 0x800, 0x0, 0x7f6041f09028, 0xc82005e0b0)\n26/6/2016 14:17:20  /usr/local/go/src/net/fd_unix.go:232 +0x23a\n26/6/2016 14:17:20net.(*conn).Read(0xc82007e0b0, 0xc8203a2800, 0x800, 0x800, 0x0, 0x0, 0x0)\n26/6/2016 14:17:20  /usr/local/go/src/net/net.go:172 +0xe4\n26/6/2016 14:17:20crypto/tls.(*block).readFromUntil(0xc820436870, 0x7f6041f490d0, 0xc82007e0b0, 0x5, 0x0, 0x0)\n26/6/2016 14:17:20  /usr/local/go/src/crypto/tls/conn.go:455 +0xcc\n26/6/2016 14:17:20crypto/tls.(*Conn).readRecord(0xc8204342c0, 0xc15e17, 0x0, 0x0)\n26/6/2016 14:17:20  /usr/local/go/src/crypto/tls/conn.go:540 +0x2d1\n26/6/2016 14:17:20crypto/tls.(*Conn).Read(0xc8204342c0, 0xc8201bf000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\n26/6/2016 14:17:20  /usr/local/go/src/crypto/tls/conn.go:901 +0x167\n26/6/2016 14:17:20net/http.noteEOFReader.Read(0x7f6041f17b58, 0xc8204342c0, 0xc8200d0108, 0xc8201bf000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\n26/6/2016 14:17:20  /usr/local/go/src/net/http/transport.go:1370 +0x67\n26/6/2016 14:17:20net/http.(*noteEOFReader).Read(0xc82042e0c0, 0xc8201bf000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\n26/6/2016 14:17:20  <autogenerated>:126 +0xd0\n26/6/2016 14:17:20bufio.(*Reader).fill(0xc8204b3a40)\n26/6/2016 14:17:20  /usr/local/go/src/bufio/bufio.go:97 +0x1e9\n26/6/2016 14:17:20bufio.(*Reader).Peek(0xc8204b3a40, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)\n26/6/2016 14:17:20  /usr/local/go/src/bufio/bufio.go:132 +0xcc\n26/6/2016 14:17:20net/http.(*persistConn).readLoop(0xc8200d00b0)\n26/6/2016 14:17:20  /usr/local/go/src/net/http/transport.go:876 +0xf7\n26/6/2016 14:17:20created by net/http.(*Transport).dialConn\n26/6/2016 14:17:20  /usr/local/go/src/net/http/transport.go:685 +0xc78\n```\n\n**Expected:**\n"}}
{"actor":{"display_login":"aemneina"}}