Debian Bug report logs - #736065
ganeti: unwanted automatic restart

version graph

Package: ganeti; Maintainer for ganeti is Debian Ganeti Team <[email protected]>; Source for ganeti is src:ganeti (PTS, buildd, popcon).

Reported by: Benoit Friry <[email protected]>

Date: Sun, 19 Jan 2014 12:24:02 UTC

Severity: normal

Found in version ganeti/2.9.2-2

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Ganeti Team <[email protected]>:
Bug#736065; Package ganeti. (Sun, 19 Jan 2014 12:24:06 GMT) (full text, mbox, link).


Acknowledgement sent to Benoit Friry <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Ganeti Team <[email protected]>. (Sun, 19 Jan 2014 12:24:06 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Benoit Friry <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: ganeti: unwanted automatic restart
Date: Sun, 19 Jan 2014 13:21:34 +0100
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

*** 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



Information forwarded to [email protected], Debian Ganeti Team <[email protected]>:
Bug#736065; Package ganeti. (Sun, 19 Jan 2014 13:00:04 GMT) (full text, mbox, link).


Acknowledgement sent to Apollon Oikonomopoulos <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Ganeti Team <[email protected]>. (Sun, 19 Jan 2014 13:00:04 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Apollon Oikonomopoulos <[email protected]>
To: Benoit Friry <[email protected]>, [email protected]
Subject: Re: Bug#736065: ganeti: unwanted automatic restart
Date: Sun, 19 Jan 2014 14:51:34 +0200
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
> 



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 08:47:13 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.