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 1206160 - When searching for a docker image an error is showed when / is typed
Summary: When searching for a docker image an error is showed when / is typed
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Container Management
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks: 1190289
TreeView+ depends on / blocked
 
Reported: 2015-03-26 13:17 UTC by Elyézer Rezende
Modified: 2017-01-11 20:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-11 20:36:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot of the error showed (87.83 KB, image/png)
2015-03-26 13:17 UTC, Elyézer Rezende
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 10190 0 Normal Closed When searching for a docker image an error is showed when / is typed 2020-02-07 02:20:09 UTC

Description Elyézer Rezende 2015-03-26 13:17:14 UTC
Created attachment 1006810 [details]
screenshot of the error showed

Description of problem:
When searching for a docker image and typing the / character an error is showed.


Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-7-20150324.0

How reproducible:
Aways

Steps to Reproduce:
1. Pull or create a docker image with an slash on name for example <part1>/<part2>
2. Go to New Container wizard, select the Docker compute resource which have that image
3. Click on docker hub tab and search the that image

Actual results:
An error is shown even thought the search string have a valid value


Expected results:
No error is shown


Additional info:

==> /var/log/messages <==
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="info" msg="GET /v1.15/images/omaciel/json"
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="info" msg="+job image_inspect(omaciel)"
Mar 26 09:07:31 ibm-x3250m4-06 docker: No such image: omaciel
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="info" msg="-job image_inspect(omaciel) = ERR (1)"
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="error" msg="Handler for GET /images/{name:.*}/json returned error: No such image: omaciel"
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="error" msg="HTTP Error: statusCode=404 No such image: omaciel"
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="info" msg="GET /v1.15/images/omaciel/json"
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="info" msg="+job image_inspect(omaciel)"
Mar 26 09:07:31 ibm-x3250m4-06 docker: No such image: omaciel
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="info" msg="-job image_inspect(omaciel) = ERR (1)"
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="error" msg="Handler for GET /images/{name:.*}/json returned error: No such image: omaciel"
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="error" msg="HTTP Error: statusCode=404 No such image: omaciel"
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="info" msg="GET /v1.15/images/omaciel/json"
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="info" msg="+job image_inspect(omaciel)"
Mar 26 09:07:31 ibm-x3250m4-06 docker: No such image: omaciel
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="info" msg="-job image_inspect(omaciel) = ERR (1)"
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="error" msg="Handler for GET /images/{name:.*}/json returned error: No such image: omaciel"
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="error" msg="HTTP Error: statusCode=404 No such image: omaciel"
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="info" msg="GET /v1.15/images/omaciel/json"
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="info" msg="+job image_inspect(omaciel)"
Mar 26 09:07:31 ibm-x3250m4-06 docker: No such image: omaciel
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="info" msg="-job image_inspect(omaciel) = ERR (1)"
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="error" msg="Handler for GET /images/{name:.*}/json returned error: No such image: omaciel"
Mar 26 09:07:31 ibm-x3250m4-06 docker: time="2015-03-26T09:07:31-04:00" level="error" msg="HTTP Error: statusCode=404 No such image: omaciel"
 
==> /var/log/foreman/production.log <==
2015-03-26 09:07:31 [I] Processing by ImageSearchController#auto_complete_repository_name as */*
2015-03-26 09:07:31 [I]   Parameters: {"search"=>"omaciel", "registry_id"=>"", "id"=>"2"}
2015-03-26 09:07:31 [I] String does not start with the prefix 'encrypted-', so ForemanDocker::Docker docker was not decrypted
2015-03-26 09:07:31 [I]   Rendered text template (0.0ms)
2015-03-26 09:07:31 [I] Completed 200 OK in 33ms (Views: 0.9ms | ActiveRecord: 3.0ms)
2015-03-26 09:07:32 [I] Processing by ImageSearchController#auto_complete_repository_name as */*
2015-03-26 09:07:32 [I]   Parameters: {"search"=>"omaciel/", "registry_id"=>"", "id"=>"2"}
2015-03-26 09:07:32 [I] String does not start with the prefix 'encrypted-', so ForemanDocker::Docker docker was not decrypted
2015-03-26 09:07:32 [I] Completed 500 Internal Server Error in 166ms (Views: 0.1ms | ActiveRecord: 2.9ms)

Comment 2 Bryan Kearney 2015-04-17 20:02:48 UTC
Created redmine issue http://projects.theforeman.org/issues/10190 from this bug

Comment 4 Bryan Kearney 2016-08-04 20:10:27 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 6 Bryan Kearney 2017-01-11 20:36:08 UTC
This is an older bug which has been reported upstream. We are not going to track this bug downstream. When the upstream issue is resolved, the next build will contain the fix. Thank you.


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