Bug 1435421

Summary: [RFE] Add a warning and override requirement for installations with default partition schemes
Product: Red Hat Satellite Reporter: Craig Donnelly <cdonnell>
Component: InstallationAssignee: Chris Roberts <chrobert>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.8CC: bbuckingham, bkearney, chrobert, jcallaha, mhrivnak, stbenjam
Target Milestone: UnspecifiedKeywords: FutureFeature, PrioBumpGSS, Triaged
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: 2017-09-15 20:53:00 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 Craig Donnelly 2017-03-23 18:21:55 UTC
Description of problem:

Currently, we do not have a way to prevent a user of Satellite 6 from filling up their partitions with database or pulp data, and we do not enforce explicit partitioning schemes to help prevent issues with bleed-over of over-syncing causing a user to fill up a partition which results in database corruption.

Proposal is to implement a a override-able warning into the installer that prevents initial run of the installer when items for postgres, mongo, and pulp are all found to be under the same partition with no division (i.e. /var).

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

How reproducible:
100%

Steps to Reproduce:
1. You can install with any partition scheme.
2. You can fill up /var with data from pulp and corrupt your database content.

Actual results:
Caseload resulting from unknowingly breaking Satellite due to space issues

Expected results:
We should warn users of a best practice scenario and make them acknowledge that they are at risk for corrupting their data because of a non-divided partitioning scheme.

Additional info:
Related to RHBZ 1435420

Comment 1 Michael Hrivnak 2017-03-23 19:26:34 UTC
Related side-note I've mentioned before, and will remind here: /var/lib/pulp and /var/cache/pulp should be on the same filesystem for single-machine deployments of Pulp, which of course includes Satellite. Having them on different filesystems will cause some tasks to take more time. We should make sure all Satellite deployments have them on the same filesystem.

Comment 2 Stephen Benjamin 2017-03-30 17:32:41 UTC
Created redmine issue http://projects.theforeman.org/issues/19098 from this bug

Comment 3 Chris Roberts 2017-09-15 20:53:00 UTC

*** This bug has been marked as a duplicate of bug 1490460 ***