Comment 4 for bug 1485722

Revision history for this message
Ryan Beisner (1chb1n) wrote : Re: rmq on >= vivid has mnesia (no data dir)

I must respectfully disagree. I maintain that this is a rabbitmq-server charm bug, so I'm resetting the status to new. Flip it back to invalid if the following is determined to be crack.
...

On Vivid, the /var/lib/rabbitmq/data dir doesn't exist even after the collect_rabbitmq_stats cron job has run.

The cron job is trying to retrieve rabbitmq PIDs from files which are not in the expected location.

Consequently, the mkdir and data collection routines are never fired.

Vivid's rabbitmq version 3.4.3 has different pidfile behavior than the prior rabbitmq versions (3.2.4 et al).

The proposed amulet test was written to wait on the cron job, then check for data. It waited for the cron job, then didn't find data, and raised this red flag as a functional test failure.

To reinforce this, the same test routine passes on Precise-Icehouse, Trusty-Icehouse, Trusty-Juno and Trusty-Kilo -- while it fails on Vivid-Kilo.

Here's how I arrived at all this:

http://paste.ubuntu.com/12196571/