-
Notifications
You must be signed in to change notification settings - Fork 11
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
Charm fails to install from latest/edge, revision 20 #30
Comments
I tried this on both focal and jammy (principals of ubuntu) and I see the same messages in logs but on the focal version, the install hook fails with that message
For jammy, the unit is in a blocked state
charm versions I used (ignore the status since ive removed them from my test setup) App Version Status Scale Charm Channel Rev Exposed Message
grafana-agent blocked 1 grafana-agent latest/edge 20 no send-remote-write: off, logging-consumer: off, grafana-cloud-config: off
grafana-agent-fresh error 1 grafana-agent latest/edge 20 no hook failed: "install"
ubuntu 22.04 maintenance 1 ubuntu stable 24 no
ubuntu-focal 20.04 maintenance 1 ubuntu stable 24 no |
The key line is
Similar to #5. |
Hi @facundofc, @nishant-dash,
Here's how you can deploy jammy or focal correctly: juju deploy --channel=edge ubuntu primary-focal --base [email protected]
juju deploy --channel=edge ubuntu primary-jammy --base [email protected]
juju deploy --channel=edge grafana-agent agent-jammy --base [email protected]
juju deploy --channel=edge grafana-agent agent-focal --base [email protected]
juju relate primary-focal agent-focal
juju relate primary-jammy agent-jammy series: jammy
applications:
agent-focal:
charm: grafana-agent
channel: edge
revision: 21
series: focal
agent-jammy:
charm: grafana-agent
channel: edge
revision: 20
primary-focal:
charm: ubuntu
channel: edge
revision: 24
series: focal
num_units: 1
to:
- "0"
constraints: arch=amd64
storage:
block: loop,100M
files: rootfs,100M
primary-jammy:
charm: ubuntu
channel: edge
revision: 24
num_units: 1
to:
- "1"
constraints: arch=amd64
storage:
block: loop,100M
files: rootfs,100M
machines:
"0":
constraints: arch=amd64
series: focal
"1":
constraints: arch=amd64
relations:
- - primary-focal:juju-info
- agent-focal:juju-info
- - primary-jammy:juju-info
- agent-jammy:juju-info
Potentially related:
Closing for now. Feel free to reopen if the issue is elsewhere. |
Bug Description
The charm fails a fresh install from latest/edge channel, revision is 20 at the time of writing.
To Reproduce
juju deploy ubuntu
juju deploy grafana-agent --channel=latest/edge # optionally --revision=20
juju relate ubuntu grafana-agent
charm goes into error state on install hook
Environment
Using juju with an openstack provider with Jammy VMs.
The same exact issue was observed while upgrading from revision 12 to 20 but running on juju with MaaS provider.
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: