Uploaded image for project: 'RHEL Testing'
  1. RHEL Testing
  2. RHELTEST-628

Storage - lvm thinp stqe test - Activation of logical volume testvg/pool is prohibited while logical volume testvg/pool_tmeta is active

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • rhel-sst-storage-management

      ################################################################################
      INFO: Starting Thin Provisioning Mirror test
      ################################################################################
      INFO: Creating loop device /var/tmp/loop0.img with size 128
      INFO: Creating file /var/tmp/loop0.img
      INFO: [2024-12-18 17:57:01] Running: 'fallocate -l 128M /var/tmp/loop0.img'...
      
      INFO: [2024-12-18 17:57:01] Running: 'losetup /dev/loop0 /var/tmp/loop0.img'...
      
      INFO: Creating loop device /var/tmp/loop1.img with size 128
      INFO: Creating file /var/tmp/loop1.img
      INFO: [2024-12-18 17:57:01] Running: 'fallocate -l 128M /var/tmp/loop1.img'...
      
      INFO: [2024-12-18 17:57:01] Running: 'losetup /dev/loop1 /var/tmp/loop1.img'...
      
      INFO: Creating loop device /var/tmp/loop2.img with size 128
      INFO: Creating file /var/tmp/loop2.img
      INFO: [2024-12-18 17:57:01] Running: 'fallocate -l 128M /var/tmp/loop2.img'...
      
      INFO: [2024-12-18 17:57:01] Running: 'losetup /dev/loop2 /var/tmp/loop2.img'...
      
      INFO: Creating loop device /var/tmp/loop3.img with size 128
      INFO: Creating file /var/tmp/loop3.img
      INFO: [2024-12-18 17:57:01] Running: 'fallocate -l 128M /var/tmp/loop3.img'...
      
      INFO: [2024-12-18 17:57:01] Running: 'losetup /dev/loop3 /var/tmp/loop3.img'...
      
      INFO: [2024-12-18 17:57:01] Running: 'vgcreate --force testvg  /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3'...
        Physical volume "/dev/loop0" successfully created.
        Physical volume "/dev/loop1" successfully created.
        Physical volume "/dev/loop2" successfully created.
        Physical volume "/dev/loop3" successfully created.
        Volume group "testvg" successfully created
      INFO: [2024-12-18 17:57:01] Running: 'lvcreate -L4M --thin testvg/pool'...
        Thin pool volume with chunk size 64.00 KiB can address at most <15.88 TiB of data.
        Logical volume "pool" created.
      PASS: lvcreate -L4M --thin testvg/pool
      PASS: testvg/[pool_tdata] stripes == 1
      INFO: [2024-12-18 17:57:02] Running: 'lvchange -an testvg/pool'...
      
      PASS: lvchange -an testvg/pool
      INFO: [2024-12-18 17:57:03] Running: 'lvconvert --type raid1 --mirrors 3 --yes testvg/pool_tdata'...
        testvg/pool_tdata must be active to perform this operation.
      PASS: lvconvert --type raid1 --mirrors 3 --yes testvg/pool_tdata [exited with error, as expected]
      INFO: [2024-12-18 17:57:04] Running: 'lvchange -ay testvg/pool'...
        Activation of logical volume testvg/pool is prohibited while logical volume testvg/pool_tmeta is active.
      ERROR: lvchange -ay testvg/pool
      INFO: [2024-12-18 17:57:04] Running: 'lvconvert --type raid1 --mirrors 3 --yes testvg/pool_tdata'...
        Logical volume testvg/pool_tdata successfully converted.
      PASS: lvconvert --type raid1 --mirrors 3 --yes testvg/pool_tdata
      INFO: [2024-12-18 17:57:10] Running: 'lvconvert --type raid1 -m 1 --yes testvg/pool_tmeta'...
        Logical volume testvg/pool_tmeta successfully converted.
      PASS: lvconvert --type raid1 -m 1 --yes testvg/pool_tmeta
      INFO: [2024-12-18 17:57:12] Running: 'lvchange -ay testvg/pool'...

       

      test logs: https://datawarehouse.cki-project.org/kcidb/tests/15810188

      issue tracker: https://datawarehouse.cki-project.org/issue/3369

              rhn-support-fsuba Filip Suba
              bgoncalv@redhat.com Bruno Goncalves
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: