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.
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.
*** Bug 1379139 has been marked as a duplicate of this bug. ***
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.
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
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.