Hi all,
I want to share my experience with puppet agent installed in Dom0 managed by xapi.
Just to mention that the problem exist in puppet updates after Feb 2015 - Sorry I can't be more precise. Before that date, puppet agent and xcp-xapi works fine together.
Generally speaking xapi stop working if the puppet agent is running as well.
OS: Debian Wheezy (amd64) with latest updates (kernel: 3.2.68-1+deb7u4) (xcp-xapi: 1.3.2-15)
Puppet agent version: 3.8.3-1puppetlabs1 from repository: deb http://apt.puppetlabs.com wheezy main
No specific log from puppet side.
Xapi error:
Oct 26 16:12:51 observer xapi: [ info|observer|0 thread_zero||watchdog] (Re)starting xapi...
Oct 26 16:13:23 observer xapi: [ warn|observer|0 thread_zero|server_init D:d41f8aa4b48c|startup] task [Listening localhost] exception: Failure("Repeatedly failed to bind: INET 127.0.0.1:80")
Oct 26 16:13:23 observer xapi: [error|observer|0 thread_zero||xapi] Caught exception at toplevel: 'Failure("Repeatedly failed to bind: INET 127.0.0.1:80")'
Oct 26 16:13:23 observer xcp-fe: 11825 (/usr/sbin/xapi -nowatchdog list) exitted with code 2
Oct 26 16:13:23 observer xapi: [ info|observer|0 thread_zero||watchdog] received exit code 2
Oct 26 16:13:23 observer xapi: [ info|observer|0 thread_zero||watchdog] Received bad exit, retrying
Oct 26 16:13:23 observer xapi: [ info|observer|0 thread_zero||watchdog] (Re)starting xapi...
The only possible way to restore the working condition of xcp-xapi is to restart it. But fails again ones the puppet agent is running.
Can somebody share similar experience and any resolution in order to keep the both services running together?
Puppet agent configuration:
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
[master]
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
[agent]
report=true
server=[puppet_master_host]
↧