RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1579079 - RDO Queens - Barbican Service Doesn't Start After Reboot - /run/barbican Folder Doesn't Exist
Summary: RDO Queens - Barbican Service Doesn't Start After Reboot - /run/barbican Fold...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: RDO
Classification: Community
Component: Package Review
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: trunk
Assignee: hguemar
QA Contact: hguemar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-16 23:24 UTC by Duncan Wannamaker
Modified: 2024-02-14 10:06 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-02-14 10:06:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Duncan Wannamaker 2018-05-16 23:24:38 UTC
Description of problem:
After rebooting, the /run/barbican folder which stores the pid is not recreated.  This prevents barbican from starting until manually creating this folder and giving barbican permission.

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


How reproducible:
yum -y install centos-release-openstack-queens
yum -y install centos-release-openstack-queens
reboot
/run/barbican folder no longer exists

Steps to Reproduce:
1. yum -y install centos-release-openstack-queens
2. yum -y install centos-release-openstack-queens
3. reboot

Actual results:
/run/barbican folder no longer exists

Expected results:
/run/barbican should exist according to /usr/lib/systemd/system/openstack-barbican-api.service definition.

Additional info:
The /var/run folder (and /run) are TempFS and get wiped every reboot.  Their contents are created again using package installed scripts in /usr/lib/tmpfiles.d/<package>.conf

The openstack-barbican-api package needs to create a barbican.conf which would recreate the /var/run/barbican folder at boot time.

Adding the following to a clean and up to date CentOS7 install fixes the issue for me:

d /var/run/barbican 0755 barbican barbican -

Comment 1 Duncan Wannamaker 2018-05-16 23:28:40 UTC
step 2 for recreating the bug is supposed to be yum -y install openstack-barbican-api


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