Bug 1314330
Summary: | Job invocation failed for selected host when remote-execution feature is enabled on proxy | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Sachin Ghai <sghai> |
Component: | Remote Execution | Assignee: | Marek Hulan <mhulan> |
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.2.0 | CC: | bbuckingham, ehelms, lpramuk, mhulan |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/14037 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-27 09:25:14 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: |
Description
Sachin Ghai
2016-03-03 12:23:48 UTC
Created redmine issue http://projects.theforeman.org/issues/14037 from this bug A simple workaround is to mkdir -p /var/lib/foreman-proxy/dynflow chown foreman-proxy /var/lib/foreman-proxy/dynflow service foreman-proxy restart There were spec changes in 0.0.6 that would create missing directory during rpm install which needs to be CPed - https://github.com/theforeman/foreman-packaging/commit/d8e74dce5f560829dcbd6ded545a8541e802585c VERIFIED. @Sat6.2.0-Beta-Snap6 Used reproducer in comment #0: 2016-04-06 04:29:40 [app] [I] Started POST "/job_invocations/refresh" for <CLIENT_IP> at 2016-04-06 04:29:40 -0400 2016-04-06 04:29:40 [app] [I] Processing by JobInvocationsController#refresh as JS 2016-04-06 04:29:40 [app] [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ee5ioc2C8ytSfFilzJPgpR6Fof7addCFzVNdOW+ouGw=", "job_invocation"=>{"job_category"=>"Commands", "providers"=>{"SSH"=>{"job_template_id"=>"77", "job_templates"=>{"77"=>{"input_values"=>"[FILTERED]", "effective_user"=>""}}}}, "description"=>"Run ", "description_override"=>"Run %{command}", "description_format"=>"Run %{command}", "concurrency_level"=>"", "time_span"=>""}, "targeting"=>{"bookmark_id"=>"", "search_query"=>"name ~3250", "targeting_type"=>"static_query"}, "triggering"=>{"mode"=>"immediate", "start_at_raw"=>"2016-04-06 04:29", "start_before_raw"=>"", "input_type"=>"daily", "cronline"=>"", "days"=>"", "days_of_week"=>{"1"=>"0", "2"=>"0", "3"=>"0", "4"=>"0", "5"=>"0", "6"=>"0", "7"=>"0"}, "time"=>{"time(1i)"=>"2016", "time(2i)"=>"4", "time(3i)"=>"6", "time(4i)"=>"10", "time(5i)"=>"29"}, "max_iteration"=>"", "end_time_limited"=>"false", "end_time"=>{"end_time(1i)"=>"2016", "end_time(2i)"=>"4", "end_time(3i)"=>"6", "end_time(4i)"=>"10", "end_time(5i)"=>"29"}}} 2016-04-06 04:29:40 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.3.0.2/app/views/template_inputs/_invocation_form.html.erb (1.2ms) 2016-04-06 04:29:40 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.3.0.2/app/views/job_invocations/_description_fields.html.erb (1.6ms) 2016-04-06 04:29:40 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.1/app/views/common/_trigger_form.html.erb (20.1ms) 2016-04-06 04:29:40 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.3.0.2/app/views/job_invocations/_preview_hosts_modal.html.erb (0.5ms) 2016-04-06 04:29:40 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.3.0.2/app/views/job_invocations/_form.html.erb (73.3ms) 2016-04-06 04:29:40 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.3.0.2/app/views/job_invocations/refresh.js.erb (77.7ms) 2016-04-06 04:29:40 [app] [I] Completed 200 OK in 116ms (Views: 76.8ms | ActiveRecord: 5.9ms) 2016-04-06 04:30:07 [app] [I] Started POST "/job_invocations" for <CLIENT_IP> at 2016-04-06 04:30:07 -0400 2016-04-06 04:30:07 [app] [I] Processing by JobInvocationsController#create as HTML 2016-04-06 04:30:07 [app] [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ee5ioc2C8ytSfFilzJPgpR6Fof7addCFzVNdOW+ouGw=", "job_invocation"=>{"job_category"=>"Commands", "providers"=>{"SSH"=>{"job_template_id"=>"77", "job_templates"=>{"77"=>{"input_values"=>"[FILTERED]", "effective_user"=>""}}}}, "description"=>"Run date", "description_override"=>"Run %{command}", "description_format"=>"Run %{command}", "concurrency_level"=>"", "time_span"=>""}, "targeting"=>{"bookmark_id"=>"", "search_query"=>"name ~3250", "targeting_type"=>"static_query"}, "triggering"=>{"mode"=>"immediate", "start_at_raw"=>"2016-04-06 04:29", "start_before_raw"=>"", "input_type"=>"daily", "cronline"=>"", "days"=>"", "days_of_week"=>{"1"=>"0", "2"=>"0", "3"=>"0", "4"=>"0", "5"=>"0", "6"=>"0", "7"=>"0"}, "time"=>{"time(1i)"=>"2016", "time(2i)"=>"4", "time(3i)"=>"6", "time(4i)"=>"10", "time(5i)"=>"29"}, "max_iteration"=>"", "end_time_limited"=>"false", "end_time"=>{"end_time(1i)"=>"2016", "end_time(2i)"=>"4", "end_time(3i)"=>"6", "end_time(4i)"=>"10", "end_time(5i)"=>"29"}}, "commit"=>"Submit"} 2016-04-06 04:30:07 [app] [I] Redirected to https://<SAT_FQDN>/job_invocations/2 2016-04-06 04:30:07 [app] [I] Completed 302 Found in 168ms (ActiveRecord: 18.9ms) 2016-04-06 04:30:08 [app] [I] Started GET "/job_invocations/2" for <CLIENT_IP> at 2016-04-06 04:30:08 -0400 2016-04-06 04:30:08 [app] [I] Processing by JobInvocationsController#show as HTML 2016-04-06 04:30:08 [app] [I] Parameters: {"id"=>"2"} 2016-04-06 04:30:08 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.3.0.2/app/views/job_invocations/_tab_overview.html.erb (45.8ms) 2016-04-06 04:30:08 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.3.0.2/app/views/job_invocations/_host_name_td.html.erb (2.3ms) 2016-04-06 04:30:08 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.3.0.2/app/views/job_invocations/_host_status_td.html.erb (1.9ms) 2016-04-06 04:30:08 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.3.0.2/app/views/job_invocations/_host_actions_td.html.erb (4.8ms) 2016-04-06 04:30:08 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.3.0.2/app/views/job_invocations/_tab_hosts.html.erb (24.7ms) 2016-04-06 04:30:08 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.3.0.2/app/views/job_invocations/show.html.erb within layouts/application (107.0ms) 2016-04-06 04:30:08 [app] [I] Rendered layouts/_application_content.html.erb (0.4ms) 2016-04-06 04:30:08 [app] [I] Rendered home/_submenu.html.erb (2.2ms) 2016-04-06 04:30:08 [app] [I] Rendered home/_user_dropdown.html.erb (4.2ms) 2016-04-06 04:30:08 [app] [I] Read fragment views/tabs_and_title_records-3 (0.2ms) 2016-04-06 04:30:08 [app] [I] Rendered home/_topbar.html.erb (7.8ms) 2016-04-06 04:30:08 [app] [I] Rendered layouts/base.html.erb (9.6ms) 2016-04-06 04:30:08 [app] [I] Completed 200 OK in 162ms (Views: 116.7ms | ActiveRecord: 7.4ms) Verified with these rpm versions # rpm -qa *remote_execution* rubygem-smart_proxy_remote_execution_ssh-0.0.13-1.el7sat.noarch tfm-rubygem-foreman_remote_execution-0.3.0.2-1.el7sat.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501 |