-
Notifications
You must be signed in to change notification settings - Fork 117
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
metal3-static-ip-set init container fails when there are two interfaces with same MAC and provisioningInterface is not set #530
Comments
This issue is currently awaiting triage. 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. |
Note: |
/triage needs-information |
I think you're right that we don't handle a situation where two interfaces have the same MAC. How did you end up in this situation? What the behavior you'd expect? We need to know exactly 1 interface. P.S. |
[4.14] OCPBUGS-37410: bump jinja2
When
metal3-static-ip-set
init container is executed on env where there two interface with same MAC address following script:metal3-static-ip-set init container
interface="$(ip -br link show up | grep -i "$mac" | cut -f 1 -d ' ' | cut -f 1 -d '@')"
fails, as it returns both interfaces delimited by new line and so the init container fails, because later such interface name don't exist. Here is example of failed script execution:
As you can see it tries to find interface:
Workaround is edit
provisioning
resourceprovisioning-configuration
with following configuration:Is there a way to specify such configuration in openshift install config?
The text was updated successfully, but these errors were encountered: