Skip to content

Instantly share code, notes, and snippets.

@eriknelson
Created August 1, 2017 13:37
Show Gist options
  • Save eriknelson/a79c04e47113c91f27143de447a56504 to your computer and use it in GitHub Desktop.
Save eriknelson/a79c04e47113c91f27143de447a56504 to your computer and use it in GitHub Desktop.
[2017-08-01T13:27:56.857Z] [DEBUG] NSK: raw decoded yaml: id: eea7e67f-910a-4812-87df-87560dcda4bb
name: hello-world-apb
image: cfchase/hello-world-apb
description: hello-world-apb description
bindable: False
async: optional
metadata:
displayName: Hello World (APB)
longDescription: A sample APB to deploy Hello World
dependencies: ['docker.io/ansibleplaybookbundle/hello-world:latest']
plans:
- name: default
description: A sample APB which deploys Hello World
free: True
metadata:
displayName: Default
longDescription: This plan deploys a Python web application displaying Hello World
cost: $0.00
parameters: []
[2017-08-01T13:27:56.858Z] [DEBUG] Successfully converted Image cfchase/hello-world-apb into Spec
[2017-08-01T13:27:56.858Z] [DEBUG] NSK: Got plans: [{Name:default Description:A sample APB which deploys Hello World Metadata:map[displayName:Default longDescription:This plan deploys a Python web application displaying Hello World cost:$0.00] Free:true Bindable:false Parameters:[]}]
[2017-08-01T13:27:56.858Z] [INFO] Validating specs...
[2017-08-01T13:27:56.858Z] [NOTICE] All specs passed validation!
172.17.0.1 - - [01/Aug/2017:13:27:56 +0000] "POST /v2/bootstrap HTTP/1.1" 200 42
172.17.0.1 - - [01/Aug/2017:13:28:04 +0000] "POST /v2/catalog HTTP/1.1" 404 19
[2017-08-01T13:28:13.757Z] [INFO] AnsibleBroker::Catalog
[2017-08-01T13:28:13.757Z] [DEBUG] Dao::BatchGetRaw
[2017-08-01T13:28:13.757Z] [DEBUG] Successfully loaded [ 2 ] objects from etcd dir [ /spec ]
[2017-08-01T13:28:13.757Z] [DEBUG] Batch idx [ 0 ] -> [ c500116bf5d62d2d47cae3ce256742a1 ]
[2017-08-01T13:28:13.757Z] [DEBUG] Batch idx [ 1 ] -> [ e6449653b0ea9da98ea6171207aae267 ]
172.17.0.1 - - [01/Aug/2017:13:28:13 +0000] "GET /v2/catalog HTTP/1.1" 200 3306
[2017-08-01T13:28:31.368Z] [INFO] AnsibleBroker::Catalog
[2017-08-01T13:28:31.368Z] [DEBUG] Dao::BatchGetRaw
[2017-08-01T13:28:31.368Z] [DEBUG] Successfully loaded [ 2 ] objects from etcd dir [ /spec ]
[2017-08-01T13:28:31.369Z] [DEBUG] Batch idx [ 0 ] -> [ e6449653b0ea9da98ea6171207aae267 ]
[2017-08-01T13:28:31.369Z] [DEBUG] Batch idx [ 1 ] -> [ c500116bf5d62d2d47cae3ce256742a1 ]
172.17.0.1 - - [01/Aug/2017:13:28:31 +0000] "GET /v2/catalog HTTP/1.1" 200 3306
[2017-08-01T13:31:28.986Z] [DEBUG] Injecting PlanID as parameter: { _apb_plan_id: default }
2017/08/01 13:31:28 http: panic serving 172.17.0.1:33900: assignment to entry in nil map
goroutine 863 [running]:
net/http.(*conn).serve.func1(0xc42049bc00)
/usr/lib/golang/src/net/http/server.go:1491 +0x12a
panic(0x15e9ca0, 0xc4206f46c0)
/usr/lib/golang/src/runtime/panic.go:458 +0x243
github.com/openshift/ansible-service-broker/pkg/broker.AnsibleBroker.Provision(0xc420537810, 0xc4202a8d80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc42043b1b0, 0xc, ...)
/builddir/build/BUILD/ansible-service-broker-1.0.0/src/github.com/openshift/ansible-service-broker/pkg/broker/broker.go:471 +0x448
github.com/openshift/ansible-service-broker/pkg/broker.(*AnsibleBroker).Provision(0xc4201b2780, 0xc420742c10, 0x10, 0x10, 0xc420417c00, 0x1, 0x2, 0xc420701560, 0x0)
<autogenerated>:10 +0xd8
github.com/openshift/ansible-service-broker/pkg/handler.handler.provision(0x0, 0x0, 0x0, 0x0, 0xc420743010, 0x2, 0x2, 0xc420701560, 0x0, 0x2031100, ...)
/builddir/build/BUILD/ansible-service-broker-1.0.0/src/github.com/openshift/ansible-service-broker/pkg/handler/handler.go:127 +0x3f0
github.com/openshift/ansible-service-broker/pkg/handler.(handler).(github.com/openshift/ansible-service-broker/pkg/handler.provision)-fm(0x7f777dca4848, 0xc4207d6ab0, 0xc42079c3c0, 0xc4207d6b10)
/builddir/build/BUILD/ansible-service-broker-1.0.0/src/github.com/openshift/ansible-service-broker/pkg/handler/handler.go:60 +0x9e
github.com/openshift/ansible-service-broker/pkg/handler.createVarHandler.func1(0x7f777dca4848, 0xc4207d6ab0, 0xc42079c3c0)
/builddir/build/BUILD/ansible-service-broker-1.0.0/src/github.com/openshift/ansible-service-broker/pkg/handler/handler.go:42 +0x65
net/http.HandlerFunc.ServeHTTP(0xc4207432c0, 0x7f777dca4848, 0xc4207d6ab0, 0xc42079c3c0)
/usr/lib/golang/src/net/http/server.go:1726 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc4208c9a50, 0x7f777dca4848, 0xc4207d6ab0, 0xc42079c3c0)
/builddir/build/BUILD/ansible-service-broker-1.0.0/src/github.com/gorilla/mux/mux.go:114 +0x10d
github.com/openshift/ansible-service-broker/pkg/handler.handler.ServeHTTP(0x0, 0x0, 0x0, 0x0, 0xc4202d5100, 0xb, 0x10, 0xc420701560, 0x0, 0x2031100, ...)
/builddir/build/BUILD/ansible-service-broker-1.0.0/src/github.com/openshift/ansible-service-broker/pkg/handler/handler.go:87 +0x52
github.com/openshift/ansible-service-broker/pkg/handler.(*handler).ServeHTTP(0xc42063c2d0, 0x7f777dca4848, 0xc4207d6ab0, 0xc42079c1e0)
<autogenerated>:2 +0xb5
github.com/gorilla/handlers.loggingHandler.ServeHTTP(0x201c7c0, 0xc42002c010, 0x201d7c0, 0xc42063c2d0, 0x202c340, 0xc42087e270, 0xc42079c1e0)
/builddir/build/BUILD/ansible-service-broker-1.0.0/src/github.com/gorilla/handlers/handlers.go:69 +0x121
github.com/gorilla/handlers.(*loggingHandler).ServeHTTP(0xc42070b240, 0x202c340, 0xc42087e270, 0xc42079c1e0)
<autogenerated>:8 +0x8b
net/http.serverHandler.ServeHTTP(0xc4202d5400, 0x202c340, 0xc42087e270, 0xc42079c1e0)
/usr/lib/golang/src/net/http/server.go:2202 +0x7d
net/http.(*conn).serve(0xc42049bc00, 0x202d300, 0xc420790d40)
/usr/lib/golang/src/net/http/server.go:1579 +0x4b7
created by net/http.(*Server).Serve
/usr/lib/golang/src/net/http/server.go:2293 +0x44d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment