Red Hat Bugzilla – Bug 1055588
Use libosinfo for improved OS metadata (minimum disk size, ram, ...)
Last modified: 2015-03-05 05:03:16 EST
Could reproduce it on latest RHEL7 with virt-manager-0.10.0-16.el7.noarch.
Steps to Reproduce:
1. Create a VM for vista select OS type as "Windows" and version as"Microsoft Windows vista",forward to create a disk image.
2. the default disk image is 8G,but vista install needs at least 15G,if we create VM with the default setting,install will fail
I can reproduce with:
1. open virt-manager
2. Click "Create a new virtual machine"
3. In step 2, choose os type and version
os type: windows
version: Microsoft windows vista
4. in step 4, check the default disk size.
The default size is 40G
I test with win8 and win7 too, the default size is also 8G, it's not enough for the installation.
As the result, I think should update other os metadata
So, set ASSIGNED.
please create a new bug and assign it to libosinfo. This kind of problems should now be reported to libosinfo and not to virt-manager as libosinfo is the owner of the OS database.
virt-manager is only responsible for reading correctly this information from libosinfo, you can check if it is correct by looking at the file /usr/share/libosinfo/db/oses/windows.xml
(In reply to Giuseppe Scrivano from comment #6)
> please create a new bug and assign it to libosinfo. This kind of problems
> should now be reported to libosinfo and not to virt-manager as libosinfo is
> the owner of the OS database.
> virt-manager is only responsible for reading correctly this information from
> libosinfo, you can check if it is correct by looking at the file
I check the file, but the storage is not the default size in virt-manager:
# cat /usr/share/libosinfo/db/oses/windows.xml
As the result win8 storage need 16G for win8 and 20G for x86_64.
But in virt-manager the default is still 8G for win8.
Do you think it's still a problem for libosinfo?
virt-manager reads the "recommended" resources block and win8 misses this information. I'll propose a change in virt-manager to consider the "minimum" information where the "recommended" is missing.
I've proposed a patch upstream to consider "minimum" resources when "recommended" is missing:
I re-test with :
Steps are same with comment 5.
virt-manager reads the recommended default.
If the recommended is missing, the value is double of the minimum,
test with win2k3r2, win2k3, win7, win8 and win8.1
Also test rhel7 and rhel6, default value is same with usr/share/libosinfo/db/oses/rhel.xml.
As this result, move to verify.
*** Bug 1165147 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.