Project

General

Custom queries

Profile

Actions

Bug #6835

closed

Unable to use RHEV/ovirt without admin permissions on the rhev cluster

Added by Dominic Cleal over 10 years ago. Updated about 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Compute resources - oVirt
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1123676
Description of problem:
When trying to create a rhev compute resource with non-admin RHEV user, the following error occurs:

"query execution failed due to insufficient permissions."

The reason for this is the RHEV needs to be called with 'Filter: true' headers
for the api to work correctly with non-admin user.

The rbovirt client library supports to specify the filtered_api option, but fog and foreman don't have a support for that

https://github.com/abenari/rbovirt/blob/a7c277e3fc5698e55e95a9432997b1a9c8d486ae/lib/rbovirt.rb#L54-L55

#1

Updated by Dominic Cleal over 10 years ago

  • Category set to Compute resources - oVirt
  • Assignee deleted (Dominic Cleal)
#5

Updated by The Foreman Bot about 9 years ago

  • Assignee set to Marek Hulán
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3288 added
#6

Updated by Ohad Levy about 9 years ago

  • Bugzilla link changed from 1123676 to 1203670
#7

Updated by Ohad Levy about 9 years ago

  • Bugzilla link changed from 1203670 to 1123676
#8

Updated by Dominic Cleal about 9 years ago

  • Status changed from Ready For Testing to Rejected
Actions

Also available in: Atom PDF