Conversation
|
Skipping CI for Draft Pull Request. |
when IP address changes have been detected. Signed-off-by: Miguel Angel Ajo <majopela@redhat.com> Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
625dc1d to
d55858d
Compare
|
To show some testing. After the IP address changes, it is detected and MicroShift exits: Systemd will restart MicroShift service, and endpoints will be recreated: |
There was a problem hiding this comment.
^checker complains;, the port is missing in the args?
There was a problem hiding this comment.
why logrus? no idea if it was originally in my patch, could be: bad Ajo! X'D
There was a problem hiding this comment.
My bad too, the original PR was before the klog replacement.
mangelajo
left a comment
There was a problem hiding this comment.
some comments, thanks for handling it
Signed-off-by: Miguel Angel Ajo <majopela@redhat.com> Co-authored-by: Ricardo Noriega <rnoriega@redhat.com>
|
/retest |
|
/test e2e-rpm-install |
1 similar comment
|
/test e2e-rpm-install |
|
/retest |
|
/retest
Sent with a Spark
…On 11 Apr 2022, 17:42 +0200, openshift-ci[bot] ***@***.***>, wrote:
@oglok: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
Test name
Commit
Details
Required
Rerun command
ci/prow/e2e-rpm-install
3e5d8cf
link
false
/test e2e-rpm-install
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.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because your review was requested.Message ID: ***@***.***>
|
|
/retest |
|
/lgtm |
|
Oh, it's not CI, something is broken: |
|
gogogo %) |
|
There was more subtleness into the code than I expected xD xD DeepEqual condition was not working properly, so I decided to change a bit the logic. Check if that endpoints name exist, do a proper deepEqual check and return if it exists, otherwise, create the endpoints. Tests are ok locally, let's see CI. |
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mangelajo The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
MicroShift endpoints rely on the host IP address. If that IP changes for whatever reason, APIs will be completely unavailable and MicroShift will stop working. This PR will detect IP host changes, and shutdown MicroShift. Since the production deployment model is based on systemd service, MicroShift service will be automatically restarted and endpoints will be recreated to be back in a functional state.
Signed-off-by: Miguel Angel Ajo majopela@redhat.com
Signed-off-by: Ricardo Noriega rnoriega@redhat.com
Which issue(s) this PR addresses:
Closes #556