Bug 670888

Summary: Mongo on RHEL doesn't create /var/lib/mongodb
Product: [Retired] Pulp Reporter: Jay Dobies <jason.dobies>
Component: z_otherAssignee: Jason Connor <jconnor>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: mmccune
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 12:06:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 647488    

Description Jay Dobies 2011-01-19 15:40:56 UTC
Without it, mongo doesn't work.

As a workaround, we want to add in the directory create and chown to mongo in the pulp-server init script.

Comment 1 Jay Dobies 2011-01-19 15:42:05 UTC
commit	74da05db9045c1480cdf170a97f1ffc9c295a14a
tree	0c1be7892750c384d513ca79c172525bc28c19aa


added mongodb dir creation to the pulp-server init command


etc/rc.d/init.d/pulp-server
pulp-dev.py

Comment 2 Jay Dobies 2011-01-21 19:18:46 UTC
Fixed in 0.130.

Comment 3 Preethi Thomas 2011-02-04 16:35:20 UTC
verified
[root@unused etc]# rpm -q pulp
pulp-0.0.134-1

[root@unused yum.repos.d]# service pulp-server restart
Stopping httpd:                                            [FAILED]
Stopping Qpid AMQP daemon:                                 [  OK  ]
Stopping mongod:                                           [  OK  ]
Starting mongod:                                           [  OK  ]
Starting Qpid AMQP daemon:                                 [  OK  ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 10.16.79.196 for ServerName
                                                           [  OK  ]



[root@unused etc]# ls -l /var/lib/mongodb/
total 213232
-rw------- 1 mongodb mongodb  67108864 Feb  4 10:38 _database.0
-rw------- 1 mongodb mongodb 134217728 Feb  4 10:38 _database.1
-rw------- 1 mongodb mongodb  16777216 Feb  4 10:38 _database.ns
-rwxr-xr-x 1 mongodb mongodb         6 Feb  4 10:38 mongod.lock

Comment 4 Preethi Thomas 2011-08-16 12:06:38 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 5 Preethi Thomas 2011-08-16 12:20:40 UTC
Closing with Community Release 15

pulp-0.0.223-4.