Power Utilization not fully calculated #10400

Closed
opened 2025-12-29 21:30:57 +01:00 by adam · 2 comments
Owner

Originally created by @craigmoscardini on GitHub (Oct 23, 2024).

Deployment Type

Self-hosted

Triage priority

N/A

NetBox Version

4.0.9

Python Version

3.11

Steps to Reproduce

  1. Create power panel & power feed assigned to rack
  2. Connect PDUs and devices and see power utilization on the rack does not work correctly

In my initial example I had

  • Panel
    • Feed
      • PDU 1
        • PDU 2
          • Devices
        • UPS
          • Devices

In this example the UPS has a maximum and assigned draw and is included in the calculation.
PDUs do not have a power draw assigned
All devices do have a power draw assigned

Set up like this no devices connected to the PDUs are included in the calculation. By setting a draw on PDU2 it was included in the calculation but never including the connected devices downstream from it.

I can reproduce this same behaviour on the current demo v4.1.4

Expected Behavior

Rack power utilization should be a sum of all correctly cabled devices that have maximum/allocated power draw on the device

Observed Behavior

Power calculation is incomplete. It does not propagate through all downstream devices regardless of configuration

Originally created by @craigmoscardini on GitHub (Oct 23, 2024). ### Deployment Type Self-hosted ### Triage priority N/A ### NetBox Version 4.0.9 ### Python Version 3.11 ### Steps to Reproduce 1. Create power panel & power feed assigned to rack 2. Connect PDUs and devices and see power utilization on the rack does not work correctly In my initial example I had - Panel - Feed - PDU 1 - PDU 2 - Devices - UPS - Devices In this example the UPS has a maximum and assigned draw and is included in the calculation. PDUs do not have a power draw assigned All devices do have a power draw assigned Set up like this no devices connected to the PDUs are included in the calculation. By setting a draw on PDU2 it was included in the calculation but never including the connected devices downstream from it. I can reproduce this same behaviour on the current demo v4.1.4 ### Expected Behavior Rack power utilization should be a sum of all correctly cabled devices that have maximum/allocated power draw on the device ### Observed Behavior Power calculation is incomplete. It does not propagate through all downstream devices regardless of configuration
adam added the type: bugnetbox labels 2025-12-29 21:30:57 +01:00
adam closed this issue 2025-12-29 21:30:58 +01:00
Author
Owner

@sleepinggenius2 commented on GitHub (Oct 23, 2024):

This is a known issue and there was a lot of discussion on the topic back in #3377, but unfortunately it has never gotten to an acceptable implementation.

@sleepinggenius2 commented on GitHub (Oct 23, 2024): This is a known issue and there was a lot of discussion on the topic back in #3377, but unfortunately it has never gotten to an acceptable implementation.
Author
Owner

@arthanson commented on GitHub (Oct 25, 2024):

@craigmoscardini can you please re-open this as a feature request and link it to #3377

@arthanson commented on GitHub (Oct 25, 2024): @craigmoscardini can you please re-open this as a feature request and link it to #3377
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10400