no swap space for puppet deploys of overcloud-full

Bug #1491335 reported by Marios Andreou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Marios Andreou

Bug Description

I am not sure yet if https://bugs.launchpad.net/tripleo/+bug/1464239 is related, but when deploying overcloud-full for puppet elements based deploy you don't get swap space. Even when you deploy with a flavor that has swap, it isn't enabled.

As discussed at https://bugzilla.redhat.com/show_bug.cgi?id=1245714 we should set the nova ram_allocation_ratio to reflect reality like '1.0'. This is done @ https://review.openstack.org/#/c/218944/

The swap space can be enabled right now by running swapon in a first boot script, like https://review.openstack.org/#/c/217796/ (and using a flavor that has swap defined).

Changed in tripleo:
status: New → In Progress
assignee: nobody → Marios Andreou (marios-b)
Derek Higgins (derekh)
Changed in tripleo:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/218944
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=3e5df29f46c7ced2cbd396b3c746652769bbfcb9
Submitter: Jenkins
Branch: master

commit 3e5df29f46c7ced2cbd396b3c746652769bbfcb9
Author: Emilien Macchi <email address hidden>
Date: Mon Aug 31 12:35:20 2015 -0400

    Set the nova scheduler ram_allocation_ration to 1.0

    We don't have swap space enabled on overcloud-full deploys
    as discussed at https://bugs.launchpad.net/tripleo/+bug/1491335

    The default is 1.5 so configure Virtual ram to physical ram
    allocation ratio to 1:1 so we don't allow overcommit.

    Related-Bug: 1491335
    Change-Id: I58cfe6dc68e8615a5519428412dec8c653bd6093

Revision history for this message
Steven Hardy (shardy) wrote :

https://review.openstack.org/#/c/289084/ shows how to enable swap and it landed, so I'm closing this fix released

Changed in tripleo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.