Red Hat Bugzilla – Bug 1287059
fence_rhevm can only work as RHEV admin user not a regular user (that requires "Filter: true http header)
Last modified: 2017-03-21 09:54:57 EDT
Description of problem:
fence_rhevm doesn't provide any option that would translate to addition of "filter: true" http header, that is required to access the VM as a regular RHEV user.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. have a user account in RHEV and a VM with UserVmManager permission on it for that user (this permissions gives full control of the VM to the user without having any rights on RHEV itself)
2. try to use fence_rhevm to query status of the VM
"Failed: unable to obtain correct plug status or plug is not available" - because this user if banned from API unless "Filter: true" header is set
it's possible to tell fence_rhevm to log in as a user
Created attachment 1128181 [details]
Combined patches from upstream
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see email@example.com with any questions
New build with the following patch that solves the issue with RHEV4:
*** Bug 1391361 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.