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 1190237 - New Container wizard is missing error feedback
Summary: New Container wizard is missing error feedback
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: Daniel Lobato Garcia
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 1190289
TreeView+ depends on / blocked
 
Reported: 2015-02-06 18:03 UTC by Elyézer Rezende
Modified: 2017-08-01 20:34 UTC (History)
4 users (show)

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


Attachments (Terms of Use)
Screenshot of where error occurs in UI. (55.53 KB, image/png)
2015-02-06 18:42 UTC, jaudet
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 18518 0 None None None 2017-07-20 06:44:47 UTC

Description Elyézer Rezende 2015-02-06 18:03:32 UTC
Description of problem:
When creating a new container, image search is failing [1] but not giving any user feedback. Also when trying to finish the wizard any feedback is given and the page just not work [2].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1190088
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1190101


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


How reproducible:
Aways when an error or failure happens.

Steps to Reproduce:
1. Go to Containers > New Container
2. Select a Compute Resource and go to next step
3. Try to search some image, if an error happens no feedback will be shown
4. In order to test the finish step, just fill the image and tag with any value and proceed to next step
5. Fill the required fields and proceed
6. Try to finish the wizard if it is not able to save the new container no feedback will be given

Actual results:
No error feedback is given

Expected results:
Show some feedback, like an error alert, saying that something went wrong. A message is returned but is only visible when using the Developers Tools console.


Additional info:

Comment 2 jaudet 2015-02-06 18:40:29 UTC
I can verify that this occurs whether or not the compute resource being used is internal to the Satellite itself or hosted on a separate machine. Here's a snippet from /var/log/foreman/production.log when trying to create a new docker container:

    Processing by Containers::StepsController#update as HTML
      Parameters: {"utf8"=>"✓", "authenticity_token"=>"MSzweREmZMgrrMqLHzATcGlptjGJ+QUPhIzePTDf+VI=", "docker_container_wizard_states_environment"=>{"tty"=>"0", "attach_stdin"=>"1", "attach_stdout"=>"1", "attach_stderr"=>"1"}, "wizard_state_id"=>"11", "id"=>"environment"}
    Failed to save: 
      Rendered /opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-1.0.1/app/views/foreman_docker/common_parameters/_environment_variable.html.erb (1.6ms)
      Rendered /opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-1.0.1/app/views/containers/steps/_form_buttons.html.erb (1.4ms)
      Rendered /opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-1.0.1/app/views/containers/steps/_title.html.erb (17.4ms)
      Rendered /opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-1.0.1/app/views/containers/steps/environment.html.erb within layouts/application (18.0ms)
      Rendered home/_user_dropdown.html.erb (2.3ms)
    Read fragment views/tabs_and_title_records-3 (0.2ms)
      Rendered home/_topbar.html.erb (4.2ms)
      Rendered layouts/base.html.erb (6.2ms)
    Completed 200 OK in 272ms (Views: 26.4ms | ActiveRecord: 82.8ms)

Comment 3 jaudet 2015-02-06 18:42:39 UTC
Created attachment 988993 [details]
Screenshot of where error occurs in UI.

Comment 6 Sebastian Gräßl 2017-07-14 08:43:48 UTC
Upstream issue[1] is closed. 

The wizard now includes a validation as well as instant feedback via autocomplete[2].

[1] http://projects.theforeman.org/issues/18518
[2] http://projects.theforeman.org/issues/18902

Comment 7 Bryan Kearney 2017-08-01 20:34:47 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.


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