Bug 713067

Summary: "service pulp-server init" cannot find pulp-migrate when running from dev environment
Product: [Retired] Pulp Reporter: Nick Coghlan <ncoghlan>
Component: documentationAssignee: Jay Dobies <jason.dobies>
Status: CLOSED WONTFIX QA Contact: Preethi Thomas <pthomas>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: skarmark
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-18 06:18:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Nick Coghlan 2011-06-14 07:08:16 UTC
Description of problem:

"service pulp-server init" looks for /usr/bin/pulp-migrate to handle database changes. When running from a dev checkout, this file isn't present, so no migration occurs.

How reproducible: Always

Steps to Reproduce:
1. Check Pulp out from git repo
2. Run "sudo ./pulp-dev.py --install"
3. Run "sudo service pulp-server init"
  
Actual results:

Initialisation complains about missing pulp-migrate file

Expected results:

Either:
1. Database migration script run successfully (due to pulp-dev adding the appropriate symlink); or
2. A note on http://pulpproject.org/ug/UGDevelopment.html stating that it may be necessary to run pulp-migrate manually after updates when database migration is needed.