Advertisement
szabozoltan69

Cello docker restart

Feb 6th, 2017
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.77 KB | None | 0 0
  1. After a "make redeploy service=dashboard"
  2. I read:
  3. Redeploy the cello-dashboard container
  4. Creating dashbard
  5.  
  6. I can only call this (not cello-dashboard, neither cello-dashbard):
  7. docker exec -it dashbard bash
  8.  
  9. But I can not log in, it drops out me with this message:
  10. Error response from daemon: Container 761277d839a6b625081f497f04ea37636fb17c54ce1ba84406a09ba19242451c is restarting, wait until the container is running
  11.  
  12. docker ps
  13. CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS                              PORTS    NAMES
  14. 761277d839a6        cello-dashbard      "python dashboard.py"    11 minutes ago      Restarting (1) 2 minutes ago                 dashbard
  15. ...
  16.  
  17. In the "make log" I read:
  18.  
  19. dashbard      | Traceback (most recent call last):
  20. dashbard      |   File "dashboard.py", line 4, in <module>
  21. dashbard      |     from resources import bp_index, \
  22. dashbard      |   File "/app/resources/__init__.py", line 1, in <module>
  23. dashbard      |     from .index import bp_index
  24. dashbard      |   File "/app/resources/index.py", line 17, in <module>
  25. dashbard      |     from modules import cluster_handler, host_handler
  26. dashbard      |   File "/app/modules/__init__.py", line 1, in <module>
  27. dashbard      |     from .cluster import cluster_handler
  28. dashbard      |   File "/app/modules/cluster.py", line 14, in <module>
  29. dashbard      |     from agent import get_swarm_node_ip, \
  30. dashbard      |   File "/app/agent/__init__.py", line 1, in <module>
  31. dashbard      |     from .docker_swarm import get_project, \
  32. dashbard      |   File "/app/agent/docker_swarm.py", line 10, in <module>
  33. dashbard      |     from docker import Client
  34. dashbard      | ImportError: cannot import name 'Client'
  35.  
  36.  
  37. I suppose dashboard continuosly restarts itself...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement