Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1638781

Summary: Unable to create Content Credential bookmark via WebUI
Product: Red Hat Satellite Reporter: Andrii Balakhtar <abalakht>
Component: Content CredentialsAssignee: Michael Johnson <micjohns>
Status: CLOSED ERRATA QA Contact: Jameer Pathan <jpathan>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.4CC: jpathan, pcreech
Target Milestone: 6.5.0Keywords: Regression, Triaged
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-05-14 12:38:12 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 Andrii Balakhtar 2018-10-12 12:45:09 UTC
Description of problem:
Unable to create a bookmark from search of Content credential via WebUI, 'Controller katello_content_credentials is not a valid controller' is shown in logs.

Version-Release number of selected component (if applicable):
Sat 6.4 Snap 25

How reproducible:
Always

Steps to Reproduce:
1. Navigate to Content -> Content Credentials
2. Select 'Bookmark this search' from searchbox' dropdown actions list
3. Type any bookmark name and query, press 'Save' button

Actual results:
Nothing happens, no flash notifications, bookmark was not created. Browser's console contains following line:
POST https://hostname/api/v2/bookmarks 422 (Unprocessable Entity)

production.log contains following lines:
2018-10-12T08:37:41 [I|app|] Started POST "/api/v2/bookmarks" for 10.36.117.161 at 2018-10-12 08:37:41 -0400
2018-10-12T08:37:41 [I|app|3cf22] Processing by Api::V2::BookmarksController#create as JSON
2018-10-12T08:37:41 [I|app|3cf22]   Parameters: {"name"=>"test", "query"=>"1111", "public"=>true, "apiv"=>"v2", "bookmark"=>{"name"=>"test", "query"=>"1111", "controller"=>"api/v2/bookmarks", "public"=>true}}
2018-10-12T08:37:41 [I|app|3cf22] Current user: admin (administrator)
2018-10-12T08:37:41 [E|app|3cf22] Unprocessable entity Bookmark (id: new):
  Controller katello_content_credentials is not a valid controller

2018-10-12T08:37:41 [I|app|3cf22]   Rendering api/v2/errors/unprocessable_entity.json.rabl within api/v2/layouts/error_layout
2018-10-12T08:37:41 [I|app|3cf22]   Rendered api/v2/errors/unprocessable_entity.json.rabl within api/v2/layouts/error_layout (1.7ms)
2018-10-12T08:37:41 [I|app|3cf22] Completed 422 Unprocessable Entity in 40ms (Views: 4.2ms | ActiveRecord: 6.4ms)

Expected results:
No errors, bookmark was successfully created, appropriate success message is shown.

Additional info:

Comment 3 Michael Johnson 2018-10-16 18:58:24 UTC
Created redmine issue https://projects.theforeman.org/issues/25219 from this bug

Comment 4 Satellite Program 2018-10-26 16:04:06 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25219 has been resolved.

Comment 6 Jameer Pathan 2018-11-16 12:50:55 UTC
verified:

@satellite 6.5.0 snap 3

steps:
1. Navigate to Content -> Content Credentials
2. Select 'Bookmark this search' from searchbox' dropdown actions list
3. Type any bookmark name and query, press 'Save' button

observation:
-No errors
-bookmark was successfully created

Comment 9 errata-xmlrpc 2019-05-14 12:38:12 UTC
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-2019:1222