Project

General

Profile

Bug #16420

Report Smart/Proxy (Capsule) or Satellite server it has connected to

Added by Sean O'Keeffe over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Image
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Description of problem:

We want the foreman-discovery image to report back on which proxy server or foreman server it has connected to. This is so we can use the fact within the discovery rule or kickstart template.

How reproducible:

Easy to reproduce.

Steps to Reproduce:
1. Load foreman discovery image.
2. Put in capsule/satellite server fqdn and facts.
3. Wait to load...
4. Check foreman for capsule/sat server fact
5. It doesn't exist!

Actual results:

Foreman discovery does not report which capsule/server it has connected to in order to obtain its kickstart

Expected results:

Discovery rules should be able to take into account the capsule/foreman server the client running foreman-discovery has connected to while it waits for its kickstart.

Additional info:

Associated revisions

Revision a928c456 (diff)
Added by Sean O'Keeffe over 3 years ago

fixes #16420 - report the foreman server/proxy used to register

History

#1 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-discovery-image/pull/79 added

#2 Updated by Lukas Zapletal over 3 years ago

  • Subject changed from RFE: Foreman-discovery image does not report back on which Capsule/Satellite server it has connected to to Report Smart/Proxy (Capsule) or Satellite server it has connected to
  • Category set to Image

Thanks!

#3 Updated by Anonymous over 3 years ago

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

#4 Updated by Lukas Zapletal about 3 years ago

QA notes: Each discovered host now contains discovery_proxy_uri and discovery_proxy_facts reported.

#5 Updated by Sachin Ghai about 3 years ago

I can see two new facts under Discovered Host -> 'Software Section':
1) discovery_proxy_type
2) discovery_proxy_uri

discovery_proxy_type proxy
discovery_proxy_uri https://foreman_server:9090

Also available in: Atom PDF