You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reverting it in 202012 will lead to functional issue. For now having dhcpv6_servers is not going to cause any issues and will help backward compatibility of show and config commands. Later when we have full CLI support to work properly with DHCP_RELAY table I suggest we can revert sonic-net/sonic-utilities@17284d0
Few more details: From this commit, sonic-net/sonic-utilities#2271 the cli started to add even the ipv6 addresses to the dhcp_servers@ field and when there are only ipv6 addresses present under dhcp_servers@ field under a VLAN table, the supervisord.conf file is not properly generated from the template and is the reason why the container is down.
I understand the rationale why this was reverted in 202012. It’s because everything related to dhcpv6 only uses DHCP_RELAY table for now on and does require dhcpv6_servers field in the VLAN table. Reverting this PR would mean the address will be redirected to dhcpv6_servers@ field and since no one uses it it shouldn't cause any problems. An alternative would be to raise a different PR to 202012 to modify CLI which rejects ipv6 address.
However as Sudharsan pointed out, even the master & 202205 CLI code still has the logic to redirect the ipv6 address to dhcpv6_servers@ field, so i think reverting this sonic-net/sonic-utilities#2271 would keep the implementation consistent.
Description
This is due to PR sonic-net/sonic-utilities#2336
config vlan dhcp_relay add 1679 2000:1::2 generates incorrect config in config_db
"VLAN": {
"Vlan1679": {
"dhcp_servers": [ <<< --- Mistake is here
"2000:1::2"
],
"vlanid": "1679"
}
},
Steps to reproduce the issue:
Describe the results you received:
DHCP relay container is down
Describe the results you expected:
DHCP relay container shouldn't be down.
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
sonic_dump_qa-eth-vt03-4-3700v_20221024_190100.tar.gz
The text was updated successfully, but these errors were encountered: