Bug 1376042 - New base layers do not have enough available space for hosted engine setup
Summary: New base layers do not have enough available space for hosted engine setup
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-node
Classification: oVirt
Component: General
Version: 4.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.1.0-beta
: 4.1
Assignee: Ryan Barry
QA Contact: Yihui Zhao
URL:
Whiteboard:
: 1379139 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-14 13:50 UTC by Ryan Barry
Modified: 2020-06-18 11:18 UTC (History)
6 users (show)

Fixed In Version: imgbased-0.9.3-0.1.el7ev
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-01 14:54:00 UTC
oVirt Team: Node
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: planning_ack+
rule-engine: devel_ack+
cshao: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 68563 0 master MERGED update: use the size of the current layer for the new LV 2020-06-18 11:09:59 UTC
oVirt gerrit 70050 0 ovirt-4.1 MERGED update: use the size of the current layer for the new LV 2020-06-18 11:09:59 UTC

Description Ryan Barry 2016-09-14 13:50:48 UTC
Description of problem:
imgbased adds new layers by scaling the size of the new filesystem tree up, but the resulting layers are much smaller than the initial layer after install, which does not leave enough space on the filesystem to install hosted engine.

This presents a problem if users install and immediately "yum -y update", or update then later decide to move to hosted engine

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

How reproducible:
100%

Steps to Reproduce:
1. Install NGN
2. Upgrade NGN
3. Try to install hosted engine

Actual results:
Not enough space (until bug #1347340 is fixed and we can use /var)

Expected results:
New layers should have enough space.

Comment 1 Red Hat Bugzilla Rules Engine 2016-09-14 13:50:53 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 2 Ryan Barry 2016-10-05 12:10:27 UTC
*** Bug 1379139 has been marked as a duplicate of this bug. ***

Comment 3 Fabian Deutsch 2016-12-13 10:17:10 UTC
This should be working in the current release.

However, we should check if the size of the rootfs is the same after initial install and after updates.

Comment 4 Yihui Zhao 2017-01-04 02:30:39 UTC
Can reproduce on RHVH4.0.

Version-Release number of selected component (if applicable):
imgbased-0.8.11-0.1.el7ev.noarch

[root@dell-per730-34 opt]# imgbase layout
rhvh-4.0-0.20161116.0
 +- rhvh-4.0-0.20161116.0+1
rhvh-4.0-0.20161214.0
 +- rhvh-4.0-0.20161214.0+1

[root@dell-per730-34 opt]# imgbase w
[INFO] You are on rhvh-4.0-0.20161214.0+1

[root@dell-per730-34 opt]# rpm -ivh 20161214.0-1.el7ev.4.0.rpm 
Preparing...                          ################################# [100%]
	installing package rhevm-appliance-20161214.0-1.el7ev.noarch needs 381MB on the / filesystem

From the result,install engine-appliance-rpm failed because no space to install.

Additional info:
Before upgrade:

[root@dell-per730-34 ~]# df -h
Filesystem                                                      Size  Used Avail Use% Mounted on
/dev/mapper/rhvh_bootp--73--128--249-rhvh--4.0--0.20161116.0+1  511G  1.4G  509G   1% /
devtmpfs                                                         16G     0   16G   0% /dev
tmpfs                                                            16G  4.0K   16G   1% /dev/shm
tmpfs                                                            16G   18M   16G   1% /run
tmpfs                                                            16G     0   16G   0% /sys/fs/cgroup
/dev/sda1                                                       976M  165M  745M  19% /boot
/dev/mapper/rhvh_bootp--73--128--249-var                         15G   37M   15G   1% /var
tmpfs                                                           3.2G     0  3.2G   0% /run/user/0
[root@dell-per730-34 ~]# 



After upgrade:

[root@dell-per730-34 opt]# df -h
Filesystem                                                      Size  Used Avail Use% Mounted on
/dev/mapper/rhvh_bootp--73--128--249-rhvh--4.0--0.20161214.0+1  4.1G  2.9G  1.2G  71% /
devtmpfs                                                         16G     0   16G   0% /dev
tmpfs                                                            16G  4.0K   16G   1% /dev/shm
tmpfs                                                            16G   18M   16G   1% /run
tmpfs                                                            16G     0   16G   0% /sys/fs/cgroup
/dev/mapper/rhvh_bootp--73--128--249-var                         15G   38M   15G   1% /var
/dev/sda1                                                       976M  226M  684M  25% /boot
tmpfs                                                           3.2G     0  3.2G   0% /run/user/0

Comment 5 Yihui Zhao 2017-01-13 06:36:05 UTC
Cannot reproduce on RHVH4.1(rhvh-4.1-0.20170104.0+1) upgrade to RHVH4.1(rhvh--4.1--0.20170111.0+1) and after upgrade, deploy HE successfully.

Version-Release number of selected component (if applicable):
imgbased-0.9.3-0.1.el7ev.noarch


1. Before upgrade:

[root@dell-per730-34 ~]# imgbase w
[INFO] You are on rhvh-4.1-0.20170104.0+1
[root@dell-per730-34 ~]# imgbase layout
rhvh-4.1-0.20170104.0
 +- rhvh-4.1-0.20170104.0+1
[root@dell-per730-34 ~]# df -h
Filesystem                                                   Size  Used Avail Use% Mounted on
/dev/mapper/rhvh_dell--per730--34-rhvh--4.1--0.20170104.0+1  503G  1.5G  476G   1% /
devtmpfs                                                      16G     0   16G   0% /dev
tmpfs                                                         16G  4.0K   16G   1% /dev/shm
tmpfs                                                         16G   18M   16G   1% /run
tmpfs                                                         16G     0   16G   0% /sys/fs/cgroup
/dev/sda1                                                    976M  164M  745M  19% /boot
/dev/mapper/rhvh_dell--per730--34-var                         15G   45M   14G   1% /var
tmpfs                                                        3.2G     0  3.2G   0% /run/user/0


2.After upgrade:
[root@dell-per730-34 ~]# imgbase layout
rhvh-4.1-0.20170104.0
 +- rhvh-4.1-0.20170104.0+1
rhvh-4.1-0.20170111.0
 +- rhvh-4.1-0.20170111.0+1
[root@dell-per730-34 ~]# df -h
Filesystem                                                   Size  Used Avail Use% Mounted on
/dev/mapper/rhvh_dell--per730--34-rhvh--4.1--0.20170111.0+1  503G  1.5G  476G   1% /
devtmpfs                                                      16G     0   16G   0% /dev
tmpfs                                                         16G  4.0K   16G   1% /dev/shm
tmpfs                                                         16G   18M   16G   1% /run
tmpfs                                                         16G     0   16G   0% /sys/fs/cgroup
/dev/mapper/rhvh_dell--per730--34-var                         15G   45M   14G   1% /var
/dev/sda1                                                    976M  225M  684M  25% /boot
tmpfs                                                        3.2G     0  3.2G   0% /run/user/0


So the bug's status is VERIFIED.


Note You need to log in before you can comment on or make changes to this bug.