Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Eric Thompson updated an issue Puppet / PUP-5604 Add journalctl command when service fails for systemd Change By: Eric Thompson Release Notes Summary: the systemd service provider now asks journalctl why something failed and reports it back to the user for aid in debugging. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Eric Thompson updated an issue Puppet / PUP-5604 Add journalctl command when service fails for systemd Change By: Eric Thompson QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Eric Thompson updated an issue Puppet / PUP-5604 Add journalctl command when service fails for systemd Change By: Eric Thompson Release Notes: New Feature Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Eric Thompson commented on PUP-5604 Re: Add journalctl command when service fails for systemd validated against puppet agent master sha: 2e1f658732ca423ee43860cb3a7ce7b2c549938e on rhel7 with [root@sp87at98x02dtjk ~]# puppet apply journalctl.pp Notice: Compiled catalog for sp87at98x02dtjk.delivery.puppetlabs.net in environment production in 0.17 seconds Error: Execution of 'journalctl -n 50 --since '5 minutes ago' -u foo --no-pager' returned 1: -- Logs begin at Thu 2016-06-30 09:41:12 PDT, end at Thu 2016-06-30 12:13:11 PDT. -- Error: /Stage[main]/Main/Service[foo]/ensure: change from stopped to running failed: Execution of 'journalctl -n 50 --since '5 minutes ago' -u foo --no-pager' returned 1: -- Logs begin at Thu 2016-06-30 09:41:12 PDT, end at Thu 2016-06-30 12:13:11 PDT. -- Notice: Applied catalog in 0.05 seconds [root@sp87at98x02dtjk ~]# cat journalctl.pp service { 'foo': ensure => running, start => '/usr/bin/systemctl start foo'
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Eric Thompson assigned an issue to Eric Thompson Puppet / PUP-5604 Add journalctl command when service fails for systemd Change By: Eric Thompson Assignee: qa Eric Thompson Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Eric Thompson updated an issue Puppet / PUP-5604 Add journalctl command when service fails for systemd Change By: Eric Thompson QA Risk Assessment Reason: work around available. would be nice to test this later Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Eric Thompson updated an issue Puppet / PUP-5604 Add journalctl command when service fails for systemd Change By: Eric Thompson QA Risk Assessment: Medium Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Steve Barlow updated an issue Puppet / PUP-5604 Add journalctl command when service fails for systemd Change By: Steve Barlow Sprint: Client 2016-06-29 , Client 2016-07-13 (HA, 1.5.3) Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Steve Barlow assigned an issue to qa Puppet / PUP-5604 Add journalctl command when service fails for systemd Change By: Steve Barlow Status: Ready for CI Test Assignee: Peter Souter qa Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Peter Souter assigned an issue to Peter Souter Puppet / PUP-5604 Add journalctl command when service fails for systemd Change By: Peter Souter Assignee: Peter Souter Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Branan Riley updated an issue Puppet / PUP-5604 Add journalctl command when service fails for systemd Change By: Branan Riley Sprint: Client 2016-06-29 (failover) Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Branan Riley updated an issue Puppet / PUP-5604 Add journalctl command when service fails for systemd Change By: Branan Riley Story Points: 0 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Michael Smith updated an issue Puppet / PUP-5604 Add journalctl command when service fails for systemd Change By: Michael Smith Fix Version/s: PUP 4.6.0 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-5604 Add journalctl command when service fails for systemd Change By: Henrik Lindberg Scrum Team: Client Platform Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Ranjit Viswakumar commented on PUP-5604 Re: Add journalctl command when service fails for systemd Work around in the meantime. service { 'foo': ensure => running, start => '/usr/bin/systemctl start foo || (journalctl -xn; exit 1)', } Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To pos
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Peter Souter updated an issue Puppet / PUP-5604 Add journalctl command when service fails for systemd Change By: Peter Souter Labels: puppethack systemd Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Peter Souter updated an issue Puppet / PUP-5604 Add journalctl command when service fails for systemd Change By: Peter Souter Labels: puppethack Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Tim Meusel commented on PUP-5604 Re: Add journalctl command when service fails for systemd +1 for this. Would be great if Puppet could run "systemctl -u $servicewebroke --full". "-n linenumberthatwelike" would also be good so we don't blow up the output. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5604) Add journalctl command when service fails for systemd
Title: Message Title Peter Souter created an issue Puppet / PUP-5604 Add journalctl command when service fails for systemd Issue Type: Improvement Assignee: Unassigned Created: 2015/12/12 2:57 PM Priority: Normal Reporter: Peter Souter It's not super easy to diagnose issues when services fail to start with systemd: Error: Could not start Service[corosync]: Execution of '/usr/bin/systemctl start corosync' returned 1: Job for corosync.service failed. See 'systemctl status corosync.service' and 'journalctl -xn' for details. Would be nice to add some logic to actually run the journalctl for the service if it fails so we can get full details of the logs. Add Comment