From 86a3da5d7f885d5336a9cb7b7e8cc62a957ff52d Mon Sep 17 00:00:00 2001
From: Michal Nasiadka <mnasiadka@gmail.com>
Date: Fri, 26 May 2023 14:49:41 +0200
Subject: [PATCH] CI: cephadm - set rbd application on pool creation

Change-Id: I15af98faedd81cccbc10e2cc7dab4205a35684be
---
 roles/cephadm/templates/commands.sh.j2 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/roles/cephadm/templates/commands.sh.j2 b/roles/cephadm/templates/commands.sh.j2
index dfdf79ec1f..07d4d790d8 100644
--- a/roles/cephadm/templates/commands.sh.j2
+++ b/roles/cephadm/templates/commands.sh.j2
@@ -12,6 +12,7 @@ ceph orch daemon add osd {{ osd }}
 # Pools
 {% for pool in cephadm_ceph_pools %}
 ceph osd pool create {{ pool }}
+ceph osd pool application enable {{ pool }} rbd
 {% endfor %}
 
 # Users