Project

General

Profile

Bug #9200

Foreman discovery does not work with develop/master (Foreman 1.8/Katello 2.2.)

Added by Eric Helms about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Associated revisions

Revision 46ce6ae9 (diff)
Added by Eric Helms about 8 years ago

Refs #9200: Discovery does not work with Foreman 1.8 currently.

Revision d6b860ec (diff)
Added by Eric Helms about 8 years ago

Refs #9200: Disable discovery for nightlies.

Revision 05a755aa
Added by Eric Helms about 8 years ago

Merge pull request #4971 from ehelms/refs-9200

Refs #9200: Discovery does not work with Foreman 1.8 currently.

Revision 9579c8ff
Added by Eric D Helms about 8 years ago

Merge pull request #170 from ehelms/refs-9200

Refs #9200: Disable discovery for nightlies.

Revision c2862622 (diff)
Added by Eric Helms almost 8 years ago

Fixes #9200: Re-enable foreman_discovery as a default.

Revision 28f9eded
Added by Eric D Helms almost 8 years ago

Merge pull request #199 from ehelms/fixes-9200

Fixes #9200: Re-enable foreman_discovery as a default.

History

#1 Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/4971 added
  • Pull request deleted ()

#2 Updated by Bryce Nordgren about 8 years ago

Can you be more specific about "does not work"? Is your problem identical with the problem I reported on the email list or is it different? My problem is that smart proxy/capsule requires a client SSL cert while the discovery image is hardcoded not to use one... (https://groups.google.com/forum/#!topic/foreman-users/IUXx_ZkKlU4)

From the email list:


  1. Foreman-proxy/capsule and the foreman discovery image are not compatible. (See http://projects.theforeman.org/issues/7822 and https://github.com/theforeman/foreman-discovery-image/blob/master/root/usr/bin/discovery-register#L47)
  2. The katello installer has no options for controlling whether the capsule uses SSL or not, so you can't make them compatible even for a test.
  3. You have to point the proxy.url at foreman itself, not the proxy/capsule. proxy.type needs to be "foreman"

To fix 1, I assume the installer would be required to issue a certificate to the foreman discovery image, then install it in the image, then build the image from scratch. Changes to the discovery-register code would also be required.

At the very least, pointing at the foreman instance instead of the proxy should be integrated into the process documented here: https://github.com/theforeman/foreman_discovery. Once the discovery-register code has been fixed, a manual process for installing a recognized certificate in the foreman discovery image could be added.

#3 Updated by Eric Helms about 8 years ago

  • Target version changed from 66 to 67

#4 Updated by Eric Helms about 8 years ago

  • Target version changed from 67 to 68

#5 Updated by Eric Helms almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF