Skip to content

[Bug] Debug errors relating to VLAN-fetching #539

@AskskwBv8T2nrm4Qnj

Description

@AskskwBv8T2nrm4Qnj

Is this urgent?

No

How are you running netbox-ssot?

Podman

Which version of netbox are you using

v4.2.4

Which version of netbox-ssot are you running

Running version v1.11.6 built on 2025-04-06T15:09:34Z (commit b288ee3)

Which module has the issue?

General (not module-specific)

Share your configuration

I believe this bug does not relate to my configuration.

What is the problem?

This error seems to appear for any VLAN not assigned to a VLAN Group, or assigned to a Site, or neither assigned to a Site nor a VLAN Group.
In other words, the error only appears if a VLAN is unassigned to any VLAN Group.

Steps to reproduce

  1. Create a new VLAN in NetBox
  2. Run netbox-ssot

What did you expect to happen?

I expected to see netbox-ssot to fetch all VLANs without giving error messages for specific afflicted VLANs.

What actually happened?

There were some minor error-messages given by netbox-ssot.

Share DEBUG-level logs (remove sensitive information)

In the debug output of netbox-ssot, the following may appear (abbreviated):

rest.go:104         DEBUG   (inventory): Successfully received all objects.Vlan:"
%!v(PANIC=String method: runtime error: invalid memory address or nil pointer dereference)

Share your environment details

# hostnamectl
Virtualization: vmware
Operating System: Rocky Linux 8.10 (Green Obsidian)
CPE OS Name: cpe:/o:rocky:rocky:8:GA
Kernel: Linux 4.18.0-553.40.1.el8_10.x86_64
Architecture: x86-64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions