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

Error while applying an update #5188

Closed
pshail opened this issue Feb 18, 2016 · 10 comments
Closed

Error while applying an update #5188

pshail opened this issue Feb 18, 2016 · 10 comments
Labels
bug waiting-response An issue/pull request is waiting for a response from the community

Comments

@pshail
Copy link

pshail commented Feb 18, 2016

Error when scaling-up / adding new resource to an existing terraform inventory.

Basically was increasing the count of few resources and it gives the following error.

  • openstack_compute_instance_v2.control.0: diffs didn't match during apply. This is a bug with Terraform and should be reported.
  • openstack_compute_instance_v2.worker.0: diffs didn't match during apply. This is a bug with Terraform and should be reported.
@phinze
Copy link
Contributor

phinze commented Feb 19, 2016

Hi @heckdevice, we can definitely help look into this, can you share a bit more detail about the config / state when you encountered this error.

If we can come up with steps to reproduce the error, we can figure out what the bug is and get it fixed! 👍

@jtopjian jtopjian added the waiting-response An issue/pull request is waiting for a response from the community label Feb 28, 2016
@pshail
Copy link
Author

pshail commented Mar 15, 2016

Basically was trying to update a deployment of two nodes to three nodes and each node have a floating ip association. This is on a in-house OpenStack setup.

On applying the update the above error comes.

@jtopjian
Copy link
Contributor

@heckdevice Are you able to post the Terraform configuration you're using to trigger this?

Off the top of my head, if you're using count and something like element, this may be a result of #3449.

@pshail
Copy link
Author

pshail commented Mar 15, 2016

@jtopjian i am relying on the count for increasing the count but have no volume mapping as its managed by nova and not cinder in my openstack. I however am associating floating ips to each instance.

PFA the terraform file that i first apply
dc1-base.txt

on update i am simply changing the datanode_count. The plan goes through but on applying this change the issue is revealed.

@jtopjian
Copy link
Contributor

OK, sounds very similar to #3662 (which is another symptom of #3449). Can you confirm if #3662 looks more similar to what you're seeing? If not, I'll try to reproduce this issue on my end.

@pshail
Copy link
Author

pshail commented Mar 15, 2016

@jtopjian Looking into #3449 it seems more like #3885

@jtopjian
Copy link
Contributor

OK, good to know. I think it's safe to say the problem you're seeing is a bug in core. Someone in #3449 mentioned a workaround -- maybe that can get things sorted for the time being?

Let me know your thoughts. If you're getting confident that the problem you're seeing can be compared to one of the other issues that point to #3449, I'll close this issue in favor of #3449.

@pshail
Copy link
Author

pshail commented Mar 16, 2016

@jtopjian Let's close for now in fav of #3449. Will check back on the workaround if it actually works. Thanks.

@pshail pshail closed this as completed Mar 16, 2016
@pshail pshail reopened this Mar 16, 2016
@jtopjian
Copy link
Contributor

@heckdevice okie dokie

@ghost
Copy link

ghost commented Apr 27, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug waiting-response An issue/pull request is waiting for a response from the community
Projects
None yet
Development

No branches or pull requests

3 participants