Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1327030 - [RFE] Add extension point to Subnets form for Discovery Proxy
[RFE] Add extension point to Subnets form for Discovery Proxy
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Discovery Plugin (Show other bugs)
6.1.8
All Linux
medium Severity medium (vote)
: GA
: Unused
Assigned To: Lukas Zapletal
Daniel Lobato Garcia
http://projects.theforeman.org/issues...
: FutureFeature, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-14 02:52 EDT by dgupte
Modified: 2018-02-21 07:34 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-02-21 07:34:46 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Discovery capsule in Subnet (24.89 KB, image/png)
2017-08-30 10:03 EDT, Daniel Lobato Garcia
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 14036 None None None 2016-04-26 13:02 EDT
Red Hat Product Errata RHSA-2018:0336 normal SHIPPED_LIVE Important: Satellite 6.3 security, bug fix, and enhancement update 2018-02-21 17:43:42 EST

  None (edit)
Description dgupte 2016-04-14 02:52:19 EDT
Description of problem:

If we have multiple organization, every time the discovered host goes to the same organization unit and it ignores the organization information defined in subnet.

How reproducible:

Create a multiple organization, each organization has its own subnet or network address. So based on its subnet it should go to the correct unit automatically but it is getting discovered into first organization only and ignores organization defined in Subnet. 

Steps to Reproduce:

For ex.

Create three organizations, and assign only third organization to subnet.
provision host using foreman discovery image, provisioning host get discovered into first organization.

Actual results:
Discovered host goes to first organization and ignores organization specified in subnet.

Expected results:

Discovered host should go to the organization specified in subnet.


Additional info:

http://theforeman.org/plugins/foreman_discovery/5.0/#3.1.3OrganizationsandLocations

Is the below upstream bug related to this bz?

http://projects.theforeman.org/issues/14036
Comment 1 Lukas Zapletal 2016-04-15 04:39:47 EDT
Hello,

this will be fixed in Satellite 6.2. At least this will be implemented:

http://theforeman.org/plugins/foreman_discovery/5.0/#3.1.3OrganizationsandLocations

Note there is one limitation, if Subnet has multiple Org/Locs, it is choosen randomly. This will only work for Subnets with one Organization and/or Location. There is a ticket we are working on next sprint that should add an extra field to the Subnet page.
Comment 5 Bryan Kearney 2016-07-08 16:38:32 EDT
Per 6.3 planning, moving out non acked bugs to the backlog
Comment 9 Bryan Kearney 2016-10-12 12:12:52 EDT
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/14036 has been resolved.
Comment 11 Lukas Zapletal 2017-05-24 03:17:32 EDT
QA notes: Verify Discovery Capsule can be set for a Subnet and it works.
Comment 12 Daniel Lobato Garcia 2017-08-30 10:02:30 EDT
Verified.

Tested with Satellite 6.3 - Snap 13.


See attached screenshot.
Comment 13 Daniel Lobato Garcia 2017-08-30 10:03 EDT
Created attachment 1320103 [details]
Discovery capsule in Subnet
Comment 16 errata-xmlrpc 2018-02-21 07:34:46 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336

Note You need to log in before you can comment on or make changes to this bug.