Bug 1024047

Summary: Unable to set up katello with ldap authentication
Product: Red Hat Satellite Reporter: Eric Lake <ericlake>
Component: InstallerAssignee: Adam Price <adprice>
Status: CLOSED NEXTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: NightlyCC: ericlake, gregswift, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-04 03:12:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Katello debug information none

Description Eric Lake 2013-10-28 16:36:53 UTC
Created attachment 816852 [details]
Katello debug information

Description of problem:
Unable to set up katello 1.4 with ldap authentication.

Version-Release number of selected component (if applicable):
1.4

How reproducible:
Add ldap information to an answer file and run katello-configure.

Steps to Reproduce:
1. Add ldap auth information to answer file
2. katello-configure --answer-file=/root/my-answers

Actual results:
Results in the following in db_migrate.log

There was an error in your Gemfile, and Bundler cannot continue.
/opt/rh/ruby193/root/usr/share/gems/gems/bundler-1.1.4/lib/bundler/dsl.rb:12:in `rescue in evaluate'
/opt/rh/ruby193/root/usr/share/gems/gems/bundler-1.1.4/lib/bundler/dsl.rb:6:in `evaluate'
/opt/rh/ruby193/root/usr/share/gems/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:14:in `parse_from_gemfile'
/opt/rh/ruby193/root/usr/share/gems/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:35:in `system_require'
/usr/share/katello/config/application.rb:27:in `<top (required)>'
/opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
/opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
/usr/share/katello/Rakefile:4:in `<top (required)>'
/opt/rh/ruby193/root/usr/share/ruby/rake/rake_module.rb:25:in `load'
/opt/rh/ruby193/root/usr/share/ruby/rake/rake_module.rb:25:in `load_rakefile'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:501:in `raw_load_rakefile'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:82:in `block in load_rakefile'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:133:in `standard_exception_handling'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:81:in `load_rakefile'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:65:in `block in run'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:133:in `standard_exception_handling'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'

Expected results:
Authentication over ldap should work. At this point database auth is the only thing I can get to towrk.

Additional info:

Comment 1 Bryan Kearney 2014-01-21 19:06:57 UTC
Moving to Sat6 to be tracked there. Upstream bugs are moving to redmine.

Comment 2 RHEL Program Management 2014-01-21 19:18:45 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 4 Mike McCune 2014-06-04 03:12:30 UTC
LDAP support is now entirely based on Foreman's LDAP support and this should function properly once we release Katello 1.5