privsep: lack of capabilities on kernel 4.15

Bug #1808682 reported by Ivan Kolodyazhny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-brick
In Progress
Undecided
Ivan Kolodyazhny

Bug Description

cinder-backup failed at least on Ubuntu 16.04 with kernel v.4.15.
I tested with Queens and newer but looking into the code, it could affect older versions too.

sep.daemon [-] privsep log:
vsep.daemon [-] privsep log: Original exception was:
vsep.daemon [-] privsep log: Traceback (most recent call last):
vsep.daemon [-] privsep log: File "/usr/bin/privsep-helper", line 10, in <module>
vsep.daemon [-] privsep log: sys.exit(helper_main())
vsep.daemon [-] privsep log: File "/usr/lib/python2.7/dist-packages/oslo_privsep/daemon.py", line 5
vsep.daemon [-] privsep log: LOG.exception(e)
vsep.daemon [-] privsep log: File "/usr/lib/python2.7/logging/__init__.py", line 1473, in exception
vsep.daemon [-] privsep log: self.logger.error(msg, *args, **kwargs)
vsep.daemon [-] privsep log: File "/usr/lib/python2.7/logging/__init__.py", line 1193, in error
vsep.daemon [-] privsep log: self._log(ERROR, msg, args, **kwargs)
vsep.daemon [-] privsep log: File "/usr/lib/python2.7/logging/__init__.py", line 1286, in _log
vsep.daemon [-] privsep log: self.handle(record)
vsep.daemon [-] privsep log: File "/usr/lib/python2.7/logging/__init__.py", line 1296, in handle
vsep.daemon [-] privsep log: self.callHandlers(record)
vsep.daemon [-] privsep log: File "/usr/lib/python2.7/logging/__init__.py", line 1336, in callHandl
vsep.daemon [-] privsep log: hdlr.handle(record)
vsep.daemon [-] privsep log: File "/usr/lib/python2.7/logging/__init__.py", line 759, in handle
vsep.daemon [-] privsep log: self.emit(record)
vsep.daemon [-] privsep log: File "/usr/lib/python2.7/logging/handlers.py", line 414, in emit
vsep.daemon [-] privsep log: sres = os.stat(self.baseFilename)
vsep.daemon [-] privsep log: OSError: [Errno 13] Permission denied: '/var/log/cinder/cinder.log'

Ivan Kolodyazhny (e0ne)
Changed in os-brick:
assignee: nobody → Ivan Kolodyazhny (e0ne)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-brick (master)

Fix proposed to branch: master
Review: https://review.openstack.org/625426

Changed in os-brick:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-brick (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/625427

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-brick (stable/rocky)

Change abandoned by Ivan Kolodyazhny (<email address hidden>) on branch: stable/rocky
Review: https://review.openstack.org/625427

Ivan Kolodyazhny (e0ne)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-brick (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/625444

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-brick (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/625445

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-brick (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/625446

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-brick (stable/rocky)

Change abandoned by Ivan Kolodyazhny (<email address hidden>) on branch: stable/rocky
Review: https://review.openstack.org/625427

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-brick (stable/queens)

Change abandoned by Ivan Kolodyazhny (<email address hidden>) on branch: stable/queens
Review: https://review.openstack.org/625444

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-brick (stable/pike)

Change abandoned by Ivan Kolodyazhny (<email address hidden>) on branch: stable/pike
Review: https://review.openstack.org/625445

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-brick (stable/ocata)

Change abandoned by Ivan Kolodyazhny (<email address hidden>) on branch: stable/ocata
Review: https://review.openstack.org/625446

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-brick (master)

Change abandoned by Ivan Kolodyazhny (<email address hidden>) on branch: master
Review: https://review.opendev.org/625426

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.