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

Cannot upgrade k8s cluster using cluster.yml, unless upgrade_cluster_setup is set to true #4139

Closed
hedayat opened this issue Jan 29, 2019 · 15 comments · Fixed by #5609
Closed

Comments

@hedayat
Copy link
Contributor

hedayat commented Jan 29, 2019

Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

Environment:

  • Cloud provider or hardware configuration: bare metal

  • OS (printf "$(uname -srm)\n$(cat /etc/os-release)\n"): Fedora 29, Linux 4.20.3-200.fc29.x86_64 x86_64

  • Version of Ansible (ansible --version):2.7.5

**Kubespray version (commit) (git rev-parse --short HEAD):**881be9b7

Command used to invoke ansible:
ansible-playbook -i my_inventory/single_node.ini cluster.yml

Anything else do we need to know:
The kubeadm rules only upgrade the cluster when upgrade_cluster_setup is true, but it is false by default and when cluster.yml is used. Either something should be changed, or the upgrade docs should be fixed to mention that -e upgrade_cluster_setup=true should be used in upgrades using cluster.yml.

@IpaliboWhyte
Copy link

I believe upgrade-cluster.yml should be used for upgrading the cluster and that has upgrade_cluster_setup set to true by default.

@hedayat
Copy link
Contributor Author

hedayat commented Feb 1, 2019

Nope. Please see Kubespray upgrade doc. There is mainly 2 methods: 1. unsafe one, using cluster.yml and 2. safe one (graceful upgrade), which uses upgrade-cluster.yml

Upgrades using cluster.yml, including partial upgrades, are explicitly documented in upgrade docs.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 2, 2019
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jun 1, 2019
@hedayat
Copy link
Contributor Author

hedayat commented Jun 2, 2019

/remove-lifecycle rotten

@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Jun 2, 2019
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 31, 2019
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Sep 30, 2019
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@hedayat
Copy link
Contributor Author

hedayat commented Nov 2, 2019

/reopen
/remove-lifecycle rotten

@k8s-ci-robot k8s-ci-robot reopened this Nov 2, 2019
@k8s-ci-robot
Copy link
Contributor

@hedayat: Reopened this issue.

In response to this:

/reopen
/remove-lifecycle rotten

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Nov 2, 2019
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 31, 2020
@hedayat
Copy link
Contributor Author

hedayat commented Feb 1, 2020

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 1, 2020
@Flowkap
Copy link
Contributor

Flowkap commented Feb 7, 2020

I literally searched a whole day to find this, We faced the same issue. All was upgraded but the actuall running control plane pods. Related to #4736

@Flowkap
Copy link
Contributor

Flowkap commented Feb 7, 2020

Opened #5609 to add info to the upgrade docs as that was actually the first place I went looking and found no hint.

k8s-ci-robot pushed a commit that referenced this issue Feb 17, 2020
…pgrade using cluster.yml playbook. Relates to #4736 and #4139 (#5609)
LuckySB pushed a commit to southbridgeio/kubespray that referenced this issue Mar 7, 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 a pull request may close this issue.

5 participants