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.
DescriptionElyé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)
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)