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

Using --get-power-consumed against NVidia not working #395

Open
kambiz-aghaiepour opened this issue Mar 7, 2024 · 1 comment
Open

Using --get-power-consumed against NVidia not working #395

kambiz-aghaiepour opened this issue Mar 7, 2024 · 1 comment
Labels
compatibility question Further information is requested

Comments

@kambiz-aghaiepour
Copy link
Collaborator

I'm not sure if redfish on NVidia exposes what is needed to make this flag work. The output I see is:

# /usr/bin/python3 /usr/bin/badfish -u <user> -p <password>  --host <bmc hostname / IP of Nvidia> -v --get-power-consumed --output yaml
Traceback (most recent call last):
  File "/usr/bin/badfish", line 33, in <module>
    sys.exit(load_entry_point('badfish==1.0.2', 'console_scripts', 'badfish')())
  File "/usr/lib/python3.9/site-packages/badfish/main.py", line 2705, in main
    _host, result = loop.run_until_complete(
  File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete
    return future.result()
  File "/usr/lib/python3.9/site-packages/badfish/main.py", line 2304, in execute_badfish
    await badfish.get_power_consumed_watts()
  File "/usr/lib/python3.9/site-packages/badfish/main.py", line 653, in get_power_consumed_watts
    cwc = data["PowerControl"][0]["PowerConsumedWatts"]
KeyError: 'PowerConsumedWatts'

Msg me for access to test against NVidia test host.

@sadsfae sadsfae added question Further information is requested compatibility labels Oct 7, 2024
@sadsfae
Copy link
Member

sadsfae commented Oct 7, 2024

@kambiz-aghaiepour can you get a redfish-crawler endpoint report from the host?

https://github.com/redhat-performance/redfish-crawler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants