Allow optional volumes for nova_libvirt container

Currently there in no heat parameter available to specify optional
volumes for nova_libvirt container.
This patch will allow to attach optional volumes to the nova_libvirt
container through 'NovaLibvirtOptVolumes' heat parameter.

Change-Id: I0651b93fe1e05ca674a3d349a114b980c2005eff
Closes-Bug: #1897265
(cherry picked from commit 5c4351304f)
This commit is contained in:
shyam-biradar 2020-09-25 08:03:30 -04:00 committed by Alex Schultz
parent 6d41d30a2c
commit 6dd9eeef63
1 changed files with 5 additions and 0 deletions

View File

@ -236,6 +236,10 @@ parameters:
default: 'all'
tags:
- role_specific
NovaLibvirtOptVolumes:
default: []
description: list of optional volumes to be mounted
type: comma_delimited_list
conditions:
@ -709,6 +713,7 @@ outputs:
list_concat:
- {get_attr: [ContainersCommon, volumes]}
- {get_attr: [NovaLibvirtLogging, volumes]}
- {get_param: NovaLibvirtOptVolumes}
-
- /etc/ssh/ssh_known_hosts:/etc/ssh/ssh_known_hosts:ro
- /var/lib/kolla/config_files/nova_libvirt.json:/var/lib/kolla/config_files/config.json:ro