Bug 1557328

Summary: Security hardened image doesn't have enough space for /var partition
Product: Red Hat OpenStack Reporter: Yolanda Robla <yroblamo>
Component: openstack-tripleo-image-elementsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED ERRATA QA Contact: Shai Revivo <srevivo>
Severity: high Docs Contact:
Priority: high    
Version: 12.0 (Pike)CC: bfournie, jamsmith, jschluet, jslagle, mburns, mlammon, rhel-osp-director-maint, rhos-maint, sdoran
Target Milestone: z3Keywords: Triaged, ZStream
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-image-elements-7.0.5-1.el7ost openstack-tripleo-common-7.6.13-1.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-20 12:59:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yolanda Robla 2018-03-16 12:38:10 UTC
Description of problem:

The overcloud-secure image was initially deployed with 7G for /var . It was enough for the initial tests, but the added content caused that it needs at least 7.3G
So we need to increase the size to 10G , to have enough space for the initial deploy, and also give more room into that partition

Comment 3 mlammon 2018-07-18 16:52:19 UTC
Install osp12 latest puddle: 2018-07-13.1
Environment:
openstack-tripleo-image-elements-7.0.5-1.el7ost.noarch
openstack-tripleo-common-7.6.13-1.el7ost.noarch

We can see the code updates:
sed -n '27p' /usr/share/tripleo-image-elements/overcloud-secure/block-device-default.yaml
        size: 10G

The DIB images size now at 23.
sed -n '45,48p' /usr/share/openstack-tripleo-common/image-yaml/overcloud-hardened-images.yaml
      DIB_MODPROBE_BLACKLIST: 'usb-storage cramfs freevxfs jffs2 hfs hfsplus squashfs udf vfat bluetooth'
      DIB_BOOTLOADER_DEFAULT_CMDLINE: 'nofb nomodeset vga=normal console=tty0 console=ttyS0,115200 audit=1 nousb'
      DIB_IMAGE_SIZE: '23'
      COMPRESS_IMAGE: '1'

Comment 5 errata-xmlrpc 2018-08-20 12:59:02 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/RHSA-2018:2331