-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[device] Misc fixes for Arista platforms #1844
Conversation
These two platforms were using a previous version of a kernel driver. The new one names the i2c buses differently. We therefore need to rename them here.
The interface offset is invalid which makes sonic-cfggen generate an invalid config_db.jon in rc.local. This config then silently makes orchagent/syncd fail.
Instead of always assuming /mnt/flash, use the partition where the image to be installed lies. This allow for the image to be on any partition.
@@ -22,20 +22,20 @@ iface lo {{ 'inet' if prefix | ipv4 else 'inet6' }} static | |||
auto eth0 | |||
{% if MGMT_INTERFACE %} | |||
{% for (name, prefix) in MGMT_INTERFACE %} | |||
iface eth0 {{ 'inet' if prefix | ipv4 else 'inet6' }} static | |||
iface {{ name }} {{ 'inet' if prefix | ipv4 else 'inet6' }} static |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do you replace eth0 with {{ name }}? there are lots of places that assume the management port name is eth0. is this assumption broken on arista platform?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this assumption is not broken.
- Replace eth0 by '{{ name }}' as it should be
- this fix allows to have more than one mgmt interfaces: eth0 + XXX + ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you revert this?
I checked, current the name is Management0, I do not think we should use that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I'll remove this commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert interface.j2 changes
* 41dfaad 2021-08-02 | Bridge mac setting, fix statedb time format (sonic-net#1844) (HEAD, origin/202012) [Prince Sunny] Signed-off-by: Guohan Lu <[email protected]>
* 41dfaad 2021-08-02 | Bridge mac setting, fix statedb time format (#1844) (HEAD, origin/202012) [Prince Sunny] Signed-off-by: Guohan Lu <[email protected]>
0b5f90b (HEAD -> 202012, origin/202012) [show techsupport] fix bash errors in generate_dump script (sonic-net#1844) 388c50c [202012][warmboot] Add new preboot health check: verify db integrity (sonic-net#1839) d73dc98 [config] support for configuring muxcable to standby mode of operation (sonic-net#1837) Signed-off-by: vaibhav-dahiya <[email protected]>
0b5f90b (HEAD -> 202012, origin/202012) [show techsupport] fix bash errors in generate_dump script (#1844) 388c50c [202012][warmboot] Add new preboot health check: verify db integrity (#1839) d73dc98 [config] support for configuring muxcable to standby mode of operation (#1837) Signed-off-by: vaibhav-dahiya <[email protected]>
*Set bridge mac same as Vlan mac *Format state_db entries to have six digit precision for microseconds
Signed-off-by: Sangita Maity <[email protected]> * src/sonic-utilities 9fde08a...595e322 (3): > [202012][show techsupport] address show techsupport return none zero code issue (sonic-net#1847) > [show techsupport] fix bash errors in generate_dump script (sonic-net#1844) > [techsupport] [202012] Removed -i option for docker commands and Improved Error Reporting (sonic-net#1833)
…#1844) What I did Fix: sonic-net#8850 Issue was introduced by sonic-net#1723, sonic-net#1833, and sonic-net#1843 (pending merge) The error_handler is a great idea but the bash script needs to be error free first. How I did it Fix bash script errors. How to verify it run show techsupport test.. Signed-off-by: Ying Xie <[email protected]>
- What I did
Fix the i2c bus names for 7050QX-32 and 7050QX-32S after the recent submodule update.
Fix the default minigraph.xml for the 7050QX-32S that prevented it from properly starting.
Allow the image to be booted from another partition which does not affect default behavior.
- How to verify it
Boot an image on 7050QX-32S from vfat to verify that the initramfs script is still working.
Starting without minigraph.xml and verifying that syncd does not crash verifies the default minigraph.xml
Verify that the sensors names are properly set up.
- Description for the changelog
Miscellaneous fixes for Arista devices.