Image Library Host is Failed: "Failed to start: pf9-glance-api"
Problem
- One or more Image Library hosts are in a "failed" state.
- In
/var/log/pf9/hostagent.log, the followingERRORis observed.
x
2023-11-11 05:49:25,022 - pf9_app.py INFO - Setting the desired service state2023-11-11 05:49:25,023 - pf9_app.py INFO - Setting service state pf9-glance-api.5.6.7-2464. Command: sudo /etc/init.d/pf9-glance-api start2023-11-11 05:49:25,103 - pf9_app.py ERROR - Command sudo /etc/init.d/pf9-glance-api start, code=2 stdout=Starting pf9-glance-api: * Failed to start: pf9-glance-api stderr=/sbin/start-stop-daemon: matching only on non-root pidfile /var/run/glance//glance-api.pid is insecure2023-11-11 05:49:25,103 - pf9_app.py WARNING - Failed to set service pf9-glance-api to state TrueEnvironment
- Platform9 Managed OpenStack - v5.6
- Hostagent
- Image Library
- Glance API
Cause
The cause of this issue is under investigation.
Resolution
Manually start the services via their respective /etc/init.d scripts.
- Start the
pf9-glance-apiservice. - Start the
pf9-imagelibraryservice.
/etc/init.d/pf9-glance-api start/etc/init.d/pf9-imagelibrary startWas this page helpful?