[ixpmanager] IXP Manager Route Server with Bird2 sync/api reconfigure script error.

Barry O'Donovan (INEX) barry.odonovan at inex.ie
Wed May 17 09:00:06 IST 2023


Earl,

could you share the config at line 184 plus sufficient contact before 
and after that line so we can see what's happening there?

You can use https://pastebin.ibn.ie/ or other similar. Please don't send 
a screenshot.

Also can you make sure you clearly mark which line is 184 on the paste?

Thanks!
  - Barry


> Earl Tan via ixpmanager <mailto:ixpmanager at inex.ie>
> 17 May 2023 at 04:17
> image.png
>
> This is the error Richard "bird: 
> /usr/local/etc/bird/bird-rcbc-rs2-ipv4.conf.281708:184:26 filter 
> preevaluation, line 184: Can't operate with value out of bounds in 
> pair constructor"
>
>
> <https://aftechph.com>
>
> 	
> 	
>
> Earlvin Tan
>
> Software Developer
>
> AF Tech I.T. Solutions
>
> 	
>
> earl.tan at aftechph.com <mailto:earl.tan at aftechph.com>
>
> 	
>
> 3F Gloria Building, Rosales St. Brgy. San Ignacio, Butuan City
>
> 	
>
> aftechph.com <https://aftechph.com>
>
>
>
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: 
> https://www.inex.ie/mailman/listinfo/ixpmanager
> Richard Laager via ixpmanager <mailto:ixpmanager at inex.ie>
> 17 May 2023 at 03:51
> What does bird have to say about it, e.g.:
>
> bird -p -c /usr/local/etc/bird/bird-rcbc-rs2-ipv4.conf.281708
>
> Earl Tan via ixpmanager <mailto:ixpmanager at inex.ie>
> 17 May 2023 at 02:05
> Good Day to all!
>
> I canceled the previous one and resend this after subscribing with the 
> correct "email alias".
>
> We keep encountering errors when running this script 
> "https://github.com/inex/IXP-Manager/blob/master/tools/runtime/route-servers/api-reconfigure-example-birdv2.sh" 
> in our BIRD Server with this error output "ERROR: non-zero return from 
> /usr/sbin/bird when parsing 
> /usr/local/etc/bird/bird-rcbc-rs2-ipv4.conf.281708".
>
> We're confused why it keeps resulting in an error. We also followed a 
> demonstration(?)/guide in Youtube, stuck due to error ( "Command Used" )
>
>
>         IXP Manager and Route Servers - Tutorial Series (3 of 6)
>         <https://www.youtube.com/watch?v=heKj-K1eMHM&t=350s>
>
>
> Command Used:
> "./api-reconfigure-example-birdv2.sh -h rcbc-rs2-ipv4"
>
> Output of Command with Debug=1:
> "curl --fail -s -H "X-IXP-Manager-API-Key: {our api-key}" 
> https://{site}/api/v4/router/gen-config/rcbc-rs2-ipv4 
> >/usr/local/etc/bird/bird-rcbc-rs2-ipv4.conf.281708
> /usr/sbin/bird -p -c /usr/local/etc/bird/bird-rcbc-rs2-ipv4.conf.281708
> ERROR: non-zero return from /usr/sbin/bird when parsing 
> /usr/local/etc/bird/bird-rcbc-rs2-ipv4.conf.281708"
>
> Under IXP Manager Router List:
> Name: rcbc-rs2-ivp4
> Type: RS
> ASN: 150786
> Software: Bird v2
> API Type: Birdseye
> Template: api/v4/router/server/bird2/standard
> "BGP LC" and "RFC1997 Passthru" are checked.
>
> Server's Versions:
> OS: Ubuntu 20.04.6 LTS
> PHP: PHP 8.0.28
> IXP Version: 6.3.0 ( 2022110200 )
> BIRD Version: 2.0.13
>
> Sincerely,
> Earl Tan
> AF Tech
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: 
> https://www.inex.ie/mailman/listinfo/ixpmanager

-- 

Kind regards,
Barry O'Donovan
INEX Operations

https://www.inex.ie/support/
+353 1 531 3339


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20230517/9354643a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 8452 bytes
Desc: not available
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20230517/9354643a/attachment-0001.png>


More information about the ixpmanager mailing list