Re: [foreman-users] Hosts: One or more processes require restarting
Thanks Sean - perfect. -- "Mission Statement: To provide hope and inspiration for collective action, to build collective power, to achieve collective transformation, rooted in grief and rage but pointed towards vision and dreams." - Patrisse Cullors, *Black Lives Matter founder* On 6 July 2017 at 18:18, Sean O'Keeffewrote: > It's coming from Katello... > > Go the Content host where packages & errata are you'll see an extra tab > named "Traces" it will show you processes required to be restarted. > > You can also run "tracer -ea" on the client. > > On Wed, 5 Jul 2017 at 23:28, Lachlan Musicman wrote: > >> On 5 July 2017 at 23:38, Daniel Lobato Garcia >> wrote: >> >>> On 07/05, Lachlan Musicman wrote: >>> > When I look in the "all hosts" page of Foreman gui, some hosts are >>> marked >>> > as orange with the note "One or more processes require restarting": >>> > >>> > How do I find which process that is so I can restart it? >>> > >>> >>> Could you share the logs in /var/log/foreman/production.log when loading >>> the All hosts page? It seems that message is coming from somewhere else >>> other than Foreman, but I'm not really sure where from >>> >> >> >> 2017-07-06 08:25:06 4c9f4157 [app] [I] Started GET >> "/katello/sync_management/sync_status?repoids%5B%5D=73&_=1499293411615" >> for 10.126.20.249 at 2017-07-06 08:25:06 +1000 >> 2017-07-06 08:25:06 4c9f4157 [app] [I] Processing by Katello:: >> SyncManagementController#sync_status as JSON >> 2017-07-06 08:25:06 4c9f4157 [app] [I] Parameters: {"repoids"=>["73"], >> "_"=>"1499293411615"} >> 2017-07-06 08:25:06 4c9f4157 [app] [I] Current user: admin (administrator) >> 2017-07-06 08:25:06 4c9f4157 [app] [I] Completed 200 OK in 49ms (Views: >> 0.2ms | ActiveRecord: 6.0ms) >> 2017-07-06 08:25:11 8303606a [app] [I] Started GET "/node/ >> vmpr-linuxidm.unix.domain.com?format=yml" for 10.126.18.72 at 2017-07-06 >> 08:25:11 +1000 >> 2017-07-06 08:25:11 8303606a [app] [I] Processing by >> HostsController#externalNodes as YML >> 2017-07-06 08:25:11 8303606a [app] [I] Parameters: {"name"=>" >> vmpr-linuxidm.unix.domain.com"} >> 2017-07-06 08:25:11 8303606a [app] [I] Current user: foreman_api_admin >> (administrator) >> 2017-07-06 08:25:11 8303606a [app] [I] Rendered text template (0.0ms) >> 2017-07-06 08:25:11 8303606a [app] [I] Completed 200 OK in 138ms (Views: >> 0.6ms | ActiveRecord: 9.3ms) >> 2017-07-06 08:25:12 ad665be4 [app] [I] Started POST "/api/hosts/facts" >> for 10.126.18.72 at 2017-07-06 08:25:12 +1000 >> 2017-07-06 08:25:12 ad665be4 [app] [I] Processing by >> Api::V2::HostsController#facts as JSON >> 2017-07-06 08:25:12 ad665be4 [app] [I] Parameters: >> {"facts"=>"[FILTERED]", "name"=>"vmpr-linuxidm.unix.domain.com", >> "certname"=>"vmpr-linuxidm.unix.domain.com", "apiv"=>"v2", >> :host=>{"certname"=>"vmpr-linuxidm.unix.domain.com", "name"=>" >> vmpr-linuxidm.unix.domain.com"}} >> 2017-07-06 08:25:12 ad665be4 [app] [I] Current user: foreman_api_admin >> (administrator) >> 2017-07-06 08:25:12 ad665be4 [audit] [I] [vmpr-linuxidm.unix.domain.com] >> deleted 0 (16.8ms) >> 2017-07-06 08:25:12 ad665be4 [audit] [I] [vmpr-linuxidm.unix.domain.com] >> updated 18 (493.3ms) >> 2017-07-06 08:25:12 ad665be4 [audit] [I] [vmpr-linuxidm.unix.domain.com] >> added 0 (4.1ms) >> 2017-07-06 08:25:12 ad665be4 [app] [I] Import facts for ' >> vmpr-linuxidm.unix.domain.com' completed. Added: 0, Updated: 18, Deleted >> 0 facts >> 2017-07-06 08:25:12 ad665be4 [app] [I] Completed 201 Created in 582ms >> (Views: 2.8ms | ActiveRecord: 84.8ms) >> 2017-07-06 08:25:12 cd269e57 [app] [I] Started GET "/node/ >> vmpr-linuxidm.unix.domain.com?format=yml" for 10.126.18.72 at 2017-07-06 >> 08:25:12 +1000 >> 2017-07-06 08:25:12 cd269e57 [app] [I] Processing by >> HostsController#externalNodes as YML >> 2017-07-06 08:25:12 cd269e57 [app] [I] Parameters: {"name"=>" >> vmpr-linuxidm.unix.domain.com"} >> 2017-07-06 08:25:13 cd269e57 [app] [I] Current user: foreman_api_admin >> (administrator) >> 2017-07-06 08:25:13 cd269e57 [app] [I] Rendered text template (0.0ms) >> 2017-07-06 08:25:13 cd269e57 [app] [I] Completed 200 OK in 132ms (Views: >> 0.7ms | ActiveRecord: 8.5ms) >> 2017-07-06 08:25:13 cf0d2136 [app] [I] Started POST "/api/config_reports" >> for 10.126.18.72 at 2017-07-06 08:25:13 +1000 >> 2017-07-06 08:25:13 cf0d2136 [app] [I] Processing by >> Api::V2::ConfigReportsController#create >> as JSON >> 2017-07-06 08:25:13 cf0d2136 [app] [I] Parameters: >> {"config_report"=>"[FILTERED]", "apiv"=>"v2"} >> 2017-07-06 08:25:13 cf0d2136 [app] [I] Current user: foreman_api_admin >> (administrator) >> 2017-07-06 08:25:13 cf0d2136 [app] [I] processing report for >> vmpr-linuxidm.unix.domain.com >> 2017-07-06 08:25:13 cf0d2136 [app] [I] Imported report for >> vmpr-linuxidm.unix.domain.com in 0.03 seconds >> 2017-07-06 08:25:13 cf0d2136 [app] [I] Rendered >> api/v2/config_reports/create.json.rabl (9.1ms) >> 2017-07-06
Re: [foreman-users] Hosts: One or more processes require restarting
It's coming from Katello... Go the Content host where packages & errata are you'll see an extra tab named "Traces" it will show you processes required to be restarted. You can also run "tracer -ea" on the client. On Wed, 5 Jul 2017 at 23:28, Lachlan Musicmanwrote: > On 5 July 2017 at 23:38, Daniel Lobato Garcia wrote: > >> On 07/05, Lachlan Musicman wrote: >> > When I look in the "all hosts" page of Foreman gui, some hosts are >> marked >> > as orange with the note "One or more processes require restarting": >> > >> > How do I find which process that is so I can restart it? >> > >> >> Could you share the logs in /var/log/foreman/production.log when loading >> the All hosts page? It seems that message is coming from somewhere else >> other than Foreman, but I'm not really sure where from >> > > > 2017-07-06 08:25:06 4c9f4157 [app] [I] Started GET > "/katello/sync_management/sync_status?repoids%5B%5D=73&_=1499293411615" for > 10.126.20.249 at 2017-07-06 08:25:06 +1000 > 2017-07-06 08:25:06 4c9f4157 [app] [I] Processing by > Katello::SyncManagementController#sync_status as JSON > 2017-07-06 08:25:06 4c9f4157 [app] [I] Parameters: {"repoids"=>["73"], > "_"=>"1499293411615"} > 2017-07-06 08:25:06 4c9f4157 [app] [I] Current user: admin (administrator) > 2017-07-06 08:25:06 4c9f4157 [app] [I] Completed 200 OK in 49ms (Views: > 0.2ms | ActiveRecord: 6.0ms) > 2017-07-06 08:25:11 8303606a [app] [I] Started GET "/node/ > vmpr-linuxidm.unix.domain.com?format=yml" for 10.126.18.72 at 2017-07-06 > 08:25:11 +1000 > 2017-07-06 08:25:11 8303606a [app] [I] Processing by > HostsController#externalNodes as YML > 2017-07-06 08:25:11 8303606a [app] [I] Parameters: {"name"=>" > vmpr-linuxidm.unix.domain.com"} > 2017-07-06 08:25:11 8303606a [app] [I] Current user: foreman_api_admin > (administrator) > 2017-07-06 08:25:11 8303606a [app] [I] Rendered text template (0.0ms) > 2017-07-06 08:25:11 8303606a [app] [I] Completed 200 OK in 138ms (Views: > 0.6ms | ActiveRecord: 9.3ms) > 2017-07-06 08:25:12 ad665be4 [app] [I] Started POST "/api/hosts/facts" for > 10.126.18.72 at 2017-07-06 08:25:12 +1000 > 2017-07-06 08:25:12 ad665be4 [app] [I] Processing by > Api::V2::HostsController#facts as JSON > 2017-07-06 08:25:12 ad665be4 [app] [I] Parameters: > {"facts"=>"[FILTERED]", "name"=>"vmpr-linuxidm.unix.domain.com", > "certname"=>"vmpr-linuxidm.unix.domain.com", "apiv"=>"v2", > :host=>{"certname"=>"vmpr-linuxidm.unix.domain.com", "name"=>" > vmpr-linuxidm.unix.domain.com"}} > 2017-07-06 08:25:12 ad665be4 [app] [I] Current user: foreman_api_admin > (administrator) > 2017-07-06 08:25:12 ad665be4 [audit] [I] [vmpr-linuxidm.unix.domain.com] > deleted 0 (16.8ms) > 2017-07-06 08:25:12 ad665be4 [audit] [I] [vmpr-linuxidm.unix.domain.com] > updated 18 (493.3ms) > 2017-07-06 08:25:12 ad665be4 [audit] [I] [vmpr-linuxidm.unix.domain.com] > added 0 (4.1ms) > 2017-07-06 08:25:12 ad665be4 [app] [I] Import facts for ' > vmpr-linuxidm.unix.domain.com' completed. Added: 0, Updated: 18, Deleted > 0 facts > 2017-07-06 08:25:12 ad665be4 [app] [I] Completed 201 Created in 582ms > (Views: 2.8ms | ActiveRecord: 84.8ms) > 2017-07-06 08:25:12 cd269e57 [app] [I] Started GET "/node/ > vmpr-linuxidm.unix.domain.com?format=yml" for 10.126.18.72 at 2017-07-06 > 08:25:12 +1000 > 2017-07-06 08:25:12 cd269e57 [app] [I] Processing by > HostsController#externalNodes as YML > 2017-07-06 08:25:12 cd269e57 [app] [I] Parameters: {"name"=>" > vmpr-linuxidm.unix.domain.com"} > 2017-07-06 08:25:13 cd269e57 [app] [I] Current user: foreman_api_admin > (administrator) > 2017-07-06 08:25:13 cd269e57 [app] [I] Rendered text template (0.0ms) > 2017-07-06 08:25:13 cd269e57 [app] [I] Completed 200 OK in 132ms (Views: > 0.7ms | ActiveRecord: 8.5ms) > 2017-07-06 08:25:13 cf0d2136 [app] [I] Started POST "/api/config_reports" > for 10.126.18.72 at 2017-07-06 08:25:13 +1000 > 2017-07-06 08:25:13 cf0d2136 [app] [I] Processing by > Api::V2::ConfigReportsController#create as JSON > 2017-07-06 08:25:13 cf0d2136 [app] [I] Parameters: > {"config_report"=>"[FILTERED]", "apiv"=>"v2"} > 2017-07-06 08:25:13 cf0d2136 [app] [I] Current user: foreman_api_admin > (administrator) > 2017-07-06 08:25:13 cf0d2136 [app] [I] processing report for > vmpr-linuxidm.unix.domain.com > 2017-07-06 08:25:13 cf0d2136 [app] [I] Imported report for > vmpr-linuxidm.unix.domain.com in 0.03 seconds > 2017-07-06 08:25:13 cf0d2136 [app] [I] Rendered > api/v2/config_reports/create.json.rabl (9.1ms) > 2017-07-06 08:25:13 cf0d2136 [app] [I] Completed 201 Created in 166ms > (Views: 9.2ms | ActiveRecord: 20.9ms) > 2017-07-06 08:25:14 eff41368 [app] [I] Started GET > "/katello/sync_management/sync_status?repoids%5B%5D=73&_=1499293411616" for > 10.126.20.249 at 2017-07-06 08:25:14 +1000 > 2017-07-06 08:25:14 eff41368 [app] [I] Processing by > Katello::SyncManagementController#sync_status as JSON > 2017-07-06 08:25:14 eff41368 [app] [I] Parameters: {"repoids"=>["73"], >
Re: [foreman-users] Hosts: One or more processes require restarting
On 5 July 2017 at 23:38, Daniel Lobato Garciawrote: > On 07/05, Lachlan Musicman wrote: > > When I look in the "all hosts" page of Foreman gui, some hosts are marked > > as orange with the note "One or more processes require restarting": > > > > How do I find which process that is so I can restart it? > > > > Could you share the logs in /var/log/foreman/production.log when loading > the All hosts page? It seems that message is coming from somewhere else > other than Foreman, but I'm not really sure where from > 2017-07-06 08:25:06 4c9f4157 [app] [I] Started GET "/katello/sync_management/sync_status?repoids%5B%5D=73&_=1499293411615" for 10.126.20.249 at 2017-07-06 08:25:06 +1000 2017-07-06 08:25:06 4c9f4157 [app] [I] Processing by Katello::SyncManagementController#sync_status as JSON 2017-07-06 08:25:06 4c9f4157 [app] [I] Parameters: {"repoids"=>["73"], "_"=>"1499293411615"} 2017-07-06 08:25:06 4c9f4157 [app] [I] Current user: admin (administrator) 2017-07-06 08:25:06 4c9f4157 [app] [I] Completed 200 OK in 49ms (Views: 0.2ms | ActiveRecord: 6.0ms) 2017-07-06 08:25:11 8303606a [app] [I] Started GET "/node/ vmpr-linuxidm.unix.domain.com?format=yml" for 10.126.18.72 at 2017-07-06 08:25:11 +1000 2017-07-06 08:25:11 8303606a [app] [I] Processing by HostsController#externalNodes as YML 2017-07-06 08:25:11 8303606a [app] [I] Parameters: {"name"=>" vmpr-linuxidm.unix.domain.com"} 2017-07-06 08:25:11 8303606a [app] [I] Current user: foreman_api_admin (administrator) 2017-07-06 08:25:11 8303606a [app] [I] Rendered text template (0.0ms) 2017-07-06 08:25:11 8303606a [app] [I] Completed 200 OK in 138ms (Views: 0.6ms | ActiveRecord: 9.3ms) 2017-07-06 08:25:12 ad665be4 [app] [I] Started POST "/api/hosts/facts" for 10.126.18.72 at 2017-07-06 08:25:12 +1000 2017-07-06 08:25:12 ad665be4 [app] [I] Processing by Api::V2::HostsController#facts as JSON 2017-07-06 08:25:12 ad665be4 [app] [I] Parameters: {"facts"=>"[FILTERED]", "name"=>"vmpr-linuxidm.unix.domain.com", "certname"=>"vmpr-linuxidm.unix.domain.com", "apiv"=>"v2", :host=>{"certname"=>"vmpr-linuxidm.unix.domain.com", "name"=>" vmpr-linuxidm.unix.domain.com"}} 2017-07-06 08:25:12 ad665be4 [app] [I] Current user: foreman_api_admin (administrator) 2017-07-06 08:25:12 ad665be4 [audit] [I] [vmpr-linuxidm.unix.domain.com] deleted 0 (16.8ms) 2017-07-06 08:25:12 ad665be4 [audit] [I] [vmpr-linuxidm.unix.domain.com] updated 18 (493.3ms) 2017-07-06 08:25:12 ad665be4 [audit] [I] [vmpr-linuxidm.unix.domain.com] added 0 (4.1ms) 2017-07-06 08:25:12 ad665be4 [app] [I] Import facts for ' vmpr-linuxidm.unix.domain.com' completed. Added: 0, Updated: 18, Deleted 0 facts 2017-07-06 08:25:12 ad665be4 [app] [I] Completed 201 Created in 582ms (Views: 2.8ms | ActiveRecord: 84.8ms) 2017-07-06 08:25:12 cd269e57 [app] [I] Started GET "/node/ vmpr-linuxidm.unix.domain.com?format=yml" for 10.126.18.72 at 2017-07-06 08:25:12 +1000 2017-07-06 08:25:12 cd269e57 [app] [I] Processing by HostsController#externalNodes as YML 2017-07-06 08:25:12 cd269e57 [app] [I] Parameters: {"name"=>" vmpr-linuxidm.unix.domain.com"} 2017-07-06 08:25:13 cd269e57 [app] [I] Current user: foreman_api_admin (administrator) 2017-07-06 08:25:13 cd269e57 [app] [I] Rendered text template (0.0ms) 2017-07-06 08:25:13 cd269e57 [app] [I] Completed 200 OK in 132ms (Views: 0.7ms | ActiveRecord: 8.5ms) 2017-07-06 08:25:13 cf0d2136 [app] [I] Started POST "/api/config_reports" for 10.126.18.72 at 2017-07-06 08:25:13 +1000 2017-07-06 08:25:13 cf0d2136 [app] [I] Processing by Api::V2::ConfigReportsController#create as JSON 2017-07-06 08:25:13 cf0d2136 [app] [I] Parameters: {"config_report"=>"[FILTERED]", "apiv"=>"v2"} 2017-07-06 08:25:13 cf0d2136 [app] [I] Current user: foreman_api_admin (administrator) 2017-07-06 08:25:13 cf0d2136 [app] [I] processing report for vmpr-linuxidm.unix.domain.com 2017-07-06 08:25:13 cf0d2136 [app] [I] Imported report for vmpr-linuxidm.unix.domain.com in 0.03 seconds 2017-07-06 08:25:13 cf0d2136 [app] [I] Rendered api/v2/config_reports/create.json.rabl (9.1ms) 2017-07-06 08:25:13 cf0d2136 [app] [I] Completed 201 Created in 166ms (Views: 9.2ms | ActiveRecord: 20.9ms) 2017-07-06 08:25:14 eff41368 [app] [I] Started GET "/katello/sync_management/sync_status?repoids%5B%5D=73&_=1499293411616" for 10.126.20.249 at 2017-07-06 08:25:14 +1000 2017-07-06 08:25:14 eff41368 [app] [I] Processing by Katello::SyncManagementController#sync_status as JSON 2017-07-06 08:25:14 eff41368 [app] [I] Parameters: {"repoids"=>["73"], "_"=>"1499293411616"} 2017-07-06 08:25:14 eff41368 [app] [I] Current user: admin (administrator) 2017-07-06 08:25:14 eff41368 [app] [I] Completed 200 OK in 29ms (Views: 0.2ms | ActiveRecord: 5.7ms) Thanks L. -- "Mission Statement: To provide hope and inspiration for collective action, to build collective power, to achieve collective transformation, rooted in grief and rage but pointed towards vision and dreams." - Patrisse Cullors, *Black Lives Matter
Re: [foreman-users] Hosts: One or more processes require restarting
On 07/05, Lachlan Musicman wrote: > When I look in the "all hosts" page of Foreman gui, some hosts are marked > as orange with the note "One or more processes require restarting": > > > > > How do I find which process that is so I can restart it? > Could you share the logs in /var/log/foreman/production.log when loading the All hosts page? It seems that message is coming from somewhere else other than Foreman, but I'm not really sure where from > cheers > L. > > -- > "Mission Statement: To provide hope and inspiration for collective action, > to build collective power, to achieve collective transformation, rooted in > grief and rage but pointed towards vision and dreams." > > - Patrisse Cullors, *Black Lives Matter founder* > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscr...@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. -- Daniel Lobato Garcia @dLobatog blog.daniellobato.me daniellobato.me GPG: http://keys.gnupg.net/pks/lookup?op=get=0x7A92D6DD38D6DE30 Keybase: https://keybase.io/elobato -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscr...@googlegroups.com. To post to this group, send email to foreman-users@googlegroups.com. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout. signature.asc Description: PGP signature
[foreman-users] Hosts: One or more processes require restarting
When I look in the "all hosts" page of Foreman gui, some hosts are marked as orange with the note "One or more processes require restarting": How do I find which process that is so I can restart it? cheers L. -- "Mission Statement: To provide hope and inspiration for collective action, to build collective power, to achieve collective transformation, rooted in grief and rage but pointed towards vision and dreams." - Patrisse Cullors, *Black Lives Matter founder* -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscr...@googlegroups.com. To post to this group, send email to foreman-users@googlegroups.com. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.