Comment 10 for bug 1960636

Revision history for this message
Tianqi Xiao (txiao) wrote : Re: glance charm does not set glance-api service as enabled on boot

Hello,

The bundle I did the test on is https://github.com/openstack-charmers/openstack-bundles/tree/master/stable/openstack-base

I don't think the problem was due to a "pause" call because the service is active (just disabled). A "pause" call would stop the service. Here is the glance-api service status after deploying the above-mentioned bundle.

ubuntu@txiao-bastion:~/openstack-bundles/stable/openstack-base$ juju ssh glance/0 sudo systemctl status glance-api
● glance-api.service - OpenStack Image Service API
     Loaded: loaded (/lib/systemd/system/glance-api.service; disabled; vendor>
     Active: active (running) since Tue 2022-02-22 15:06:09 UTC; 1min 59s ago
       Docs: man:glance-api(1)
   Main PID: 32379 (glance-api)
      Tasks: 2 (limit: 2339)
     Memory: 106.0M
     CGroup: /system.slice/glance-api.service
             ├─32379 /usr/bin/python3 /usr/bin/glance-api --config-file=/etc/>
             └─32689 /usr/bin/python3 /usr/bin/glance-api --config-file=/etc/>

Feb 22 15:06:09 juju-145eb9-txiao-8 systemd[1]: Started OpenStack Image Servi>

Tianqi