Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 513458 - app-emulation/ganeti-2.11-2-r1 - ganeti.initd-r3 status always returns "crashed"
Summary: app-emulation/ganeti-2.11-2-r1 - ganeti.initd-r3 status always returns "crashed"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-16 10:28 UTC by Zentoo
Modified: 2014-09-08 07:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zentoo 2014-06-16 10:28:23 UTC
Application: app-emulation/ganeti-2.11-2-r1

Problem: /etc/init.d/ganeti status always return a crashed status

Example on a master node:

# /etc/init.d/ganeti restart
 * Starting ganeti-noded ...
 * Starting ganeti-masterd ...
 * Starting ganeti-rapi ...
 * Starting ganeti-luxid ...
 * Starting ganeti-kvmd ...
 * Starting ganeti-confd ...
# /etc/init.d/ganeti status
 * status: crashed

Example on a no-master node:

# /etc/init.d/ganeti restart
 * Caching service dependencies ...                                                                                                                                           [ ok ]
 * Starting ganeti-noded ...
 * Starting ganeti-kvmd ...
 * Starting ganeti-confd ...
# /etc/init.d/ganeti status
 * status: crashed
Comment 1 Patrick McLean gentoo-dev 2014-06-16 23:50:46 UTC
Are all the daemons actually running? It's possible I just need better checking that a daemon actually came up..
Comment 2 Zentoo 2014-06-17 00:40:58 UTC
(In reply to Patrick McLean from comment #1)
> Are all the daemons actually running? It's possible I just need better
> checking that a daemon actually came up..

It appears that they are up:

On a master node:

# pstree | grep ganeti
     |-ganeti-confd
     |-ganeti-luxid
     |-ganeti-masterd---41*[{ganeti-masterd}]
     |-ganeti-noded
     |-ganeti-rapi

# ls -l /var/run/ganeti/*.pid
-rw------- 1 root root 6 Jun 17 02:38 /var/run/ganeti/ganeti-confd.pid
-rw------- 1 root root 6 Jun 17 02:37 /var/run/ganeti/ganeti-luxid.pid
-rw------- 1 root root 6 Jun 17 02:37 /var/run/ganeti/ganeti-masterd.pid
-rw------- 1 root root 6 Jun 17 02:37 /var/run/ganeti/ganeti-noded.pid
-rw------- 1 root root 6 Jun 17 02:37 /var/run/ganeti/ganeti-rapi.pid


On a no-master node:

# pstree | grep ganeti
     |-ganeti-confd
     |-ganeti-noded

# ls -l /var/run/ganeti/*.pid
-rw------- 1 root root 5 Jun 16 12:20 /var/run/ganeti/ganeti-confd.pid
-rw------- 1 root root 5 Jun 16 12:20 /var/run/ganeti/ganeti-noded.pid
Comment 3 Zentoo 2014-09-08 07:36:01 UTC
This bug have been fixed with the ganeti daemon-util patch provided for this bug:
https://bugs.gentoo.org/show_bug.cgi?id=513600