Skip to content

Commit 6971ccc

Browse files
committed
Display backup dashboard on Horizon when c-bak is enabled
Currently, when enabling c-bak service, the backup tab will not be shown on Horizon by default. This patch tells Horizon to display backup dashboard when c-bak is enabled. Closes-Bug: 2064496 Change-Id: I06295706e985bac58de2878c6d24c51f3267c205 Signed-off-by: MinhNLH2 <minh.nlh.work@gmail.com>
1 parent 9be4cee commit 6971ccc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/horizon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ function configure_horizon {
109109
_horizon_config_set $local_settings "" OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT "True"
110110
fi
111111

112+
if is_service_enabled c-bak; then
113+
_horizon_config_set $local_settings OPENSTACK_CINDER_FEATURES enable_backup "True"
114+
fi
115+
112116
# Create an empty directory that apache uses as docroot
113117
sudo mkdir -p $HORIZON_DIR/.blackhole
114118

0 commit comments

Comments
 (0)