a month ago
My PostgreSQL volume has entered a "zombie" mount state. Any service attempting to attach this volume hangs indefinitely at the "Creating containers" phase.
this is what i try.
- i was has postgresql service that attached volume, use serverless deployment model it was fine until yesterday
- yesterday i found that service not wake when i try to connect (on proxy by me, and application try to connect on private network)
- try many things to make it work
- now i remove the postgres service and try to attach this volume to new service for just can copy data (i use busybox image)
- the new service can be start, until i attached the postgres volume and it redeploy, then it stuck on "creating containers" status again.
somehow problem came from this volume.
2 Replies
a month ago
any logs?
its known that when trying to attach a volume it can hang if the volume can’t be mounted/locked therefore stuck...
if it thinks there is multiple actions applied to the postgres volume it will no do anything so check if that volume is still attached somewhere
you said "now i remove" so i think that means you deleted it so confirm the old Postgres service is fully deleted and not just stopped
if you have backups you could use the backup restore flow to restore a previous version to see if then it will attach
based off what you gave thats all i could think of
any logs?its known that when trying to attach a volume it can hang if the volume can’t be mounted/locked therefore stuck...if it thinks there is multiple actions applied to the postgres volume it will no do anything so check if that volume is still attached somewhereyou said "now i remove" so i think that means you deleted it so confirm the old Postgres service is fully deleted and not just stoppedif you have backups you could use the backup restore flow to restore a previous version to see if then it will attachbased off what you gave thats all i could think of
a month ago