Uploaded image for project: 'OpenVZ'
  1. OpenVZ
  2. OVZ-6531

vzctl 4.9.4-1 mess container layout on debian wheezy

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Fix Version/s: OpenVZ-legacy
    • Component/s: Containers::Userspace
    • Security Level: Public
    • Environment:
      OS: Debian Wheezy 7.9 amd64
      kernel: 2.6.32-openvz-042stab108.8-amd64
      vzctl: 4.9.4-1
      ploop: 1.13.2-1

      Description

      >Description of problem:

      After installation of vzctl 4.9.4-1 on Debian Wheezy ploop snaphosts not working any more.

      >How reproducible:

      Always

      >Steps to Reproduce:
      1. Install vzctl 4.9.1-1

      2. Set VE_LAYOUT=simfs in /etc/vz/vz.conf

      3. Create container with ploop layout:
      # vzctl create 1000 --ostemplate debian-7.0-minimal --config vswap-2g --layout ploop --diskspace 10g

      4. Check ploop support
      # vzlist -o ctid,layout
      1000 ploop
      # vzctl snapshot-list 1000

      5. Install vzctl 4.9.4-1
      5. Recheck ploop support
      # vzlist -o ctid,layout
      1000 simfs
      # vzctl snapshot-list 1000
      Snapshot feature is only available for ploop-based CTs


      >Actual results:

      # vzctl snapshot-list 1000
      Snapshot feature is only available for ploop-based CTs

      >Expected results:
      Snapshots should work after vzctl upgrade.

      >Host OS:
      Debian Wheezy 7.9 amd64

      >Guest OS:
      Debian Wheezy 7.9 amd64

      Problem exists due to added option in /etc/vz/conf/1000.conf during vzctl upgrade:
      # Upgrade Thu Sep 10 12:01:51 MSK 2015: Securing CT config by adding VE_LAYOUT=simfs
      VE_LAYOUT=simfs

        Attachments

          Activity

            People

            Assignee:
            dim Dmitry Mishin
            Reporter:
            tataranovich Andrey Tataranovich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: