Project

General

Profile

Actions

Bug #53397

closed

make cephadm pass CEPH_VOLUME_SKIP_RESTORECON when running ceph-volume

Added by Guillaume Abrioux over 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
High
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In containerized deployments, ceph-volume shouldn't try to make any call to restorecon binary.

Given ceph-volume can't really detect whether it's running from a container and it offers a way to skip this call by setting CEPH_VOLUME_SKIP_RESTORECON=1
let's make cephadm pass this variable when running a ceph-volume container

Actions

Also available in: Atom PDF