Open defanator opened 3 months ago
This issue has not had any activity in the past 30 days, so the needs-attention
label has been added to it.
If the opened issue is a bug, check to see if a newer release fixed your issue. If it is no longer relevant, please feel free to close this issue.
The needs-attention
label signals to maintainers that something has fallen through the cracks. No action is needed by you; your issue will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity.
Thank you for your contributions!
Still happening with 1.3.x:
# apt-get -y install alloy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
alloy
1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 64.2 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://apt.grafana.com stable/main arm64 alloy arm64 1.3.1-1 [64.2 MB]
Fetched 64.2 MB in 4s (17.2 MB/s)
(Reading database ... 59003 files and directories currently installed.)
Preparing to unpack .../alloy_1.3.1-1_arm64.deb ...
Unpacking alloy (1.3.1-1) over (1.3.0-1) ...
Setting up alloy (1.3.1-1) ...
# ps waux | grep alloy
alloy 300892 0.6 2.5 2260612 99188 ? Ssl Aug19 89:59 /usr/bin/alloy run --disable-reporting --storage.path=/var/lib/alloy/data /etc/alloy/config.alloy
root 962520 0.0 0.0 6160 1692 pts/1 S+ 03:00 0:00 grep alloy
# date
Thu Aug 29 03:00:21 AM UTC 2024
What's wrong?
We are trying to migrate from grafana-agent to alloy on a number of long-running VMs. It turned out that on some distros alloy service is not being restarted on package upgrade, e.g. the details below are from Ubuntu 20.04 host after upgrading alloy from 1.1.0 to 1.1.1.
Steps to reproduce
I guess this should work:
apt-get install
/apt-get upgrade
.At least these distros were affected in our case:
System information
Ubuntu 20.04 5.15.0-1058-aws #64~20.04.1-Ubuntu SMP Tue Apr 9 11:11:55 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux (+ others)
Software version
Alloy v1.1.0, v1.1.1
Configuration
Logs