[GH-ISSUE #223] IPAddress() does not support netmasks or subnet prefixes #198

Closed
opened 2026-02-26 09:36:28 +03:00 by kerem · 0 comments
Owner

Originally created by @ThomasWaldmann on GitHub (Oct 28, 2015).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/223

Originally assigned to: @ThomasWaldmann on GitHub.

Internal Server Error: /nic/update
Traceback (most recent call last):
  File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view
    return self.dispatch(request, *args, **kwargs)
  File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch
    return handler(request, *args, **kwargs)
  File "/srv/nsupdate.info/repo/nsupdate/utils/log.py", line 124, in caller
    return func(*args, **kwargs)
  File "/srv/nsupdate.info/repo/nsupdate/api/views.py", line 237, in get
    return _update_or_delete(host, ipaddr, secure, logger=logger, _delete=delete)
  File "/srv/nsupdate.info/repo/nsupdate/api/views.py", line 385, in _update_or_delete
    _on_update_success(host, fqdn, kind, ipaddr, secure, logger)
  File "/srv/nsupdate.info/repo/nsupdate/api/views.py", line 405, in _on_update_success
    ifid = IPAddress(ifid)
  File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/netaddr/ip/__init__.py", line 281, in __init__
    % self.__class__.__name__)
ValueError: IPAddress() does not support netmasks or subnet prefixes! See documentation for details.
Originally created by @ThomasWaldmann on GitHub (Oct 28, 2015). Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/223 Originally assigned to: @ThomasWaldmann on GitHub. ``` Internal Server Error: /nic/update Traceback (most recent call last): File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view return self.dispatch(request, *args, **kwargs) File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch return handler(request, *args, **kwargs) File "/srv/nsupdate.info/repo/nsupdate/utils/log.py", line 124, in caller return func(*args, **kwargs) File "/srv/nsupdate.info/repo/nsupdate/api/views.py", line 237, in get return _update_or_delete(host, ipaddr, secure, logger=logger, _delete=delete) File "/srv/nsupdate.info/repo/nsupdate/api/views.py", line 385, in _update_or_delete _on_update_success(host, fqdn, kind, ipaddr, secure, logger) File "/srv/nsupdate.info/repo/nsupdate/api/views.py", line 405, in _on_update_success ifid = IPAddress(ifid) File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/netaddr/ip/__init__.py", line 281, in __init__ % self.__class__.__name__) ValueError: IPAddress() does not support netmasks or subnet prefixes! See documentation for details. ```
kerem 2026-02-26 09:36:28 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nsupdate.info-nsupdate-info#198
No description provided.