Bug 1469607 - [downstream clone - 4.1.3] rhvm-appliance only partitions 6gb for root partition
Summary: [downstream clone - 4.1.3] rhvm-appliance only partitions 6gb for root partition
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhevm-appliance
Version: 4.1.3
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ovirt-4.1.4
: ---
Assignee: Ryan Barry
QA Contact: Gonza
URL:
Whiteboard:
: 1469606 1571233 (view as bug list)
Depends On: 1467946
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-11 14:33 UTC by rhev-integ
Modified: 2019-04-28 14:05 UTC (History)
15 users (show)

Fixed In Version: rhvm-appliance-20170710.3-1
Doc Type: Bug Fix
Doc Text:
Clone Of: 1467946
Environment:
Last Closed: 2017-07-27 18:04:23 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1817 0 normal SHIPPED_LIVE rhvm-appliance bug fix and enhancement update for RHV 4.1 2017-07-27 21:59:53 UTC
oVirt gerrit 79055 0 master MERGED engine-appliance: make swap partition first 2017-07-11 14:33:59 UTC
oVirt gerrit 79067 0 ovirt-4.1 MERGED engine-appliance: make swap partition first 2017-07-11 14:33:59 UTC
oVirt gerrit 79069 0 ovirt-4.1-pre MERGED engine-appliance: make swap partition first 2017-07-11 14:33:59 UTC
oVirt gerrit 79070 0 ovirt-4.1-snapshot MERGED engine-appliance: make swap partition first 2017-07-11 14:33:59 UTC

Description rhev-integ 2017-07-11 14:33:09 UTC
+++ This bug is a downstream clone. The original bug is: +++
+++   bug 1467946 +++
======================================================================

Description of problem:


Version-Release number of selected component (if applicable):
rhvm-appliance-20170619.0-1.x86_64.rhevm.ova

How reproducible:
Every time.


Steps to Reproduce:
1. use `hosted-engine --deploy` on rhel host
2. use rhvm-appliance-4.1.20170619.0-1.el7.noarch.rpm to deploy manager VM
3. run out of disk space after about a week of logs and postgres data accumulation

Actual results:
anaconda.ks file has following entries for partitioning

[root@cloud ~]# cat anaconda-ks.cfg
...
bootloader --append="console=tty0" --location=mbr --timeout=1
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel 
# Disk partitioning information
part / --fstype="xfs" --ondisk=vda --size=6144
part swap --size=8192
...

[root@cloud ~]# lsblk 
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sr0     11:0    1 1024M  0 rom  
vda    253:0    0   75G  0 disk 
├─vda1 253:1    0    6G  0 part /
└─vda2 253:2    0    8G  0 part [SWAP]


Expected results:
'part /' line should include --grow by default, root partition should use full amount of available space.

Additional info:

(Originally by christopher.s.reynolds)

Comment 1 rhev-integ 2017-07-11 14:33:18 UTC
growth is handled by cloud-utils-growpart

Since swap was added, cloud-utils-growpart will not grow the first partition, since swap abuts it.

These partitions are being reversed, so swap is first.

(Originally by Ryan Barry)

Comment 3 rhev-integ 2017-07-11 14:33:23 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

(Originally by rule-engine)

Comment 5 rhev-integ 2017-07-11 14:33:33 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

(Originally by rule-engine)

Comment 7 rhev-integ 2017-07-11 14:33:43 UTC
Should this be ON_QA? Can you add it to the errata?

(Originally by Yaniv Dary)

Comment 8 rhev-integ 2017-07-11 14:33:48 UTC
No -- it doesn't have 4.1.z+ yet, which is necessary to add it to the errata.

I also can't set the target version for appliance. I'll find someone who can.

(Originally by Ryan Barry)

Comment 9 Ryan Barry 2017-07-11 14:36:44 UTC
*** Bug 1469606 has been marked as a duplicate of this bug. ***

Comment 11 Avital Pinnick 2017-07-13 12:18:51 UTC
Added doc text and set RDT flag to '+'

Comment 12 Gonza 2017-07-18 08:45:35 UTC
Verified with:
rhvm-appliance-20170709.3-1.x86_64.rhevm.ova

# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sr0     11:0    1 1024M  0 rom  
sr1     11:1    1  374K  0 rom  
vda    253:0    0   58G  0 disk 
├─vda1 253:1    0    8G  0 part [SWAP]
└─vda2 253:2    0   50G  0 part /

Comment 13 Avital Pinnick 2017-07-20 13:12:06 UTC
Ryan,

Could you please clarify? Does this bug need doc text?

Comment 14 Ryan Barry 2017-07-20 13:13:27 UTC
No, this is a side effect of adding swap to the appliance. Relevant doc text was there.

Comment 16 errata-xmlrpc 2017-07-27 18:04:23 UTC
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.

https://access.redhat.com/errata/RHEA-2017:1817

Comment 17 Ryan Barry 2018-04-25 12:16:24 UTC
*** Bug 1571233 has been marked as a duplicate of this bug. ***


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