Status: New
Owner: ----

New issue 1114 by [email protected]: binding RAPI to a specific IP makes the cron watcher unhappy
https://code.google.com/p/ganeti/issues/detail?id=1114

What software version are you running?

Ganeti from the PPA "pkg-ganeti-devel".

Please provide the output of "gnt-
cluster --version", "gnt-cluster version", and "hspace --version".

# gnt-cluster --version
gnt-cluster (ganeti v2.11.6) 2.11.6
# gnt-cluster version
Software version: 2.11.6
Internode protocol: 2110000
Configuration format: 2110000
OS api version: 20
Export interface: 0
VCS version: (ganeti) version v2.11.6


What distribution are you using?

Ubuntu 14.04 64 bit with KVM and DRBD

What steps will reproduce the problem?

1. Set RAPI_ARGS="-b $CLUSTER_IP" in /etc/default/ganeti
2. Restart the Ganeti services
3. Call the ganeti-watcher cron
4. Check the watcher's logs (/var/log/ganeti/watcher.log)

What is the expected output?

I would expect no error/warning.

What do you see instead?

2015-07-01 12:15:01,282: ganeti-watcher pid=4091 INFO RunCmd /usr/lib/ganeti/daemon-util check-and-start ganeti-confd 2015-07-01 12:15:01,288: ganeti-watcher pid=4091 INFO RunCmd /usr/lib/ganeti/daemon-util check-and-start ganeti-mond 2015-07-01 12:15:01,294: ganeti-watcher pid=4091 INFO RunCmd /usr/lib/ganeti/daemon-util check-and-start ganeti-kvmd 2015-07-01 12:15:01,411: ganeti-watcher pid=4091 INFO RunCmd /usr/lib/ganeti/daemon-util check-and-start ganeti-rapi 2015-07-01 12:15:01,417: ganeti-watcher pid=4091 WARNING RAPI error: (7, 'Failed to connect to 127.0.0.1 port 5080: Connection refused') 2015-07-01 12:15:01,417: ganeti-watcher pid=4091 WARNING Couldn't get answer from remote API, restaring daemon 2015-07-01 12:15:01,417: ganeti-watcher pid=4091 INFO RunCmd /usr/lib/ganeti/daemon-util stop ganeti-rapi 2015-07-01 12:15:01,443: ganeti-watcher pid=4091 INFO RunCmd /usr/lib/ganeti/daemon-util check-and-start ganeti-rapi 2015-07-01 12:15:01,663: ganeti-watcher pid=4091 WARNING RAPI error: (7, 'Failed to connect to 127.0.0.1 port 5080: Connection refused') 2015-07-01 12:15:01,663: ganeti-watcher pid=4091 CRITICAL RAPI is not responding 2015-07-01 12:15:01,771: ganeti-watcher pid=4153 INFO Watcher for node group 'd031ad03-3232-44fe-b58d-f0985ba0a2b1' 2015-07-01 12:15:01,771: ganeti-watcher pid=4153 ERROR Can't acquire lock on state file /var/lib/ganeti/watcher.d031ad03-3232-44fe-b58d-f0985ba0a2b1.data: File already locked


Please provide any additional information below.

Telling RAPI to use a specific interface through "-i" doesn't help. Only binding to 0.0.0.0 works around the issue.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to