Comment 8 for bug 1960636

Revision history for this message
Corey Bryant (corey.bryant) wrote : Re: glance charm does not set glance-api service as enabled on boot

Tianqi,

Thanks for working on this. Do you have a bundle that recreates this that you can post here?

I think we need to figure out how the service gets disabled before fixing this.

The only charm code I've found that disables systemd units is in this pause function:
https://github.com/juju/charm-helpers/blob/master/charmhelpers/core/host.py#L177

I wonder if that was called and it was not resumed? That shouldn't be called at deploy time though that I know of.

'juju run-action glance/0 pause' will run that ^ code starting here in glance:
https://opendev.org/openstack/charm-glance/src/branch/master/actions/actions.py#L43

Corey