I see "Container <name>has not been created using Fabric" when stopping the container
Environment
- Red Hat JBoss Fuse
- 6.1.0
- 6.0
Issue
- When I'm trying to stop the container I see the following message - "Container container1 has not been created using Fabric".
JBossFuse:admin@fabric> container-stop container1
Error executing command: Container container1 has not been created using Fabric
- Container
has not been created using Fabric error , before restart its up and running , from bin folder ./start we can (java process is starting ) but in console its not showing up , through container-start command its giving above error .
Resolution
This "has not been created using Fabric" message might be a result of the fact that you have created new the Fabric with some old child containers running on your machine.
If you use the same ZooKeeper login/password in the new Fabric as you used in the old one, and there are child instances from the old Fabric running in the background, they will connect to the new Fabric and corrupt ZooKeeper registry.
The recommended solution for this kind of problems is to reprovision the whole Fabric. Keep in mind that Fabric re-creation is pretty "cheap" operation that could be performed easily and fast - there is usually no point in wasting time on fixing the corrupted Fabric ensemble.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
