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

Power Utilization not fully calculated #17843

Open
craigmoscardini opened this issue Oct 23, 2024 · 2 comments
Open

Power Utilization not fully calculated #17843

craigmoscardini opened this issue Oct 23, 2024 · 2 comments
Labels
status: revisions needed This issue requires additional information to be actionable type: bug A confirmed report of unexpected behavior in the application

Comments

@craigmoscardini
Copy link

craigmoscardini commented 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

@craigmoscardini craigmoscardini added status: needs triage This issue is awaiting triage by a maintainer type: bug A confirmed report of unexpected behavior in the application labels Oct 23, 2024
@sleepinggenius2
Copy link
Contributor

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.

@arthanson
Copy link
Collaborator

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

@arthanson arthanson added status: revisions needed This issue requires additional information to be actionable and removed status: needs triage This issue is awaiting triage by a maintainer labels Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: revisions needed This issue requires additional information to be actionable type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

3 participants