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

0.13: [Bug]: Failed to recognize state when pulumi identified no resources changed #5084

Closed
ishantagarwal-x213235 opened this issue Sep 13, 2023 · 3 comments · Fixed by #5129
Labels

Comments

@ishantagarwal-x213235
Copy link
Contributor

Garden Bonsai (0.13) Bug

Current Behavior

garden is failing to recognize the state when pulumi identified no resources available to change.

Failed to Deploy type=pulumi name=x-service (from module x-service): Error: Deploy type=pulumi name=x-service (from module x-service) failed: TypeError: Cannot read properties of null (reading 'state')

Command garden plugins pulumi preview

Expected behavior

garden should executed the command successfully without throwing an error.

Reference project
https://github.com/ishantagarwal-x213235/garden-sample-project

@ishantagarwal-x213235
Copy link
Contributor Author

ishantagarwal-x213235 commented Sep 13, 2023

pick these lines from error logs that might help you

Failed to Deploy type=pulumi name=x-service (from module x-service): Error: Deploy type=pulumi name=x-service (from module x-service) failed: TypeError: Cannot read properties of null (reading 'state')
[silly] Error: Failed to Deploy type=pulumi name=x-service (from module x-service): Error: Deploy type=pulumi name=x-service (from module x-service) failed: TypeError: Cannot read properties of null (reading 'state')
    at RequestTaskNode.completeHandler (/snapshot/project/tmp/pkg/cli/node_modules/@garden-io/core/build/src/graph/solver.js:93:36)
    at RequestTaskNode.complete (/snapshot/project/tmp/pkg/cli/node_modules/@garden-io/core/build/src/graph/nodes.js:165:14)
    at ProcessTaskNode.complete (/snapshot/project/tmp/pkg/cli/node_modules/@garden-io/core/build/src/graph/nodes.js:112:19)
    at GraphSolver.completeTask (/snapshot/project/tmp/pkg/cli/node_modules/@garden-io/core/build/src/graph/solver.js:356:29)
    at GraphSolver.processNode (/snapshot/project/tmp/pkg/cli/node_modules/@garden-io/core/build/src/graph/solver.js:283:27)

Error Details:```

@shumailxyz
Copy link
Contributor

Probably same as #5118

@ishantagarwal-x213235
Copy link
Contributor Author

yes, it's the same issue

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

Successfully merging a pull request may close this issue.

2 participants