Skip to content

UPSTREAM: <carry>: Change docker security opt separator to be compatible with 1.11+ - #12831

Merged
openshift-bot merged 1 commit into
openshift:masterfrom
pmorie:docker-securityopt
Feb 16, 2017
Merged

openshift-bot merged 1 commit into
openshift:masterfrom
pmorie:docker-securityopt

Conversation

@pmorie

@pmorie pmorie commented Feb 6, 2017

Copy link
Copy Markdown
Contributor

Closes bug 1413100

@derekwaynecarr

Copy link
Copy Markdown
Member

[merge]

@derekwaynecarr

Copy link
Copy Markdown
Member

re [merge]

@pmorie

pmorie commented Feb 8, 2017

Copy link
Copy Markdown
Contributor Author

@stevekuznetsov what is the deal with the build here

@stevekuznetsov

Copy link
Copy Markdown
Contributor

@openshift-bot, the last build failed from the following flakes:

re[merge]

@derekwaynecarr

derekwaynecarr commented Feb 8, 2017 •

Copy link
Copy Markdown
Member

@openshift-bot, the last build failed from the following flakes:

re[merge]

@stevekuznetsov

Copy link
Copy Markdown
Contributor

If that repeats there is some chance it's due to this PR?

@smarterclayton

Copy link
Copy Markdown
Contributor

Flaked on openshift/origin-gce#12

@pmorie

pmorie commented Feb 9, 2017

Copy link
Copy Markdown
Contributor Author

@openshift-bot, the last build failed from the following flakes:

networking failed on: #12865

re[merge]

@pmorie

pmorie commented Feb 9, 2017 •

Copy link
Copy Markdown
Contributor Author

🎲 🎲

rollin them dice

You've already embarrassed me in front of @derekwaynecarr FOR THE LAST TIME jenkins

@stevekuznetsov

Copy link
Copy Markdown
Contributor

@pmorie sorry had to abort job, some technical issues. you're still in the queue

@smarterclayton

Copy link
Copy Markdown
Contributor

Queue went boom, try again

[merge]

@smarterclayton

Copy link
Copy Markdown
Contributor

Networking hung

@derekwaynecarr

Copy link
Copy Markdown
Member

re [merge] again

@smarterclayton

smarterclayton commented Feb 10, 2017 via email

Copy link
Copy Markdown
Contributor

@eparis

eparis commented Feb 10, 2017

Copy link
Copy Markdown
Member

oh my god is anything [merge] ing today?

@openshift-bot

Copy link
Copy Markdown
Contributor

[Test]ing while waiting on the merge queue

@stevekuznetsov

Copy link
Copy Markdown
Contributor

@openshift-bot, the last build failed from the following flakes:

re[merge]

@stevekuznetsov

Copy link
Copy Markdown
Contributor

@pmorie this really does look like your PR is making networking consistently hang.

@smarterclayton

Copy link
Copy Markdown
Contributor

Yeah, removing tag this is suspicious

@smarterclayton

Copy link
Copy Markdown
Contributor

There are lots of things merging and my spider senses are tingling

@smarterclayton

Copy link
Copy Markdown
Contributor

I wish we had test grid history.

@stevekuznetsov

Copy link
Copy Markdown
Contributor

@smarterclayton I've been baby-sitting for the queue today and everything else seems legit.

@pmorie
pmorie force-pushed the docker-securityopt branch from 8955ad7 to 9f81f6f Compare February 13, 2017 18:09
@pmorie

pmorie commented Feb 13, 2017

Copy link
Copy Markdown
Contributor Author

[testextended][extended:networking-minimal]

Going to try to isolate the networking failure we were seeing.

@pmorie

pmorie commented Feb 13, 2017

Copy link
Copy Markdown
Contributor Author

Next step for me is to debug the test in question - but from looking at the test code, there should be no deps on this change for that particular test to work/break that wouldn't have broken a ton of other tests. Nonetheless, it does seem that this PR is indicating there's some kind of breakage. So, time to debug.

@pmorie

pmorie commented Feb 14, 2017

Copy link
Copy Markdown
Contributor Author

I was able to run the failing tests correctly locally, so will need to debug in more detail on the CI environment.

@pmorie

pmorie commented Feb 14, 2017

Copy link
Copy Markdown
Contributor Author

@stevekuznetsov and I have tracked down the issue here:

  1. Docker 1.12 ignores old-format separators
  2. Kubernetes 1.5 uses the behaviors of the docker daemon to DTRT wrt SELinux when no SELinux context is provided for the pod, which is the behavior that the origin CI fell into when it was sending the old separator. This is why the jobs ran correctly with SELinux enforcing, even though our separators were being ignored.
  3. The networking tests use a DIND setup in order to simulate multiple hosts on a single machine; the DIND version is 1.10, which will fail to start containers if the new-style separator is passed.

@marun is going to submit a change to move the DIND version in the networking tests up to 1.12 today.

@stevekuznetsov

Copy link
Copy Markdown
Contributor

@marun can we tentatively create a card to move the dind image building to rely on RHEL and pull in the same Docker we use for the AMIs so that there is no drift? Is Fedora a necessary target for those jobs?

@stevekuznetsov

Copy link
Copy Markdown
Contributor

Prerequisite #12965 has merged -- thanks @marun
let's re[test] this now

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin testextended up to 9f81f6f

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to 9f81f6f

@openshift-bot

Copy link
Copy Markdown
Contributor

@openshift-bot

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/testextended SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin_extended/1104/) (Base Commit: c4879fc) (Extended Tests: networking-minimal)

@stevekuznetsov

Copy link
Copy Markdown
Contributor

Newer DIND images are pulling in docker-2:1.12.6-6.gitae7d637.fc25, tests look fine, [merge]

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to 9f81f6f

@openshift-bot

openshift-bot commented Feb 15, 2017 •

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_future/253/) (Base Commit: 2a248fb) (Image: devenv-rhel7_5922)

@openshift-bot
openshift-bot merged commit 912c6c4 into openshift:master Feb 16, 2017
@jim-minter

Copy link
Copy Markdown
Contributor

I'm using docker-1.10.3-45.gite03ddb8.fc23.x86_64, and this change means I can't run pods any more:

Error syncing pod, skipping: failed to "StartContainer" for "POD" with RunContainerError: "runContainer: Error response from daemon: Invalid --security-opt: \"label=level:s0:c8,c2\""

Is this intended?

@stevekuznetsov

Copy link
Copy Markdown
Contributor

Yes. Docker 1.10 is not supported for the current release of Origin.

@jim-minter

Copy link
Copy Markdown
Contributor

What is the minimum version of Docker now required? 1.12? Where is it documented?

@stevekuznetsov

Copy link
Copy Markdown
Contributor

The Origin installation documentation lists 1.12 as the minimum version for 1.5

@pweil-

pweil- commented Feb 17, 2017

Copy link
Copy Markdown

@pmorie @derekwaynecarr we also required 1.12 for 3.4, this likely needs backported (didn't see another PR from a quick search)

@pweil- pweil- mentioned this pull request Feb 20, 2017
20 tasks done
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 this pull request may close these issues.

8 participants