Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Increasing IP workloads in a deployment doesn't work (affects K8s and deployments) #15

Closed
OmarElawady opened this issue Aug 26, 2021 · 3 comments
Assignees
Labels
state_blocked type_bug Something isn't working
Milestone

Comments

@OmarElawady
Copy link
Contributor

OmarElawady commented Aug 26, 2021

Description

There's no way to change the number of IPs when updating a contract. Which causes the deployments to fail if it requires more public IPs than it initially requested.

Reporting in the plugin

Fails with proper message

Workaround

destroy the resource and re-create it.

terraform destroy -target <resource name> -parallelism=1 && terraform apply -target <resource name> -parallelism=1

Fixes

Wait for threefoldtech/zos#1366

@RafyAmgadBenjamin
Copy link

This isssue was reproducible with me
image

@xmonader xmonader added this to the next milestone Nov 3, 2021
@xmonader xmonader added the type_bug Something isn't working label Dec 15, 2021
@xmonader xmonader removed this from the next milestone Jul 4, 2022
@ashraffouda ashraffouda added this to the 1.5.8 milestone Oct 10, 2022
@mariobassem mariobassem self-assigned this Oct 10, 2022
@mariobassem
Copy link
Collaborator

currently, solving this would require lots of changes, since the provider is designed to maintain a single deployment per node, and since updating number of public ips for a contract is not yet supported, the only solution is to create a new contract with the updated number of ips, and delete the old contract. but this behavior is undesired since a user may have important data on the deleted deployment.

@xmonader xmonader modified the milestones: 1.5.8, 1.6.0 Nov 14, 2022
@ashraffouda ashraffouda modified the milestones: 1.6.0, 1.7.0 Nov 14, 2022
@mariobassem mariobassem added this to the future milestone Dec 22, 2022
@ashraffouda
Copy link
Collaborator

not supported by zos threefoldtech/zos#1366

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
state_blocked type_bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants