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

Bulk add IP address with tenant fails #1166

Closed
irishredbeard opened this issue May 11, 2017 · 2 comments
Closed

Bulk add IP address with tenant fails #1166

irishredbeard opened this issue May 11, 2017 · 2 comments

Comments

@irishredbeard
Copy link

irishredbeard commented May 11, 2017

Trying to bulk add IP addresses within the IPAM

Issue type:

Bug

Versions of stuff

  • Python version:2.7.12
  • NetBox version:v1.9.6
  • OS: Ubuntu 16.04.2 LTS

Installation

Installed via quick start installation instructions

Steps to reproduce

bulk_add1

bulk_add2

From UI:

  1. IP Space
  2. IP address
  3. Add an IP
  4. Bulk
    1. Address pattern: I have tried multiple patterns and all react same way
    2. VRF: Global
    3. Tenant: Irishredbeard
    4. Status: DHCP or Active
    5. Description

These steps fail with the error below. See attachment for screen shot.
<type 'exceptions.ValueError'> The IPAddress could not be created because the data didn't validate.
server-err

Work around

  1. Follow exact same steps as above but leave tenant field blank
  2. Once all addresses have been added go back into IP space, bulk edit the newly added addresses and add tenant
@jeremystretch
Copy link
Member

Looks related to #1103. Could you try upgrading to v2.0.1 and seeing the problem recurs? This may still be a separate bug but the fix from #1103 should at least return a proper validation error.

@irishredbeard
Copy link
Author

Hey Jeremy,
Now running on v2.0.1. Same result but a different error is returned.

screen shot 2017-05-12 at 09 30 19

Work around still works in that I can simply remove the tenant and add the IP addresses in bulk.

lampwins pushed a commit to lampwins/netbox that referenced this issue Oct 13, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants