Project

General

Profile

Actions

Bug #16420

closed

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

Added by Sean O'Keeffe over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Image
Difficulty:
Triaged:
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:

Actions #1

Updated by The Foreman Bot over 7 years ago

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

Updated by Lukas Zapletal over 7 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!

Actions #3

Updated by Anonymous over 7 years ago

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

Updated by Lukas Zapletal over 7 years ago

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

Actions #5

Updated by Sachin Ghai over 7 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

Actions

Also available in: Atom PDF