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

Setting PowerOff with irmc_powerstate does not work #9

Open
tavasti opened this issue Aug 5, 2020 · 2 comments
Open

Setting PowerOff with irmc_powerstate does not work #9

tavasti opened this issue Aug 5, 2020 · 2 comments

Comments

@tavasti
Copy link

tavasti commented Aug 5, 2020

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 [email protected]'"", "status": 11}

Getting similar results with state: PowerOn

Hardware is PRIMERGY RX2540 M5, iRMC firmware 2.60P

@pawwe
Copy link

pawwe commented Dec 22, 2021

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 [email protected]'\"", "status": 11}

iRMC version 3.05P running on CELSIUS C780power.

@pawwe
Copy link

pawwe commented Jan 4, 2022

I managed to get it to work for iRMC version 3.05P.
Changed in irmc_powerstate.py:

"http://ts.fujitsu.com/redfish-schemas/v1/FTSSchema.v1_0_0#FTSComputerSystem.Reset",

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants