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.
Created attachment 1107053[details]
misleading error on UI
Description of problem:
I was trying to add a new container from webUI. So I created a local docker compute-resource. Test-connection was successful. I added a docker repo with busybox image.
But when I tried a to create a new container, I got following message:
"False You need a Docker compute resource in order to create containers. Please add a new one and try again. "
This is misleading error.
production.log:
2015-12-18 04:00:35 [app] [I]
|
| Started PUT "/wizard_states/4/steps/preliminary" for 10.67.5.149 at 2015-12-18 04:00:35 -0500
2015-12-18 04:00:35 [app] [I] Processing by Containers::StepsController#update as HTML
2015-12-18 04:00:35 [app] [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"Yhv6xtcQm55biaNwgENqia9L1vxGCPcpkb4CRLH648I=", "docker_container_wizard_states_preliminary"=>{"compute_resource_id"=>"1", "location_ids"=>["", "2"], "organization_ids"=>["", "1"]}, "wizard_state_id"=>"4", "id"=>"preliminary"}
2015-12-18 04:00:49 [app] [I] Rendered taxonomies/_loc_org_tabs.html.erb (17.8ms)
2015-12-18 04:00:49 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_docker-1.4.1/app/views/containers/steps/_title.html.erb (45.1ms)
2015-12-18 04:00:49 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_docker-1.4.1/app/views/containers/steps/preliminary.html.erb within layouts/application (45.7ms)
2015-12-18 04:00:49 [app] [I] Rendered home/_user_dropdown.html.erb (189.4ms)
2015-12-18 04:00:49 [app] [I] Read fragment views/tabs_and_title_records-3 (0.2ms)
2015-12-18 04:00:49 [app] [I] Rendered home/_topbar.html.erb (191.1ms)
2015-12-18 04:00:49 [app] [I] Rendered layouts/base.html.erb (192.9ms)
2015-12-18 04:00:49 [app] [I] Completed 200 OK in 14771ms (Views: 237.4ms | ActiveRecord: 10.4ms)
2015-12-18 04:00:54 [app] [I]
|
| Started GET "/assets/false.png" for 10.67.5.149 at 2015-12-18 04:00:54 -0500
2015-12-18 04:00:54 [app] [I] Served asset /false.png - 404 Not Found (13ms)
2015-12-18 04:00:54 [app] [F]
| ActionController::RoutingError (No route matches [GET] "/assets/false.png"):
| /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
| /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
| /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
| /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'
Version-Release number of selected component (if applicable):
nightly
How reproducible:
always
Steps to Reproduce:
1. create a new container on docker compute-resource
3.
Actual results:
when I tried a to create a new container, I got following message:
"False You need a Docker compute resource in order to create containers. Please add a new one and try again. "
This is misleading error.
Expected results:
user should move to next tab
Additional info:
This has been copied to an issue upstream. When the upstream issue is fixed, the next version of satellite will contain it. We will no longer track this downstream.
Created attachment 1107053 [details] misleading error on UI Description of problem: I was trying to add a new container from webUI. So I created a local docker compute-resource. Test-connection was successful. I added a docker repo with busybox image. But when I tried a to create a new container, I got following message: "False You need a Docker compute resource in order to create containers. Please add a new one and try again. " This is misleading error. production.log: 2015-12-18 04:00:35 [app] [I] | | Started PUT "/wizard_states/4/steps/preliminary" for 10.67.5.149 at 2015-12-18 04:00:35 -0500 2015-12-18 04:00:35 [app] [I] Processing by Containers::StepsController#update as HTML 2015-12-18 04:00:35 [app] [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"Yhv6xtcQm55biaNwgENqia9L1vxGCPcpkb4CRLH648I=", "docker_container_wizard_states_preliminary"=>{"compute_resource_id"=>"1", "location_ids"=>["", "2"], "organization_ids"=>["", "1"]}, "wizard_state_id"=>"4", "id"=>"preliminary"} 2015-12-18 04:00:49 [app] [I] Rendered taxonomies/_loc_org_tabs.html.erb (17.8ms) 2015-12-18 04:00:49 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_docker-1.4.1/app/views/containers/steps/_title.html.erb (45.1ms) 2015-12-18 04:00:49 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_docker-1.4.1/app/views/containers/steps/preliminary.html.erb within layouts/application (45.7ms) 2015-12-18 04:00:49 [app] [I] Rendered home/_user_dropdown.html.erb (189.4ms) 2015-12-18 04:00:49 [app] [I] Read fragment views/tabs_and_title_records-3 (0.2ms) 2015-12-18 04:00:49 [app] [I] Rendered home/_topbar.html.erb (191.1ms) 2015-12-18 04:00:49 [app] [I] Rendered layouts/base.html.erb (192.9ms) 2015-12-18 04:00:49 [app] [I] Completed 200 OK in 14771ms (Views: 237.4ms | ActiveRecord: 10.4ms) 2015-12-18 04:00:54 [app] [I] | | Started GET "/assets/false.png" for 10.67.5.149 at 2015-12-18 04:00:54 -0500 2015-12-18 04:00:54 [app] [I] Served asset /false.png - 404 Not Found (13ms) 2015-12-18 04:00:54 [app] [F] | ActionController::RoutingError (No route matches [GET] "/assets/false.png"): | /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' | /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' | /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' | /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' Version-Release number of selected component (if applicable): nightly How reproducible: always Steps to Reproduce: 1. create a new container on docker compute-resource 3. Actual results: when I tried a to create a new container, I got following message: "False You need a Docker compute resource in order to create containers. Please add a new one and try again. " This is misleading error. Expected results: user should move to next tab Additional info: