Project

General

Profile

Actions

Bug #38486

open

Power on/shutdown reported successful even if user is not authorized (BMC with Redfish provider)

Added by Francesco Di Nucci 28 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
BMC
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:

Description

Using BMC with Redfish provider, even if the user is not authorized to perform power operations, the request is reported as successful

  • Created an iDRAC9 user with 0x00000001 privileges
  • Added the BMC credentials to the host on Foreman, power status is read correctly
  • Trying to power on/shut down the host, Foreman reports Success alert:Power has been set to "Off"/"On" successfully
  • In reality nothing happens, the host is still on/off as before

Proxy log


proxy.log: [I] Started GET /bmc/10.99.5.177/chassis/power/status bmc_provider=Redfish
proxy.log: [I] Finished GET /bmc/10.99.5.177/chassis/power/status with 200 (1657.06 ms)
proxy.log: [I] Started PUT /bmc/10.99.5.177/chassis/power/off 
proxy.log: [I] Finished PUT /bmc/10.99.5.177/chassis/power/off with 200 (1636.06 ms)

No data to display

Actions

Also available in: Atom PDF