Bug 1403542 - [RFE] Host Power Operations not supported on RHEV using ipmi API Interfaces for RHV.
Summary: [RFE] Host Power Operations not supported on RHEV using ipmi API Interfaces f...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: cfme-future
Assignee: Moran Goldboim
QA Contact: Ilanit Stein
URL:
Whiteboard: rhev:host:power
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-11 07:46 UTC by Ilanit Stein
Modified: 2019-07-08 11:44 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-08 11:44:52 UTC
Category: ---
Cloudforms Team: RHEVM
Target Upstream Version:


Attachments (Terms of Use)
RHV host power options.png (379.29 KB, image/png)
2016-12-11 07:46 UTC, Ilanit Stein
no flags Details

Description Ilanit Stein 2016-12-11 07:46:10 UTC
Description of problem:
On CFME-5.7.0.14, All host power operations are available, on UI (see attached "RHV host power options.png"),
but only 'reset', 'power off' options are available.
All the other 4 options, give a message like this: 
"<power option>": not available for <hostname>.

Version-Release number of selected component (if applicable):
CFME-5.7.0.14
RHV-4.0.5

Expected results:
all available Host power options should work.

Additional info:
I added in CFME IPMI details (IPMI IP address, user, pasword) for a host in RHV-4.0.
This host do not have the Power management details defined in the RHV-4.0 env.

It is possible to run Host power off, and then Host reset.
This will end up with having the host in up state.

Also if the Power management is enabled, and defined, on RHV side,
Host should be fenced automatically. 
But in my testing it wasn't enabled on RHV side.

Comment 2 Ilanit Stein 2016-12-11 07:46:43 UTC
Created attachment 1230521 [details]
RHV host power options.png

Comment 3 Marcel Hild 2016-12-21 11:11:25 UTC
I dont think this is RHV specific, as we just execute ipmi commands through ipmitool and therefore it's provider agnostic.

Things to check:
* do we queue those ipmi commands to a worker, so that they are executed in the correct zone / region ?
* is there any way to check for ipmi support on the host?
* is there any way to check for which ipmi commands are supported by the host?

Greg - can you triage this to somebody with knowledge of that matter?

Comment 4 Greg Blomquist 2017-01-03 15:26:26 UTC
I know that ipmi has worked in the field, and that we've seen failures with ipmi in the field as well.

It seems to come down to the specific ipmi support on the host.

Reassigning to Julian.

Ilanit, can you check whether the host supports ipmi commands?  If it does, then please share your environment details with Julian so he can take a look.

Comment 5 Ilanit Stein 2017-01-04 12:40:08 UTC
host supports ipmi commands

this is from bios of that host:

iDRAC Settings > System Summary                                               
BIOS Version                                          2.4.2                  ^
iDRAC Firmware Version                                1.66.65 (Build 7)      *
iDRAC License                                         Enterprise             *
IPMI Version                                          2.00                   *


Note You need to log in before you can comment on or make changes to this bug.