Bug 1293408 - Overcloud nodes are created without swap space
Summary: Overcloud nodes are created without swap space
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 7.0 (Kilo)
Hardware: All
OS: All
Target Milestone: beta
: 11.0 (Ocata)
Assignee: Hugh Brock
QA Contact: Raviv Bar-Tal
: 1425164 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2015-12-21 17:11 UTC by Dan Yocum
Modified: 2020-04-15 14:19 UTC (History)
9 users (show)

Fixed In Version: openstack-tripleo-heat-templates-6.0.0-1.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2017-05-17 19:25:42 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
OpenStack gerrit 418273 0 None MERGED Fix for AllNodesExtraConfig and fix environment files to create swap files/partitions 2020-10-01 10:59:05 UTC
Red Hat Knowledge Base (Solution) 2148341 0 None None None 2018-03-06 10:52:13 UTC
Red Hat Product Errata RHEA-2017:1245 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 11.0 Bug Fix and Enhancement Advisory 2017-05-17 23:01:50 UTC

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):

How reproducible:

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

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
  OS::TripleO::AllNodesExtraConfig: extraconfig/all_nodes/swap.yaml
  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.


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