504 error when juju deploy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Prometheus Alertmanager Charm |
New
|
Undecided
|
Unassigned |
Bug Description
I tried:
juju deploy prometheus2
juju deploy prometheus-
juju relate prometheus-
.....
juju debug-log
2021-04-07 11:20:29 INFO juju.downloader download.go:174 download verified ("cs:prometheus
2021-04-07 11:20:31 INFO juju.worker.uniter uniter.go:314 hooks are retried true
2021-04-07 11:20:31 INFO juju.worker.
2021-04-07 11:20:31 INFO juju.worker.uniter resolver.go:147 found queued "install" hook
2021-04-07 11:22:32 INFO juju-log Reactive main running for hook install
2021-04-07 11:22:32 ERROR juju-log Unable to find implementation for relation: peers of alertmanager-
2021-04-07 11:22:33 INFO juju-log Initializing Snap Layer
2021-04-07 11:22:37 WARNING install All snaps up to date.
2021-04-07 11:22:37 INFO juju-log Invoking reactive handler: reactive/
2021-04-07 11:22:37 WARNING install ERROR could not download resource: HTTP request failed: Get https:/
2021-04-07 11:22:37 INFO juju-log Installing prometheus-
2021-04-07 11:36:10 ERROR juju-log Installation failed cmd="['snap', 'install', '--channel=stable', 'prometheus-
...
...
2021-04-07 11:39:20 WARNING install ERROR could not download resource: HTTP request failed: Get https:/
del/583f3d6c-
etheus-
The charm is stuck in "maintenance" for about 20 minutes, then it somehow seems to work and installation proceeds. I'm not sure why this happens or why it suddenly breaks free and installs but clearly something goes sideways here.