Comment 19 for bug 1537699

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-agent (stable/8.0)

Reviewed: https://review.openstack.org/318467
Committed: https://git.openstack.org/cgit/openstack/fuel-agent/commit/?id=21048016a7081c1167e71b52324be8524f295877
Submitter: Jenkins
Branch: stable/8.0

commit 21048016a7081c1167e71b52324be8524f295877
Author: Vladimir Kozhukalov <email address hidden>
Date: Thu Sep 17 02:24:07 2015 +0300

    Move files from mount points to actual file systems

    The thing is that sometimes we have file system images and mount
    point hierachies which are not aligned. Let's say, we have root
    file system image, while partition scheme says that two file
    systems should be created on the node: / and /var. In this case
    root image has /var directory with a set of files. Obviously, we
    need to move all these files from /var directory on the root
    file system to /var file system because /var directory will be
    used as mount point.
    In order to achieve this we mount all existent file systems into
    a flat set of temporary directories. We then try to find
    specific paths which correspond to mount points and move all
    files from these paths to corresponding file systems.

    Co-Authored-By: Alexey Stupnikov <email address hidden>

    Change-Id: I1aa7523055ac4bcf6f8a93e9740ccf652ed35cc1
    Closes-Bug: #1537699
    (cherry picked from commit 5809a3fea96b76386ddc4ccd367c21c00aa8337d)