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 HTTP 415 when retrieving tags after nodes role switch #564

Merged
merged 1 commit into from
Aug 13, 2020
Merged

Fix HTTP 415 when retrieving tags after nodes role switch #564

merged 1 commit into from
Aug 13, 2020

Conversation

outcatcher
Copy link
Contributor

Make provider use master node instead of node with ID _node0 for getting tags

Make provider use `master` node instead of node with ID `_node0` for getting tags
@outcatcher
Copy link
Contributor Author

outcatcher commented Aug 13, 2020

Possible fix of #562

HTTP 415 is not reproduced any more, though correct work of provider with switched RDS nodes requires setting

  lifecycle {
    ignore_changes = [
      "db",
      "availability_zone",
    ]
  }

So terraform won't treat switching nodes as a change in state ― availability zones got reordered, and change in AZ forces re-creation of RDS instance by default.

@outcatcher outcatcher requested a review from niuzhenguo August 13, 2020 07:50
@outcatcher outcatcher merged commit a976c75 into opentelekomcloud:master Aug 13, 2020
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.

2 participants