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

vlan import error with vlan groups with same name on different sites #1037

Closed
stoned opened this issue Apr 5, 2017 · 0 comments
Closed

vlan import error with vlan groups with same name on different sites #1037

stoned opened this issue Apr 5, 2017 · 0 comments
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@stoned
Copy link

stoned commented Apr 5, 2017

Issue type: bug report

Python version: 2.7.5
NetBox version: v1.9.4-r1

Create 2 sites:

  • site s1
  • site s2

Create 2 Vlan groups, with the same name, one on each site, like

  • vlan group vg1 on site s1
  • vlan group vg1 on site s2

Try to import a VLAN with a CSV input like the following:
s1,vg1,100,vlan100,,,Active,

And you should get the following error.

There was a problem with your request. This error has been logged and administrative staff have
been notified. Please return to the home page and try again.
If you are responsible for this installation, please consider
filing a bug report. Additional information is provided below:
<class 'ipam.models.MultipleObjectsReturned'>
get() returned more than one VLANGroup -- it returned 2!

@jeremystretch jeremystretch added the type: bug A confirmed report of unexpected behavior in the application label Apr 5, 2017
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
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants