Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

* rancher_stack.test: Error waiting for stack (1st56) to be updated: unexpected state 'finishing-upgrade', wanted target 'active'. last error: %!s(<nil>) #70

Open
ozbillwang opened this issue Apr 13, 2018 · 0 comments
Labels

Comments

@ozbillwang
Copy link

ozbillwang commented Apr 13, 2018

Hi there,

Terraform Version

$ terraform version
Terraform v0.11.6
+ provider.rancher v1.2.0
+ provider.template v1.0.0

Affected Resource(s)

Please list the resources as a list, for example:

  • rancher_stack

Terraform Configuration Files

same files I used in #69

Panic Output

  • module.rancher_stack.rancher_stack.test: 1 error(s) occurred:

  • rancher_stack.test: Error waiting for stack (1st56) to be updated: unexpected state 'finishing-upgrade', wanted target 'active'. last error: %!s()

Expected Behavior

cancelUpgrade the current Upgrading stack and apply the latest changes.

Actual Behavior

I understand my previous deployment is failed that the container can't start properly and keep in Upgrading status.

But can we have a feature in this provider to do cancelUpgrade , otherwise, I have to manually cancel upgrading (or run a API call) when see this error.

rancher/rancher#4768

It sounds like the current solution to this problem is to make a call to the API using the cancelupgrade endpoint.

@radeksimko radeksimko added the bug label Feb 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants