Hi Benoit, On 13:21 Sun 19 Jan , Benoit Friry wrote: > Package: ganeti > Version: 2.9.2-2 > Severity: normal > > Bonjour, > > I use ganeti for testing pieces of software. I do not want ganeti to be always > running. > > # /etc/init.d/ganeti stop > [ ok ] Stopping Ganeti cluster:[....] ganeti-mond...done. > [ ok ] ganeti-luxid...done. > [ ok ] ganeti-confd...done. > [ ok ] ganeti-rapi...done. > [ ok ] ganeti-masterd...done. > [ ok ] ganeti-noded...done. > > After a while, ganeti is running again. > > # /etc/init.d/ganeti status > [ ok ] ganeti-noded is running. > [ ok ] ganeti-masterd is running. > [ ok ] ganeti-rapi is running. > [ ok ] ganeti-confd is running. > [FAIL] ganeti-luxid is not running ... failed! > [ ok ] ganeti-mond is running. > > ganeti was restarted by ganeti-watcher in /etc/cron.d/ganeti. > > Actually, ganeti cannot be stopped! > > ganeti-watcher can be paused with "gnt-cluster watcher pause <duration>", > which > assume the watch has to be restarted. So, it's not the right way. > > Suggestion: > - /etc/init.d/ganeti start => create a flag file in /var/lib/ganeti > - /etc/init.d/ganeti stop => remove the flag file > - /etc/cron.d/ganeti => do not do anything if the flag file in not there. > > Merci, > Benoit
We will into this more thoroughly. Meanwhile, you can disable the watcher permanently through /etc/cron.d/ganeti. Regards, Apollon > > *** Please consider answering these questions, where appropriate *** > > * What led up to the situation? > * What exactly did you do (or not do) that was effective (or > ineffective)? > * What was the outcome of this action? > * What outcome did you expect instead? > > *** End of the template - remove these lines *** > > > -- System Information: > Debian Release: jessie/sid > APT prefers testing > APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores) > Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages ganeti depends on: > ii adduser 3.113+nmu3 > ii bridge-utils 1.5-7 > ii fping 3.8-1 > ii ganeti-haskell 2.9.2-2 > ii iproute 1:3.12.0-1 > ii iproute2 3.12.0-1 > ii iputils-arping 3:20121221-4 > ii lvm2 2.02.98-6+b1 > ii openssh-client 1:6.4p1-2 > ii openssh-server 1:6.4p1-2 > ii openssl 1.0.1f-1 > ii python-bitarray 0.8.0-2+b2 > ii python-ipaddr 2.1.10-1 > ii python-openssl 0.13.1-1 > ii python-paramiko 1.10.1-1 > ii python-pycurl 7.19.0.3-1 > ii python-pyinotify 0.9.4-1 > ii python-pyparsing 2.0.1+dfsg1-1 > ii python-simplejson 3.3.1-2 > pn python:any <none> > ii socat 1.7.2.2-1 > > Versions of packages ganeti recommends: > pn drbd8-utils <none> > pn ganeti-htools <none> > ii ganeti-instance-debootstrap 0.11-1 > ii ndisc6 1.0.1-1+b1 > ii qemu-kvm 1.7.0+dfsg-2 > > Versions of packages ganeti suggests: > pn ganeti-doc <none> > > -- no debconf information > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org