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

Cable path tracing does not work with data imported by nautobot-netbox-importer (KeyError) #260

Closed
glennmatthews opened this issue Apr 8, 2021 · 0 comments · Fixed by #261
Assignees
Labels
type: bug Something isn't working as expected
Milestone

Comments

@glennmatthews
Copy link
Contributor

Environment

  • Python version: any
  • Nautobot version: 1.0.0b3

Steps to Reproduce

  1. Install Nautobot 1.0.0b3
  2. Install the nautobot-netbox-importer plugin
  3. Import data from NetBox using the importer
  4. In the Nautobot web UI, navigate to the Device detail view for a Device that has connected interfaces, and attempt to access the Interfaces tab.

Expected Behavior

The page should load successfully, including cable traces for any connected interfaces.

Observed Behavior

Nautobot throws a KeyError:

  File "/usr/local/lib/python3.7/site-packages/nautobot/dcim/models/cables.py", line 465, in get_path
    path.append(prefetched[ct_id][object_id])
@glennmatthews glennmatthews added type: bug Something isn't working as expected status: current labels Apr 8, 2021
@glennmatthews glennmatthews added this to the v1.0.0 milestone Apr 8, 2021
@glennmatthews glennmatthews self-assigned this Apr 8, 2021
@glennmatthews glennmatthews added this to To do in Release v1.0.0 via automation Apr 8, 2021
glennmatthews added a commit that referenced this issue Apr 8, 2021
@jathanism jathanism moved this from To do to In progress in Release v1.0.0 Apr 8, 2021
@paulbukauskas paulbukauskas moved this from In progress to Review in progress in Release v1.0.0 Apr 8, 2021
Release v1.0.0 automation moved this from Review in progress to Done Apr 8, 2021
glennmatthews added a commit that referenced this issue Apr 8, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working as expected
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant