-
Notifications
You must be signed in to change notification settings - Fork 392
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
OCPBUGS-11936: Wait for OpenStack Metadata service #4092
OCPBUGS-11936: Wait for OpenStack Metadata service #4092
Conversation
@stephenfin: This pull request references Jira Issue OCPBUGS-11936, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/jira refresh |
@stephenfin: This pull request references Jira Issue OCPBUGS-11936, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (itbrown@redhat.com), skipping review request. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/retest-required |
1 similar comment
/retest-required |
templates/common/openstack/units/afterburn-hostname.service.yaml
Outdated
Show resolved
Hide resolved
f59b3e6
to
2e23f00
Compare
@stephenfin: This pull request references Jira Issue OCPBUGS-11936, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (itbrown@redhat.com), skipping review request. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
Fortunately I just tested it, because
Note that the above upgrades The 10 minute timeout seems excessive, but unfortunately I think this is in the order of what's required on PSI. |
When deploying a cluster on OpenStack using OVN-Kubernetes, there can be a delay before the metadata service is available. Afterburn [1] does not provide a mechanism to configure the timeouts and the network-online target merely indicates that we *a* configured, routable IP address, not necessarily that we can access the metadata service yet. Work around by restarting the service on failure. This is possible since systemd v244.1 [2]. [1] https://github.com/coreos/afterburn [2] systemd/systemd#13754 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2e23f00
to
3bc24f6
Compare
/retest-required |
/test e2e-openstack |
@stephenfin: The following tests failed, say
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. |
/test e2e-openstack |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mdbooth, stephenfin 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 |
69944ad
into
openshift:master
@stephenfin: Jira Issue OCPBUGS-11936: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-11936 has been moved to the MODIFIED state. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
[ART PR BUILD NOTIFIER] This PR has been included in build ose-machine-config-operator-container-v4.17.0-202404302014.p0.g69944ad.assembly.stream.el9 for distgit ose-machine-config-operator. |
Fix included in accepted release 4.16.0-0.nightly-2024-05-01-111315 |
- What I did
When deploying a cluster on OpenStack using OVN-Kubernetes, there can be a delay before the metadata service is available. Afterburn [1] does not provide a mechanism to configure the timeouts and the network-online target merely indicates that we a configured, routable IP address, not necessarily that we can access the metadata service yet. Work around by restarting the service on failure. This is possible since systemd v244.1 [2].
[1] https://github.com/coreos/afterburn
[2] systemd/systemd#13754
- How to verify it
Working on this with QE now.
- Description for the changelog
The
afterburn-hostname.service
systemd service deployed on the OpenStack will now retry in the event of the metadata service taking longer than expected to come up.