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

KCP does not report the right number of up-to-date machines during rollout #3862

Closed
fabriziopandini opened this issue Oct 23, 2020 · 6 comments · Fixed by #3900
Closed

KCP does not report the right number of up-to-date machines during rollout #3862

fabriziopandini opened this issue Oct 23, 2020 · 6 comments · Fixed by #3900
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor.
Milestone

Comments

@fabriziopandini
Copy link
Member

fabriziopandini commented Oct 23, 2020

What steps did you take and what happened:
I created a 3CP control plane
I started a rolling upgrade and saw Rolling 1 replicas with outdated spec (2 replicas up to date) - tot 3 replicas - but as you can see below there are 4 machines in the cluster...

├─ControlPlane - KubeadmControlPlane/test1-control-plane  False  Warning   RollingUpdateInProgress  3m22s  Rolling 1 replicas with outdated spec (2 replicas up to date)
│ ├─Machine/test1-control-plane-2r4qf                     True                                      17m
│ │             ├─BootstrapReady                          True                                      18m
│ │             └─InfrastructureReady                     True                                      17m
│ ├─Machine/test1-control-plane-65tsl                     True                                      6m34s
│ │             ├─BootstrapReady                          True                                      7m25s
│ │             └─InfrastructureReady                     True                                      6m34s
│ ├─Machine/test1-control-plane-kqdr4                     True                                      10m
│ │             ├─BootstrapReady                          True                                      14m
│ │             └─InfrastructureReady                     True                                      10m
│ └─Machine/test1-control-plane-zd595                     True                                      2m40s
│               ├─BootstrapReady                          True                                      3m22s
│               └─InfrastructureReady                     True                                      2m40s

What did you expect to happen:
To see 3 replicas up to date instead on 2

├─ControlPlane - KubeadmControlPlane/test1-control-plane  False  Warning   RollingUpdateInProgress  3m22s  Rolling 1 replicas with outdated spec (3 replicas up to date)

/kind bug

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Oct 23, 2020
@fabriziopandini
Copy link
Member Author

/milestone v0.3.11

@k8s-ci-robot k8s-ci-robot added this to the v0.3.11 milestone Oct 23, 2020
@fabriziopandini
Copy link
Member Author

/assign
/lifecycle active

@k8s-ci-robot k8s-ci-robot added the lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor. label Oct 27, 2020
@CecileRobertMichon
Copy link
Contributor

Could this be related to the issues we're seeing in the CAPZ KCP upgrade job kubernetes-sigs/cluster-api-provider-azure#932 (comment)? cc @nader-ziada

@nader-ziada
Copy link
Contributor

Could this be related to the issues we're seeing in the CAPZ KCP upgrade job kubernetes-sigs/cluster-api-provider-azure#932 (comment)? cc @nader-ziada

it could be since this would make the upgrade process take longer, the part of the test where capz test gets stuck is getting a list of machines and checking that there are no machines with the the old version (upgrade from version).

@fabriziopandini
Copy link
Member Author

#3900 is merged
/close

@k8s-ci-robot
Copy link
Contributor

@fabriziopandini: Closing this issue.

In response to this:

#3900 is merged
/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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor.
Projects
None yet
4 participants