LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 03-08-2021, 10:01 PM   #1
Papa_Thiele
LQ Newbie
 
Registered: Aug 2012
Location: Colorado
Distribution: Ubuntu Mate 18.04.5 LTS (Bionic Beaver)
Posts: 5

Rep: Reputation: Disabled
Trying to create a VM. ERROR unsupported configuration


I am running RHEL 8.3 on a Lenovo Flex 3 laptop. I am using it as a learning/test server as I work towards my RHCSA. When trying to create a RHEL 8.3 VM (As the practice exa,s requests), I get the following error "
Code:
ERROR    unsupported configuration: 'directory' storage format is not directly supported by QEMU, use 'dir' disk type instead
Code:
[root@red8 ~]# lscpu
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  2
Core(s) per socket:  2
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               78
Model name:          Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
Stepping:            3
CPU MHz:             2760.460
CPU max MHz:         2800.0000
CPU min MHz:         400.0000
BogoMIPS:            4800.00
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            3072K
NUMA node0 CPU(s):   0-3
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d



[root@red8 ~]# uname -a
Linux red8 4.18.0-240.15.1.el8_3.x86_64 #1 SMP Wed Feb 3 03:12:15 EST 2021 x86_64 x86_64 x86_64 GNU/Linux

[root@red8 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.3 (Ootpa)



[root@red8 ~]# free -h
              total        used        free      shared  buff/cache   available
Mem:          7.4Gi       2.2Gi       437Mi       328Mi       4.8Gi       4.6Gi
Swap:          31Gi        16Mi        31Gi



[root@red8 ~]# lvs
  LV   VG   Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  home rhel -wi-ao---- 100.00g                                                    
  root rhel -wi-ao---- 250.00g                                                    
  swap rhel -wi-ao----  32.00g                                                    
[root@red8 ~]# vgs
  VG   #PV #LV #SN Attr   VSize   VFree
  rhel   1   3   0 wz--n- 382.00g 4.00m
[root@red8 ~]# pvs
  PV         VG   Fmt  Attr PSize   PFree
  /dev/sda3  rhel lvm2 a--  382.00g 4.00m



[root@red8 ~]# df -h
Filesystem             Size  Used Avail Use% Mounted on
devtmpfs               3.7G     0  3.7G   0% /dev
tmpfs                  3.7G   46M  3.7G   2% /dev/shm
tmpfs                  3.7G   18M  3.7G   1% /run
tmpfs                  3.7G     0  3.7G   0% /sys/fs/cgroup
/dev/mapper/rhel-root  250G   18G  233G   8% /
/dev/sda2              3.0G  340M  2.7G  12% /boot
/dev/sda1              749M  6.9M  742M   1% /boot/efi
/dev/mapper/rhel-home  100G  825M  100G   1% /home
tmpfs                  757M  1.2M  756M   1% /run/user/42
tmpfs                  757M  4.6M  752M   1% /run/user/1000
tmpfs                  757M     0  757M   0% /run/user/0

[root@red8 ~]# uname -a
Linux red8 4.18.0-240.15.1.el8_3.x86_64 #1 SMP Wed Feb 3 03:12:15 EST 2021 x86_64 x86_64 x86_64 GNU/Linux

[root@red8 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.3 (Ootpa)



[root@red8 ~]# virt-host-validate
  QEMU: Checking for hardware virtualization                                 : PASS
  QEMU: Checking if device /dev/kvm exists                                   : PASS
  QEMU: Checking if device /dev/kvm is accessible                            : PASS
  QEMU: Checking if device /dev/vhost-net exists                             : PASS
  QEMU: Checking if device /dev/net/tun exists                               : PASS
  QEMU: Checking for cgroup 'cpu' controller support                         : PASS
  QEMU: Checking for cgroup 'cpuacct' controller support                     : PASS
  QEMU: Checking for cgroup 'cpuset' controller support                      : PASS
  QEMU: Checking for cgroup 'memory' controller support                      : PASS
  QEMU: Checking for cgroup 'devices' controller support                     : PASS
  QEMU: Checking for cgroup 'blkio' controller support                       : PASS
  QEMU: Checking for device assignment IOMMU support                         : WARN (No ACPI DMAR table found, IOMMU either disabled in BIOS or not supported by this hardware platform)
  QEMU: Checking for secure guest support                                    : WARN (Unknown if this platform has Secure Guest support)



[root@red8 ~]# virt-install --name test --memory 2048 --vcpus=2 --disk size=20 --disk size=20 --os-variant rhel8.3 --cdrom ./
WARNING  Graphics requested but DISPLAY is not set. Not running virt-viewer.
WARNING  No console to launch for the guest, defaulting to --wait -1

Starting install...
Allocating 'test.qcow2'                                                                                                                                 |  20 GB  00:00:03     
Allocating 'test-1.qcow2'                                                                                                                               |  20 GB  00:00:03     
ERROR    unsupported configuration: 'directory' storage format is not directly supported by QEMU, use 'dir' disk type instead
Removing disk 'test.qcow2'                                                                                                                              |    0 B  00:00:00     
Removing disk 'test-1.qcow2'                                                                                                                            |    0 B  00:00:00     
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start test
otherwise, please restart your installation.



[root@red8 ~]# cat /etc/libvirt/storage/*
cat: /etc/libvirt/storage/autostart: Is a directory
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  virsh pool-edit default
or other application using the libvirt API.
-->

<pool type='dir'>
  <name>default</name>
  <uuid>3418458b-f100-4562-a620-730f83cac493</uuid>
  <capacity unit='bytes'>0</capacity>
  <allocation unit='bytes'>0</allocation>
  <available unit='bytes'>0</available>
  <source>
  </source>
  <target>
    <path>/var/lib/libvirt/images</path>
  </target>
</pool>
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  virsh pool-edit dirpool
or other application using the libvirt API.
-->

<pool type='dir'>
  <name>dirpool</name>
  <uuid>ed52517b-3e02-408c-80f2-d0a3f2d89f44</uuid>
  <capacity unit='bytes'>0</capacity>
  <allocation unit='bytes'>0</allocation>
  <available unit='bytes'>0</available>
  <source>
  </source>
  <target>
    <path>/</path>
  </target>
</pool>
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  virsh pool-edit libvirt
or other application using the libvirt API.
-->

<pool type='dir'>
  <name>libvirt</name>
  <uuid>12053723-71da-4322-84c1-1d42fc60928c</uuid>
  <capacity unit='bytes'>0</capacity>
  <allocation unit='bytes'>0</allocation>
  <available unit='bytes'>0</available>
  <source>
  </source>
  <target>
    <path>/var/lib/libvirt</path>
  </target>
</pool>

Last edited by Papa_Thiele; 03-08-2021 at 10:11 PM. Reason: fixed formatting
 
Old 03-08-2021, 10:03 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,329
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Please surround any terminal output with "code" tags which become available when you click the "Advanced" button beneath the compose/edit post window. It makes terminal output much easier to read.
 
Old 03-08-2021, 10:13 PM   #3
Papa_Thiele
LQ Newbie
 
Registered: Aug 2012
Location: Colorado
Distribution: Ubuntu Mate 18.04.5 LTS (Bionic Beaver)
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
Please surround any terminal output with "code" tags which become available when you click the "Advanced" button beneath the compose/edit post window. It makes terminal output much easier to read.
Thanks for the tip. I don't post here often, so I am ignorant of the expectations.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"You appear to be trying to install on an unsupported OS. See Release Notes for supported platforms. ch.nagaraju111 Linux - Software 13 11-03-2012 08:06 AM
"You appear to be trying to install on an unsupported OS. See Release Notes for suppo ch.nagaraju111 Linux - Newbie 1 11-01-2012 01:55 AM
Trying to convert mp4 animation to dvd video with ffmpeg, unsupported codec? newtovanilla Linux - Newbie 4 12-29-2008 12:10 PM
Problems With startx (depth unsupported and unusable configuration errors) Ozlin Linux - Software 3 12-05-2004 04:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 02:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration