-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new data not imported? #180
Comments
on disk serial is 186, on DB i see 181 as latest
|
I set
Is the expected behaviour that |
I updated the configuration to the following:
and bumped the CURRENTSERIAL to 187, but it didn't seem to reload the data. |
This looks like a bug. Do the logs have a message like "Skipping NRTM updates for RPKI, nrtm_host not set." ? Currently, we run the full import if a serial is not known, or if force_reload is set. In other words, this works, if import_serial_source is not set, and never has been. Instead, this should be based on whether NRTM is configured. With a known serial, it looks like irrd will attempt an NRTM import, which will immediately stop due to lack of a configured NRTM server, and never update. In general, force_reload should not need to be triggered. It's only purpose is to be able to force a complete reset of database contents, e.g. in case NRTM ran out of sync. In ideal cases, it is never needed. It happens to help here, but won't be needed once we fix the bug. Quick fix: remove import_serial_source, remove the RPKI row from database_status. That'll have it import the whole file every import_timer. We'll make a proper fix later. Note that #172 is also still open, which is likely a more suitable method for your use case. |
It appears there is a difference between what is stored on disk, and what is served up through the daemon. Perhaps I configured it wrong?
Every night a new
rpki.db
file is created, and 1 is added to the value inRPKI.CURRENTSERIAL
, these are copied into place.This is the configuration, and
RPKI
is listed undersources_default:
too:The text was updated successfully, but these errors were encountered: