Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-19643

Support LVM backed storage pool on Libvirt compute resource from Satellite GUI.

XMLWordPrintable

      Description of problem:

      Hypervisors running 8.6 produce the following error when trying to create/deploy a new guest from the Satellite GUI:
      Failed to create a compute Libvirtd (Libvirt) instance client.example.com: Call to virDomainCreateWithFlags failed: internal error: process exited while connecting to monitor: 2022-12-20T20:43:39.832556Z qemu-kvm: -blockdev

      {"driver":"file","filename":"/dev/samsung/client","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}

      : 'file' driver requires '/dev/samsung/client' to be a regular file

      Version-Release number of selected component (if applicable):

      6.11.z and 6.12.z

      How reproducible:

      100%

      Steps to Reproduce:
      1. Add libvirt as a compute resource in satellite. (PXE is configured with all the required details)
      2. Create a compute profile, in the Storage section, add LVM backed storage pool
      3. Create a host to deploy and it failed with the below error:-

      Actual results:

      Call to virDomainCreateWithFlags failed: internal error: process exited while connecting to monitor: 2022-12-20T20:43:39.832556Z qemu-kvm: -blockdev

      {"driver":"file","filename":"/dev/samsung/client","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}

      : 'file' driver requires '/dev/samsung/client' to be a regular file

      Expected results:

      The satellite should deploy without any issues.

      Additional info:

      KVM hypervisors running releases prior to RHEL 8.6 work as expected.

      Storage pool info:-

      virsh pool-dumpxml pool-1
      <pool type='logical'>
      <name>pool-1</name>
      <uuid>2c6e2672-6505-412a-8259-c38c54daad92</uuid>
      <capacity unit='bytes'>500074283008</capacity>
      <allocation unit='bytes'>500074283008</allocation>
      <available unit='bytes'>0</available>
      <source>
      <name>samsung</name>
      <format type='lvm2'/>
      </source>
      <target>
      <path>/dev/samsung</path>
      </target>
      </pool>

            jira-bugzilla-migration RH Bugzilla Integration
            rhn-support-sadas Satyajit Das
            RH Bugzilla Integration RH Bugzilla Integration
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: