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

Bryan Davis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            Summary|can not create /srv/vagrant |Exec['migrate legacy
                   |                            |files'] failing repeatedly
                   |                            |when both /mnt/vagrant and
                   |                            |/srv/vagrant are present

--- Comment #2 from Bryan Davis <[email protected]> ---
This is caused by a partial/failed migration of files from the legacy
/mnt/vagrant install location to the new /srv/vagrant location. The instances
are now in a partially migrated state which the puppet provisioning scripts are
not equipped to correct. Renaming /mnt/vagrant will stop puppet from attempting
further migrations.

If the instances are working as expected, the /mnt/vagrant directory and its
contents can be removed entirely. If not, a manual migration from the old
location to the new location may be attempted:

  /bin/mkdir "/srv/vagrant" &&
  (cd "/mnt/vagrant"; /bin/tar cf - .) |
  (cd "/srv/vagrant"; /bin/tar xf -) &&
  /bin/rm -rf "/mnt/vagrant"

This is the script that puppet itself is attempting to execute. The presence of
/mnt/vagrant following a puppet run indicates that this command pipeline is
failing for some reason. Without logging output from the failed run I can only
speculate as to the cause of the failure.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to