Bug 1034395

Summary: make packstack use --small files for mongodb or ask the user
Product: [Community] RDO Reporter: Mohammed Arafa <bugzilla>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED CURRENTRELEASE QA Contact: Ami Jeain <ajeain>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, derekh, dneary, eglynn, jruzicka, lars, ndipanov, pbrady, rbryant, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-25 16:08:05 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 Mohammed Arafa 2013-11-25 18:28:19 UTC
Description of problem:

in Bug 1028690 it was discovered that mongodb requires 3+ GB to install. otherwise the ceilometer install fails.

packstack should either
1) use --smallfiles as the default OR
2) ask the user how much space to use

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Pádraig Brady 2013-12-17 16:10:25 UTC
Yes it makes sense to set this for --allinone demo setups

Comment 2 Eoghan Glynn 2014-01-02 10:45:15 UTC
Agreed that it would be useful to give users the option to use smallfiles for a *fresh* mongodb installation especially in the allinone case, though it would make less sense IMO for a *pre-existing* mongodb install.

The change required would be something along the lines of:

  sed -i '/--smallfiles/!s/OPTIONS=\"/OPTIONS=\"--smallfiles /' /etc/sysconfig/mongod

applied *before* the mongod service is started for the first time.

Re-categorizing to openstack-packstack, as this is where the modification is required.

Comment 5 Martin Magr 2014-01-15 13:23:13 UTC
*** Bug 1036200 has been marked as a duplicate of this bug. ***

Comment 6 Lars Kellogg-Stedman 2015-03-25 16:08:05 UTC
Current packstack releases now set smallfiles => true.