tripleo-common/image-yaml/overcloud-realtime-compute.yaml
David J Peacock aa3bdabc19 Alter default for --min-tmpfs
This patch alters the default for the --min-tmpfs flag increasing the
chances of successful image builds in memory restricted environments.

Increasingly, and especially with increasing support for things like
OVB and other virtual deployments, people are deploying underclouds
in somewhat constrained environments.  A regular image build fails
routinely in an undercloud with <= 12GB RAM.  Unfortunately this is
tricky to nail down as the cause since typically the VM undercloud
locks up solid making debugging difficult or impossible.

Increasing this value means image builds complete successfully by
deferring the ramdisk meaning a happier experience for the operator
and negligible difference in the speed of the image creation.

Secondly, this patch adds consistency to flags by standardizing on
the = character.

Change-Id: I8fcd240b7063b4991404e01c08441fe929ff5e69
2018-01-31 01:48:32 +00:00

36 lines
842 B
YAML

disk_images:
-
imagename: overcloud-realtime-compute
type: qcow2
elements:
- baremetal
- dhcp-all-interfaces
- overcloud-agent
- overcloud-compute
- puppet-modules
- os-net-config
- stable-interface-names
- grub2
- element-manifest
- dynamic-login
- iptables
- enable-packages-install
- pip-and-virtualenv-override
- dracut-regenerate
- remove-machine-id
- realtime-kernel
packages:
- python-psutil
- python-debtcollector
- plotnetcfg
- sos
- ntp
- device-mapper-multipath
- openstack-heat-agents
options:
- "--min-tmpfs=7"
environment:
DIB_PYTHON_VERSION: '2'
DIB_BAREMETAL_KERNEL_PATTERN: 'vmlinuz*.rt*'
DIB_BAREMETAL_INITRD_PATTERN: 'initramfs-*.rt*'