[ixpmanager] IRRDB error handling

Pete Ashdown pashdown at xmission.com
Sun Mar 14 18:53:04 GMT 2021


Had a customer who entered their AS macros wrong, and as a result, they 
blocked everyone below them alphabetically from receiving IRRDB 
updates.  It would be good if the update would continue over these kind 
of errors.  Here is the output from the crash:

ERROR:Unable to parse prefix 'RADB::AS-DELETED', af=10 (inet6), ret=0
ERROR:Unable to parse prefix RADB::AS-DELETED
ERROR:Unable to add prefix RADB::AS-DELETED (bad prefix or address-family)

In Bgpq3.php line 172:

   [IXP\Exceptions\GeneralException]
   Error executing BGPQ3 with: /usr/bin/bgpq3 -S 'RADB,APNIC,ARIN' -l pl 
-j -m
    24 'RADB::AS-DELETED'


Exception trace:
   at /srv/ixpmanager/app/Utils/Bgpq3.php:172
  IXP\Utils\Bgpq3->execute() at /srv/ixpmanager/app/Utils/Bgpq3.php:97
  IXP\Utils\Bgpq3->getPrefixList() at 
/srv/ixpmanager/app/Tasks/Irrdb/UpdatePrefixDb.php:56
  IXP\Tasks\Irrdb\UpdatePrefixDb->update() at 
/srv/ixpmanager/app/Console/Commands/Irrdb/UpdatePrefixDb.php:67
  IXP\Console\Commands\Irrdb\UpdatePrefixDb->handle() at n/a:n/a
  call_user_func_array() at 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:32
  Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() at 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Container/Util.php:37
  Illuminate\Container\Util::unwrapIfClosure() at 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:90
  Illuminate\Container\BoundMethod::callBoundMethod() at 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:34
  Illuminate\Container\BoundMethod::call() at 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Container/Container.php:590
  Illuminate\Container\Container->call() at 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Console/Command.php:134
  Illuminate\Console\Command->execute() at 
/srv/ixpmanager/vendor/symfony/console/Command/Command.php:255
  Symfony\Component\Console\Command\Command->run() at 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Console/Command.php:121
  Illuminate\Console\Command->run() at 
/srv/ixpmanager/vendor/symfony/console/Application.php:1000
  Symfony\Component\Console\Application->doRunCommand() at 
/srv/ixpmanager/vendor/symfony/console/Application.php:271
  Symfony\Component\Console\Application->doRun() at 
/srv/ixpmanager/vendor/symfony/console/Application.php:147
  Symfony\Component\Console\Application->run() at 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Console/Application.php:93
  Illuminate\Console\Application->run() at 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:131
  Illuminate\Foundation\Console\Kernel->handle() at 
/srv/ixpmanager/artisan:37



More information about the ixpmanager mailing list