Unsolved

This post is more than 5 years old

1 Rookie

 • 

3 Posts

8062

December 16th, 2019 16:00

[Solved and Sharing solution] iDRAC ERROR: Unable to perform requested operation

Hi,

I have one issue with the iDRAC setup(SOLVED!! so sharing solution). In PXE installation at some point we have cmd:

/opt/dell/srvadmin/bin/idracadm7 set -f /someidracsetup.xml -t xml -b NoReboot -s On

And the output error was:

ERROR: Unable to perform requested operation

First - this error is the same if you missing a file:

/opt/dell/srvadmin/etc/srvadmin-hapi/ini/dchipm.ini

or if some of the modules are not loaded.

File must contain content like this:

hapi.openipmi.driverstarted=yes
hapi.openipmi.issupportedversion=yes
hapi.openipmi.driverpattern=ipmi_
hapi.openipmi.basedriverprefix=ipmi_si
hapi.openipmi.ispoweroffcapable=yes
hapi.openipmi.poweroffmodule=ipmi_poweroff
hapi.openipmi.powercyclemodule=ipmi_poweroff
hapi.openipmi.powercyclecommand=poweroff_powercycle=1
hapi.allow.user.mode=no

Could you at least manage to set a proper error message? Could you review all error messages - because maybe in the future would help better understanding what happened, how it happen? (this is suggestion). We need if missing file, print missing file with the content. If we are missing module, print error missing module to load and not just this.

I did not take time to see if RPM fails to create the proper content of the file. File exists but no content. Also, services that need it - does not influence (start/stop - anything happens). Running this RPM under chroot but before this latest version, it was working without problem.

 

Br,

V

 

2 Posts

September 8th, 2022 03:00

Hi, and thank you very much for the hint, I have the same issue and the dchipm.ini file appears as below:

#
# Automatically generated file: please don't edit
# Copyright (c) 1995-2011 Dell Inc. - All Rights Reserved
# This file is in config (not INI) format
# Generated on Wed Jun 1 09:18:54 CEST 2022
#
hapi.openipmi.driverstarted=no

but it's not clear to me how to fix it, as this appears to be an auto-generated file and editing it doesn't seem to fix it. Is there any service I need to restart after editing it or there's another way to start the driver and the required modules?

 

Thanks,
b79

 

Moderator

 • 

3K Posts

September 8th, 2022 07:00

Hello, if you want us to help you until the thread owner answers, can you share what exactly is the error you got? Which server and iDRAC are you using? Please check if iDRAC and BIOS are up to date. Can you try resetting iDRAC https://dell.to/3eB8FJ5 server if an issue occur some 

 

Hope that helps!

2 Posts

September 9th, 2022 01:00

Hi Erman,

thanks for your reply.

The server is a Dell PowerEdge R540, iDRAC9 Enterprise, Lifecycle Controller version 3.30.30.30, OS version SUSE Linux Enterprise Server 12 SP3.

I do want to upgrade the system firmware and drivers but iDRAC IP is unreachable, with no access to SSH/HTTPS, I wanted to troubleshoot the connection issues using iDRAC Tools (OM-SrvAdmin-Dell-Web-LX-9.1.0-2757_A00 is installed), in order to reset iDRAC and check/edit network parameters, but any racadm command returns the following error:

"ERROR: Unable to perform requested operation"

I checked the following file:

/opt/dell/srvadmin/etc/srvadmin-hapi/ini/dchipm.ini

as suggested by the thread author, and found this:

#
# Automatically generated file: please don't edit
# Copyright (c) 1995-2011 Dell Inc. - All Rights Reserved
# This file is in config (not INI) format
# Generated on Fri Sep 9 09:32:12 CEST 2022
#
hapi.openipmi.driverstarted=no

 I uninstalled and re-installed iDRAC Tools but nothing changed. I also tried to edit the file, even though it's not recommended, but, again, the issue remains.

I'll check the link you provided, any other suggestion will be appreciated,

Thanks,

Regards

1 Rookie

 • 

3 Posts

September 13th, 2022 03:00

Hi,

add to file:

hapi.openipmi.driverstarted=yes
hapi.openipmi.issupportedversion=yes
hapi.openipmi.driverpattern=ipmi_
hapi.openipmi.basedriverprefix=ipmi_si
hapi.openipmi.ispoweroffcapable=yes
hapi.openipmi.poweroffmodule=ipmi_poweroff
hapi.openipmi.powercyclemodule=ipmi_poweroff
hapi.openipmi.powercyclecommand=poweroff_powercycle=1
hapi.allow.user.mode=no

reload services or reboot server

1 Rookie

 • 

2 Posts

January 9th, 2025 08:29

racadm RPMs have post-install scripts which fail to run if you use `installroot` parameters. 
I was able to make racadm work on RHEL9 after such an install by performing those actions (supposed to be done by postinstall):

```

cat ${MINIROOT}/opt/dell/srvadmin/etc/omreg.d/*.cfg > ${MINIROOT}/opt/dell/srvadmin/etc/omreg.cfg
cat << EOF >  ${MINIROOT}/opt/dell/srvadmin/etc/srvadmin-hapi/ini/dchipm.ini
hapi.openipmi.driverstarted=yes
hapi.openipmi.issupportedversion=yes
hapi.openipmi.driverpattern=ipmi_
hapi.openipmi.basedriverprefix=ipmi_si
hapi.openipmi.ispoweroffcapable=yes
hapi.openipmi.poweroffmodule=ipmi_poweroff
hapi.openipmi.powercyclemodule=ipmi_poweroff
hapi.openipmi.powercyclecommand=poweroff_powercycle=1
hapi.allow.user.mode=no
EOF
mkdir -p ${MINIROOT}/var/run || true
mkdir -p ${MINIROOT}/opt/dell/srvadmin/var/lib/openmanage/.ipc
```

The last one (`.ipc`) took some time to figure out.

Also kernel modules `ipmi_si`, `ipmi_devintf`, `ipmi_msghandler` need to be loaded.

(edited)

1 Rookie

 • 

2 Posts

January 9th, 2025 08:32

Also you need to install `openssl-devel` rpm (should be in dependencies but ...)

1 Rookie

 • 

1 Message

February 1st, 2025 11:50

@avk999999 Thanks for sharing the solution. Exactly what I needed. Agreed that the error messages was useless and no log to be found anywhere...

1 Rookie

 • 

1 Message

March 19th, 2025 02:03

@avk999999​ 

enabling and restarting the service already installed by srvadmin-hapi rpm also generates the proper files

systemctl enable instsvcdrv.service
systemctl restart instsvcdrv.service

(edited)

Top