Subject: Rare project developers
List archive
- From: Frédéric LOUI <>
- To: Alexander Gall <>
- Cc: mc36 <>, "" <>
- Subject: Re: [rare-dev] Broken SNMP in latest forwarder code
- Date: Fri, 18 Feb 2022 18:33:17 +0100
- Dkim-filter: OpenDKIM Filter v2.10.3 zmtaauth04.partage.renater.fr E8DFD1C0559
Hi Alex,
I corrected the issue you reported in 95739f.
It was actually a side effect of « bf_forwarder.py modularisation »
It should be OK now with this commit:
https://bitbucket.software.geant.org/projects/RARE/repos/rare/commits/041558e19e9042402015b1abe572c0641c87aa2b
Have a good week end,
Frederic
> Le 11 févr. 2022 à 18:09, Alexander Gall <> a écrit :
>
> Hi Frederic
>
> SNMP in the latest code (95739f) is broken:
>
> Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: BfIfSnmpClient - main
> Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: bf_switchd started with
> SNMP export
> Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: Generic table clearing:
> (Order not matters)
> Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: Exception in thread
> bf_snmp:
> Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: Traceback (most recent
> call last):
> Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: File
> "/nix/store/bvz1i8rik3ynd1rpb8gczwqfayxv4dfz-bf_forwarder-22.02.11/lib/python3.8/site-packages/rare/bf_snmp_client/__init__.py",
> line 35, in run
> Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: self.active_subifs =
> self.getAllActiveSubInterfaces()
> Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: File
> "/nix/store/bvz1i8rik3ynd1rpb8gczwqfayxv4dfz-bf_forwarder-22.02.11/lib/python3.8/site-packages/rare/bf_snmp_client/__init__.py",
> line 297, in getAllActiveSubInterfaces
> Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: tbl_global_path =
> "%s.ig_ctl" % self.pipe_name
> Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: AttributeError:
> 'BfIfSnmpClient' object has no attribute 'pipe_name'
> Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: During handling of the
> above exception, another exception occurred:
> Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: Traceback (most recent
> call last):
> Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: File
> "/nix/store/v72cj06nk69cynckz2s12rhar25k1h7v-python3-3.8.5/lib/python3.8/threading.py",
> line 932, in _bootstrap_inner
> Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: self.run()
> Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: File
> "/nix/store/bvz1i8rik3ynd1rpb8gczwqfayxv4dfz-bf_forwarder-22.02.11/lib/python3.8/site-packages/rare/bf_snmp_client/__init__.py",
> line 80, in run
> Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: "%s - exited with code
> [%s]" % (self.class_name, _Exception())
> Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: NameError: name
> '_Exception' is not defined
>
> Speaking of SNMP, can you please explain (again) the problem that
> occured with NMaaS and SNMP queries?
>
> @csaba: If freerouter now has SNMP support built in (that was news to
> me), how exactly does it work?
>
> --
> Alex
- [rare-dev] Broken SNMP in latest forwarder code, Alexander Gall, 02/11/2022
- Re: [rare-dev] Broken SNMP in latest forwarder code, Frédéric LOUI, 02/11/2022
- Re: [rare-dev] Broken SNMP in latest forwarder code, mc36, 02/11/2022
- Re: [rare-dev] Broken SNMP in latest forwarder code, Alexander Gall, 02/11/2022
- Re: [rare-dev] Broken SNMP in latest forwarder code, Frédéric LOUI, 02/11/2022
- Re: [rare-dev] Broken SNMP in latest forwarder code, mc36, 02/11/2022
- Re: [rare-dev] Broken SNMP in latest forwarder code, Frédéric LOUI, 02/18/2022
- Re: [rare-dev] Broken SNMP in latest forwarder code, Alexander Gall, 02/21/2022
- Re: [rare-dev] Broken SNMP in latest forwarder code, Frédéric LOUI, 02/21/2022
- Re: [rare-dev] Broken SNMP in latest forwarder code, Alexander Gall, 02/21/2022
- Re: [rare-dev] Broken SNMP in latest forwarder code, Frédéric LOUI, 02/11/2022
Archive powered by MHonArc 2.6.19.