Replies: 1 comment 5 replies
-
As the error message mentions it, there is an issue with the sources used for looking up prefixes. You can fix this by changed the If you find which source(s) is/are invalid, I can remove them from the default config for next release. Maybe we should limit the default value to authoritative IRR databases |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Guys hope you are doing well. Please can you help me, I'm trying to execute the grab_prefixes command as follows, but after a couple of minutes of execution PMGR gets this error:
root@peeringmanager:/opt/peering-manager# source venv/bin/activate
root@peeringmanager:/opt/peering-manager# venv/bin/python3 manage.py grab_prefixes --limit 500
[*] Getting prefixes for AS with IRR AS-SETs
Traceback (most recent call last):
File "manage.py", line 11, in
execute_from_command_line(sys.argv)
File "/opt/peering-manager/venv/lib/python3.8/site-packages/django/core/management/init.py", line 446, in execute_from_command_line
utility.execute()
File "/opt/peering-manager/venv/lib/python3.8/site-packages/django/core/management/init.py", line 440, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/peering-manager/venv/lib/python3.8/site-packages/django/core/management/base.py", line 414, in run_from_argv
self.execute(*args, **cmd_options)
File "/opt/peering-manager/venv/lib/python3.8/site-packages/django/core/management/base.py", line 460, in execute
output = self.handle(*args, **options)
File "/opt/peering-manager/peering/management/commands/grab_prefixes.py", line 52, in handle
raise (e)
File "/opt/peering-manager/peering/management/commands/grab_prefixes.py", line 26, in handle
prefixes = autonomous_system.retrieve_irr_as_set_prefixes()
File "/opt/peering-manager/peering/models/models.py", line 302, in retrieve_irr_as_set_prefixes
call_irr_as_set_resolver(f"AS{self.asn}", address_family=6)
File "/opt/peering-manager/peering/init.py", line 46, in call_irr_as_set_resolver
raise ValueError(error_log)
ValueError: bgpq3 exit code is 1, stderr: b"ERROR:Invalid source(s) 'RIPE,APNIC,AFRINIC,ARIN,NTTCOM,ALTDB,BBOI,BELL,JPIRR,LEVEL3,RADB,RGNET,TC': \n"
(venv) root@peeringmanager:/opt/peering-manager#
Note: I'am executing the manage.py peeringdb_sync periodically and this command works just fine, but when I run the grab_prefixes command well I get the error mentioned above.
Thanks a lot, I appreciate your help.
Beta Was this translation helpful? Give feedback.
All reactions