grok-exporter service is failing to start

Bug #2004222 reported by Vern Hart
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Prometheus Grok exporter snap
Won't Fix
Undecided
Unassigned

Bug Description

I just installed the latest prometheus-grok-exporter snap (rev 6, updated today, Jan 30) and the grok-exporter service fails to start.

In the systemd journal:

  Jan 31 03:43:43 vault-3 systemd[1]: Started Service for snap application prometheus-grok-exporter.grok-exporter.
  Jan 31 03:43:43 vault-3 prometheus-grok-exporter.grok-exporter[42306]: failed to read pattern file /var/snap/prometheus-grok-exporter/current/logstash-patterns-core/patterns/ecs-v1: read /var/snap/prometheus-grok-exporter/current/logstash-patterns-core/patterns/ecs-v1: is a directory
  Jan 31 03:43:43 vault-3 systemd[1]: snap.prometheus-grok-exporter.grok-exporter.service: Main process exited, code=exited, status=255/EXCEPTION
  Jan 31 03:43:43 vault-3 systemd[1]: snap.prometheus-grok-exporter.grok-exporter.service: Failed with result 'exit-code'.

The config.yaml in /var/snap/prometheus-grok-exporter/current/etc/ says:

  imports:
      - type: grok_patterns
        dir: /var/snap/prometheus-grok-exporter/current/logstash-patterns-core/patterns

If I change that to end with /legacy via juju config, it works:

  juju config prometheus-grok-exporter grok-patterns-path=/var/snap/prometheus-grok-exporter/current/logstash-patterns-core/patterns/legacy

Revision history for this message
Nobuto Murata (nobuto) wrote :

The rev6 is upstream's RC5

$ grep source-tag: stable/snap/manifest.yaml
    source-tag: v1.0.0.RC5

while the previous revision in the latest/stable was RC3 if I remember it correctly.

Revision history for this message
Nobuto Murata (nobuto) wrote :

The change has been reverted for the time being from the stable channel.

channels:
  latest/stable: 1.0.0 2023-01-31 (1) 6MB -
  latest/candidate: ↑
  latest/beta: 1.0.0 2020-03-20 (1) 6MB -
  latest/edge: 1.0.0 2023-01-27 (6) 8MB -

Revision history for this message
Eric Chen (eric-chen) wrote :

This charm is no longer being actively maintained

Changed in grok-exporter-snap:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.