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

[release-4.6] Bug 1933075: backport systemd dropin/units zero-length handling #2435

Conversation

darkmuggle
Copy link
Contributor

Dependency backports for Bug 1933077.

This fixes a problem were a previous dropin/unit is replaced with zero
length file by ensuring that drops/units have actual content.

Signed-off-by: Ben Howard ben.howard@redhat.com
(cherry picked from commit c6df6d8)

The previous commit checks for IsNotExist as a return of
checkFileContentsAndMode, which since we wrap the error, will
never be the case, thus always erroring there. Instead check
for the error in a separate case.

Signed-off-by: Yu Qi Zhang <jerzhang@redhat.

Ben Howard and others added 2 commits February 25, 2021 08:53
This fixes a problem were a previous dropin/unit is replaced with zero
length file by ensuring that drops/units have actual content.

Signed-off-by: Ben Howard <ben.howard@redhat.com>
(cherry picked from commit c6df6d8)
The previous commit checks for IsNotExist as a return of
checkFileContentsAndMode, which since we wrap the error, will
never be the case, thus always erroring there. Instead check
for the error in a separate case.

Signed-off-by: Yu Qi Zhang <jerzhang@redhat.com>
(cherry picked from commit 44d95f3)
Signed-off-by: Ben Howard <ben.howard@redhat.com>
@openshift-ci-robot
Copy link
Contributor

@darkmuggle: This pull request references Bugzilla bug 1933075, which is valid. The bug has been moved to the POST state. 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.6.z) matches configured target release for branch (4.6.z)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
  • dependent bug Bugzilla bug 1920027 is in the state CLOSED (ERRATA), which is one of the valid states (VERIFIED, RELEASE_PENDING, CLOSED (ERRATA))
  • dependent Bugzilla bug 1920027 targets the "4.7.0" release, which is one of the valid target releases: 4.7.0, 4.7.z
  • bug has dependents

In response to this:

Bug 1933075: backport systemd dropin/units zero-length handling

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 bugzilla/severity-urgent Referenced Bugzilla bug's severity is urgent 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. labels Feb 25, 2021
@darkmuggle
Copy link
Contributor Author

Cherry-picks did not cleanly apply, this is a hand-crafted artisanal commit:
#2363 (comment)

@kikisdeliveryservice kikisdeliveryservice changed the title Bug 1933075: backport systemd dropin/units zero-length handling [release-4.6] Bug 1933075: backport systemd dropin/units zero-length handling Feb 25, 2021
@kikisdeliveryservice
Copy link
Contributor

Does this need to merge first? Or second?

@kikisdeliveryservice kikisdeliveryservice added the 4.6 Work targeted for 4.6 label Feb 25, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 25, 2021

@darkmuggle: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/okd-e2e-gcp-op 122d195 link /test okd-e2e-gcp-op

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

Copy link
Contributor

@kikisdeliveryservice kikisdeliveryservice left a comment

Choose a reason for hiding this comment

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

failing test is very red

/skip

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 25, 2021
@darkmuggle
Copy link
Contributor Author

Does this need to merge first? Or second?

@kikisdeliveryservice this should merge first

@sinnykumari
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 1, 2021
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: darkmuggle, kikisdeliveryservice, sinnykumari

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:
  • OWNERS [kikisdeliveryservice,sinnykumari]

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

@derekwaynecarr derekwaynecarr added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Mar 3, 2021
@derekwaynecarr
Copy link
Member

(Patch Manager) met criteria.

@openshift-merge-robot openshift-merge-robot merged commit 5ce9351 into openshift:release-4.6 Mar 4, 2021
@openshift-ci-robot
Copy link
Contributor

@darkmuggle: All pull requests linked via external trackers have merged:

Bugzilla bug 1933075 has been moved to the MODIFIED state.

In response to this:

[release-4.6] Bug 1933075: backport systemd dropin/units zero-length handling

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
4.6 Work targeted for 4.6 approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-urgent Referenced Bugzilla bug's severity is urgent 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.

None yet

7 participants