Bug 1090803 - OVIRT35 - [RFE] Change the "Slot" field to "Service Profile" when cisco_ucs is selected as the fencing type
Summary: OVIRT35 - [RFE] Change the "Slot" field to "Service Profile" when cisco_ucs i...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.5.0
Assignee: Eli Mesika
QA Contact: sefi litmanovich
URL:
Whiteboard: infra
Depends On:
Blocks: 1054778 1114253
TreeView+ depends on / blocked
 
Reported: 2014-04-24 08:15 UTC by Oved Ourfali
Modified: 2016-02-10 19:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-17 12:19:43 UTC
oVirt Team: Infra
Embargoed:


Attachments (Terms of Use)

Description Oved Ourfali 2014-04-24 08:15:58 UTC
Description of problem:

When configuring power management for a host, Slot number is entered to identify the cisco ucs blade. When this blade number is passed to the fencing script, fencing would fail with the below error message.

Failed: Unable to obtain correct plug status or plug is not available

Instead the fencing script expects the Service Profile name of the ucs_blade and that need to be entered for fencing to work properly.

This RFE is to change label "Slot" to "Service Profile" on the GUI when cisco_ucs is selected as the fencing type so that users will not misunderstand and enter blade number which ends up in a failure for fencing.

How reproducible:

Always.

<snip>

Summary: the required parameter is misleadingly labeled 'Slot' in Power management configuration dialog. It should read 'Service profile'. The script works as expected when you use service profile name instead of slot number.

fence_cisco_ucs script prepends 'org-root/ls-' to the parameter given in 'Slot' field. If given a number, the script tries something like 'org-root/ls-4/power' but this fails and the script outputs 'Failed: Unable to obtain correct plug status or plug is not available'. This is misleading, because word 'plug' has no meaning to the end user in this context. It comes from /usr/share/fence/fencing.pyc which is byte-compiled python.

Service profiles (one for each blade) are named org-root/ls-<service-profile-name> . It it this service profile name the script expects, not a slot number.

In most places in UCS manager, things are referred to like sys/chassis-1/blade-3/... and the 'General' view on a server shows 'Slot ID: <number>', which adds to confusion in this case.
</snip>

Comment 1 sefi litmanovich 2014-08-04 11:36:23 UTC
Verified on ovirt-3.5.0-alpha1.

Comment 2 Sandro Bonazzola 2014-10-17 12:19:43 UTC
oVirt 3.5 has been released and should include the fix for this issue.


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