RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1316169 - openstack-barbican-api missing pid dir or wrong pid file specified
Summary: openstack-barbican-api missing pid dir or wrong pid file specified
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: distribution
Version: trunk
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
: trunk
Assignee: Alfredo Moralejo
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-09 14:58 UTC by Attila Fazekas
Modified: 2016-09-27 10:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-27 10:41:59 UTC
Embargoed:


Attachments (Terms of Use)

Description Attila Fazekas 2016-03-09 14:58:30 UTC
gunicorn[28950]: Error: /run/barbican doesn't exist. Can't create pidfile.

/usr/lib/systemd/system/openstack-barbican-api.service references the /run/barbican/pid

but nothing creates /run/barbican as a directory.


Version-Release number of selected component (if applicable):
openstack-barbican-api-2.0.0.0b4-0.20160304202229.b2a557c.fc23

Comment 1 Attila Fazekas 2016-04-04 11:15:26 UTC
I have the same issue with openstack-barbican-api-2.0.0-0.2.0rc2.el7.noarch .

Comment 3 Alfredo Moralejo 2016-05-18 14:10:46 UTC
Package openstack-barbican-common creates directory /var/run/barbican. By default /var/run is a symlink to /run so it should always work fine:

# ll /run/barbican/pid
-rw-r--r--. 1 barbican barbican 5 May 18 14:04 /run/barbican/pid
# rpm -qf /run/barbican
openstack-barbican-common-2.0.0.0-0.20160401163553.e90da9d.fc23.noarch

And service openstack-barbican-api starts properly in my tests. 

Could you test with latest RPM package?

Comment 4 Alfredo Moralejo 2016-09-27 10:41:59 UTC
I'm closing this change as works in current release.

Don't hesitate to re-open this bug in case you find it again with updated rpm package.


Note You need to log in before you can comment on or make changes to this bug.