]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: create /var/run/ceph/$fsid as needed 32390/head
authorSage Weil <sage@redhat.com>
Sun, 22 Dec 2019 15:31:00 +0000 (09:31 -0600)
committerSage Weil <sage@redhat.com>
Sun, 22 Dec 2019 20:20:40 +0000 (14:20 -0600)
commit5d133d545b40dbae5134f168638237ffd82c73b2
treea6093ebacc2a4c513467884b2aa342cb79c1bf76
parenteffe9c9a3f1c299f2f8ff19c98c572aad11c1f00
cephadm: create /var/run/ceph/$fsid as needed

The get_container_mounts method only passed this through if it already
exists so that shell etc commands will work even when this dir isn't
present yet.  Normally the systemd unit creates it.  This may not be the
case on initial bootstrap, of even later if a deploy happens but a unit
hasn't started yet.

Precreate it during bootstrap and other times before we do a deplot so
that the unit.run command has this passed through.

Signed-off-by: Sage Weil <sage@redhat.com>
src/cephadm/cephadm