packages/trusty/mcollective.git
9 years agoFix the init script so mcollective can be restarted properly 49/2749/1
Alexei Sheplyakov [Thu, 29 Jan 2015 11:08:24 +0000 (14:08 +0300)]
Fix the init script so mcollective can be restarted properly

The check for a running mcollective process is totally wrong and fails
to handle a stale pid file:

if [ -f $(cat /proc/$(cat $pidfile)/exe > /dev/null) ] ; then

Basically it's

if [ -f ]; then echo "Someone can't write shell scripts"; fi

This error breaks image based deployment. During the first boot after
the image based provisioning cloud init reconfigures mcollective to use
rabbitmq for communication and restarts it. However the restart gets
suppressed due to a bug in the sysv-style init script, so OpenStack
deployment does not start (and eventually times out).

The error is non-deterministic since sometimes cloud-init manages to
configure mcollective before it actually gets started (thus the correct
configuration is used despite the skipped restart).

Related-Bug: #1407634
Change-Id: I1608492ff807a1662fa1453c6e50d9fb4eb234bd

9 years agoAdded mcollective 2.3.1 package 65/2365/1
Alexei Sheplyakov [Tue, 27 Jan 2015 05:46:11 +0000 (08:46 +0300)]
Added mcollective 2.3.1 package

The version of mcollective (2.0.0) shipped with Ubuntu 14.04 is unable
to communicate via AMQP and is not suitable for Fuel. Therefore pick
the source from packages/precise/mcollective and adapt it so it works
on Ubuntu 14.04

Change-Id: I1a03409e996aa8ead65294ff422af9c5ff266a72

9 years agoAdded .gitreview
Andrey Nikitin [Fri, 23 Jan 2015 13:49:28 +0000 (16:49 +0300)]
Added .gitreview