Skip to content

Bug 1847675: [4.4] mount /var/run/netns rslave in ovnkube#669

Merged
openshift-merge-robot merged 1 commit intoopenshift:release-4.4from
haircommander:mount-netns-ovnkube-4.4
Jun 24, 2020
Merged

Bug 1847675: [4.4] mount /var/run/netns rslave in ovnkube#669
openshift-merge-robot merged 1 commit intoopenshift:release-4.4from
haircommander:mount-netns-ovnkube-4.4

Conversation

@haircommander
Copy link
Copy Markdown
Member

@haircommander haircommander commented Jun 15, 2020

When trying to transfer cri-o to manage its network namespaces in openshift, we have run into problems with multus. Specifically we see the error:
2020-04-07T17:46:52Z [error] delegateAdd: error invoking DelegateAdd - "ovn-k8s-cni-overlay": error in getting result from AddNetwork: CNI request failed with status 400: '[openshift-dns/dns-default-98tll] failed to configure pod interface: failed to open netns "/var/run/netns/76716600-f7fd-462f-b7df-ae054dbd144e": unknown FS magic on "/var/run/netns/76716600-f7fd-462f-b7df-ae054dbd144e": 1021994
'

through testing, I've found the netns is definitely mounted as an nsfs and not tmpfs, so I suspect we are seeing containernetworking/plugins#69

to fix this, attempt mounting /var/run/netns as HostToContainer in ovnkube container

This is part 1 of 2 fixes for https://bugzilla.redhat.com/show_bug.cgi?id=1825339
the second will be a change in MCO

backport of #579

Signed-off-by: Peter Hunt pehunt@redhat.com

When trying to transfer cri-o to manage its network namespaces in openshift, we have run into problems with multus. Specifically we see the error:
2020-04-07T17:46:52Z [error] delegateAdd: error invoking DelegateAdd - "ovn-k8s-cni-overlay": error in getting result from AddNetwork: CNI request failed with status 400: '[openshift-dns/dns-default-98tll] failed to configure pod interface: failed to open netns "/var/run/netns/76716600-f7fd-462f-b7df-ae054dbd144e": unknown FS magic on "/var/run/netns/76716600-f7fd-462f-b7df-ae054dbd144e": 1021994
'

through testing, I've found the netns is definitely mounted as an nsfs and not tmpfs, so I suspect we are seeing containernetworking/plugins#69

to fix this, attempt mounting /var/run/netns as HostToContainer in ovnkube container

Signed-off-by: Peter Hunt <pehunt@redhat.com>
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@haircommander: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

Details

In response to this:

mount /var/run/netns rslave in ovnkube

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.

@haircommander
Copy link
Copy Markdown
Member Author

/retest

@haircommander
Copy link
Copy Markdown
Member Author

/test e2e-metal-ipi

@haircommander
Copy link
Copy Markdown
Member Author

error: unable to push registry.svc.ci.openshift.org/ci-op-k28i61il/stable: failed to retrieve blob sha256:1ca95179947fa266f1a465167f76257b9b94160b155546852561bf3165ad303c: error parsing HTTP 408 response body: invalid character '<' looking for beginning of value: "<html><body><h1>408 Request Time-out</h1>\nYour browser didn't send a complete request in time.\n</body></html>\n"

/retest

Copy link
Copy Markdown
Contributor

@pecameron pecameron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@haircommander do you also need this in ovnkube-master? Also, does this impact openshift-sdn?

@danwinship
Copy link
Copy Markdown
Contributor

Should mention that this is a backport of #579, and it needs a bugzilla bug

@danwinship
Copy link
Copy Markdown
Contributor

/lgtm

@haircommander haircommander changed the title mount /var/run/netns rslave in ovnkube [4.4] mount /var/run/netns rslave in ovnkube Jun 16, 2020
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@haircommander: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

Details

In response to this:

mount /var/run/netns rslave in ovnkube

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.

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@haircommander: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

Details

In response to this:

[4.4] mount /var/run/netns rslave in ovnkube

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.

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 16, 2020
@haircommander
Copy link
Copy Markdown
Member Author

@pecameron already there

yes, good points @danwinship I updated the description and am spinning up a bug now

btw, @dougbtv, if we merge this, do we need #645 in 4.4 as well?

@haircommander haircommander changed the title [4.4] mount /var/run/netns rslave in ovnkube Bug 1847675: [4.4] mount /var/run/netns rslave in ovnkube Jun 16, 2020
@openshift-ci-robot openshift-ci-robot added the bugzilla/severity-unspecified Referenced Bugzilla bug's severity is unspecified for the PR. label Jun 16, 2020
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@haircommander: This pull request references Bugzilla bug 1847675, which is invalid:

  • expected the bug to target the "4.4.z" release, but it targets "---" instead
  • expected dependent Bugzilla bug 1847674 to be in one of the following states: VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), but it is NEW instead
  • expected dependent Bugzilla bug 1847674 to target a release in 4.5.0, 4.5.z, but it targets "---" instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

Bug 1847675: [4.4] mount /var/run/netns rslave in ovnkube

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.

@openshift-ci-robot openshift-ci-robot added the bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label Jun 16, 2020
@haircommander
Copy link
Copy Markdown
Member Author

/bugzilla refresh

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@haircommander: This pull request references Bugzilla bug 1847675, which is invalid:

  • expected the bug to target the "4.4.z" release, but it targets "---" instead
  • expected dependent Bugzilla bug 1847674 to be in one of the following states: VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), but it is NEW instead
  • expected dependent Bugzilla bug 1847674 to target a release in 4.5.0, 4.5.z, but it targets "---" instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

/bugzilla refresh

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.

@haircommander
Copy link
Copy Markdown
Member Author

/bugzilla refresh

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@haircommander: This pull request references Bugzilla bug 1847675, which is invalid:

  • expected dependent Bugzilla bug 1847674 to be in one of the following states: VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), but it is MODIFIED instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

/bugzilla refresh

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.

@haircommander
Copy link
Copy Markdown
Member Author

/bugzilla refresh

@openshift-ci-robot openshift-ci-robot added bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. and removed bugzilla/severity-unspecified Referenced Bugzilla bug's severity is unspecified for the PR. bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Jun 17, 2020
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@haircommander: This pull request references Bugzilla bug 1847675, which is valid. The bug has been updated to refer to the pull request using the external bug tracker.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.4.z) matches configured target release for branch (4.4.z)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
  • dependent bug Bugzilla bug 1847674 is in the state VERIFIED, which is one of the valid states (VERIFIED, RELEASE_PENDING, CLOSED (ERRATA))
  • dependent Bugzilla bug 1847674 targets the "4.5.0" release, which is one of the valid target releases: 4.5.0, 4.5.z
  • bug has dependents
Details

In response to this:

/bugzilla refresh

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.

@danwinship
Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danwinship, haircommander

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 22, 2020
@shawn-hurley shawn-hurley added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Jun 24, 2020
@openshift-merge-robot openshift-merge-robot merged commit 96a6338 into openshift:release-4.4 Jun 24, 2020
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@haircommander: All pull requests linked via external trackers have merged: openshift/cluster-network-operator#669. Bugzilla bug 1847675 has been moved to the MODIFIED state.

Details

In response to this:

Bug 1847675: [4.4] mount /var/run/netns rslave in ovnkube

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

approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants