-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Kube like pods should share ipc,net,uts by default #10268
Kube like pods should share ipc,net,uts by default #10268
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: flouthoc The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
5feb478
to
6c614d0
Compare
9f7be20
to
e11fb9a
Compare
should use |
e11fb9a
to
99dd454
Compare
Close: #9128 |
@zhangguanzhang Just waiting for tests to pass. Then i guess we could request to close this issue. |
Checking why this test is failing. |
70c6f12
to
e862855
Compare
@zhangguanzhang @mheon @rhatdan Above test is fixed issue was with registry url but now this existing test is failing Is this an issue with upstream or a flake ? |
e862855
to
c105f2b
Compare
Doing a rebase with master to confirm if this is not a flake. |
@zhangguanzhang This is fixed :) |
inspect := podmanTest.Podman([]string{"inspect", "testpod1", "--format", "'{{ .SharedNamespaces }}'"}) | ||
inspect.WaitWithDefaultTimeout() | ||
sharednamespaces := inspect.OutputToString() | ||
Expect(sharednamespaces).To(ContainSubstring("ipc")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add tests for uts and net too, or am I being oblivious and I'm missing them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TomSweeneyRedHat You are right I missed checking string for uts
and net
. Thanks for pointing this out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah seems like CI flake is still there will open/close PR to re-kick CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TomSweeneyRedHat this is resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also need pid
namespace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zhangguanzhang Bug was with only ipc, net, uts
but sure case should also pass with pid
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zhangguanzhang @TomSweeneyRedHat Added pid
as well let me know if anything else needs to be done.
I think rdoproject.org/github-check
is a flake , repush should fix it. But let me know if this check is mandatory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zhangguanzhang ah it was just a flake force pushed made checks happy again.
50a91a8
to
70996cc
Compare
b2eb143
to
1415278
Compare
135898a
to
1b90fcd
Compare
Signed-off-by: flouthoc <[email protected]>
1b90fcd
to
14a1a45
Compare
@zhangguanzhang @TomSweeneyRedHat this is ready for review all the comments seems to be resolved. CI is also happy now. |
@haircommander @umohnani8 PTAL |
LGTM, thanks @flouthoc |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: flouthoc, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
podman play kube
ignores sharing ipc,net,uts namespaces whenevershareProcessNamespace: True
is specified. However it works fine whenshareProcessNamespace
is not defined at all. While kube like pods must share ipc,net,uts in both cases.Ref Issue: #9128