Currently we directly use the one provided by charmhelper which does
not allow to reuse it for an other service. In this commit we symlink
a new template called wsgi-placement-api.conf to
charmhelper/../wsgi-openstack-api.conf.
The disable_package_apache2_site() call has been added in
do_openstack_upgrade() since previously it was not necessary to have
it during this step.
The disable_package_apache2_site() call has been added in
upgrade-charm to ensure that we remove old wsgi config for users which
are already using bionic-rocky and are upgrading their charm.
Reviewed: https:/ /review. openstack. org/633482 /git.openstack. org/cgit/ openstack/ charm-nova- cloud-controlle r/commit/ ?id=131497868f4 42bcf06bc199a36 e2962b8ac0018d
Committed: https:/
Submitter: Zuul
Branch: master
commit 131497868f442bc f06bc199a36e296 2b8ac0018d
Author: Sahid Orentino Ferdjaoui <email address hidden>
Date: Mon Jan 28 12:13:57 2019 +0100
template: update conf template for placement-api
Currently we directly use the one provided by charmhelper which does api.conf to /../wsgi- openstack- api.conf.
not allow to reuse it for an other service. In this commit we symlink
a new template called wsgi-placement-
charmhelper
The disable_ package_ apache2_ site() call has been added in openstack_ upgrade( ) since previously it was not necessary to have
do_
it during this step.
The disable_ package_ apache2_ site() call has been added in
upgrade-charm to ensure that we remove old wsgi config for users which
are already using bionic-rocky and are upgrading their charm.
Partial-Bug: #1812672 b610db20650c32c d754f016358
Change-Id: Idc3cad9304eaf9
Signed-off-by: Sahid Orentino Ferdjaoui <email address hidden>