Charm not starting when re-using storage on jaas + AWS
Bug #1957164 reported by
Erik Lönroth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Undecided
|
Unassigned |
Bug Description
I'm deploying a nextcloud charm on AWS with jaas. My charm has storage defined.
When I remove the last nextcloud unit and do a "juju add-unit nextcloud --attach-storage datadir/0" (To re-use the storage on a new unit)
The agent seems to get stuck on "agent initializing". See attach screenshot that covers most of it.
I'm not sure where to debug.
Changed in juju: | |
status: | New → Triaged |
To post a comment you must log in.
This is what I do to reproduce this consistently
## Deploy with storage
juju deploy postgresql ubuntu- 20.04-amd64_ ubuntu- 18.04-amd64. charm --storage datadir=ebs,1G
juju deploy ./nextcloud_
juju relate nextcloud:db postgresql:db
## Remove unit and reattach storage
juju remove-unit nextcloud/0
juju add-unit nextcloud --attach-storage datadir/0