https://bugzilla.wikimedia.org/show_bug.cgi?id=68260

Antoine "hashar" Musso <has...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|PATCH_TO_REVIEW             |NEW

--- Comment #2 from Antoine "hashar" Musso <has...@free.fr> ---
The problem is that the elasticsearch package creates /var/lib/elasticsearch
and populate it with some contents.  On labs,  /var/ is quite small, so we have
to mount some extra disk space on /mnt/ and then link /var/lib/elasticsearch to
/mnt/elasticsearch.

Since the elasticsearch package is installed before the mount and symlink are
realized, puppet bails out because /var/lib/elasticsearch is already there.

The require => statements in puppet should not let that happens.  The manual
workaround would be:

- remove elasticsearch package : dpkg --purge elastic search
- delete the directory:  rm -fR /var/lib/elasticsearch

Make sure /mnt is a lvm mount of the instance extra disk.

Re run puppet.



If that fails, I am willing to fix it up / figure out what is wrong in puppet
definition. Would just need the instance name :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to