2022-04-26 13:03:12 |
Mathieu Trudel-Lapierre |
bug |
|
|
added bug |
2022-04-26 13:05:11 |
Mathieu Trudel-Lapierre |
tags |
|
apport-collected focal |
|
2022-04-26 13:05:12 |
Mathieu Trudel-Lapierre |
description |
Every time the prometheus-node-exporter-apt.service service runs; it comes out with awk warnings; the regex used is understood but misparsed:
Apr 25 12:06:25 s8mtl1-srs1-prd systemd[1]: Starting Collect apt metrics for prometheus-node-exporter...
Apr 25 12:06:25 s8mtl1-srs1-prd bash[1887195]: awk: cmd. line:1: warning: regexp escape sequence `\"' is not a known regexp operator
Apr 25 12:06:29 s8mtl1-srs1-prd systemd[1]: prometheus-node-exporter-apt.service: Succeeded.
Apr 25 12:06:29 s8mtl1-srs1-prd systemd[1]: Finished Collect apt metrics for prometheus-node-exporter. |
Every time the prometheus-node-exporter-apt.service service runs; it comes out with awk warnings; the regex used is understood but misparsed:
Apr 25 12:06:25 s8mtl1-srs1-prd systemd[1]: Starting Collect apt metrics for prometheus-node-exporter...
Apr 25 12:06:25 s8mtl1-srs1-prd bash[1887195]: awk: cmd. line:1: warning: regexp escape sequence `\"' is not a known regexp operator
Apr 25 12:06:29 s8mtl1-srs1-prd systemd[1]: prometheus-node-exporter-apt.service: Succeeded.
Apr 25 12:06:29 s8mtl1-srs1-prd systemd[1]: Finished Collect apt metrics for prometheus-node-exporter.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2021-12-06 (140 days ago)
InstallationMedia: Ubuntu-Server 20.04.3 LTS "Focal Fossa" - Release amd64 (20210824)
Package: prometheus-node-exporter 0.18.1+ds-2
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.4.0-96.109-generic 5.4.157
Tags: focal
Uname: Linux 5.4.0-96-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
modified.conffile..etc.cron.daily.apport: [deleted] |
|
2022-04-26 13:05:12 |
Mathieu Trudel-Lapierre |
attachment added |
|
Dependencies.txt https://bugs.launchpad.net/bugs/1970422/+attachment/5583970/+files/Dependencies.txt |
|
2022-04-26 13:05:13 |
Mathieu Trudel-Lapierre |
attachment added |
|
HookError_ubuntu.txt https://bugs.launchpad.net/bugs/1970422/+attachment/5583971/+files/HookError_ubuntu.txt |
|
2022-04-26 13:05:14 |
Mathieu Trudel-Lapierre |
attachment added |
|
ProcCpuinfoMinimal.txt https://bugs.launchpad.net/bugs/1970422/+attachment/5583972/+files/ProcCpuinfoMinimal.txt |
|
2022-04-26 13:05:15 |
Mathieu Trudel-Lapierre |
attachment added |
|
ProcEnviron.txt https://bugs.launchpad.net/bugs/1970422/+attachment/5583973/+files/ProcEnviron.txt |
|
2022-04-26 13:11:17 |
Mathieu Trudel-Lapierre |
description |
Every time the prometheus-node-exporter-apt.service service runs; it comes out with awk warnings; the regex used is understood but misparsed:
Apr 25 12:06:25 s8mtl1-srs1-prd systemd[1]: Starting Collect apt metrics for prometheus-node-exporter...
Apr 25 12:06:25 s8mtl1-srs1-prd bash[1887195]: awk: cmd. line:1: warning: regexp escape sequence `\"' is not a known regexp operator
Apr 25 12:06:29 s8mtl1-srs1-prd systemd[1]: prometheus-node-exporter-apt.service: Succeeded.
Apr 25 12:06:29 s8mtl1-srs1-prd systemd[1]: Finished Collect apt metrics for prometheus-node-exporter.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2021-12-06 (140 days ago)
InstallationMedia: Ubuntu-Server 20.04.3 LTS "Focal Fossa" - Release amd64 (20210824)
Package: prometheus-node-exporter 0.18.1+ds-2
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.4.0-96.109-generic 5.4.157
Tags: focal
Uname: Linux 5.4.0-96-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
modified.conffile..etc.cron.daily.apport: [deleted] |
[Impact]
This bug has minimal impact to users. Warnings are being thrown by the service in its journal; but that seems to be the only issue -- valid results are still being returned by the prometheus collector in the number of packages that need updates for each repository; along with node_reboot_required.
The bug fix is to clean up the regex to avoid the warnings.
[Test Plan]
1) Run /usr/share/prometheus-node-exporter-collectors/apt.sh
2) Validate that it returns without awk warnings.
[Where problems could occur]
- An invalid regex might cause repository stats to be returned in the wrong format for parsing by prometheus.
- Invalid regex would still show warnings or errors in awk.
---
Every time the prometheus-node-exporter-apt.service service runs; it comes out with awk warnings; the regex used is understood but misparsed:
Apr 25 12:06:25 s8mtl1-srs1-prd systemd[1]: Starting Collect apt metrics for prometheus-node-exporter...
Apr 25 12:06:25 s8mtl1-srs1-prd bash[1887195]: awk: cmd. line:1: warning: regexp escape sequence `\"' is not a known regexp operator
Apr 25 12:06:29 s8mtl1-srs1-prd systemd[1]: prometheus-node-exporter-apt.service: Succeeded.
Apr 25 12:06:29 s8mtl1-srs1-prd systemd[1]: Finished Collect apt metrics for prometheus-node-exporter.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2021-12-06 (140 days ago)
InstallationMedia: Ubuntu-Server 20.04.3 LTS "Focal Fossa" - Release amd64 (20210824)
Package: prometheus-node-exporter 0.18.1+ds-2
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.4.0-96.109-generic 5.4.157
Tags: focal
Uname: Linux 5.4.0-96-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
modified.conffile..etc.cron.daily.apport: [deleted] |
|
2022-04-26 13:14:51 |
Mathieu Trudel-Lapierre |
description |
[Impact]
This bug has minimal impact to users. Warnings are being thrown by the service in its journal; but that seems to be the only issue -- valid results are still being returned by the prometheus collector in the number of packages that need updates for each repository; along with node_reboot_required.
The bug fix is to clean up the regex to avoid the warnings.
[Test Plan]
1) Run /usr/share/prometheus-node-exporter-collectors/apt.sh
2) Validate that it returns without awk warnings.
[Where problems could occur]
- An invalid regex might cause repository stats to be returned in the wrong format for parsing by prometheus.
- Invalid regex would still show warnings or errors in awk.
---
Every time the prometheus-node-exporter-apt.service service runs; it comes out with awk warnings; the regex used is understood but misparsed:
Apr 25 12:06:25 s8mtl1-srs1-prd systemd[1]: Starting Collect apt metrics for prometheus-node-exporter...
Apr 25 12:06:25 s8mtl1-srs1-prd bash[1887195]: awk: cmd. line:1: warning: regexp escape sequence `\"' is not a known regexp operator
Apr 25 12:06:29 s8mtl1-srs1-prd systemd[1]: prometheus-node-exporter-apt.service: Succeeded.
Apr 25 12:06:29 s8mtl1-srs1-prd systemd[1]: Finished Collect apt metrics for prometheus-node-exporter.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2021-12-06 (140 days ago)
InstallationMedia: Ubuntu-Server 20.04.3 LTS "Focal Fossa" - Release amd64 (20210824)
Package: prometheus-node-exporter 0.18.1+ds-2
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.4.0-96.109-generic 5.4.157
Tags: focal
Uname: Linux 5.4.0-96-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
modified.conffile..etc.cron.daily.apport: [deleted] |
[Impact]
This bug has minimal impact to users. Warnings are being thrown by the service in its journal; but that seems to be the only issue -- valid results are still being returned by the prometheus collector in the number of packages that need updates for each repository; along with node_reboot_required.
The bug fix is to clean up the regex to avoid the warnings.
This is not applicable elsewhere than in focal; later releases have stopped installing the service and associated script.
[Test Plan]
1) Run /usr/share/prometheus-node-exporter-collectors/apt.sh
2) Validate that it returns without awk warnings.
[Where problems could occur]
- An invalid regex might cause repository stats to be returned in the wrong format for parsing by prometheus.
- Invalid regex would still show warnings or errors in awk.
---
Every time the prometheus-node-exporter-apt.service service runs; it comes out with awk warnings; the regex used is understood but misparsed:
Apr 25 12:06:25 s8mtl1-srs1-prd systemd[1]: Starting Collect apt metrics for prometheus-node-exporter...
Apr 25 12:06:25 s8mtl1-srs1-prd bash[1887195]: awk: cmd. line:1: warning: regexp escape sequence `\"' is not a known regexp operator
Apr 25 12:06:29 s8mtl1-srs1-prd systemd[1]: prometheus-node-exporter-apt.service: Succeeded.
Apr 25 12:06:29 s8mtl1-srs1-prd systemd[1]: Finished Collect apt metrics for prometheus-node-exporter.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2021-12-06 (140 days ago)
InstallationMedia: Ubuntu-Server 20.04.3 LTS "Focal Fossa" - Release amd64 (20210824)
Package: prometheus-node-exporter 0.18.1+ds-2
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.4.0-96.109-generic 5.4.157
Tags: focal
Uname: Linux 5.4.0-96-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
modified.conffile..etc.cron.daily.apport: [deleted] |
|
2022-04-26 13:14:56 |
Mathieu Trudel-Lapierre |
prometheus-node-exporter (Ubuntu): status |
New |
Fix Released |
|
2022-04-26 13:15:10 |
Mathieu Trudel-Lapierre |
nominated for series |
|
Ubuntu Focal |
|
2022-04-26 13:15:10 |
Mathieu Trudel-Lapierre |
bug task added |
|
prometheus-node-exporter (Ubuntu Focal) |
|
2022-04-26 13:15:24 |
Mathieu Trudel-Lapierre |
prometheus-node-exporter (Ubuntu Focal): status |
New |
Triaged |
|
2022-04-26 13:15:31 |
Mathieu Trudel-Lapierre |
prometheus-node-exporter (Ubuntu Focal): importance |
Undecided |
Low |
|
2022-04-26 13:15:33 |
Mathieu Trudel-Lapierre |
prometheus-node-exporter (Ubuntu Focal): assignee |
|
Mathieu Trudel-Lapierre (cyphermox) |
|