Open oybed opened 4 months ago
cc @AlonaKaplan
@oybed MAC identifier nmstate feature is not supported by assisted installer. AI resides on the mapping passed by the user between the interface name in the nmstate yaml to the MAC address. We are planning to allow passing nmstate yaml with nmpolicy/mac-identifier which will eliminate the need for the iface-name to MAC mapping. This new feature is currently in initial development stages.
EDIT: If you will remove the identifier: mac-address
from your nmstate yaml it should work. It doesn't matter what name you put in the name
section. assited-installer will take care of substituting it with the correct name based on the MAC mapping.
@AlonaKaplan thanks for the response. Yes, we removed the identifier: mac-address
to make it work, but it seems strange to not support an advertised feature of nmstate (see earlier nmstate link).
Either way, the error message displayed to the user is not very friendly to understand that the identifier: mac-address
is the culprit, so at least update the frontend to display a more descriptive message.
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
The issue with identifier: mac-address
was fixed in PR https://github.com/openshift/assisted-service/pull/6715 and should work now.
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle rotten /remove-lifecycle stale
When providing an interface with the
identifier: mac-address
set (per nmstate docs [1]) the assisted service fails to create the image due to missinginterface-name
. This is new with the change from https://github.com/openshift/assisted-service/pull/6305 and now seeing this problem with OpenShift v4.16.Example NMState
Example error:
[1]: https://nmstate.io/features/mac_identifier.html