devstack: remove bionic condition for configure nova.conf

Nova should be configured with the right pool name that in all
cases. In this commit we remove the bionic condition. Which also avoid
us to revisit this file for each ubuntu based version that ship LXD3.

In this commit we also remove the outdated comment.

Change-Id: I44b3a83ec0eb3c1c35e15b66c219c948fd57c2ac
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
This commit is contained in:
Sahid Orentino Ferdjaoui 2019-04-03 14:04:03 +00:00
parent 9ce4f847e5
commit 3d5832dafd
1 changed files with 1 additions and 6 deletions

View File

@ -63,13 +63,8 @@ function configure_nova-lxd() {
iniset $NOVA_CONF DEFAULT force_config_drive False
if [ "$LXD_BACKEND_DRIVER" == "zfs" ]; then
# For LXD 3 and upper we need pool name configured, see:
# bug/1782329
iniset $NOVA_CONF lxd pool $LXD_ZFS_ZPOOL
fi
if [ "$DISTRO-$LXD_BACKEND_DRIVER" == "bionic-default" ]; then
# for LXD 3 we need to have a pool name configured, and for default
# driver, it is 'default'
else
iniset $NOVA_CONF lxd pool default
fi