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

param lookup race condition #266

Closed
rebeccaskinner opened this issue Sep 19, 2016 · 1 comment
Closed

param lookup race condition #266

rebeccaskinner opened this issue Sep 19, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@rebeccaskinner
Copy link
Contributor

first identified with blackbox/test_graph_generation.sh in samples/platform.sh with the error

2016-09-19T12:16:41-05:00 |WARN| setting session-local token    token=32a7a76a-7028-43e2-ba96-0fba3b2f02d7
2016-09-19T12:16:41-05:00 |INFO| serving    addr=:47740 component=rpc
2016-09-19T12:16:41-05:00 |INFO| resolving dependencies component=rpc function=ResolveDependencies runID=eb7c1bfb-46ad-4983-a97f-e06f9d622c7b
2016-09-19T12:16:41-05:00 |INFO| loading resources  component=rpc function=SetResources runID=eb7c1bfb-46ad-4983-a97f-e06f9d622c7b
2016-09-19T12:16:41-05:00 |ERROR| could not render  component=rpc error=template: destination:1:18: executing "destination" at <param `filename`>: error calling param: param not found location=/Users/rebecca/go/src/github.com/asteris-llc/converge/samples/platform.hcl runID=eb7c1bfb-46ad-4983-a97f-e06f9d622c7b
2016-09-19T12:16:41-05:00 |ERROR| loading failed    component=rpc error=rendering /Users/rebecca/go/src/github.com/asteris-llc/converge/samples/platform.hcl: template: destination:1:18: executing "destination" at <param `filename`>: error calling param: param not found function=grapher.Graph runID=eb7c1bfb-46ad-4983-a97f-e06f9d622c7b
2016-09-19T12:16:41-05:00 |FATAL| could not get graph   component=client error=error getting graph component: rpc error: code = 2 desc = loading failed: rendering /Users/rebecca/go/src/github.com/asteris-llc/converge/samples/platform.hcl: template: destination:1:18: executing "destination" at <param `filename`>: error calling param: param not found file=/Users/rebecca/go/src/github.com/asteris-llc/converge/samples/platform.hcl
rebecca@rmbp2:~/go/src/github.com/asteris-llc/converge$ cat samples/platform.hcl

Suspected race condition related to graph ordering and/or param lookup.

@rebeccaskinner rebeccaskinner self-assigned this Sep 19, 2016
@BrianHicks BrianHicks added this to the 0.2.0-beta2 milestone Sep 19, 2016
@rebeccaskinner
Copy link
Contributor Author

Fixed in #265

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants