RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1034395 - make packstack use --small files for mongodb or ask the user
Summary: make packstack use --small files for mongodb or ask the user
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Martin Magr
QA Contact: Ami Jeain
URL:
Whiteboard:
: 1036200 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-25 18:28 UTC by Mohammed Arafa
Modified: 2015-03-25 16:08 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-25 16:08:05 UTC
Embargoed:


Attachments (Terms of Use)

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.


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