Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ARM] Grafana agent fails on c6g AWS node #89

Closed
phvalguima opened this issue Apr 15, 2024 · 2 comments
Closed

[ARM] Grafana agent fails on c6g AWS node #89

phvalguima opened this issue Apr 15, 2024 · 2 comments

Comments

@phvalguima
Copy link

Bug Description

Testing the COS integration with Postgresql on ARM and I am seeing the grafana-agent subordinate failing with: https://pastebin.ubuntu.com/p/vXdhDv6HQb/

Juju status: https://pastebin.ubuntu.com/p/Qv7gSSz26M/
Checking if the actual lib file is there: https://pastebin.ubuntu.com/p/vVQMknxXNS/

This issue is not the same as #30 as we are using it all with [email protected].

Some of the discussions happened already in matrix

To Reproduce

juju deploy postgresql --channel=14/edge --constraints="arch=arm64 instance-type=c6g.xlarge root-disk=100G"
juju deploy grafana-agent --channel="latest/edge"
juju relate postgresql grafana-agent

Environment

AWS + Juju 3.4.2 and ARM CPU for postgresql & grafana-agent

Relevant log output

Full logs of the deployment: https://pastebin.canonical.com/p/hKfB8KzKwR/

Additional context

No response

@simskij
Copy link
Member

simskij commented Apr 15, 2024

This looks like a result of a mismatch in bases. Juju is currently unable to correctly resolve which charm to use based on the principal's base. Below you'll find a table fetched through charmcraft status grafana-agent that shows which revision to use for which base.

Track    Base                  Channel    Version    Revision                                                                               
latest   ubuntu 20.04 (amd64)  stable     66         66                                                                                     
                               candidate  95         95                                                                                     
                               beta       95         95                                                                                     
                               edge       95         95                                                                                     
         ubuntu 20.04 (arm64)  stable     67         67                                                                                     
                               candidate  67         67                                                                                     
                               beta       67         67                                                                                     
                               edge       93         93                                                                                     
         ubuntu 22.04 (amd64)  stable     65         65                                                                                     
                               candidate  65         65                                                                                     
                               beta       65         65                                                                                     
                               edge       96         96                                                                                     
         ubuntu 22.04 (arm64)  stable     68         68                                                                                     
                               candidate  68         68                                                                                     
                               beta       68         68                                                                                     
                               edge       94         94    

@phvalguima
Copy link
Author

Thanks @simskij indeed rev 94 works fine!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants