Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1769159

Summary: [RFE] Make temporary /var/tmp location configurable when upgrading to WiredTiger.
Product: Red Hat Satellite Reporter: gtaylor
Component: InstallationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Devendra Singh <desingh>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.6.0CC: bkearney, wpinheir, zhunting
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-08 15:37:08 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 gtaylor 2019-11-06 01:43:18 UTC
Description of problem:
During an upgrade of MongoDB from mmapv1 to WiredTiger, if /var/tmp is not big enough the only option to work around it is to modify ruby files

/usr/share/foreman-installer/katello/hooks/pre_validations/30-mongo_storage_engine.rb 

/usr/share/katello-installer-base/hooks/pre/31-mongo_storage_engine.rb

and change the location.   This request is to make the location change user-configurable/user-friendly with an install-time option. 

Version-Release number of selected component (if applicable):
satellite-6.6.0-7.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create a /var/tmp smaller than the MongoDB size
2. satellite-installer --upgrade-mongo-storage-engine

Actual results:
"Starting disk space check for upgrade
There is not enough free space 5432704, the size of MongoDB database is 18056516, please add additional space to /var/tmp and try again, exiting."


Expected results:
Give users an option to specify an alternate location for temporary space. 

Additional info:
MongoDB compact had been done already.