-
Notifications
You must be signed in to change notification settings - Fork 91
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
Failure when adding or removing cold or frozen tiers #466
Comments
Hi guys, any updates on this issue? |
@Kushmaro @jaggederest any ideas when and how it can be fixed? |
We are looking into this @AndriiLavrekha , but we can't provide any timelines as of yet. |
@Kushmaro Thank you for the comment. |
I can't @AndriiLavrekha , this needs further investigation to confirm or deny it affects only a single type of tier. |
I think this is due to #336. Even if you specify the blocks in alphabetical order things don't always work. In my case the order in the state changes after running |
The defect indeed is caused by the same logic and limitations that cause #336. The possible workaround: If autoscale disabledInitial deployment creation Topology elements (tiers) with non-zero sizes have to be listed in alphabetical order of their Update - new tier adding
Update - removing existing tier
If autoscale enabledThe idea is the same but applies to all tiers that either have non-zero sizes or can be resized by auto scaling (it happens when a corresponding deployment template specifies non-zero However, if the tier's size is zero and a corresponding deployment template doesn't specify Also, make sure to ignore
|
Closed by #567 |
Readiness Checklist
elasticsearch.topology
blocks is not idempotent #336 and Unable to disable manually added cold or frozen tier: 'master' node type is missing #343, @Kushmaro asked to file an issueExpected Behavior
Add a cold or frozen tier to an existing deployment. Or removing from an existing one.
Current Behavior
We get the error:
Even if using alphabetical order when defining the resources.
Steps to Reproduce
terraform apply -auto-approve
(it requires previously setting the EC Ap key withEC_API_KEY="<ESS_API_KEY>"
andterraform init
.terraform.state
terraform apply -auto-approve
terrafom.state
we can see that it has mixed, thecold
id has hot attributes (instance configuration, node roles not allowed incold
likeingest
ormaster
). Thehot_content
has warm attributes. And thewarm
has emptry attributes.Context
Trying to add a cold tier to a deployment that already has a hot and warm. Several combinations lead to this same error.
Possible Solution
We have found no solution/workaround so far. Once this is hit, we have to use the cloud UI to add or remove tiers, and then
terraform apply -refresh-only
.Your Environment
The text was updated successfully, but these errors were encountered: