Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Previously, if the desired root filesystem size was larger than the actual root partition during an automated Hypervisor installation, the installation failed without providing useful information as to why in the log file.
Now, if the desired root filesystem is larger than the actual root partition, the installation failure message clearly states that the partition is too small.
Description of problem:
function "check_partition_sizes" provided the following two functions:
1.Check whether "HOSTVGDRIVESPACE" is enough or not for "HOSTVG_NEED_SIZE"
2.Check whether "ROOTDRIVESPACE"" is enough or not for "ROOT_NEED_SIZE"
Try:
1. when configured the ROOT Space > /dev/sdb
/dev/sdb:4G
/dev/sdc:16G
Auto install RHEV-H with "storage_init=/dev/sdb,/dev/sdc storage_vol=2048:4096:4096:2048:2048:2048
Auto install failed, but no valuable information in ovirt.log.try1,
2.when configure the HOSTVG Space > /dev/sdc
/dev/sdb:4G
/dev/sdc:4G
Auto install RHEV-H with "storage_init=/dev/sdb,/dev/sdc storage_vol=:4096::2048:2048:2048"
Auto install failed, can seen valuable information like this in ovirt.log.try2:
2012-10-19 09:59:40,422 - DEBUG - storage - Getting Drive Size For: /dev/sdb
2012-10-19 09:59:40,426 - DEBUG - storage - 3821
2012-10-19 09:59:40,426 - DEBUG - storage - Getting Drive Size For: /dev/sdc
2012-10-19 09:59:40,431 - DEBUG - storage - 3827
2012-10-19 09:59:40,431 - ERROR - storage - The target storage device is too small for the desired sizes:
2012-10-19 09:59:40,431 - ERROR - storage - Disk Target: HOSTVG
2012-10-19 09:59:40,431 - ERROR - storage - Size of target storage device: 3827MB
2012-10-19 09:59:40,431 - ERROR - storage - Total storage size to be used: 10240MB
2012-10-19 09:59:40,431 - ERROR - storage - You need an additional 6413MB of storage.
so that
function "check_partition_sizes" success to check "HOSTVGDRIVESPACE" is enough or not for "HOSTVG_NEED_SIZE"
But function "check_partition_sizes" failed to check "ROOTDRIVESPACE" is enough or not for "ROOT_NEED_SIZE"
Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.4-20121015.1.el6
How reproducible:
100%
Steps to Reproduce:
1.
/dev/sdb:4G
/dev/sdc:16G
Auto install RHEV-H with "storage_init=/dev/sdb,/dev/sdc storage_vol=2048:4096:4096:2048:2048:2048"
2.
/dev/sdb:4G
/dev/sdc:4G
Auto install RHEV-H with "storage_init=/dev/sdb,/dev/sdc storage_vol=:4096::2048:2048:2048"
Actual results:
Using function "check_partition_sizes" failed to check whether "ROOTDRIVESPACE" is enough or not for "ROOT_NEED_SIZE"
Expected results:
Using function "check_partition_sizes" success to check whether "ROOTDRIVESPACE" is enough or not for "ROOT_NEED_SIZE"
Additional info:
----------
Test version:
rhev-hypervisor6-6.4-20121212.1.el6
ovirt-node-2.5.0-11.el6
Tested as follows:
when configured the ROOT Space > /dev/sdb
/dev/sdb:4G
/dev/sdc:16G
Auto install RHEV-H with "storage_init=/dev/sdb,/dev/sdc storage_vol=2048:4096:4096:2048:2048:2048
Auto install failed, can seen valuable information like this:
ERROR:ovirtnode.storage:The target storage device is too small for the desired sizes:
ERROR:ovirtnode.storage: Disk Target: Root
ERROR:ovirtnode.storage: Size of target storage device: 3821 MB
ERROR:ovirtnode.storage: Total storage size to be used: 8192 MB
ERROR:ovirtnode.storage: You need an additional 4371 MB of storage.
so this bug has been fixed, change the status into "VERIFIED"
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.
http://rhn.redhat.com/errata/RHBA-2013-0556.html