Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1580481 - Create Puppet 4 environment directory structure automatically when Puppet environment is created via Satellite WebUI
Summary: Create Puppet 4 environment directory structure automatically when Puppet env...
Keywords:
Status: CLOSED DUPLICATE of bug 1245008
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Puppet
Version: 6.3.1
Hardware: All
OS: Linux
unspecified
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-21 14:56 UTC by patalber
Modified: 2021-12-10 16:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-22 06:13:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 24667 0 None None None 2018-08-21 08:05:32 UTC
Red Hat Bugzilla 1554465 0 high CLOSED [RFE] UI Button *Create Puppet Environment* should be removed 2021-02-22 00:41:40 UTC

Internal Links: 1554465

Description patalber 2018-05-21 14:56:59 UTC
1. Proposed title of this feature request  
   	Automatic creation of Puppet4 environment directory structure when a puppet environment is created using the Satellite UI
   
2. What is the nature and description of the request?  
	As for the nature of the request, I see it being more of a fix rather than an enhancement (see Item 3 below for explanation).

3. Why do you need this? (List the business requirements here)  
  
	If a new Puppet environment is created using the Satellite 6.3 UI, it would make sense to create the directory structure in the back end to support that new environment. As that doesn't occur currently, transitioning hosts from Satellite 5 to 6.3 will fail because the directory /etc/puppet/environments/<new_environment> can't be found, requiring it to be manually created.
  
4. How would you like to achieve this? (List the functional requirements here)  
  
	The directory should be created after the steps below are completed:
	
	Satellite 6.3 UI > Configure > Puppet > Environments > Create Puppet Environment > Specify Environment Mame, Location and Organizations > Submit
  
5. For each functional requirement listed, specify how Red Hat and yourself can test to confirm the requirement is successfully implemented.  
  
	By performing the steps in item 4 above, checking whether the environment name was created in the back end (i.e., /etc/puppet/environments/<new_environment>), 	and try transitioning a host from Satellite 5 to 6.3 with a Puppet Environment specified in the Host Group configuration prior to transitioning it.
  
6. Is there already an existing RFE upstream or in Red Hat Bugzilla?  

	No
  
7. Do you have any specific timeline dependencies and which release would they like to target (i.e. RHEL7.6, Puppet 5)?  
  
	Puppet4 via Satellite 6.3.x
  
8. Is the sales team involved in this request and do they have any additional input?  
	
	Not that I know of.
  
9. Would you be able to assist in testing this functionality if implemented? 

	Yes.

Comment 2 Ondřej Pražák 2018-08-21 08:05:31 UTC
Created redmine issue http://projects.theforeman.org/issues/24667 from this bug

Comment 3 Marek Hulan 2018-08-21 11:22:34 UTC
Ondrej, I think this is a dup of 1245008 where we decided to close it as not a bug. I think we shouldn't add orchestration around environments creation on puppet server when UI is create in UI. Rather we should remove the UI create/delete environments as it's no longer necessary.

If you agree, could you close please?

Comment 4 Ondřej Pražák 2018-08-22 06:13:41 UTC

*** This bug has been marked as a duplicate of bug 1245008 ***


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