If a new rig's services fail to boot or none of its agents launch, OpenRig takes down the containers it just created and never deletes their volumes. When rigs being replaced would clash over containers, `rig up` refuses before starting anything.
If service boot or every agent launch fails, a rig's new Compose project is brought down, never with its volumes. When the earlier rigs being replaced use different projects and no project_name is set, rig up refuses with compose_project_conflict and starts no services, and rig down exits 2 when it keeps a project that a live rig of the same name still uses.
- Pull request
- #481
- Contributed by
- @dajiaohuang
- Release
- OpenRig 0.6.6 release notes