Bug 1170097

Summary: When a feature is removed from a proxy, the relevant models still keep the association
Product: Red Hat Satellite Reporter: Stephen Benjamin <stbenjam>
Component: Foreman ProxyAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.4CC: bbuckingham, bkearney, dcleal, omaciel
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/6240
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-17 18:46:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stephen Benjamin 2014-12-03 09:06:42 UTC
For example, when the DNS feature is removed from the proxy, the association on the domain stays in place in the database, however a user can't view it in the UI.  Foreman will also still try to talk to the DNS proxy, even though the proxy doesn't support the feature anymore.

To reproduce:
1. Create a new DNS proxy
2. Assign the proxy to a Domain
3. Remove the DNS feature from the proxy
4. Create a new host in that domain

Comment 1 Stephen Benjamin 2014-12-03 09:06:44 UTC
Created from redmine issue http://projects.theforeman.org/issues/6240

Comment 2 Stephen Benjamin 2014-12-03 09:07:57 UTC
Workaround:

To fix: renable the relevant feature and remove the association from any subnet/domains/etc and then the feature can safely be disabled again.

Comment 5 Bryan Kearney 2016-07-08 20:30:15 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 7 Og Maciel 2017-04-17 18:46:57 UTC
This is an older bug which I do not envision being addressed in the near term. I am closing this out. If you believe doing so is an issue, please feel free to re-open and provide additional business information. Thank you.