Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-7419

libvirt storage pool goes inactive

    • libvirt-9.9.0-1.el9
    • None
    • Important
    • ZStream
    • rhel-sst-virtualization-storage
    • ssg_virtualization
    • 13
    • 17
    • 3
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Approved Blocker
    • If docs needed, set a value
    • Unspecified
    • 9.7.0
    • None

      Description of problem:
      When configuring a logical storage pool virsh, the storage pool will automatically go into an "inactive" state after a short period of time (5-10 minutes).

      Version-Release number of selected component (if applicable):
      kernel-5.14.0-284.11.1.el9_2.x86_64 Thu Jun 22 07:07:42 2023
      libvirt-9.0.0-10.2.el9_2.x86_64
      lvm2-2.03.17-7.el9.x86_64

      How reproducible:
      100%

      Steps to Reproduce:
      1. install qemu-kvm libvirt virt-install virt-viewer
      2. virsh pool-define-as storage-pool logical --source-dev /dev/sda --target=/dev/storage-pool
      3. virsh pool-build storage-pool
      4 virsh pool-start storage-pool
      5. virsh pool-autostart storage-pool

      Actual results:

      1. date ; virsh pool-list --all
        Tue Aug 1 07:49:35 AM EDT 2023
        Name State Autostart
        -----------------------------------------------------
        storage-pool active yes
      1. date ; virsh pool-list --all
        Tue Aug 1 07:55:03 AM EDT 2023
        Name State Autostart
        -------------------------------------------------------
        storage-pool inactive yes

      Expected results:
      For the storage pool to stay active or autostart if virtstoraged is restarted.

      Additional info:
      It appears that virt*d.service are being restarted
      ~~~
      Aug 1 07:55:03 hostname systemd[1]: Starting Virtualization qemu daemon...
      Aug 1 07:55:03 hostname systemd[1]: Started Virtualization qemu daemon.
      Aug 1 07:55:03 hostname systemd[1]: Starting Virtualization storage daemon...
      Aug 1 07:55:03 hostname systemd[1]: Started Virtualization storage daemon.
      Aug 1 07:55:26 hostname systemd[1]: Starting Virtualization network daemon...
      Aug 1 07:55:26 hostname systemd[1]: Started Virtualization network daemon.
      Aug 1 07:55:27 hostname systemd[1]: Starting Virtualization nwfilter daemon...
      Aug 1 07:55:27 hostname systemd[1]: Started Virtualization nwfilter daemon.
      Aug 1 07:55:27 hostname systemd[1]: Starting Virtualization nodedev daemon...
      Aug 1 07:55:27 hostname systemd[1]: Started Virtualization nodedev daemon.
      Aug 1 07:55:37 hostname systemd[89815]: Starting Virtual filesystem service...
      Aug 1 07:55:37 hostname systemd[89815]: Started Virtual filesystem service.
      ~~~

              pkrempa@redhat.com Peter Krempa
              rhn-support-schandle Samuel Chandler
              Frank Delorey
              Meina Li
              Meina Li Meina Li
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: