razorsedge / puppet-openlldp

Puppet module to install Open-LLDP.
http://forge.puppetlabs.com/razorsedge/openlldp
Other
6 stars 11 forks source link

Unknown LLDP command response: R0a #13

Open af-gmadore opened 5 years ago

af-gmadore commented 5 years ago

Hello,

I installed your module into our puppet server and everything was fine. But a soon as i change the interface name nothing work.

Now what ever i do i got that error.

Unknown LLDP command response: R0a

old if name enp0s25 new ifname eth0

--

/var/lib/lldpad (test@work-055) $ lldptool get-tlv -n -i enp0s25 -V 8
Unknown LLDP command response: R0a
/var/lib/lldpad (test@work-055) $ lldptool get-tlv -n -i eth0 -V 1
Unknown LLDP command response: R0a

-- also from our puppet server

--

/var/lib/lldpad (root@work-055) $ puppet agent -t --tags=openlldp
Notice: /Stage[main]/Role::Workstation::Centos/Openlldp::Config::Lldp[enp0s25]/Exec[set-lldp enp0s25]/returns: Device not found or inactive 
Error: lldptool set-lldp -i enp0s25 -g nb adminStatus=rxtx returned 1 instead of one of [0]
Error: /Stage[main]/Role::Workstation::Centos/Openlldp::Config::Lldp[enp0s25]/Exec[set-lldp enp0s25]/returns: change from notrun to 0 failed: lldptool set-lldp -i enp0s25 -g nb adminStatus=rxtx returned 1 instead of one of [0]
Notice: /Stage[main]/Role::Workstation::Centos/Openlldp::Config::Tlv[enp0s25]/Exec[set-tlv enp0s25 sysCap]/returns: Device not found or inactive 
Error: lldptool set-tlv -i enp0s25 -g nb -V sysCap -c enableTx=yes returned 1 instead of one of [0]
Error: /Stage[main]/Role::Workstation::Centos/Openlldp::Config::Tlv[enp0s25]/Exec[set-tlv enp0s25 sysCap]/returns: change from notrun to 0 failed: lldptool set-tlv -i enp0s25 -g nb -V sysCap -c enableTx=yes returned 1 instead of one of [0]
Notice: /Stage[main]/Role::Workstation::Centos/Openlldp::Config::Tlv[enp0s25]/Exec[set-tlv enp0s25 sysDesc]/returns: Device not found or inactive 
Error: lldptool set-tlv -i enp0s25 -g nb -V sysDesc -c enableTx=yes returned 1 instead of one of [0]
Error: /Stage[main]/Role::Workstation::Centos/Openlldp::Config::Tlv[enp0s25]/Exec[set-tlv enp0s25 sysDesc]/returns: change from notrun to 0 failed: lldptool set-tlv -i enp0s25 -g nb -V sysDesc -c enableTx=yes returned 1 instead of one of [0]
Notice: /Stage[main]/Role::Workstation::Centos/Openlldp::Config::Tlv[enp0s25]/Exec[set-tlv enp0s25 portDesc]/returns: Device not found or inactive 
Error: lldptool set-tlv -i enp0s25 -g nb -V portDesc -c enableTx=yes returned 1 instead of one of [0]
Error: /Stage[main]/Role::Workstation::Centos/Openlldp::Config::Tlv[enp0s25]/Exec[set-tlv enp0s25 portDesc]/returns: change from notrun to 0 failed: lldptool set-tlv -i enp0s25 -g nb -V portDesc -c enableTx=yes returned 1 instead of one of [0]
Notice: /Stage[main]/Role::Workstation::Centos/Openlldp::Config::Tlv[enp0s25]/Exec[set-tlv enp0s25 mngAddr]/returns: Device not found or inactive 
Error: lldptool set-tlv -i enp0s25 -g nb -V mngAddr -c enableTx=yes returned 1 instead of one of [0]
Error: /Stage[main]/Role::Workstation::Centos/Openlldp::Config::Tlv[enp0s25]/Exec[set-tlv enp0s25 mngAddr]/returns: change from notrun to 0 failed: lldptool set-tlv -i enp0s25 -g nb -V mngAddr -c enableTx=yes returned 1 instead of one of [0]
Notice: /Stage[main]/Role::Workstation::Centos/Openlldp::Config::Tlv[enp0s25]/Exec[set-tlv enp0s25 sysName]/returns: Device not found or inactive 
Error: lldptool set-tlv -i enp0s25 -g nb -V sysName -c enableTx=yes returned 1 instead of one of [0]
Error: /Stage[main]/Role::Workstation::Centos/Openlldp::Config::Tlv[enp0s25]/Exec[set-tlv enp0s25 sysName]/returns: change from notrun to 0 failed: lldptool set-tlv -i enp0s25 -g nb -V sysName -c enableTx=yes returned 1 instead of one of [0]
Notice: Finished catalog run in 9.58 seconds

--

Do you have any idea?

Thanks.

02strich commented 4 years ago

Quite an old issue, but just stumbled into the same problem and solved it by running lldptool with sudo -- seems like this about some kind of authentication/authorization