Bug 1554465

Summary: [RFE] UI Button *Create Puppet Environment* should be removed
Product: Red Hat Satellite Reporter: Sergei Petrosian <spetrosi>
Component: PuppetAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Peter Ondrejka <pondrejk>
Severity: medium Docs Contact:
Priority: high    
Version: 6.3.0CC: bkearney, dlobatog, mhulan, oprazak
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-04 14:03:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sergei Petrosian 2018-03-12 17:50:04 UTC
Description of problem:
As mentioned in [1], a Puppet environment is not created properly because it is proposed for removal. There are several further actions that a customer is required to do to create an Environment, which makes the UI button *Create Puppet Environment* useless.

Version-Release number of selected component (if applicable): 
Satellite 6.3, as well as 6.2


How reproducible:
Always

Steps to Reproduce:
1. Navigate to *Configure* > *Environments*.
2. Click *Create Puppet Environment*
3. Submit creating a new environment
4. See how it is removed from the list after a minute

Actual results:
Puppet environment that is removed after creating

Expected results:
A proper Puppet environment

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1478403#c6

Comment 1 Sergei Petrosian 2018-03-12 18:29:18 UTC
I made a mistake, the environment would not be deleted automatically. But if you try to assign puppet classes to it, by clicking *Class* in the environments list, you are redirected to the page that states "No entries found". If try to press *Import environments from _FQDN_*, it only proposes to remove the environment.

Comment 2 Marek Hulan 2018-03-13 06:58:27 UTC
This button should be removed, it's leftover from past when there was no importing. People had to create environment manually after they created them on puppet master. So it's not a bug but confusing button I guess.

Comment 3 Ondřej Pražák 2018-05-25 09:06:30 UTC
Created redmine issue http://projects.theforeman.org/issues/23703 from this bug

Comment 4 Daniel Lobato Garcia 2018-07-05 10:37:46 UTC
PR on https://github.com/theforeman/foreman/pull/5777

Comment 5 Bryan Kearney 2019-11-04 14:03:23 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you.