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

Fix issue where volume register would not set namespace #169

Merged
merged 1 commit into from
Nov 6, 2020

Conversation

lgfa29
Copy link
Contributor

@lgfa29 lgfa29 commented Nov 6, 2020

When registering a volume in a specific namespace, the provider would fail with the error:

Error: Provider produced inconsistent result after apply

When applying changes to nomad_volume.ebs, provider
"registry.terraform.io/hashicorp/nomad" produced an unexpected new value: Root
resource was present, but now absent.

This is a bug in the provider, which should be reported in the provider's own
issue tracker.

This happened because the registration action was not setting the namespace in the request, but the read (and delete) do, so the volume would 404 on read and the state would be inconsistent.

@lgfa29 lgfa29 requested a review from cgbaker November 6, 2020 19:00
Copy link
Contributor

@cgbaker cgbaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lgfa29 lgfa29 merged commit ddd7b67 into master Nov 6, 2020
@lgfa29 lgfa29 deleted the b-namespace-volume-register branch November 10, 2020 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants