'Device' object has no attribute 'master' #31

Closed
opened 2026-04-05 16:21:15 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @JMD-ONP on 4/1/2026

NetBox Edition

NetBox Community

NetBox Version

v4.5.6

Python Version

3.13

Steps to Reproduce

  1. Create a device Stack01Member01
  2. Create a Virtual Chassis Stack01
  3. Assign the device Stack01Member01 to the Virtual Chassis Stack01, but do not set it as the master
  4. Open the device Stack01Member01

Expected Behavior

While browsing devices, get all the details for each device.

Observed Behavior

On some devices (I don't know how many), I have this error since I upgraded to 4.5.6. I was using 4.5.5 previously. No error seen during upgrade.

<class 'AttributeError'>

'Device' object has no attribute 'master'

Others users (@krasotinpa and @vpanagos) added this point : it occurs on devices assembled in a virtual chassis.

*Originally created by @JMD-ONP on 4/1/2026* ### NetBox Edition NetBox Community ### NetBox Version v4.5.6 ### Python Version 3.13 ### Steps to Reproduce 1. Create a device Stack01Member01 2. Create a Virtual Chassis Stack01 3. Assign the device Stack01Member01 to the Virtual Chassis Stack01, but do not set it as the master 4. Open the device Stack01Member01 ### Expected Behavior While browsing devices, get all the details for each device. ### Observed Behavior On some devices (I don't know how many), I have this error since I upgraded to 4.5.6. I was using 4.5.5 previously. No error seen during upgrade. ``` <class 'AttributeError'> 'Device' object has no attribute 'master' ``` Others users (@krasotinpa and @vpanagos) added this point : it occurs on devices assembled in a virtual chassis.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#31