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

Bug 1965545: [openshift-4.8] libct/cg/sd: fix dbus error handling #9

Merged
merged 1 commit into from
Jun 8, 2021

Conversation

kolyshkin
Copy link

@kolyshkin kolyshkin commented Jun 8, 2021

Backport of opencontainers#2997. Original description follows.


This fixes isDbusError function, introduced by commit bacfc2c. Due to a
type error it was not working at all.

This also fixes the whole "retry on dbus disconnect" logic.

This also fixes a regression in startUnit (and cgroupManager.Apply()),
which should never return "unit already exists" error but it did.

Fixes: bacfc2c
Signed-off-by: Kir Kolyshkin [email protected]


(cherry picked from commit b2d28c5, modulo test)
Signed-off-by: Kir Kolyshkin [email protected]

@openshift-ci
Copy link

openshift-ci bot commented Jun 8, 2021

@kolyshkin: 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.

In response to this:

[openshift-4.8] libct/cg/sd: fix dbus error 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.

This fixes isDbusError function, introduced by commit bacfc2c. Due to a
type error it was not working at all.

This also fixes the whole "retry on dbus disconnect" logic.

This also fixes a regression in startUnit (and cgroupManager.Apply()),
which should never return "unit already exists" error but it did.

Fixes: bacfc2c
Signed-off-by: Kir Kolyshkin <[email protected]>
(cherry picked from commit b2d28c5, modulo test)
Signed-off-by: Kir Kolyshkin <[email protected]>
@openshift-ci
Copy link

openshift-ci bot commented Jun 8, 2021

@kolyshkin: 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.

In response to this:

[openshift-4.8] libct/cg/sd: fix dbus error 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.

1 similar comment
@openshift-ci
Copy link

openshift-ci bot commented Jun 8, 2021

@kolyshkin: 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.

In response to this:

[openshift-4.8] libct/cg/sd: fix dbus error 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.

@kolyshkin kolyshkin changed the title [openshift-4.8] libct/cg/sd: fix dbus error handling Bug 1965545: [openshift-4.8] libct/cg/sd: fix dbus error handling Jun 8, 2021
@openshift-ci openshift-ci bot added the bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. label Jun 8, 2021
@openshift-ci
Copy link

openshift-ci bot commented Jun 8, 2021

@kolyshkin: This pull request references Bugzilla bug 1965545, which is invalid:

  • expected Bugzilla bug 1965545 to depend on a bug targeting a release in 4.9.0 and in one of the following states: MODIFIED, VERIFIED, but no dependents were found

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.

In response to this:

Bug 1965545: [openshift-4.8] libct/cg/sd: fix dbus error 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 openshift-ci bot added the bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label Jun 8, 2021
@kolyshkin kolyshkin merged commit 1f5126f into openshift:openshift-4.8 Jun 8, 2021
@openshift-ci
Copy link

openshift-ci bot commented Jun 8, 2021

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

Bugzilla bug 1965545 has been moved to the MODIFIED state.

In response to this:

Bug 1965545: [openshift-4.8] libct/cg/sd: fix dbus error 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
bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant