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

asked 2014-07-24 11:17:07 -0600

cloudstacker gravatar image

updated 2014-07-25 12:37:15 -0600

smaffulli gravatar image

Using latest RDO Icehouse with RHEL 6.5 (fully updated).

When using OVS VLAN segmentation, after restarting neutron-openvswitch-agent, the logs show

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

The command it's trying to run is

ip link add int-br-eth0.2017 type veth peer name phy-br-eth0.2017

Any suggestions on how to fix this?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-07-25 12:40:49 -0600

smaffulli gravatar image

Check the error, looks like the ip command is wrong. Have you tried reading man ip-link?

edit flag offensive delete link more

answered 2019-08-29 07:46:53 -0600

ip link add accepts max 15 characters long name, so in your case renaming link name to phy-br-et0.2017 will do the work.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-07-24 11:06:38 -0600

Seen: 501 times

Last updated: Jul 25 '14