Project

General

Profile

Bug #25641

Images REST Call Failing for LDAP Users

Added by Eric Hansen over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

First off, I didn't have issue with the admin user. I also didn't have any issues with the Foreman UI creating image based VM's as an LDAP user. My problems are only with the REST API.

When I login as an LDAP user, the following REST call fails with

REST Call: https://katello/api/operatingsystems/23/images
Error : "undefined method `user_data_supported?' for nil:NilClass"

But, if I go in a different way, no problems

REST Call: https://katello/api/compute_resources/5/images
Success

History

#1 Updated by Tomer Brisker over 4 years ago

  • Category set to API

Also available in: Atom PDF