Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Kenneth Barber updated an issue PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Change By: Kenneth Barber Sprint: 20140521to20140604,20140604to20140618 ,20140618to20140702 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Heidi Pio updated an issue PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Change By: Heidi Pio Sprint: 20140521to20140604,20140604to20140618,20140618to20140702 ,20140702to20140716 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Kenneth Barber commented on an issue Re: init.d script silently fails if PIDfile is missing I've sent this out to the mailing list: https://groups.google.com/forum/#!topic/puppet-users/yEcZ7u2qTxs To see if anyone is still suffering and perhaps able to reproduce this, and if they can help us debug it. Add Comment PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Debugging log: init.d restart fails but silently exits 0. Missing pidfile but still running application -- killing application fixes issue. {code}# sh -x /etc/init.d/puppetdb stop + [ -r /etc/default/puppetdb ] + . /etc/default/ + [ -f /usr/lib/jvm/java-7-openjdk-amd64/bin/java ] + JAVA_BIN=/usr/lib/jvm/java-7-openjdk-amd64/bin/java + JAVA_ARGS=-X... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Kenneth Barber commented on an issue Re: init.d script silently fails if PIDfile is missing Alex Jurkiewicz do you know how exactly the PID file was missing? Was this during an upgrade of a previous PuppetDB package? If so what exact version did you upgrade from? Add Comment PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Debugging log: init.d restart fails but silently exits 0. Missing pidfile but still running application -- killing application fixes issue. {code}# sh -x /etc/init.d/puppetdb stop + [ -r /etc/default/puppetdb ] + . /etc/default/ + [ -f /usr/lib/jvm/java-7-openjdk-amd64/bin/java ] + JAVA_BIN=/usr/lib/jvm/java-7-openjdk-amd64/bin/java + JAVA_ARGS=-X... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Melissa Stone assigned an issue to Melissa Stone PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Change By: Melissa Stone Assignee: MelissaStone Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Kenn Hussey updated an issue PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Change By: Kenn Hussey Sprint: 20140521to20140604,20140604to20140618 ,20140618to20140702 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Kenn Hussey commented on an issue Re: init.d script silently fails if PIDfile is missing Moses Mendoza I opened RE-2225 to track your efforts here. /cc Matthaus Owens Add Comment PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Debugging log: init.d restart fails but silently exits 0. Missing pidfile but still running application -- killing application fixes issue. {code}# sh -x /etc/init.d/puppetdb stop + [ -r /etc/default/puppetdb ] + . /etc/default/ + [ -f /usr/lib/jvm/java-7-openjdk-amd64/bin/java ] + JAVA_BIN=/usr/lib/jvm/java-7-openjdk-amd64/bin/java + JAVA_ARGS=-X... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Kenn Hussey updated an issue PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Change By: Kenn Hussey Sprint: 20140521to20140604,20140604to20140618 ,20140618to20140702 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Kenn Hussey updated an issue PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Change By: Kenn Hussey Story Points: 2 0 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Moses Mendoza commented on an issue Re: init.d script silently fails if PIDfile is missing Kenneth Barber can you indicate the priority of this issue? As you can imagine, we are somewhat resource-constrained at the moment (who's not, right?) so I'd like to get a sense of where we can fit this in. Add Comment PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Debugging log: init.d restart fails but silently exits 0. Missing pidfile but still running application -- killing application fixes issue. {code}# sh -x /etc/init.d/puppetdb stop + [ -r /etc/default/puppetdb ] + . /etc/default/ + [ -f /usr/lib/jvm/java-7-openjdk-amd64/bin/java ] + JAVA_BIN=/usr/lib/jvm/java-7-openjdk-amd64/bin/java + JAVA_ARGS=-X... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs.
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Kenneth Barber assigned an issue to Kenneth Barber PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Change By: Kenneth Barber Assignee: KennethBarber Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Kenneth Barber assigned an issue to Unassigned PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Change By: Kenneth Barber Assignee: KennethBarber Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Kenn Hussey updated an issue PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Change By: Kenn Hussey Sprint: 20140521to20140604 ,20140604to20140618 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Kenneth Barber commented on an issue Re: init.d script silently fails if PIDfile is missing Moses Mendoza fair enough, what do you think about my other suggestion though? Any other ideas? Add Comment PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Debugging log: init.d restart fails but silently exits 0. Missing pidfile but still running application -- killing application fixes issue. {code}# sh -x /etc/init.d/puppetdb stop + [ -r /etc/default/puppetdb ] + . /etc/default/ + [ -f /usr/lib/jvm/java-7-openjdk-amd64/bin/java ] + JAVA_BIN=/usr/lib/jvm/java-7-openjdk-amd64/bin/java + JAVA_ARGS=-X... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Moses Mendoza commented on an issue Re: init.d script silently fails if PIDfile is missing Kenneth Barber, I started to take a look at it yesterday but didn't get a chance to dig in. I'll try to find some time later today. I'm afraid I'm not as familiar with the puppetdb scripts, so I'll have to dive in to get my bearings on what's going on first. cc Matthaus Owens in case he has ideas. Add Comment PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Debugging log: init.d restart fails but silently exits 0. Missing pidfile but still running application -- killing application fixes issue. {code}# sh -x /etc/init.d/puppetdb stop + [ -r /etc/default/puppetdb ] + . /etc/default/ + [ -f /usr/lib/jvm/java-7-openjdk-amd64/bin/java ] + JAVA_BIN=/usr/lib/jvm/java-7-openjdk-amd64/bin/java + JAVA_ARGS=-X... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Kenneth Barber updated an issue PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Change By: Kenneth Barber Sprint: 20140521to20140604 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Kenneth Barber updated an issue PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing This is totally the expected behaviour with the way we use start-stop-daemon in debian/ubuntu at least. We might be able to switch to using --process and --user perhaps as a fallback for do_stop in the init script, might be brutal but should work for most cases. I've at least tested this myself and it works, but I worry about clobbering other processes, perhaps that fear is unnecessary. Need to investigate. Also, Redhat-likes would require a completely different approach. Another approach might be to investigate the use of something else to manage the process, like tanukiwrapper. Change By: Kenneth Barber Story Points: 2 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Kenneth Barber commented on an issue Re: init.d script silently fails if PIDfile is missing Moses Mendoza, Matthaus Owens, Melissa Stone ... comments/ideas welcome on this one. Add Comment PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Debugging log: init.d restart fails but silently exits 0. Missing pidfile but still running application -- killing application fixes issue. {code}# sh -x /etc/init.d/puppetdb stop + [ -r /etc/default/puppetdb ] + . /etc/default/ + [ -f /usr/lib/jvm/java-7-openjdk-amd64/bin/java ] + JAVA_BIN=/usr/lib/jvm/java-7-openjdk-amd64/bin/java + JAVA_ARGS=-X... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Alex Jurkiewicz created an issue PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Issue Type: Bug Affects Versions: 2.0.0 Assignee: Unassigned Created: 18/May/14 9:00 PM Environment: $ dpkg -s puppetmaster puppetdb puppetdb-terminus | egrep '(Package|Version)' Package: puppetmaster Version: 3.6.0-1puppetlabs1 Package: puppetdb Version: 2.0.0-1puppetlabs1 Package: puppetdb-terminus Version: 2.0.0-1puppetlabs1 $ cat /etc/apt/sources.list.d/puppetlabs.list # Managed by Puppet # Puppetlabs products deb http://apt.puppetlabs.com precise main deb-src http://apt.puppetlabs.com precise main # Puppetlabs dependencies deb http://apt.puppetlabs.com precise dependencies deb-src http://apt.puppetlabs.com precise dependencies # Puppetlabs devel (uncomment to activate) # deb http://apt.puppetlabs.com precise devel # deb-src http://apt.puppetlabs.com precise devel Priority: Normal Reporter: Alex Jurkiewicz # sh -x /etc/init.d/puppetdb stop + [ -r /etc/default/puppetdb ] + . /etc/default/ + [ -f /usr/lib/jvm/java-7-openjdk-amd64/bin/java ] + JAVA_BIN=/usr/lib/jvm/java-7-openjdk-amd64/bin/java +
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Alex Jurkiewicz updated an issue PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Change By: Alex Jurkiewicz Environment: PuppetDB2.0.0/Puppet3.6.0,Ubuntu12.04withPupppetlabsAPTrepository: {code}$dpkg-spuppetmasterpuppetdbpuppetdb-terminus|egrep'(Package|Version)'Package:puppetmasterVersion:3.6.0-1puppetlabs1Package:puppetdbVersion:2.0.0-1puppetlabs1Package:puppetdb-terminusVersion:2.0.0-1puppetlabs1$cat/etc/apt/sources.list.d/puppetlabs.list#ManagedbyPuppet#Puppetlabsproductsdebhttp://apt.puppetlabs.comprecisemaindeb-srchttp://apt.puppetlabs.comprecisemain#Puppetlabsdependenciesdebhttp://apt.puppetlabs.comprecisedependenciesdeb-srchttp://apt.puppetlabs.comprecisedependencies#Puppetlabsdevel(uncommenttoactivate)#debhttp://apt.puppetlabs.comprecisedevel#deb-srchttp://apt.puppetlabs.comprecisedevel{code} Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PDB-675) init.d script silently fails if PIDfile is missing
Title: Message Title Alex Jurkiewicz updated an issue PuppetDB / PDB-675 init.d script silently fails if PIDfile is missing Change By: Alex Jurkiewicz Debugginglog:init.drestartfailsbutsilentlyexits0.Missingpidfilebutstillrunningapplication--killingapplicationfixesissue. {code}#sh-x/etc/init.d/puppetdbstop+[-r/etc/default/puppetdb]+./etc/default/+[-f/usr/lib/jvm/java-7-openjdk-amd64/bin/java]+JAVA_BIN=/usr/lib/jvm/java-7-openjdk-amd64/bin/java+JAVA_ARGS=-Xmx192m-XX:+HeapDumpOnOutOfMemoryError-XX:HeapDumpPath=/var/log/puppetdb/puppetdb-oom.hprof-Djava.security.egd=file:/dev/urandom+USER=puppetdb+INSTALL_DIR=/usr/share/puppetdb+CONFIG=/etc/puppetdb/conf.d+PATH=/sbin:/usr/sbin:/bin:/usr/bin+NAME=puppetdb+DESC=puppetdbcentralizedstoragedaemon+JARFILE=puppetdb.jar+PIDFILE=/var/run/puppetdb.pid+SCRIPTNAME=/etc/init.d/puppetdb+JAVA_ARGS=-Xmx192m-XX:+HeapDumpOnOutOfMemoryError-XX:HeapDumpPath=/var/log/puppetdb/puppetdb-oom.hprof-Djava.security.egd=file:/dev/urandom-cp/usr/share/puppetdb/puppetdb.jarclojure.main-mcom.puppetlabs.puppetdb.coreservices-c/etc/puppetdb/conf.d+EXTRA_ARGS=--chuidpuppetdb--background--make-pidfile+[-x/usr/lib/jvm/java-7-openjdk-amd64/bin/java]+./lib/init/vars.sh+TMPTIME=0+SULOGIN=no+DELAYLOGIN=no+UTC=yes+VERBOSE=no+FSCKFIX=no+RAMLOCK=yes+RAMSHM=yes+RAMTMP=no+[-f/etc/default/rcS]+./etc/default/rcS+TMPTIME=0+SULOGIN=no+DELAYLOGIN=no+UTC=yes+VERBOSE=no+FSCKFIX=no+[-r/proc/cmdline]+cat/proc/cmdline+[]+break+[]+./lib/lsb/init-functions+FANCYTTY=+[-e/etc/lsb-base-logging.sh]+./etc/lsb-base-logging.sh+LOG_DAEMON_MSG=+[no!=no]+do_stop+start-stop-daemon--stop--quiet--retry=TERM/30/KILL/5--pidfile/var/run/puppetdb.pid--exec/usr/lib/jvm/java-7-openjdk-amd64/bin/java+RETVAL=1+[1=2]+rm-f/var/run/puppetdb.pid+return1+[no!=no]+:#cat/var/run/puppetdb.pidcat:/var/run/puppetdb.pid:Nosuchfileordirectory#psauwx|greppuppetdbpuppetdb175561.815.12612136309684?SlMar281384:31/usr/bin/java-XX:_OnOutOfMemoryError_=kill-9%p-Xmx192m-XX:+HeapDumpOnOutOfMemoryError-XX:HeapDumpPath=/var/log/puppetdb/puppetdb-oom.hprof-jar/usr/share/puppetdb/puppetdb.jarservices-c/etc/puppetdb/conf.d#kill17556#psauwx|greppuppetdbroot200170.00.09412940pts/4S+13:480:00greppuppetdb#/etc/init.d/puppetdbrestart*Restartingpuppetdbcentralizedstoragedaemonpuppetdb[OK]#psauwx|greppuppetdbpuppetdb200531543.9139512879508?Sl13:480:03/usr/lib/jvm/java-7-openjdk-amd64/bin/java-XX:_OnOutOfMemoryError_=kill-9%p-Xmx192m-XX:+HeapDumpOnOutOfMemoryError-XX:HeapDumpPath=/var/log/puppetdb/puppetdb-oom.hprof-Djava.security.egd=file:/dev/urandom-cp/usr/share/puppetdb/puppetdb.jarclojure.main-mcom.puppetlabs.puppetdb.coreservices-c/etc/puppetdb/conf.d#{code} Add Comment