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

Use upgraded container-vm by default on worker nodes for GCE k8s clusters #31023

Merged
merged 1 commit into from
Aug 26, 2016

Conversation

vishh
Copy link
Contributor

@vishh vishh commented Aug 19, 2016

For #25276
Depends on kubernetes/test-infra#417


This change is Reviewable

Signed-off-by: Vishnu kannan <vishnuk@google.com>
@vishh vishh added the do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. label Aug 19, 2016
@vishh vishh added this to the v1.4 milestone Aug 19, 2016
@vishh
Copy link
Contributor Author

vishh commented Aug 19, 2016

cc @dchen1107

@vishh
Copy link
Contributor Author

vishh commented Aug 19, 2016

cc @pwittrock

@k8s-github-robot k8s-github-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. release-note-label-needed labels Aug 19, 2016
@dchen1107
Copy link
Member

I want to make sure all of us on the same page:

@vishh
Copy link
Contributor Author

vishh commented Aug 20, 2016

@dchen1107 kubernetes/test-infra#420 is the PR that should enable most of those critical tests. Over the next week, I hope to get to complete test parity.
I think these tests are good enough to make a decision on this PR.

@vishh vishh added release-note-action-required Denotes a PR that introduces potentially breaking changes that require user action. and removed release-note-label-needed labels Aug 20, 2016
@vishh vishh changed the title Switch to using gci by default for GCE k8s clusters Use gci by default on worker nodes for GCE k8s clusters Aug 20, 2016
@vishh
Copy link
Contributor Author

vishh commented Aug 23, 2016

All critical tests have been added at this stage. Let's wait for at-least a day to get enough test data. With that, I'm hoping that we can make an informed decision on the impact of this change. This might push this PR beyond the freeze date. Apologies!

@dchen1107
Copy link
Member

We are holding the PR for testing results.

@vishh
Copy link
Contributor Author

vishh commented Aug 24, 2016 via email

@vishh
Copy link
Contributor Author

vishh commented Aug 24, 2016

Update: The GKE tests are running now. Waiting for a couple of runs to gather some concrete data.

@vishh
Copy link
Contributor Author

vishh commented Aug 25, 2016

Update: #31456 is the only major blockers. All other tests are either passing or are being fixed.

@vishh
Copy link
Contributor Author

vishh commented Aug 25, 2016

One more issue to track - #31465

@dchen1107
Copy link
Member

@vishh and I went over all critical builds including GCE & GKE, and most of tests are passed. Several issues were filed separately, and we are going to address them one-by-one. I am going to unblock this pr for now.

cc/ @pwittrock, the release czar for 1.4.

@pwittrock
Copy link
Member

/approved-for-1.4

@dchen1107 dchen1107 removed the do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. label Aug 25, 2016
@dchen1107
Copy link
Member

LGTM

@dchen1107 dchen1107 added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 25, 2016
@k8s-bot
Copy link

k8s-bot commented Aug 25, 2016

GCE e2e build/test passed for commit ff70760.

@vishh
Copy link
Contributor Author

vishh commented Aug 25, 2016

@owenhaynes
Copy link

Does this not break GlusterFS, CephFS and possibly other Volumes from ever working?

@vishh vishh changed the title Use gci by default on worker nodes for GCE k8s clusters Use upgraded container-vm by default on worker nodes for GCE k8s clusters Aug 26, 2016
@vishh
Copy link
Contributor Author

vishh commented Aug 26, 2016

@owenhaynes This PR only changes the default for now. It will still be possible to use the old version of container-vm and one can install gluster or ceph packages. I hope that containerized volume mounters will be ready for production before the old container-vm will be deprecated.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@caseydavenport
Copy link
Member

Please see #32151 (comment)

This PR broke CNI on GCE deployments. We either need to get the above PR merged and added to the v1.4 milestone, or revert this change.

@lxpollitt
Copy link

cc @thockin

@thockin thockin added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Sep 13, 2016
@thockin
Copy link
Member

thockin commented Sep 13, 2016

@pwittrock

@pwittrock
Copy link
Member

ACK. @dchen1107 @vishh Please file an issue for the 1.4 milestone and come up with a resolution. We need the resolution merged into 1.4 by Wednesday and then QA'ed manually on the beta build.

@thockin
Copy link
Member

thockin commented Sep 13, 2016

PR to set the flag is LGTM'ed, but calico is still broken

k8s-github-robot pushed a commit that referenced this pull request Sep 13, 2016
Automatic merge from submit-queue

Add flag to set CNI bin dir, and use it on gci nodes

**What this PR does / why we need it**:

When using `kube-up` on GCE, following #31023 which moved the workers from debian to gci, CNI just isn't working.  The root cause is basically as discussed in #28563: one flag (`--network-plugin-dir`) means two different things, and the `configure-helper` script uses it for the wrong purpose.

This PR adds a new flag `--cni-bin-dir`, then uses it to configure CNI as desired.

As discussed at #28563, I have also added a flag `--cni-conf-dir` so users can be explicit 

**Which issue this PR fixes** : fixes #28563

**Special notes for your reviewer**:

I left the old flag largely alone for backwards-compatibility, with the exception that I stop setting the default when CNI is in use.  The value of `"/usr/libexec/kubernetes/kubelet-plugins/net/exec/"` is unlikely to be what is wanted there.

