Bug 1206160
| Summary: | When searching for a docker image an error is showed when / is typed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Elyézer Rezende <erezende> | ||||
| Component: | Container Management | Assignee: | satellite6-bugs <satellite6-bugs> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Katello QA List <katello-qa-list> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.1.0 | CC: | bkearney | ||||
| Target Milestone: | Unspecified | Keywords: | Triaged | ||||
| Target Release: | Unused | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | http://projects.theforeman.org/issues/10190 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-01-11 20:36:08 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1190289 | ||||||
| Attachments: |
|
||||||
Created redmine issue http://projects.theforeman.org/issues/10190 from this bug Moving 6.2 bugs out to sat-backlog. 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. |
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)