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

CablePath matching query does not exist. when deleting a device with multiple types of connected interfaces. #4416

Closed
ebusto opened this issue Sep 7, 2023 · 2 comments · Fixed by #4449
Assignees
Labels
type: bug Something isn't working as expected

Comments

@ebusto
Copy link

ebusto commented Sep 7, 2023

Environment

  • Nautobot version: 1.6.2
  • Python version: 3.11.5
  • Database platform, version: PostgreSQL 14
  • Middleware(s): N/A

Steps to Reproduce

  1. Create two devices, along with at least two types of interfaces (network, console + console server) in each device.
  2. Create cables between both types of interfaces.
  3. Try to delete one device.

Expected Behavior

The device to be successfully deleted.

Observed Behavior

An exception:

<class 'nautobot.dcim.models.cables.CablePath.DoesNotExist'>

CablePath matching query does not exist.
@ebusto ebusto added triage This issue is new and has not been reviewed. type: bug Something isn't working as expected labels Sep 7, 2023
@ebusto
Copy link
Author

ebusto commented Sep 7, 2023

Assuming the database doesn't get reset with any regularity, you can see this issue on the public demo instance by trying to delete this device.

@gsnider2195 gsnider2195 removed the triage This issue is new and has not been reviewed. label Sep 8, 2023
@lampwins
Copy link
Member

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
Status: Done
4 participants