**Release note**:
```release-note
Added new kubelet flags `--cni-bin-dir` and `--cni-conf-dir` to specify where CNI files are located.
Fixed CNI configuration on GCI platform when using CNI.
```
@vishh
Copy link
Contributor Author

vishh commented Sep 14, 2016

@thockin is there an issue for Calico stuff?

On Tue, Sep 13, 2016 at 4:41 PM, Tim Hockin notifications@github.com
wrote:

PR to set the flag is LGTM'ed, but calico is still broken


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#31023 (comment),
or mute the thread
/~https://github.com/notifications/unsubscribe-auth/AGvIKFVviCY2lPD98A0uIBqmLDfPSHfhks5qpzSSgaJpZM4Jo0wC
.

@caseydavenport
Copy link
Member

@vishh - Will raise one now and report back

@caseydavenport
Copy link
Member

@vishh #32625

eparis pushed a commit to eparis/kubernetes that referenced this pull request Sep 14, 2016
Automatic merge from submit-queue

Add flag to set CNI bin dir, and use it on gci nodes

**What this PR does / why we need it**:

When using `kube-up` on GCE, following kubernetes#31023 which moved the workers from debian to gci, CNI just isn't working.  The root cause is basically as discussed in kubernetes#28563: one flag (`--network-plugin-dir`) means two different things, and the `configure-helper` script uses it for the wrong purpose.

This PR adds a new flag `--cni-bin-dir`, then uses it to configure CNI as desired.

As discussed at kubernetes#28563, I have also added a flag `--cni-conf-dir` so users can be explicit

**Which issue this PR fixes** : fixes kubernetes#28563

**Special notes for your reviewer**:

I left the old flag largely alone for backwards-compatibility, with the exception that I stop setting the default when CNI is in use.  The value of `"/usr/libexec/kubernetes/kubelet-plugins/net/exec/"` is unlikely to be what is wanted there.

**Release note**:
```release-note
Added new kubelet flags `--cni-bin-dir` and `--cni-conf-dir` to specify where CNI files are located.
Fixed CNI configuration on GCI platform when using CNI.
```
(cherry picked from commit c4893df)
mtaufen added a commit to mtaufen/kubernetes that referenced this pull request Sep 16, 2016
This reverts PR kubernetes#31023, which had made GCI the default node image for
open source. This revert makes container-vm the default for open source again.
k8s-github-robot pushed a commit that referenced this pull request Sep 17, 2016
Automatic merge from submit-queue

Revert "Merge pull request #31023 from vishh/gci-default"

This reverts PR #31023, which had made GCI the default node image for open source. This revert makes container-vm the default for open source again.
eparis pushed a commit to eparis/kubernetes that referenced this pull request Sep 17, 2016
…again

Automatic merge from submit-queue

Revert "Merge pull request kubernetes#31023 from vishh/gci-default"

This reverts PR kubernetes#31023, which had made GCI the default node image for open source. This revert makes container-vm the default for open source again.
(cherry picked from commit 3718fd1)
@spiffxp
Copy link
Member

spiffxp commented Sep 21, 2016

@vishh @dchen1107 this PR has a release-note-action-required label on it, but I can't tell what the action is, CHANGELOG.md only has the PR title in it

can you please clarify what the action required is?

@vishh vishh added release-note-none Denotes a PR that doesn't merit a release note. and removed release-note-action-required Denotes a PR that introduces potentially breaking changes that require user action. labels Sep 21, 2016
@vishh
Copy link
Contributor Author

vishh commented Sep 21, 2016

@spiffxp This PR got reverted. Updated release-note label.

shyamjvs pushed a commit to shyamjvs/kubernetes that referenced this pull request Dec 1, 2016
Automatic merge from submit-queue

Add flag to set CNI bin dir, and use it on gci nodes

**What this PR does / why we need it**:

When using `kube-up` on GCE, following kubernetes#31023 which moved the workers from debian to gci, CNI just isn't working.  The root cause is basically as discussed in kubernetes#28563: one flag (`--network-plugin-dir`) means two different things, and the `configure-helper` script uses it for the wrong purpose.

This PR adds a new flag `--cni-bin-dir`, then uses it to configure CNI as desired.

As discussed at kubernetes#28563, I have also added a flag `--cni-conf-dir` so users can be explicit

**Which issue this PR fixes** : fixes kubernetes#28563

**Special notes for your reviewer**:

I left the old flag largely alone for backwards-compatibility, with the exception that I stop setting the default when CNI is in use.  The value of `"/usr/libexec/kubernetes/kubelet-plugins/net/exec/"` is unlikely to be what is wanted there.

**Release note**:
```release-note
Added new kubelet flags `--cni-bin-dir` and `--cni-conf-dir` to specify where CNI files are located.
Fixed CNI configuration on GCI platform when using CNI.
```
(cherry picked from commit c4893df)
shyamjvs pushed a commit to shyamjvs/kubernetes that referenced this pull request Dec 1, 2016
…again

Automatic merge from submit-queue

Revert "Merge pull request kubernetes#31023 from vishh/gci-default"

This reverts PR kubernetes#31023, which had made GCI the default node image for open source. This revert makes container-vm the default for open source again.
(cherry picked from commit 3718fd1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.