Bug 860282

Summary: heat systemd service scripts contain wrong User
Product: [Fedora] Fedora Reporter: Steven Hardy <shardy>
Component: heatAssignee: Angus Salkeld <asalkeld>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 18CC: asalkeld, imain, jpeeler, sdake, tomas
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: 2012-09-25 14:47:33 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 Steven Hardy 2012-09-25 13:16:42 UTC
Description of problem:

The systemd scripts (/lib/systemd/system/heat*.service) contain user "heat", but the RPM creates a user "openstack-heat", which means the services will not start via systemctl

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

heat-6-2.fc18.noarch

How reproducible:
Always

Steps to Reproduce:
1. Install heat-6-2.fc18.noarch (tested on F18 alpha)
2. systemctl start heat-engine.service
  
Actual results:
Service start fails

Expected results:
Service start does not fail

Additional info:

Workaround is:
cd /lib/systemd/system
for f in heat*.service; do sed -i "s/^User=heat/User=openstack-heat/" $f; done

Comment 1 Jeff Peeler 2012-09-25 14:47:33 UTC
Fixed in heat-6-3.fc18.noarch, http://koji.fedoraproject.org/koji/taskinfo?taskID=4524671