Skip to content

Conversation

elfosardo
Copy link
Contributor

With this change, if the ironic-agent fails, it will restart forever,
until success. Adds 5 seconds between each restart attempt to avoid
spamming the system.

@openshift-ci openshift-ci bot 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. labels Jun 10, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 10, 2022

@elfosardo: This pull request references Bugzilla bug 2060968, 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.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.11.0) matches configured target release for branch (4.11.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

No GitHub users were found matching the public email listed for the QA contact in Bugzilla (lshilin@redhat.com), skipping review request.

In response to this:

Bug 2060968: Add delay between ironic-agent restart, but restart forever

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 requested review from dtantsur and zaneb June 10, 2022 12:45
@elfosardo
Copy link
Contributor Author

/cc @bfournie

@openshift-ci openshift-ci bot requested a review from bfournie June 10, 2022 12:45
With this change, if the ironic-agent fails, it will restart forever,
until success. Adds 5 seconds between each restart attempt to avoid
spamming the system.
@elfosardo elfosardo force-pushed the agent-restart-delay branch from 5d1d5d9 to 1b3e53f Compare June 10, 2022 12:54
@elfosardo
Copy link
Contributor Author

/test e2e-metal-ipi-serial-ipv4

@bfournie
Copy link

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 10, 2022
@elfosardo
Copy link
Contributor Author

/test e2e-metal-ipi

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 13, 2022

@elfosardo: all tests passed!

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.

@honza
Copy link
Member

honza commented Jun 13, 2022

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 13, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: elfosardo, honza

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 13, 2022
@openshift-merge-robot openshift-merge-robot merged commit 5656b09 into openshift:main Jun 13, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 13, 2022

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

Bugzilla bug 2060968 has been moved to the MODIFIED state.

In response to this:

Bug 2060968: Add delay between ironic-agent restart, but restart forever

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.

@elfosardo
Copy link
Contributor Author

/cherry-pick release-4.10

@openshift-cherrypick-robot

@elfosardo: #51 failed to apply on top of branch "release-4.10":

Applying: Add delay between ironic-agent restart, but restart forever
Using index info to reconstruct a base tree...
M	pkg/ignition/service_config.go
M	pkg/ignition/service_config_test.go
Falling back to patching base and 3-way merge...
Auto-merging pkg/ignition/service_config_test.go
CONFLICT (content): Merge conflict in pkg/ignition/service_config_test.go
Auto-merging pkg/ignition/service_config.go
CONFLICT (content): Merge conflict in pkg/ignition/service_config.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Add delay between ironic-agent restart, but restart forever
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherry-pick release-4.10

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.

@elfosardo
Copy link
Contributor Author

we'll backport after #43

@elfosardo
Copy link
Contributor Author

/cherry-pick release-4.10

@openshift-cherrypick-robot

@elfosardo: #51 failed to apply on top of branch "release-4.10":

Applying: Add delay between ironic-agent restart, but restart forever
Using index info to reconstruct a base tree...
M	pkg/ignition/service_config.go
M	pkg/ignition/service_config_test.go
Falling back to patching base and 3-way merge...
Auto-merging pkg/ignition/service_config_test.go
CONFLICT (content): Merge conflict in pkg/ignition/service_config_test.go
Auto-merging pkg/ignition/service_config.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Add delay between ironic-agent restart, but restart forever
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherry-pick release-4.10

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.

@elfosardo
Copy link
Contributor Author

alright, I'll backport it manually

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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants