Can not update IRRDB if only IPv6 is configured (again)
accuris-infrastructure opened this issue · comments
ISSUE TYPE
Bug Report
OS
Debian 12, Kernel 6.1.0-12-amd64
VERSION
define( 'APPLICATION_VERSION', '6.3.1' );
define( 'APPLICATION_VERDATE', '2023062000' );
ENVIRONMENT
PHP 8.1.23 (cli) (built: Sep 4 2023 08:15:03) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.23, Copyright (c) Zend Technologies
with Zend OPcache v8.1.23, Copyright (c), by Zend Technologies
ii php-common 2:93+0~20230409.46+debian12~1.gbpdb4dcc all Common files for PHP packages
ii php8.1 8.1.23-1+0~20230904.54+debian12~1.gbpe6c1a6 all server-side, HTML-embedded scripting language (metapackage)
ii php8.1-bcmath 8.1.23-1+0~20230904.54+debian12~1.gbpe6c1a6 amd64 Bcmath module for PHP
ii php8.1-cli 8.1.23-1+0~20230904.54+debian12~1.gbpe6c1a6 amd64 command-line interpreter for the PHP scripting language
ii php8.1-common 8.1.23-1+0~20230904.54+debian12~1.gbpe6c1a6 amd64 documentation, examples and common module for PHP
ii php8.1-curl 8.1.23-1+0~20230904.54+debian12~1.gbpe6c1a6 amd64 CURL module for PHP
ii php8.1-ds 1.4.0-5+0~20230612.26+debian12~1.gbp1cb44a amd64 PHP extension providing efficient data structures for PHP 7
ii php8.1-fpm 8.1.23-1+0~20230904.54+debian12~1.gbpe6c1a6 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary)
ii php8.1-gd 8.1.23-1+0~20230904.54+debian12~1.gbpe6c1a6 amd64 GD module for PHP
ii php8.1-gmp 8.1.23-1+0~20230904.54+debian12~1.gbpe6c1a6 amd64 GMP module for PHP
ii php8.1-imap 8.1.23-1+0~20230904.54+debian12~1.gbpe6c1a6 amd64 IMAP module for PHP
ii php8.1-intl 8.1.23-1+0~20230904.54+debian12~1.gbpe6c1a6 amd64 Internationalisation module for PHP
ii php8.1-mbstring 8.1.23-1+0~20230904.54+debian12~1.gbpe6c1a6 amd64 MBSTRING module for PHP
ii php8.1-mcrypt 3:1.0.6-1+0~20230612.13+debian12~1.gbp3589bd amd64 PHP bindings for the libmcrypt library
ii php8.1-mysql 8.1.23-1+0~20230904.54+debian12~1.gbpe6c1a6 amd64 MySQL module for PHP
ii php8.1-opcache 8.1.23-1+0~20230904.54+debian12~1.gbpe6c1a6 amd64 Zend OpCache module for PHP
ii php8.1-readline 8.1.23-1+0~20230904.54+debian12~1.gbpe6c1a6 amd64 readline module for PHP
ii php8.1-soap 8.1.23-1+0~20230904.54+debian12~1.gbpe6c1a6 amd64 SOAP module for PHP
ii php8.1-xml 8.1.23-1+0~20230904.54+debian12~1.gbpe6c1a6 amd64 DOM, SimpleXML, XML, and XSL module for PHP
ii php8.1-zip 8.1.23-1+0~20230904.54+debian12~1.gbpe6c1a6 amd64 Zip module for PHP
CONFIGURATION
APP_DEBUG=false
APP_URL="https://ixp.accurix.net"
APP_TIMEZONE="UTC"
APP_LOG="single"
APP_LOG_LEVEL=debug
IXP_RESELLER_ENABLED=true
IXP_AS112_UI_ACTIVE=true
IXP_FE_FRONTEND_DISABLED_LOGO=false
IXP_FE_CUSTOMER_BILLING_UPDATES_NOTIFY="REDACTED"
IXP_FE_FRONTEND_DISABLED_PEERING_MATRIX=true
GRAPHER_BACKENDS="dummy"
GRAPHER_CACHE_ENABLED=true
GRAPHER_BACKEND_MRTG_DBTYPE="rrd"
CACHE_DRIVER=file
IXP_IRRDB_BGPQ3_PATH=/usr/bin/bgpq3
IXP_RPKI_RTR1_HOST=rtr.accuris.ca
IXP_RPKI_RTR1_PORT=3323
AUTH_PEERINGDB_ENABLED=true
PEERINGDB_OAUTH_CLIENT_ID="REDACTED"
PEERINGDB_OAUTH_CLIENT_SECRET="REDACTED"
PEERINGDB_OAUTH_REDIRECT="https://ixp.accurix.net/auth/login/peeringdb/callback"
SUMMARY
When IPv6 is the only protocol configured for a connection, the IRRdb functionality does not appear and errors when attempting to generate.
STEPS TO REPRODUCE
- Configure a connection with only IPv6 and no IPv4, ensuring routeserver and client and IRRDB filtering are selected.
- Attempt to regenerate IRR entries from the customer overview page.
EXPECTED RESULTS
Updated entries.
ACTUAL RESULTS
IRRDB only applies to customers who are route server clients which are configured for IRRDB filtering.
IMPORTANCE
This is affecting production.
RELEVANT LOGS
Logs are here: https://haste.accuris.ca/raw/ociruvosil
Hi, this is now fixed via 5ab908a in the release-v6 branch.