Skip to content
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

Session Sync Fails #5

Open
benmaddison opened this issue Feb 25, 2017 · 0 comments
Open

Session Sync Fails #5

benmaddison opened this issue Feb 25, 2017 · 0 comments
Assignees
Labels

Comments

@benmaddison
Copy link
Member

BGP state query against ASR1001-X running IOS XE 15.5(3)S2 fails with:

Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/var/virtenvs/django-venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
    utility.execute()
  File "/var/virtenvs/django-venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 345, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/var/virtenvs/django-venv/lib/python2.7/site-packages/django/core/management/base.py", line 348, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/var/virtenvs/django-venv/lib/python2.7/site-packages/django/core/management/base.py", line 399, in execute
    output = self.handle(*args, **options)
  File "/var/django/prngmgrsite/prngmgr/management/commands/prngmgr-sync.py", line 10, in handle
    management.call_command('prngmgr-sync-sessions', *args, **options)
  File "/var/virtenvs/django-venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 119, in call_command
    return command.execute(*args, **defaults)
  File "/var/virtenvs/django-venv/lib/python2.7/site-packages/django/core/management/base.py", line 399, in execute
    output = self.handle(*args, **options)
  File "/var/django/prngmgrsite/prngmgr/management/commands/prngmgr-sync-sessions.py", line 49, in handle
    bgptable = get_bgp_state(rtr.hostname)
  File "/var/django/prngmgrsite/prngmgr/snmp.py", line 105, in get_bgp_state
    results[address]['cbgpPeer2RemoteAddr'] = ipaddress.IPv4Address(int(address, 16))
ValueError: invalid literal for int() with base 16: 'MC|Y'
@benmaddison benmaddison self-assigned this Feb 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant