-
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
Mellanox 2700 Unable to configure mgmt ip and hostname info #8657
Comments
@volodymyrsamotiy , can you please check this? |
@prsunny @v-wfarris |
@prsunny / @v-wfarris didn't manage to reproduce on latest root@sonic:/home/admin# cat test.sh
#!/bin/bash
cat <<EOF | sudo config load /dev/stdin -y
{
"MGMT_INTERFACE": {
"eth0|10.199.0.239/25": {
"gwaddr": "10.199.0.129"
}
},
"DEVICE_METADATA": {
"localhost": {
"hostname": "CSI411670J07U12"
}
}
}
EOF
root@sonic:/home/admin# ./test.sh
Running command: /usr/local/bin/sonic-cfggen -j /dev/stdin --write-to-db
root@sonic:/home/admin# sonic-cfggen -H --write-to-db
root@sonic:/home/admin# sonic-cfggen --preset l2 -p -H -k Mellanox-SN2700-D48C8 | sudo config load /dev/stdin -y
Running command: /usr/local/bin/sonic-cfggen -j /dev/stdin --write-to-db
root@sonic:/home/admin# config qos reload --no-dynamic-buffer
Running command: /usr/local/bin/sonic-cfggen -d --write-to-db -t /usr/share/sonic/device/x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D48C8/buffers.json.j2,config-db -t /usr/share/sonic/device/x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D48C8/qos.json.j2,config-db -y /etc/sonic/sonic_version.yml
root@sonic:/home/admin# config save -y
Running command: /usr/local/bin/sonic-cfggen -d --print-data > /etc/sonic/config_db.json
root@sonic:/home/admin# config reload -y
Running command: rm -rf /tmp/dropstat-*
Stopping SONiC target ...
Running command: /usr/local/bin/sonic-cfggen -j /etc/sonic/init_cfg.json -j /etc/sonic/config_db.json --write-to-db
Running command: /usr/local/bin/db_migrator.py -o migrate
Running command: /usr/local/bin/sonic-cfggen -d -y /etc/sonic/sonic_version.yml -t /usr/share/sonic/templates/sonic-environment.j2,/etc/sonic/sonic-environment
Restarting SONiC target ...
Reloading Monit configuration ...
Reinitializing monit daemon
root@sonic:/home/admin# ip addr show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 98:03:9b:1b:92:08 brd ff:ff:ff:ff:ff:ff
inet 10.199.0.239/25 brd 10.199.0.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::9a03:9bff:fe1b:9208/64 scope link
valid_lft forever preferred_lft forever
root@sonic:/home/admin# hostname
CSI411670J07U12
root@sonic:/home/admin# exit
exit
admin@sonic:~$ exit
logout
Debian GNU/Linux 10 CSI411670J07U12 ttyS0
CSI411670J07U12 login: |
Okay I am seeing some additional commands you ran that were not ran in this website https://github.com/Azure/SONiC/wiki/L2-Switch-mode
When back on site tomorrow I will try running the additional commands and test out.
Thanks
Wes
From: Nazarii Hnydyn ***@***.***>
Sent: Thursday, September 9, 2021 7:00 AM
To: Azure/sonic-buildimage ***@***.***>
Cc: Wesley Farris (BIBLIOSO CORPORATION) ***@***.***>; Mention ***@***.***>
Subject: Re: [Azure/sonic-buildimage] Mellanox 2700 Unable to configure mgmt ip and hostname info (#8657)
@prsunny<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprsunny&data=04%7C01%7Cv-wfarris%40microsoft.com%7Cd73a4b8cad194e354c1408d9739a270a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637667928199065207%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=BoCALe2kt0jUJdqqS%2B4SxxTaXf9O%2Bx1w%2FoHoJQ0CvzA%3D&reserved=0> / @v-wfarris<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fv-wfarris&data=04%7C01%7Cv-wfarris%40microsoft.com%7Cd73a4b8cad194e354c1408d9739a270a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637667928199075204%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=H%2BR%2BQ327E3ug6jmTcJyNA3pkTDCRZoyN5tFDrVVOQ6c%3D&reserved=0> didn't manage to reproduce on latest 202012:
***@***.***:/home/admin# cat test.sh
#!/bin/bash
cat <<EOF | sudo config load /dev/stdin -y
{
"MGMT_INTERFACE": {
"eth0|10.199.0.239/25": {
"gwaddr": "10.199.0.129"
}
},
"DEVICE_METADATA": {
"localhost": {
"hostname": "CSI411670J07U12"
}
}
}
EOF
***@***.***:/home/admin# ./test.sh
Running command: /usr/local/bin/sonic-cfggen -j /dev/stdin --write-to-db
***@***.***:/home/admin# sonic-cfggen -H --write-to-db
***@***.***:/home/admin# sonic-cfggen --preset l2 -p -H -k Mellanox-SN2700-D48C8 | sudo config load /dev/stdin -y
Running command: /usr/local/bin/sonic-cfggen -j /dev/stdin --write-to-db
***@***.***:/home/admin# config qos reload --no-dynamic-buffer
Running command: /usr/local/bin/sonic-cfggen -d --write-to-db -t /usr/share/sonic/device/x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D48C8/buffers.json.j2,config-db -t /usr/share/sonic/device/x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D48C8/qos.json.j2,config-db -y /etc/sonic/sonic_version.yml
***@***.***:/home/admin# config save -y
Running command: /usr/local/bin/sonic-cfggen -d --print-data > /etc/sonic/config_db.json
***@***.***:/home/admin# config reload -y
Running command: rm -rf /tmp/dropstat-*
Stopping SONiC target ...
Running command: /usr/local/bin/sonic-cfggen -j /etc/sonic/init_cfg.json -j /etc/sonic/config_db.json --write-to-db
Running command: /usr/local/bin/db_migrator.py -o migrate
Running command: /usr/local/bin/sonic-cfggen -d -y /etc/sonic/sonic_version.yml -t /usr/share/sonic/templates/sonic-environment.j2,/etc/sonic/sonic-environment
Restarting SONiC target ...
Reloading Monit configuration ...
Reinitializing monit daemon
***@***.***:/home/admin# ip addr show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 98:03:9b:1b:92:08 brd ff:ff:ff:ff:ff:ff
inet 10.199.0.239/25 brd 10.199.0.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::9a03:9bff:fe1b:9208/64 scope link
valid_lft forever preferred_lft forever
***@***.***:/home/admin# hostname
CSI411670J07U12
***@***.***:/home/admin# exit
exit
***@***.***:~$ exit
logout
Debian GNU/Linux 10 CSI411670J07U12 ttyS0
CSI411670J07U12 login:
-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fsonic-buildimage%2Fissues%2F8657%23issuecomment-916125127&data=04%7C01%7Cv-wfarris%40microsoft.com%7Cd73a4b8cad194e354c1408d9739a270a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637667928199075204%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2BSE72NHcNA7liJveDXPef7dTS09tVDCC0hmZFwmu3l0%3D&reserved=0>, or unsubscribe<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAVOINYYNALEZFPJZZZ4WZRTUBC4XBANCNFSM5DHV4KBQ&data=04%7C01%7Cv-wfarris%40microsoft.com%7Cd73a4b8cad194e354c1408d9739a270a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637667928199085192%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rK%2Bb60TBh6iWRkBO8NrYw%2BtnZwyvv1f%2BFcQtldVgMSI%3D&reserved=0>.
Triage notifications on the go with GitHub Mobile for iOS<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cv-wfarris%40microsoft.com%7Cd73a4b8cad194e354c1408d9739a270a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637667928199085192%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=dqi%2FvVWPaVLa5N56D40wi1llgU8dMss1B0HyTEBjaz8%3D&reserved=0> or Android<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cv-wfarris%40microsoft.com%7Cd73a4b8cad194e354c1408d9739a270a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637667928199095196%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=mdN040cM8evkwayR7OMTl0iYEWQI3SJzOMxxFElzakg%3D&reserved=0>.
|
The only commands I ran for the 2700 from the website https://github.com/Azure/SONiC/wiki/L2-Switch-mode were the following. Can you please replicate by only running those commands?
cat <<EOF | sudo config reload /dev/stdin -y
{
"MGMT_INTERFACE": {
"eth0|10.199.0.239/25": {
"gwaddr": "10.199.0.129"
}
},
"DEVICE_METADATA": {
"localhost": {
"hostname": " CSI411670J07U12"
}
}
}
EOF
sudo sonic-cfggen -H --write-to-db
sudo sonic-cfggen --preset l2 -p -H -k Mellanox-SN2700-D48C8
sudo sonic-cfggen --preset l2 -p -H -k Mellanox-SN2700-D48C8 | sudo config load /dev/stdin -y
sudo config save -y
sudo config reload -y
By only running those commands I can get the Melanox 3800 and 4600C configured just fine. However only running those commands on 2700 does not persist the IP and hostname.
Thanks
Wes
From: Nazarii Hnydyn ***@***.***>
Sent: Thursday, September 9, 2021 7:00 AM
To: Azure/sonic-buildimage ***@***.***>
Cc: Wesley Farris (BIBLIOSO CORPORATION) ***@***.***>; Mention ***@***.***>
Subject: Re: [Azure/sonic-buildimage] Mellanox 2700 Unable to configure mgmt ip and hostname info (#8657)
@prsunny<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprsunny&data=04%7C01%7Cv-wfarris%40microsoft.com%7Cd73a4b8cad194e354c1408d9739a270a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637667928199065207%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=BoCALe2kt0jUJdqqS%2B4SxxTaXf9O%2Bx1w%2FoHoJQ0CvzA%3D&reserved=0> / @v-wfarris<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fv-wfarris&data=04%7C01%7Cv-wfarris%40microsoft.com%7Cd73a4b8cad194e354c1408d9739a270a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637667928199075204%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=H%2BR%2BQ327E3ug6jmTcJyNA3pkTDCRZoyN5tFDrVVOQ6c%3D&reserved=0> didn't manage to reproduce on latest 202012:
***@***.***:/home/admin# cat test.sh
#!/bin/bash
cat <<EOF | sudo config load /dev/stdin -y
{
"MGMT_INTERFACE": {
"eth0|10.199.0.239/25": {
"gwaddr": "10.199.0.129"
}
},
"DEVICE_METADATA": {
"localhost": {
"hostname": "CSI411670J07U12"
}
}
}
EOF
***@***.***:/home/admin# ./test.sh
Running command: /usr/local/bin/sonic-cfggen -j /dev/stdin --write-to-db
***@***.***:/home/admin# sonic-cfggen -H --write-to-db
***@***.***:/home/admin# sonic-cfggen --preset l2 -p -H -k Mellanox-SN2700-D48C8 | sudo config load /dev/stdin -y
Running command: /usr/local/bin/sonic-cfggen -j /dev/stdin --write-to-db
***@***.***:/home/admin# config qos reload --no-dynamic-buffer
Running command: /usr/local/bin/sonic-cfggen -d --write-to-db -t /usr/share/sonic/device/x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D48C8/buffers.json.j2,config-db -t /usr/share/sonic/device/x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D48C8/qos.json.j2,config-db -y /etc/sonic/sonic_version.yml
***@***.***:/home/admin# config save -y
Running command: /usr/local/bin/sonic-cfggen -d --print-data > /etc/sonic/config_db.json
***@***.***:/home/admin# config reload -y
Running command: rm -rf /tmp/dropstat-*
Stopping SONiC target ...
Running command: /usr/local/bin/sonic-cfggen -j /etc/sonic/init_cfg.json -j /etc/sonic/config_db.json --write-to-db
Running command: /usr/local/bin/db_migrator.py -o migrate
Running command: /usr/local/bin/sonic-cfggen -d -y /etc/sonic/sonic_version.yml -t /usr/share/sonic/templates/sonic-environment.j2,/etc/sonic/sonic-environment
Restarting SONiC target ...
Reloading Monit configuration ...
Reinitializing monit daemon
***@***.***:/home/admin# ip addr show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 98:03:9b:1b:92:08 brd ff:ff:ff:ff:ff:ff
inet 10.199.0.239/25 brd 10.199.0.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::9a03:9bff:fe1b:9208/64 scope link
valid_lft forever preferred_lft forever
***@***.***:/home/admin# hostname
CSI411670J07U12
***@***.***:/home/admin# exit
exit
***@***.***:~$ exit
logout
Debian GNU/Linux 10 CSI411670J07U12 ttyS0
CSI411670J07U12 login:
-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fsonic-buildimage%2Fissues%2F8657%23issuecomment-916125127&data=04%7C01%7Cv-wfarris%40microsoft.com%7Cd73a4b8cad194e354c1408d9739a270a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637667928199075204%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2BSE72NHcNA7liJveDXPef7dTS09tVDCC0hmZFwmu3l0%3D&reserved=0>, or unsubscribe<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAVOINYYNALEZFPJZZZ4WZRTUBC4XBANCNFSM5DHV4KBQ&data=04%7C01%7Cv-wfarris%40microsoft.com%7Cd73a4b8cad194e354c1408d9739a270a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637667928199085192%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rK%2Bb60TBh6iWRkBO8NrYw%2BtnZwyvv1f%2BFcQtldVgMSI%3D&reserved=0>.
Triage notifications on the go with GitHub Mobile for iOS<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cv-wfarris%40microsoft.com%7Cd73a4b8cad194e354c1408d9739a270a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637667928199085192%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=dqi%2FvVWPaVLa5N56D40wi1llgU8dMss1B0HyTEBjaz8%3D&reserved=0> or Android<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cv-wfarris%40microsoft.com%7Cd73a4b8cad194e354c1408d9739a270a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637667928199095196%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=mdN040cM8evkwayR7OMTl0iYEWQI3SJzOMxxFElzakg%3D&reserved=0>.
|
@v-wfarris I have got a reproduce of this issue: root@sonic:/home/admin# cat test.sh
#!/bin/bash
cat <<EOF | sudo config reload /dev/stdin -y
{
"MGMT_INTERFACE": {
"eth0|10.199.0.239/25": {
"gwaddr": "10.199.0.129"
}
},
"DEVICE_METADATA": {
"localhost": {
"hostname": " CSI411670J07U12"
}
}
}
EOF
sudo sonic-cfggen -H --write-to-db
sudo sonic-cfggen --preset l2 -p -H -k Mellanox-SN2700-D48C8
sudo sonic-cfggen --preset l2 -p -H -k Mellanox-SN2700-D48C8 | sudo config load /dev/stdin -y
sudo config save -y
sudo config reload -y
root@sonic:/home/admin# bash test.sh
Running command: rm -rf /tmp/dropstat-*
Stopping SONiC target ...
Job for sonic.target canceled.
{
"DEVICE_METADATA": {
"localhost": {
"hwsku": "Mellanox-SN2700-D48C8",
"platform": "x86_64-mlnx_msn2700-r0",
"mac": "98:03:9b:f6:00:00"
}
},
"PORT": {
"Ethernet0": {
"lanes": "0,1",
"alias": "etp1a",
"index": "1",
"speed": "50000",
"admin_status": "up"
},
"Ethernet2": {
"lanes": "2,3",
"alias": "etp1b",
"index": "1",
"speed": "50000",
"admin_status": "up"
},
"Ethernet4": {
"lanes": "4,5",
"alias": "etp2a",
"index": "2",
"speed": "50000",
"admin_status": "up"
},
"Ethernet6": {
"lanes": "6,7",
"alias": "etp2b",
"index": "2",
"speed": "50000",
"admin_status": "up"
},
"Ethernet8": {
"lanes": "8,9",
"alias": "etp3a",
"index": "3",
"speed": "50000",
"admin_status": "up"
},
"Ethernet10": {
"lanes": "10,11",
"alias": "etp3b",
"index": "3",
"speed": "50000",
"admin_status": "up"
},
"Ethernet12": {
"lanes": "12,13",
"alias": "etp4a",
"index": "4",
"speed": "50000",
"admin_status": "up"
},
"Ethernet14": {
"lanes": "14,15",
"alias": "etp4b",
"index": "4",
"speed": "50000",
"admin_status": "up"
},
"Ethernet16": {
"lanes": "16,17",
"alias": "etp5a",
"index": "5",
"speed": "50000",
"admin_status": "up"
},
"Ethernet18": {
"lanes": "18,19",
"alias": "etp5b",
"index": "5",
"speed": "50000",
"admin_status": "up"
},
"Ethernet20": {
"lanes": "20,21",
"alias": "etp6a",
"index": "6",
"speed": "50000",
"admin_status": "up"
},
"Ethernet22": {
"lanes": "22,23",
"alias": "etp6b",
"index": "6",
"speed": "50000",
"admin_status": "up"
},
"Ethernet24": {
"lanes": "24,25,26,27",
"alias": "etp7",
"index": "7",
"speed": "100000",
"admin_status": "up"
},
"Ethernet28": {
"lanes": "28,29,30,31",
"alias": "etp8",
"index": "8",
"speed": "100000",
"admin_status": "up"
},
"Ethernet32": {
"lanes": "32,33,34,35",
"alias": "etp9",
"index": "9",
"speed": "100000",
"admin_status": "up"
},
"Ethernet36": {
"lanes": "36,37,38,39",
"alias": "etp10",
"index": "10",
"speed": "100000",
"admin_status": "up"
},
"Ethernet40": {
"lanes": "40,41",
"alias": "etp11a",
"index": "11",
"speed": "50000",
"admin_status": "up"
},
"Ethernet42": {
"lanes": "42,43",
"alias": "etp11b",
"index": "11",
"speed": "50000",
"admin_status": "up"
},
"Ethernet44": {
"lanes": "44,45",
"alias": "etp12a",
"index": "12",
"speed": "50000",
"admin_status": "up"
},
"Ethernet46": {
"lanes": "46,47",
"alias": "etp12b",
"index": "12",
"speed": "50000",
"admin_status": "up"
},
"Ethernet48": {
"lanes": "48,49",
"alias": "etp13a",
"index": "13",
"speed": "50000",
"admin_status": "up"
},
"Ethernet50": {
"lanes": "50,51",
"alias": "etp13b",
"index": "13",
"speed": "50000",
"admin_status": "up"
},
"Ethernet52": {
"lanes": "52,53",
"alias": "etp14a",
"index": "14",
"speed": "50000",
"admin_status": "up"
},
"Ethernet54": {
"lanes": "54,55",
"alias": "etp14b",
"index": "14",
"speed": "50000",
"admin_status": "up"
},
"Ethernet56": {
"lanes": "56,57",
"alias": "etp15a",
"index": "15",
"speed": "50000",
"admin_status": "up"
},
"Ethernet58": {
"lanes": "58,59",
"alias": "etp15b",
"index": "15",
"speed": "50000",
"admin_status": "up"
},
"Ethernet60": {
"lanes": "60,61",
"alias": "etp16a",
"index": "16",
"speed": "50000",
"admin_status": "up"
},
"Ethernet62": {
"lanes": "62,63",
"alias": "etp16b",
"index": "16",
"speed": "50000",
"admin_status": "up"
},
"Ethernet64": {
"lanes": "64,65",
"alias": "etp17a",
"index": "17",
"speed": "50000",
"admin_status": "up"
},
"Ethernet66": {
"lanes": "66,67",
"alias": "etp17b",
"index": "17",
"speed": "50000",
"admin_status": "up"
},
"Ethernet68": {
"lanes": "68,69",
"alias": "etp18a",
"index": "18",
"speed": "50000",
"admin_status": "up"
},
"Ethernet70": {
"lanes": "70,71",
"alias": "etp18b",
"index": "18",
"speed": "50000",
"admin_status": "up"
},
"Ethernet72": {
"lanes": "72,73",
"alias": "etp19a",
"index": "19",
"speed": "50000",
"admin_status": "up"
},
"Ethernet74": {
"lanes": "74,75",
"alias": "etp19b",
"index": "19",
"speed": "50000",
"admin_status": "up"
},
"Ethernet76": {
"lanes": "76,77",
"alias": "etp20a",
"index": "20",
"speed": "50000",
"admin_status": "up"
},
"Ethernet78": {
"lanes": "78,79",
"alias": "etp20b",
"index": "20",
"speed": "50000",
"admin_status": "up"
},
"Ethernet80": {
"lanes": "80,81",
"alias": "etp21a",
"index": "21",
"speed": "50000",
"admin_status": "up"
},
"Ethernet82": {
"lanes": "82,83",
"alias": "etp21b",
"index": "21",
"speed": "50000",
"admin_status": "up"
},
"Ethernet84": {
"lanes": "84,85",
"alias": "etp22a",
"index": "22",
"speed": "50000",
"admin_status": "up"
},
"Ethernet86": {
"lanes": "86,87",
"alias": "etp22b",
"index": "22",
"speed": "50000",
"admin_status": "up"
},
"Ethernet88": {
"lanes": "88,89,90,91",
"alias": "etp23",
"index": "23",
"speed": "100000",
"admin_status": "up"
},
"Ethernet92": {
"lanes": "92,93,94,95",
"alias": "etp24",
"index": "24",
"speed": "100000",
"admin_status": "up"
},
"Ethernet96": {
"lanes": "96,97,98,99",
"alias": "etp25",
"index": "25",
"speed": "100000",
"admin_status": "up"
},
"Ethernet100": {
"lanes": "100,101,102,103",
"alias": "etp26",
"index": "26",
"speed": "100000",
"admin_status": "up"
},
"Ethernet104": {
"lanes": "104,105",
"alias": "etp27a",
"index": "27",
"speed": "50000",
"admin_status": "up"
},
"Ethernet106": {
"lanes": "106,107",
"alias": "etp27b",
"index": "27",
"speed": "50000",
"admin_status": "up"
},
"Ethernet108": {
"lanes": "108,109",
"alias": "etp28a",
"index": "28",
"speed": "50000",
"admin_status": "up"
},
"Ethernet110": {
"lanes": "110,111",
"alias": "etp28b",
"index": "28",
"speed": "50000",
"admin_status": "up"
},
"Ethernet112": {
"lanes": "112,113",
"alias": "etp29a",
"index": "29",
"speed": "50000",
"admin_status": "up"
},
"Ethernet114": {
"lanes": "114,115",
"alias": "etp29b",
"index": "29",
"speed": "50000",
"admin_status": "up"
},
"Ethernet116": {
"lanes": "116,117",
"alias": "etp30a",
"index": "30",
"speed": "50000",
"admin_status": "up"
},
"Ethernet118": {
"lanes": "118,119",
"alias": "etp30b",
"index": "30",
"speed": "50000",
"admin_status": "up"
},
"Ethernet120": {
"lanes": "120,121",
"alias": "etp31a",
"index": "31",
"speed": "50000",
"admin_status": "up"
},
"Ethernet122": {
"lanes": "122,123",
"alias": "etp31b",
"index": "31",
"speed": "50000",
"admin_status": "up"
},
"Ethernet124": {
"lanes": "124,125",
"alias": "etp32a",
"index": "32",
"speed": "50000",
"admin_status": "up"
},
"Ethernet126": {
"lanes": "126,127",
"alias": "etp32b",
"index": "32",
"speed": "50000",
"admin_status": "up"
}
},
"VLAN": {
"Vlan1000": {
"vlanid": "1000"
}
},
"VLAN_MEMBER": {
"Vlan1000|Ethernet0": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet2": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet4": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet6": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet8": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet10": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet12": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet14": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet16": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet18": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet20": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet22": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet24": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet28": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet32": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet36": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet40": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet42": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet44": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet46": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet48": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet50": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet52": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet54": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet56": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet58": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet60": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet62": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet64": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet66": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet68": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet70": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet72": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet74": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet76": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet78": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet80": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet82": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet84": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet86": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet88": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet92": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet96": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet100": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet104": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet106": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet108": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet110": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet112": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet114": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet116": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet118": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet120": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet122": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet124": {
"tagging_mode": "untagged"
},
"Vlan1000|Ethernet126": {
"tagging_mode": "untagged"
}
}
}
Running command: /usr/local/bin/sonic-cfggen -j /dev/stdin --write-to-db
Running command: /usr/local/bin/sonic-cfggen -d --print-data > /etc/sonic/config_db.json
Running command: rm -rf /tmp/dropstat-*
Stopping SONiC target ...
Job for sonic.target canceled.
root@sonic:/home/admin# ip addr show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 98:03:9b:1b:92:08 brd ff:ff:ff:ff:ff:ff
inet 10.210.25.147/22 brd 10.210.27.255 scope global dynamic eth0
valid_lft 3336sec preferred_lft 3336sec
inet6 fcfc:fcfc:210:24:9a03:9bff:fe1b:9208/64 scope global dynamic mngtmpaddr
valid_lft 2591983sec preferred_lft 604783sec
inet6 fe80::9a03:9bff:fe1b:9208/64 scope link
valid_lft forever preferred_lft forever
root@sonic:/home/admin# hostname
sonic A few notes here:
The root cause: |
Hi @v-wfarris, a similar issue has already been open. Ref: #7508. This PR is working towards the fix sonic-net/sonic-utilities#1694 |
So, when the config reload is run, the first thing it does is to stop sonic.target (which inturn stops all the dependent services (swss, snmp etc)) even before applying the config you've provided through stdin And from the bash log, i do see that the sonic.target job got cancelled and thus the first config reload failed even before loading any config. So, i believe it links up to the same issue. |
@nazariig can you close the issue or there is something need to further handle? |
Description
Steps to reproduce the issue:
3.Once I was logged in ran the following commands
cat <<EOF | sudo config reload /dev/stdin -y
{
"MGMT_INTERFACE": {
"eth0|10.199.0.239/25": {
"gwaddr": "10.199.0.129"
}
},
"DEVICE_METADATA": {
"localhost": {
"hostname": "CSI411670J07U12"
}
}
}
EOF
sudo sonic-cfggen -H --write-to-db
sudo config save -y
sudo config reload -y
Describe the results you received:
I do not get ip or hostname on system. Can do "ip addr" and do not see ip on the eth0 link.
Describe the results you expected:
I expect to see the ip address 10.199.0.239 on eth0
I had to manually set the ip using the ipconfig command
Output of
show version
:admin@sonic:~$ show version
Warning: failed to retrieve PORT table from ConfigDB!
Warning: failed to retrieve PORT table from ConfigDB!
SONiC Software Version: SONiC.20201231.08
Distribution: Debian 10.10
Kernel: 4.19.0-12-2-amd64
Build commit: 1d35890
Build date: Wed Jul 14 19:54:25 UTC 2021
Built by: AzDevOps@sonic-int-build-workers-00024G
Platform: x86_64-mlnx_msn2700-r0
HwSKU: None
ASIC: mellanox
ASIC Count: 1
Serial Number: MT2013T04991
Uptime: 12:29:26 up 53 min, 1 user, load average: 0.06, 0.03, 0.00
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-syncd-mlnx 20201231.08 216ab3f2474f 952MB
docker-syncd-mlnx latest 216ab3f2474f 952MB
docker-orchagent 20201231.08 7bf303998064 430MB
docker-orchagent latest 7bf303998064 430MB
docker-teamd 20201231.08 c305d06be9ad 411MB
docker-teamd latest c305d06be9ad 411MB
docker-fpm-frr 20201231.08 e72e207611c2 430MB
docker-fpm-frr latest e72e207611c2 430MB
docker-sonic-telemetry 20201231.08 c829ab1559c2 491MB
docker-sonic-telemetry latest c829ab1559c2 491MB
docker-platform-monitor 20201231.08 62ee0efed519 721MB
docker-platform-monitor latest 62ee0efed519 721MB
docker-snmp 20201231.08 caace4ca11ff 442MB
docker-snmp latest caace4ca11ff 442MB
docker-router-advertiser 20201231.08 891cb72cdbe0 401MB
docker-router-advertiser latest 891cb72cdbe0 401MB
docker-lldp 20201231.08 126d4ebab802 441MB
docker-lldp latest 126d4ebab802 441MB
docker-dhcp-relay 20201231.08 894372c6fb74 408MB
docker-dhcp-relay latest 894372c6fb74 408MB
docker-database 20201231.08 5c64b33e9097 401MB
docker-database latest 5c64b33e9097 401MB
docker-mux 20201231.08 d32ec0291512 453MB
docker-mux latest d32ec0291512 453MB
docker-acms 20201231.08 6724512437e3 197MB
docker-acms latest 6724512437e3 197MB
docker-sonic-restapi 20201231.08 77c967bc3767 352MB
docker-sonic-restapi latest 77c967bc3767 352MB
k8s.gcr.io/pause 3.2 80d28bedfe5d 683kB
admin@sonic:~$
Output of
show techsupport
:admin@sonic:~$ show techsupport
Warning: failed to retrieve PORT table from ConfigDB!
Warning: failed to retrieve PORT table from ConfigDB!
main
mkdir: created directory '/var/dump'
mkdir: created directory '/var/dump/sonic_dump_sonic_20210617_122756'
'/var/dump/sonic_dump_sonic_20210617_122756/generate_dump' -> '/usr/local/bin/ge nerate_dump'
sonic_dump_sonic_20210617_122756/
sonic_dump_sonic_20210617_122756/generate_dump
mkdir: created directory '/var/dump/sonic_dump_sonic_20210617_122756/proc'
'/proc/buddyinfo' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/buddyinfo'
'/proc/cmdline' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/cmdline'
'/proc/consoles' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/consoles'
'/proc/cpuinfo' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/cpuinfo'
'/proc/devices' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/devices'
'/proc/diskstats' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/diskstats'
'/proc/dma' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/dma'
'/proc/interrupts' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/interrupt s'
'/proc/iomem' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/iomem'
'/proc/ioports' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/ioports'
'/proc/kallsyms' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/kallsyms'
'/proc/loadavg' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/loadavg'
'/proc/locks' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/locks'
'/proc/meminfo' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/meminfo'
'/proc/misc' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/misc'
'/proc/modules' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/modules'
'/proc/self/mounts' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/mounts'
'/proc/self/net' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net'
'/proc/self/net/stat' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/st at'
'/proc/self/net/stat/arp_cache' -> '/var/dump/sonic_dump_sonic_20210617_122756/p roc/net/stat/arp_cache'
'/proc/self/net/stat/rt_cache' -> '/var/dump/sonic_dump_sonic_20210617_122756/pr oc/net/stat/rt_cache'
'/proc/self/net/stat/ndisc_cache' -> '/var/dump/sonic_dump_sonic_20210617_122756 /proc/net/stat/ndisc_cache'
'/proc/self/net/stat/nf_conntrack' -> '/var/dump/sonic_dump_sonic_20210617_12275 6/proc/net/stat/nf_conntrack'
'/proc/self/net/netfilter' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/n et/netfilter'
'/proc/self/net/netfilter/nf_log' -> '/var/dump/sonic_dump_sonic_20210617_122756 /proc/net/netfilter/nf_log'
'/proc/self/net/netlink' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net /netlink'
'/proc/self/net/connector' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/n et/connector'
'/proc/self/net/protocols' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/n et/protocols'
'/proc/self/net/dev' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/dev '
'/proc/self/net/softnet_stat' -> '/var/dump/sonic_dump_sonic_20210617_122756/pro c/net/softnet_stat'
'/proc/self/net/ptype' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/p type'
'/proc/self/net/wireless' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/ne t/wireless'
'/proc/self/net/dev_mcast' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/n et/dev_mcast'
'/proc/self/net/psched' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/ psched'
'/proc/self/net/arp' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/arp '
'/proc/self/net/fib_trie' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/ne t/fib_trie'
'/proc/self/net/fib_triestat' -> '/var/dump/sonic_dump_sonic_20210617_122756/pro c/net/fib_triestat'
'/proc/self/net/route' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/r oute'
'/proc/self/net/rt_cache' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/ne t/rt_cache'
'/proc/self/net/rt_acct' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net /rt_acct'
'/proc/self/net/igmp' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/ig mp'
'/proc/self/net/mcfilter' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/ne t/mcfilter'
'/proc/self/net/udplite' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net /udplite'
'/proc/self/net/ip_mr_vif' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/n et/ip_mr_vif'
'/proc/self/net/ip_mr_cache' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc /net/ip_mr_cache'
'/proc/self/net/raw' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/raw '
'/proc/self/net/tcp' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/tcp '
'/proc/self/net/udp' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/udp '
'/proc/self/net/icmp' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/ic mp'
'/proc/self/net/sockstat' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/ne t/sockstat'
'/proc/self/net/netstat' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net /netstat'
'/proc/self/net/snmp' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/sn mp'
'/proc/self/net/unix' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/un ix'
'/proc/self/net/udp6' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/ud p6'
'/proc/self/net/tcp6' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/tc p6'
'/proc/self/net/anycast6' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/ne t/anycast6'
'/proc/self/net/ip6_mr_vif' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/ net/ip6_mr_vif'
'/proc/self/net/ip6_mr_cache' -> '/var/dump/sonic_dump_sonic_20210617_122756/pro c/net/ip6_mr_cache'
'/proc/self/net/igmp6' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/i gmp6'
'/proc/self/net/mcfilter6' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/n et/mcfilter6'
'/proc/self/net/raw6' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/ra w6'
'/proc/self/net/udplite6' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/ne t/udplite6'
'/proc/self/net/sockstat6' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/n et/sockstat6'
'/proc/self/net/snmp6' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/s nmp6'
'/proc/self/net/dev_snmp6' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/n et/dev_snmp6'
'/proc/self/net/dev_snmp6/lo' -> '/var/dump/sonic_dump_sonic_20210617_122756/pro c/net/dev_snmp6/lo'
'/proc/self/net/dev_snmp6/eth0' -> '/var/dump/sonic_dump_sonic_20210617_122756/p roc/net/dev_snmp6/eth0'
'/proc/self/net/dev_snmp6/eth1' -> '/var/dump/sonic_dump_sonic_20210617_122756/p roc/net/dev_snmp6/eth1'
'/proc/self/net/dev_snmp6/docker0' -> '/var/dump/sonic_dump_sonic_20210617_12275 6/proc/net/dev_snmp6/docker0'
'/proc/self/net/if_inet6' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/ne t/if_inet6'
'/proc/self/net/ipv6_route' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/ net/ipv6_route'
'/proc/self/net/rt6_stats' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/n et/rt6_stats'
'/proc/self/net/ip6_flowlabel' -> '/var/dump/sonic_dump_sonic_20210617_122756/pr oc/net/ip6_flowlabel'
'/proc/self/net/icmp6' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/i cmp6'
'/proc/self/net/packet' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/ packet'
'/proc/self/net/ip_tables_names' -> '/var/dump/sonic_dump_sonic_20210617_122756/ proc/net/ip_tables_names'
'/proc/self/net/ip_tables_matches' -> '/var/dump/sonic_dump_sonic_20210617_12275 6/proc/net/ip_tables_matches'
'/proc/self/net/ip_tables_targets' -> '/var/dump/sonic_dump_sonic_20210617_12275 6/proc/net/ip_tables_targets'
'/proc/self/net/bonding' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/net /bonding'
'/proc/self/net/nf_conntrack_expect' -> '/var/dump/sonic_dump_sonic_20210617_122 756/proc/net/nf_conntrack_expect'
'/proc/self/net/nf_conntrack' -> '/var/dump/sonic_dump_sonic_20210617_122756/pro c/net/nf_conntrack'
'/proc/pagetypeinfo' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/pagetyp einfo'
'/proc/partitions' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/partition s'
'/proc/sched_debug' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/sched_de bug'
'/proc/slabinfo' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/slabinfo'
'/proc/softirqs' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/softirqs'
'/proc/stat' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/stat'
'/proc/swaps' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/swaps'
'/proc/sysvipc' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/sysvipc'
'/proc/sysvipc/sem' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/sysvipc/ sem'
'/proc/sysvipc/msg' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/sysvipc/ msg'
'/proc/sysvipc/shm' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/sysvipc/ shm'
'/proc/timer_list' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/timer_lis t'
'/proc/uptime' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/uptime'
'/proc/version' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/version'
'/proc/vmallocinfo' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/vmalloci nfo'
'/proc/vmstat' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/vmstat'
'/proc/zoneinfo' -> '/var/dump/sonic_dump_sonic_20210617_122756/proc/zoneinfo'
sonic_dump_sonic_20210617_122756/proc/
sonic_dump_sonic_20210617_122756/proc/ioports
sonic_dump_sonic_20210617_122756/proc/uptime
sonic_dump_sonic_20210617_122756/proc/sysvipc/
sonic_dump_sonic_20210617_122756/proc/sysvipc/msg
sonic_dump_sonic_20210617_122756/proc/sysvipc/sem
sonic_dump_sonic_20210617_122756/proc/sysvipc/shm
sonic_dump_sonic_20210617_122756/proc/slabinfo
sonic_dump_sonic_20210617_122756/proc/diskstats
sonic_dump_sonic_20210617_122756/proc/partitions
sonic_dump_sonic_20210617_122756/proc/loadavg
sonic_dump_sonic_20210617_122756/proc/version
sonic_dump_sonic_20210617_122756/proc/mounts
sonic_dump_sonic_20210617_122756/proc/cmdline
sonic_dump_sonic_20210617_122756/proc/net/
sonic_dump_sonic_20210617_122756/proc/net/wireless
sonic_dump_sonic_20210617_122756/proc/net/snmp6
sonic_dump_sonic_20210617_122756/proc/net/netfilter/
sonic_dump_sonic_20210617_122756/proc/net/netfilter/nf_log
sonic_dump_sonic_20210617_122756/proc/net/ptype
sonic_dump_sonic_20210617_122756/proc/net/mcfilter
sonic_dump_sonic_20210617_122756/proc/net/rt_cache
sonic_dump_sonic_20210617_122756/proc/net/ip_tables_names
sonic_dump_sonic_20210617_122756/proc/net/nf_conntrack
sonic_dump_sonic_20210617_122756/proc/net/ip_mr_vif
sonic_dump_sonic_20210617_122756/proc/net/sockstat
sonic_dump_sonic_20210617_122756/proc/net/igmp
sonic_dump_sonic_20210617_122756/proc/net/arp
sonic_dump_sonic_20210617_122756/proc/net/bonding/
sonic_dump_sonic_20210617_122756/proc/net/connector
sonic_dump_sonic_20210617_122756/proc/net/udp
sonic_dump_sonic_20210617_122756/proc/net/if_inet6
sonic_dump_sonic_20210617_122756/proc/net/snmp
sonic_dump_sonic_20210617_122756/proc/net/udplite
sonic_dump_sonic_20210617_122756/proc/net/unix
sonic_dump_sonic_20210617_122756/proc/net/netlink
sonic_dump_sonic_20210617_122756/proc/net/route
sonic_dump_sonic_20210617_122756/proc/net/ip_tables_targets
sonic_dump_sonic_20210617_122756/proc/net/fib_trie
sonic_dump_sonic_20210617_122756/proc/net/ip6_mr_vif
sonic_dump_sonic_20210617_122756/proc/net/icmp6
sonic_dump_sonic_20210617_122756/proc/net/nf_conntrack_expect
sonic_dump_sonic_20210617_122756/proc/net/ip6_mr_cache
sonic_dump_sonic_20210617_122756/proc/net/rt_acct
sonic_dump_sonic_20210617_122756/proc/net/ip_mr_cache
sonic_dump_sonic_20210617_122756/proc/net/rt6_stats
sonic_dump_sonic_20210617_122756/proc/net/stat/
sonic_dump_sonic_20210617_122756/proc/net/stat/rt_cache
sonic_dump_sonic_20210617_122756/proc/net/stat/nf_conntrack
sonic_dump_sonic_20210617_122756/proc/net/stat/ndisc_cache
sonic_dump_sonic_20210617_122756/proc/net/stat/arp_cache
sonic_dump_sonic_20210617_122756/proc/net/protocols
sonic_dump_sonic_20210617_122756/proc/net/raw
sonic_dump_sonic_20210617_122756/proc/net/ip_tables_matches
sonic_dump_sonic_20210617_122756/proc/net/psched
sonic_dump_sonic_20210617_122756/proc/net/mcfilter6
sonic_dump_sonic_20210617_122756/proc/net/raw6
sonic_dump_sonic_20210617_122756/proc/net/fib_triestat
sonic_dump_sonic_20210617_122756/proc/net/ip6_flowlabel
sonic_dump_sonic_20210617_122756/proc/net/udp6
sonic_dump_sonic_20210617_122756/proc/net/udplite6
sonic_dump_sonic_20210617_122756/proc/net/packet
sonic_dump_sonic_20210617_122756/proc/net/netstat
sonic_dump_sonic_20210617_122756/proc/net/dev_mcast
sonic_dump_sonic_20210617_122756/proc/net/icmp
sonic_dump_sonic_20210617_122756/proc/net/ipv6_route
sonic_dump_sonic_20210617_122756/proc/net/anycast6
sonic_dump_sonic_20210617_122756/proc/net/dev
sonic_dump_sonic_20210617_122756/proc/net/dev_snmp6/
sonic_dump_sonic_20210617_122756/proc/net/dev_snmp6/eth0
sonic_dump_sonic_20210617_122756/proc/net/dev_snmp6/eth1
sonic_dump_sonic_20210617_122756/proc/net/dev_snmp6/lo
sonic_dump_sonic_20210617_122756/proc/net/dev_snmp6/docker0
sonic_dump_sonic_20210617_122756/proc/net/tcp
sonic_dump_sonic_20210617_122756/proc/net/tcp6
sonic_dump_sonic_20210617_122756/proc/net/igmp6
sonic_dump_sonic_20210617_122756/proc/net/softnet_stat
sonic_dump_sonic_20210617_122756/proc/net/sockstat6
sonic_dump_sonic_20210617_122756/proc/buddyinfo
sonic_dump_sonic_20210617_122756/proc/pagetypeinfo
sonic_dump_sonic_20210617_122756/proc/dma
sonic_dump_sonic_20210617_122756/proc/vmstat
sonic_dump_sonic_20210617_122756/proc/swaps
sonic_dump_sonic_20210617_122756/proc/timer_list
sonic_dump_sonic_20210617_122756/proc/vmallocinfo
sonic_dump_sonic_20210617_122756/proc/iomem
sonic_dump_sonic_20210617_122756/proc/cpuinfo
sonic_dump_sonic_20210617_122756/proc/zoneinfo
sonic_dump_sonic_20210617_122756/proc/locks
sonic_dump_sonic_20210617_122756/proc/meminfo
sonic_dump_sonic_20210617_122756/proc/modules
sonic_dump_sonic_20210617_122756/proc/interrupts
sonic_dump_sonic_20210617_122756/proc/softirqs
sonic_dump_sonic_20210617_122756/proc/stat
sonic_dump_sonic_20210617_122756/proc/sched_debug
sonic_dump_sonic_20210617_122756/proc/misc
sonic_dump_sonic_20210617_122756/proc/devices
sonic_dump_sonic_20210617_122756/proc/kallsyms
sonic_dump_sonic_20210617_122756/proc/consoles
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/ioports'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/uptime'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/sysvipc/msg'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/sysvipc/sem'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/sysvipc/shm'
removed directory '/var/dump/sonic_dump_sonic_20210617_122756/proc/sysvipc'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/slabinfo'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/diskstats'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/partitions'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/loadavg'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/version'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/mounts'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/cmdline'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/wireless'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/snmp6'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/netfilter/nf_log'
removed directory '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/netfilter '
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/ptype'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/mcfilter'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/rt_cache'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/ip_tables_names'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/nf_conntrack'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/ip_mr_vif'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/sockstat'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/igmp'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/arp'
removed directory '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/bonding'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/connector'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/udp'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/if_inet6'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/snmp'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/udplite'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/unix'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/netlink'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/route'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/ip_tables_targets'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/fib_trie'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/ip6_mr_vif'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/icmp6'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/nf_conntrack_expect '
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/ip6_mr_cache'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/rt_acct'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/ip_mr_cache'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/rt6_stats'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/stat/rt_cache'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/stat/nf_conntrack'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/stat/ndisc_cache'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/stat/arp_cache'
removed directory '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/stat'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/protocols'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/raw'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/ip_tables_matches'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/psched'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/mcfilter6'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/raw6'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/fib_triestat'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/ip6_flowlabel'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/udp6'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/udplite6'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/packet'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/netstat'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/dev_mcast'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/icmp'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/ipv6_route'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/anycast6'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/dev'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/dev_snmp6/eth0'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/dev_snmp6/eth1'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/dev_snmp6/lo'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/dev_snmp6/docker0'
removed directory '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/dev_snmp6 '
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/tcp'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/tcp6'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/igmp6'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/softnet_stat'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/net/sockstat6'
removed directory '/var/dump/sonic_dump_sonic_20210617_122756/proc/net'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/buddyinfo'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/pagetypeinfo'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/dma'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/vmstat'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/swaps'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/timer_list'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/vmallocinfo'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/iomem'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/cpuinfo'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/zoneinfo'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/locks'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/meminfo'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/modules'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/interrupts'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/softirqs'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/stat'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/sched_debug'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/misc'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/devices'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/kallsyms'
removed '/var/dump/sonic_dump_sonic_20210617_122756/proc/consoles'
removed directory '/var/dump/sonic_dump_sonic_20210617_122756/proc'
mkdir: created directory '/var/dump/sonic_dump_sonic_20210617_122756/dump'
sonic_dump_sonic_20210617_122756/dump/services.summary
removed '/var/dump/sonic_dump_sonic_20210617_122756/dump/services.summary'
sonic_dump_sonic_20210617_122756/dump/reboot.cause
removed '/var/dump/sonic_dump_sonic_20210617_122756/dump/reboot.cause'
sonic_dump_sonic_20210617_122756/dump/date.counter_1
removed '/var/dump/sonic_dump_sonic_20210617_122756/dump/date.counter_1'
Command: show interface counters timedout after 5 minutes.
sonic_dump_sonic_20210617_122756/dump/interface.counters_1
removed '/var/dump/sonic_dump_sonic_20210617_122756/dump/interface.counters_1'
Command: show queue counters timedout after 5 minutes.
sonic_dump_sonic_20210617_122756/dump/queue.counters_1
removed '/var/dump/sonic_dump_sonic_20210617_122756/dump/queue.counters_1'
/usr/local/bin/generate_dump: line 207: Warning: unbound variable
admin@sonic:~$
I uploaded my config_db.json file
config_db.json.txt
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: