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 following ERROR is observed.

2023-11-11 05:49:25,022 - pf9_app.py INFO - Setting the desired service state
2023-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 start
2023-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 insecure

2023-11-11 05:49:25,103 - pf9_app.py WARNING - Failed to set service pf9-glance-api to state True

Environment

  • 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.

  1. Start the pf9-glance-api service.

  2. Start the pf9-imagelibrary service.

Last updated