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

GUI blows undelegating prefixes #807

Closed
sraustein opened this issue Apr 6, 2016 · 4 comments
Closed

GUI blows undelegating prefixes #807

sraustein opened this issue Apr 6, 2016 · 4 comments
Labels

Comments

@sraustein
Copy link
Contributor

Logged in as AltCA and elected AltCA identity
selected rgnet child
seleted Edit of the delegated prefixes
deselected four prefix ranges
said save
Blooie!

{{{
[Wed Apr 06 11:45:25.586631 2016] [wsgi:error] [pid 39594] ERROR 2016-04-06 11:45:24,782 django.request Internal Server Error: /rpki/child/1/edit
[Wed Apr 06 11:45:25.587191 2016] [wsgi:error] [pid 39594] Traceback (most recent call last):
[Wed Apr 06 11:45:25.587229 2016] [wsgi:error] [pid 39594] File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 109, in get_response
[Wed Apr 06 11:45:25.587264 2016] [wsgi:error] [pid 39594] response = callback(request, _callback_args, *_callback_kwargs)
[Wed Apr 06 11:45:25.587297 2016] [wsgi:error] [pid 39594] File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
[Wed Apr 06 11:45:25.587330 2016] [wsgi:error] [pid 39594] return view_func(request, _args, *_kwargs)
[Wed Apr 06 11:45:25.587363 2016] [wsgi:error] [pid 39594] File "/usr/local/lib/python2.7/site-packages/rpki/gui/decorators.py", line 28, in _tls_required
[Wed Apr 06 11:45:25.587396 2016] [wsgi:error] [pid 39594] return f(request, _args, *_kwargs)
[Wed Apr 06 11:45:25.587429 2016] [wsgi:error] [pid 39594] File "/usr/local/lib/python2.7/site-packages/rpki/gui/app/views.py", line 106, in wrapped_fn
[Wed Apr 06 11:45:25.587461 2016] [wsgi:error] [pid 39594] return f(request, _args, *_kwargs)
[Wed Apr 06 11:45:25.587494 2016] [wsgi:error] [pid 39594] File "/usr/local/lib/python2.7/site-packages/rpki/gui/app/views.py", line 535, in child_edit
[Wed Apr 06 11:45:25.587549 2016] [wsgi:error] [pid 39594] logstream=logstream,
[Wed Apr 06 11:45:25.587688 2016] [wsgi:error] [pid 39594] NameError: global name 'logstream' is not defined
[Wed Apr 06 11:45:30.958482 2016] [wsgi:error] [pid 39591] WARNING 2016-04-06 11:45:30,958 django.request Not Found: /rpki/child/1/css/bootstrap.min.css
[Wed Apr 06 11:45:31.280456 2016] [wsgi:error] [pid 39591] WARNING 2016-04-06 11:45:31,280 django.request Not Found: /rpki/child/1/img/sui-riu.ico
}}}

Trac ticket #801 component gui priority major, owner None, created by randy on 2016-04-06T11:53:32Z, last modified 2016-04-22T15:56:06Z

@sraustein
Copy link
Contributor Author

the prefixes seem to have been un-delegated

Trac comment by randy on 2016-04-06T11:59:53Z

@sraustein
Copy link
Contributor Author

On Wed, Apr 06, 2016 at 11:59:53AM -0000, Trac Ticket System wrote:

the prefixes seem to have been un-delegated

I encountered the same bug and have fixed it in my copy of the tk705 branch.

The error occurs when trying to bump rpkid. At that point the irdb has already been updated. It will just be out of sync with rpkid until it runs its next cron tasks.

Trac comment by melkins on 2016-04-20T22:59:33Z

@sraustein
Copy link
Contributor Author

Fixed in [6365].

Trac comment by melkins on 2016-04-22T15:56:06Z

@sraustein
Copy link
Contributor Author

Closed with resolution fixed

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