You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the kickstart script to install the agent on an Amazon Linux 2023 machine, the native install installs the repo, but then fails to install the agent with the following:
Netdata 181 B/s | 153 B 00:00 │
Errors during downloading metadata for repository 'netdata': │
- Status code: 404 for https://repo.netdata.cloud/repos/stable/amazonlinux/2023.4.20240401/x86_64/repodata/repomd.xml (IP: 172.67.72.170) │
Error: Failed to download metadata for repo 'netdata': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried │
Netdata Repository Config 308 B/s | 153 B 00:00 │
Errors during downloading metadata for repository 'netdata-repoconfig': │
- Status code: 404 for https://repo.netdata.cloud/repos/repoconfig/amazonlinux/2023.4.20240401/x86_64/repodata/repomd.xml (IP: 104.26.9.141) │
Error: Failed to download metadata for repo 'netdata-repoconfig': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried │
Ignoring repositories: netdata, netdata-repoconfig │
Last metadata expiration check: 0:05:25 ago on Fri Apr 5 11:34:20 2024. │
No match for argument: netdata │
Error: Unable to find a match: netdata `
Expected behavior
Netdata is successfully installed
Steps to reproduce
Create Amazon Linux 2023 x86 VM
Run kickstart script (optionally specifying --native-only to highlight the issue)
To me it looks like your repo structure doesn't match what the script populates based on /etc/os-release.
https://repo.netdata.cloud/repos/repoconfig/amazonlinux/2023.4.20240401/x86_64/
should just be https://repo.netdata.cloud/repos/repoconfig/amazonlinux/2023/x86_64/
Now, we might just be able to override the variable like so: echo 2023 > /etc/dnf/vars/releasever. However, this is not a practical solution, since Amazon is using the more verbose release versioning for their repos.
* Add repo config for Amazon Linux 2023.
dnf and yum resolve $releasever to a verbose release version (e.g. 2023.4.20240401).
However, there is no need to create repositories for every version Amazon comes up with.
Resolves#17324
* Have a more specific conditional file install (amzn2)
* Bump repo spec release for Amazon Linux changes.
Bug description
When using the kickstart script to install the agent on an Amazon Linux 2023 machine, the native install installs the repo, but then fails to install the agent with the following:
Expected behavior
Netdata is successfully installed
Steps to reproduce
...
Installation method
kickstart.sh
System info
Netdata build info
Additional info
No response
The text was updated successfully, but these errors were encountered: