Open tavasti opened 4 years ago
I get the same error:
fatal: [xyz -> localhost]: FAILED! => {"changed": false, "msg": "Invalid parameter 'PowerOn'. Allowed: \"Key does not exist: 'Actions Oem http://ts.fujitsu.com/redfish-schemas/v1/FTSSchema.v1_0_0#FTSComputerSystem.Reset FTSResetType@Redfish.AllowableValues'\"", "status": 11}
iRMC version 3.05P running on CELSIUS C780power.
I managed to get it to work for iRMC version 3.05P. Changed in irmc_powerstate.py: https://github.com/fujitsu/fujitsu-ansible-irmc-integration/blob/87c2e3427cb0791b273eead838004705b07db553/library/irmc_powerstate.py#L154 to
"#FTSComputerSystem.Reset",
The path to find allowable values seems to have changed in new iRMC versions. Because irmc_powerstate
worked fine for version 2.42P on CELSIUS C780power.
When I try to set PowerOff I get this error message:
fatal: [xxxxx-yyy]: FAILED! => {"changed": false, "msg": "Invalid parameter 'PowerOff'. Allowed: \"Key does not exist: 'Actions Oem http://ts.fujitsu.com/redfish-schemas/v1/FTSSchema.v1_0_0#FTSComputerSystem.Reset FTSResetType@Redfish.AllowableValues'\"", "status": 11}
Getting similar results with state: PowerOn
Hardware is PRIMERGY RX2540 M5, iRMC firmware 2.60P