Skip to content
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

[201911] fast-reboot fail on fast-reboot-dump.py script #7736

Closed
prsunny opened this issue May 27, 2021 · 3 comments
Closed

[201911] fast-reboot fail on fast-reboot-dump.py script #7736

prsunny opened this issue May 27, 2021 · 3 comments
Assignees

Comments

@prsunny
Copy link
Contributor

prsunny commented May 27, 2021

Description

fast-reboot-dump.py script failed with exception

May 20 17:23:39.124041 str-msn2700-22 INFO fast-reboot-dump: Neighbor entry: [Vlan: Vlan1000, Mac: 72:06:00:01:04:30, Ip: 192.168.1.176]
May 20 17:23:39.285529 str-msn2700-22 ERR fast-reboot-dump: Got an exception '192.168.1.210' does not appear to be an IPv4 or IPv6 interface: Traceback: Traceback (most recent call last):#012 
File "/usr/bin/fast-reboot-dump.py",line 340,in <module>#012    res = main()#012  
File "/usr/bin/fast-reboot-dump.py",line 333,in main#012    send_garp_nd(neighbor_entries,map_mac_ip_per_vlan)#012  
File "/usr/bin/fast-reboot-dump.py", line 277, in send_garp_nd#012    if ipaddress.ip_interface(dst_ip).ip.version == 4:#012  
File "/usr/local/lib/python2.7/dist-packages/ipaddress.py", line 239, in ip_interface#012    address)#012ValueError: '192.168.1.210' does not appear to be an IPv4 or IPv6 interface
May 20 17:23:39.291055 str-msn2700-22 NOTICE admin: fast-reboot failure (0) cleanup ...

This was introduced by PR sonic-net/sonic-utilities#1047 while cherry-picked to 201911
Fix provided in - sonic-net/sonic-utilities#1627

Steps to reproduce the issue:

  1. Run fast-reboot command

Describe the results you received:

fast-reboot failed with exception

Describe the results you expected:

Pass

Output of show version:

SONiC.20191130.70 and above

Output of show techsupport:

(paste your output here or download and attach the file here )

Additional information you deem important (e.g. issue happens only occasionally):

@prsunny
Copy link
Contributor Author

prsunny commented May 27, 2021

@rlhui , @sumukhatv for viz

@qiluo-msft
Copy link
Collaborator

Is the issue closed by sonic-net/sonic-utilities#1627?

@prsunny
Copy link
Contributor Author

prsunny commented Jun 4, 2021

Is the issue closed by Azure/sonic-utilities#1627?

Yes

@prsunny prsunny closed this as completed Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants