Bug 2217525 - [RFE]: Update Settings pulpcore_export_destination with new value supplied by installer argument "--foreman-proxy-content-pulpcore-additional-export-paths"
Summary: [RFE]: Update Settings pulpcore_export_destination with new value supplied by...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installer
Version: 6.13.2
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-26 14:28 UTC by Taft Sanders
Modified: 2023-07-26 00:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-18704 0 None None None 2023-06-29 12:42:58 UTC
Red Hat Knowledge Base (Solution) 7013903 0 None None None 2023-06-26 14:33:09 UTC

Description Taft Sanders 2023-06-26 14:28:41 UTC
Description of problem:
Upon running the installer to add a new destination for pulp exports an additional step of setting the pulpcore_export_destination Setting via hammer or the WebUI must be set in order to use the new export path.
This request is to update this setting value to the new value upon a successful completion of running the installer with this option.

Version-Release number of selected component (if applicable):


How reproducible:
Every time

Steps to Reproduce:
1. Run the installer with the '--foreman-proxy-content-pulpcore-additional-export-paths' option to specify a new export location.
2. Try to export and watch it export to the previously set location
3. Update the setting 'pulpcore_export_destination' to the new location and export again.
4. Export will export to the new location

Actual results:
Pulp will export to the previously set location listed in the Satellite settings

Expected results:
Use 1 action to change the export location to simplify workflow


Additional info:
This RFE comes from bugs previously filed:
https://bugzilla.redhat.com/show_bug.cgi?id=2208013
https://bugzilla.redhat.com/show_bug.cgi?id=2158186
https://access.redhat.com/solutions/7013903

Comment 1 Taft Sanders 2023-06-26 14:46:20 UTC
A Bugzilla for the documentation has also been opened to add the current procedure to the documentation. Should the result of this RFE be implemented, please reopen Bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2217528 to have the procedure updated.

Comment 2 Sayan Das 2023-06-26 14:55:00 UTC
+1 

The less confusion we create, the better the user experience would be. 

If What Taft requested is not possible to implement for any reason then , My alternate proposal is 

* Have the installer executed by the end-user to allow a new location as the export_path

* As far as the setting pulpcore_export_destination goes, at the backend

   * It should somehow read the pulp config and get all the allowed export_paths
   * List then as selectable options

In that way, some manual errors due to typo ( as the value of pulpcore_export_destination )  can be avoided


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