Activity log for bug #1726527

Date Who What changed Old value New value Message
2017-10-23 18:13:55 Edward Hope-Morley bug added bug
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.
2017-10-23 22:07:07 Edward Hope-Morley charm-cinder: assignee Edward Hope-Morley (hopem)
2017-10-23 22:07:53 Edward Hope-Morley summary action-managed upgraded to Ocata does not install cinder-api apache2 wsgi action-managed upgrade to Ocata does not install cinder-api apache2 wsgi
2017-10-23 22:27:06 OpenStack Infra charm-cinder: status Confirmed In Progress
2017-10-24 15:04:54 OpenStack Infra charm-cinder: status In Progress Fix Committed
2017-12-01 06:56:33 James Page charm-cinder: status Fix Committed Fix Released