RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1717179 - fence_rhevm cannot obtain plug status on oVirt 4.3.4.2-1.el7 (RC2)
Summary: fence_rhevm cannot obtain plug status on oVirt 4.3.4.2-1.el7 (RC2)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: fence-agents
Version: 8.0
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Oyvind Albrigtsen
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-04 20:27 UTC by Strahil Nikolov
Modified: 2020-01-20 08:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-20 08:17:17 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
oVirt-4.3.4.2-1.el7-API-response (10.90 KB, text/plain)
2019-06-04 20:27 UTC, Strahil Nikolov
no flags Details
debug file from fence_rhevm command (359 bytes, text/plain)
2019-06-05 10:31 UTC, Strahil Nikolov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 4225331 0 None None None 2019-06-17 14:05:15 UTC

Description Strahil Nikolov 2019-06-04 20:27:36 UTC
Created attachment 1577275 [details]
oVirt-4.3.4.2-1.el7-API-response

Description of problem:
fence_rhevm cannot obtain the plug status and errors with: "ERROR: Failed: Unable to obtain correct plug status or plug is not available"

Version-Release number of selected component (if applicable):
fence-agents-common-4.2.1-17.el8.noarch
fence-agents-rhevm-4.2.1-17.el8.noarch
libxshmfence-1.3-2.el8.x86_64

How reproducible:
Always

Steps to Reproduce:
1.Install on a RHEL8 the fence_rhevm package
2.Run with necessary data:
fence_rhevm -vvv -4 -a <ovirt-engine-ip> -u <ovirt-engine-port> -t -p password -l 'admin@internal' -n <VM-name-to-fence> --ssl-insecure -D /tmp/fence_rhevm.debug


Actual results:
The fence_rhevm cannot obtain the current status of the VM and fails to reboot the target

Expected results:
Successfull connection and reboot of the target VM

Additional info:

Comment 1 Martin Perina 2019-06-05 09:04:04 UTC
(In reply to Strahil Nikolov from comment #0)
> Created attachment 1577275 [details]
> oVirt-4.3.4.2-1.el7-API-response
> 
> Description of problem:
> fence_rhevm cannot obtain the plug status and errors with: "ERROR: Failed:
> Unable to obtain correct plug status or plug is not available"
> 
> Version-Release number of selected component (if applicable):
> fence-agents-common-4.2.1-17.el8.noarch
> fence-agents-rhevm-4.2.1-17.el8.noarch
> libxshmfence-1.3-2.el8.x86_64
> 
> How reproducible:
> Always
> 
> Steps to Reproduce:
> 1.Install on a RHEL8 the fence_rhevm package
> 2.Run with necessary data:
> fence_rhevm -vvv -4 -a <ovirt-engine-ip> -u <ovirt-engine-port> -t -p
> password -l 'admin@internal' -n <VM-name-to-fence> --ssl-insecure -D
> /tmp/fence_rhevm.debug

Could you please attach content of fence_rhevm.debug file?

Comment 2 Strahil Nikolov 2019-06-05 10:31:23 UTC
Created attachment 1577501 [details]
debug file from fence_rhevm command

Comment 3 Martin Perina 2019-06-05 11:06:39 UTC
Could you please try to use "--disable-http-filter" option? You are using admin@internal, but by default it's expected than non-admin user is used and that's why http filter is enabled by default (it returns only search results with direct permissions and ingnores indirect ones).

Comment 4 Strahil Nikolov 2019-06-05 11:34:48 UTC
It works as expected.

The question is why the man page does not state that ?
The only entry about it is not stating anything like that: "Set HTTP Filter header to false".

Maybe a better description should be provided in the man.

Let's classify it as a DOCU bug , as it seems that fence_rhevm is working quite well.

Thanks for your time.

Comment 5 Strahil Nikolov 2020-01-18 18:19:23 UTC
It seems that the described  solution  mentions  this  case  ,  so I guess  it can be closed.


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