2017-10-23 18:14:17 |
Edward Hope-Morley |
description |
There is a race condition in the cinder charm whereby if you perform an action-managed upgrade to Openstack Ocata (from any release) it will fail to install tne apache wsgi config for cinder-api. This is due to the fact that the check for which config files need to be installed contains a condition that is only met after the packages have been upgraded and as a result returns false when going from < Ocata to Ocata. Co-incidentally if any charm hook that write configs runs post-upgrade (e.g. config-changed), this issue goes away since the config is then written to disk and apache restarted. So the fix for this should be to simply take into account that an upgrade is in progress and the target release will require new configs. |
There is a race condition in the cinder charm whereby if you perform an action-managed upgrade to Openstack Ocata (from any release) it will fail to install the apache wsgi config for cinder-api. This is due to the fact that the check for which config files need to be installed contains a condition that is only met after the packages have been upgraded and as a result returns false when going from < Ocata to Ocata. Co-incidentally if any charm hook that write configs runs post-upgrade (e.g. config-changed), this issue goes away since the config is then written to disk and apache restarted. So the fix for this should be to simply take into account that an upgrade is in progress and the target release will require new configs. |
|