-
Notifications
You must be signed in to change notification settings - Fork 676
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
ibm_container_vpc_cluster - update_all_workers not working #1952
Comments
@ifs-pauljegouic we addressed these issues in the PR - #1989 The PR addresses the following:
we are coming up with a new resource for kube version upgrade to handle all the requirements. |
Fix available in latest release |
@Anil-CM and @hkantare , I wanted to share my testing results using the IBM terraform provider 1.14.0:
HOWEVER, While that test description above could have moved a cluster from 1.17 to 1.18 latest, imagine changing the kube_version to 1.19 and doing a new init/generate/apply. Recall that update_all_workers is still set to true from the previous test. The expectation would be that the master AND workers are upgraded to 1.19. Unfortunately, in this case, Terraform recognizes the change in the kube_version and moves the master to 1.19, but the workers are not upgraded. It's as if the logic is seemingly coded (incorrectly) to require update_all_workers to change from false to true, for the new code fix from this Git issue to get executed. As a further test, I moved that setting back to false, then back to true, and saw the workers finally get upgraded (as long as the kube_version changed too). It should not be necessary to toggle update_all_workers from true to false to true, in order for your new fix the get invoked. It should be enough if it is set to true, and Terraform recognized change in kube_version (or elsewhere), then if there is a worker upgrade to be applied, Terraform does so. |
@TBradCreech - I experienced the same behavior today. However even after the toggle of
The workers and cluster were all normal in the ibmcloud CLI... |
Now we support two ways to update the patch update_all_workers and patch_version More details can be reffered from #1978 |
closing the issue |
Hello,
This property does not trigger any update:
Here is the result:
Master's info
![image](https://user-images.githubusercontent.com/50360031/95451519-32e43f00-0968-11eb-8b97-79b539161ccc.png)
Workers info
![image](https://user-images.githubusercontent.com/50360031/95451588-4b545980-0968-11eb-8e3c-93936a78c6c3.png)
The text was updated successfully, but these errors were encountered: