cudadog / coreemu

Automatically exported from code.google.com/p/coreemu
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Error: argument "peer" is wrong: "name" too long #278

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On Fedora 20 x86_64, the issue #1 from the below email bit me today. This is in 
the netns/vif.py code:

subprocess.CalledProcessError: Command '['/usr/sbin/ip', 'link', 'add', 'name', 
'veth4310.0.177', 'type', 'veth', 'peer', 'name', 'veth4310.0.1.177']' returned 
non-zero exit status 255

This was reported earlier by Björn Axelsson, and his workaround worked also 
for me:

http://pf.itd.nrl.navy.mil/pipermail/core-users/2014-August/001641.html

Original issue reported on code.google.com by tomh....@gmail.com on 10 Feb 2015 at 7:33

GoogleCodeExporter commented 9 years ago
Does this happen when using the current development code?

I think r601 was meant to fix this issue.  An exception should also be raised 
when an interface name is too long.

Original comment by tgo...@gmail.com on 18 Feb 2015 at 7:10

GoogleCodeExporter commented 9 years ago
No, I did not check svn code (since I rolled back to RPMs due to issue 277).  
Feel free to close this as invalid if already fixed.

Original comment by tomh....@gmail.com on 18 Feb 2015 at 7:54

GoogleCodeExporter commented 9 years ago
This should be already fixed.

Original comment by tgo...@gmail.com on 19 Feb 2015 at 2:02