VMware Gateway Appliance(VGA) in Failed State as pf9-monasca-vcenter-exporter Service Fails to Start

Problem

  • /var/log/pf9/hostagent.log.

427 - session.py INFO - In failed state until next set_config message...607 - session.py INFO - In failed state until next set_config message...
  • Multiple attempts to restart pf9-monasca-vcenter-exporter service are observed in /var/log/pf9/hostagent.log.

654 - pf9_app.py INFO - Setting service state pf9-monasca-vcenter-exporter.1.5.0-45. Command: sudo /etc/init.d/pf9-monasca-vcenter-exporter start
  • Metrics are not fetched in /var/log/pf9/monasca-agent/collector.log.

ERROR | collector | monasca_agent.collector.checks.check.prometheus(prometheus.py:236) | Could not get metrics from http://127.0.0.1:9102/metrics with error ('Connection aborted.', BadStatusLine("''",))

Environment

  • Platform9 Managed OpenStack - All Versions

Cause

  • pf9-monasca-vcenter-exporter service is stopped on the VMware Gateway Appliance.

Resolution

  1. Check the status of the service.

$ sudo service pf9-monasca-vcenter-exporter status
  1. Start the service.

Last updated