From 8143f49038149e481f70cfe37dcca18fe5b4fd1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Thu, 7 Sep 2017 12:51:26 +0200 Subject: [PATCH] rbd: create ceph keyring dir before copying MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Grünbichler --- PVE/API2/Storage/Config.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PVE/API2/Storage/Config.pm b/PVE/API2/Storage/Config.pm index 6c9b3b1..aa8c931 100755 --- a/PVE/API2/Storage/Config.pm +++ b/PVE/API2/Storage/Config.pm @@ -170,6 +170,7 @@ __PACKAGE__->register_method ({ if -e $ceph_storage_keyring; eval { + mkdir '/etc/pve/priv/ceph'; PVE::Tools::file_copy($ceph_admin_keyring, $ceph_storage_keyring); }; if (my $err = $@) {