Bug 1293408

Summary: Overcloud nodes are created without swap space
Product: Red Hat OpenStack Reporter: Dan Yocum <dyocum>
Component: openstack-tripleo-heat-templatesAssignee: Hugh Brock <hbrock>
Status: CLOSED ERRATA QA Contact: Raviv Bar-Tal <rbartal>
Severity: high Docs Contact:
Priority: medium    
Version: 7.0 (Kilo)CC: aschultz, dyocum, ipetrova, jcoufal, jschluet, mburns, pablo.iranzo, rbartal, rhel-osp-director-maint
Target Milestone: betaKeywords: Triaged
Target Release: 11.0 (Ocata)   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-6.0.0-1.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-17 19:25:42 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 Dan Yocum 2015-12-21 17:11:49 UTC
Description of problem:
overcloud compute nodes are created w/o swap space

Version-Release number of selected component (if applicable):
7.1

How reproducible:
every

Steps to Reproduce:
1. deploy overcloud
2. no swap
3.

Actual results:
no swap

Expected results:
a "reasonable" amount of swap created

Additional info:

Comment 3 Mike Burns 2016-04-07 21:00:12 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.

Comment 5 Alex Schultz 2017-02-06 23:58:15 UTC
As of 10, we support the ability to deploy with swap. (Was fixed in Bug 1415103)

1. Prepare for swap.yaml.
$ cat swap.yaml
resource_registry:
  OS::TripleO::AllNodesExtraConfig: extraconfig/all_nodes/swap.yaml
parameter_defaults:
  swap_size_megabytes: '2048'
  swap_path: '/swap'

2. Deploy with the swap.yaml.
openstack overcloud deploy -e swap.yaml


Additionally, we will be providing a basic out of the box environment file for either swap files or swap partitions in openstack-tripleo-heat-templates such that a user can just add '-e /usr/share/openstack-tripleo-heat-templates/environments/enable-swap.yaml' or '-e /usr/share/openstack-tripleo-heat-templates/environments/enable-swap-partition.yaml'

Comment 6 Irina Petrova 2017-02-21 09:52:27 UTC
*** Bug 1425164 has been marked as a duplicate of this bug. ***

Comment 10 errata-xmlrpc 2017-05-17 19:25:42 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:1245