agent.yaml.example is missing when maas is installed via deb package

Bug #1982208 reported by Diego Mascialino
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Committed
High
Anton Troyanov
3.2
Fix Released
Undecided
Anton Troyanov

Bug Description

Executing system-tests locally using the o11y configuratoin, I found that usr/share/maas/grafana-agent/agent.yaml.example is not installed wheh MAAS is installed via deb package.

Reading the build logs I found:

creating /root/build-area/maas_3.3.0~alpha1-100-g.afb0271/debian/tmp/usr/share/maas/grafana-agent
copying contrib/grafana-agent/agent.yaml.example -> /root/build-area/maas_3.3.0~alpha1-100-g.afb0271/debian/tmp/usr/share/maas/grafana-agent
copying contrib/grafana-agent/env -> /root/build-area/maas_3.3.0~alpha1-100-g.afb0271/debian/tmp/usr/share/maas/grafana-agent

dh_missing: warning: usr/share/maas/grafana-agent/agent.yaml.example exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/maas/grafana-agent/env exists in debian/tmp but is not installed to anywhere

Looks like those paths have to be added to: debian/maas-common.instal

Related branches

Bill Wear (billwear)
Changed in maas:
status: New → Triaged
importance: Undecided → High
milestone: none → 3.2.1
Changed in maas:
milestone: 3.2.1 → 3.3.0
Changed in maas:
assignee: nobody → Anton Troyanov (troyanov)
Changed in maas:
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers