Page MenuHomeVyOS Platform

interfaces migration script fails on AWS hosts
Open, Requires assessmentPublicBUG


The recently added migration script fails to run on AWS hosts due to this error captured in the attached log:

The root cause appears to be that ethtool does not report link autonegotiation properties at all for the virtualized NICs on the AWS hosts. E.g., the following is the ethtool output on a previous working equuleus build:

vyos@ip-172-16-1-65:~$ ethtool eth0
Settings for eth0:
	Current message level: 0x000004e3 (1251)
			       drv probe ifup rx_err tx_err tx_done
	Link detected: yes

We could update the AWS config template in vyos-bulid to have a newer version to avoid the migration, but it may be better to patch the migration script to support interfaces that have ethtool output like the above.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

cc: @c-po maybe this was a side effect of unifying the two parsers

Note: config versions were added to the default configs here, but the current vyos-build-ami replaces the default file with its own that hasn't been modified to add the versioning comment yet. That can probably be fixed whenever that repo is updated for equuleus (I have my own patched local branch that I could publish if desired).

The root issue of the migration script supporting interfaces that don't report autonegotiation settings still stands, as even if default boot works users could still want to migrate an existing config and get bitten by the script.