dessa-oss / atlas

An Open Source, Self-Hosted Platform For Applied Deep Learning Development
http://www.docs.atlas.dessa.com
Apache License 2.0
291 stars 44 forks source link

Atlas server work incorrectly #190

Open ak-kuznetsov opened 3 years ago

ak-kuznetsov commented 3 years ago

(env) alex@G5-5587:~/Atlas$ atlas-server start 2021-07-10 17:23:08,574 - Foundations Atlas Server - INFO - Starting foundations-tracker service... 2021-07-10 17:23:09,587 - Foundations Atlas Server - INFO - Started foundations-tracker service 2021-07-10 17:23:09,667 - Foundations Atlas Server - INFO - Starting foundations-archive-server service... 2021-07-10 17:23:10,627 - Foundations Atlas Server - INFO - Started foundations-archive-server service 2021-07-10 17:23:10,717 - Foundations Atlas Server - INFO - Starting atlas-rest-api service... 2021-07-10 17:23:11,736 - Foundations Atlas Server - INFO - Started atlas-rest-api service 2021-07-10 17:23:11,828 - Foundations Atlas Server - INFO - Starting atlas-gui service... 2021-07-10 17:23:12,915 - Foundations Atlas Server - INFO - Started atlas-gui service 2021-07-10 17:23:13,014 - Foundations Atlas Server - INFO - Starting atlas-authentication-proxy service... 2021-07-10 17:23:13,975 - Foundations Atlas Server - INFO - Started atlas-authentication-proxy service 2021-07-10 17:23:14,076 - Foundations Atlas Server - INFO - Starting foundations-authentication-server service... Traceback (most recent call last): File "/home/alex/Atlas/env/lib/python3.6/site-packages/docker/api/client.py", line 261, in _raise_for_status response.raise_for_status() File "/home/alex/Atlas/env/lib/python3.6/site-packages/requests/models.py", line 943, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.35/containers/foundations-authentication-server/json

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/alex/Atlas/env/lib/python3.6/site-packages/atlas-server/main.py", line 254, in start container = self._client.containers.get(spec['name']) File "/home/alex/Atlas/env/lib/python3.6/site-packages/docker/models/containers.py", line 880, in get resp = self.client.api.inspect_container(container_id) File "/home/alex/Atlas/env/lib/python3.6/site-packages/docker/utils/decorators.py", line 19, in wrapped return f(self, resource_id, *args, **kwargs) File "/home/alex/Atlas/env/lib/python3.6/site-packages/docker/api/container.py", line 756, in inspect_container self._get(self._url("/containers/{0}/json", container)), True File "/home/alex/Atlas/env/lib/python3.6/site-packages/docker/api/client.py", line 267, in _result self._raise_for_status(response) File "/home/alex/Atlas/env/lib/python3.6/site-packages/docker/api/client.py", line 263, in _raise_for_status raise create_api_error_from_http_exception(e) File "/home/alex/Atlas/env/lib/python3.6/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception raise cls(e, response=response, explanation=explanation) docker.errors.NotFound: 404 Client Error: Not Found ("No such container: foundations-authentication-server")

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/alex/Atlas/env/lib/python3.6/site-packages/docker/api/client.py", line 261, in _raise_for_status response.raise_for_status() File "/home/alex/Atlas/env/lib/python3.6/site-packages/requests/models.py", line 943, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.35/containers/152b41a9ab62a2c2dcb9cee12d26275ee113968299d4cb80ad71c886469ea025/start

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/alex/Atlas/env/lib/python3.6/site-packages/atlas-server/main.py", line 540, in cli.setup_parser() File "/home/alex/Atlas/env/lib/python3.6/site-packages/atlas-server/main.py", line 103, in setup_parser getattr(self, command)() File "/home/alex/Atlas/env/lib/python3.6/site-packages/atlas-server/main.py", line 272, in start self.class._containers[-1].start() File "/home/alex/Atlas/env/lib/python3.6/site-packages/docker/models/containers.py", line 400, in start return self.client.api.start(self.id, *kwargs) File "/home/alex/Atlas/env/lib/python3.6/site-packages/docker/utils/decorators.py", line 19, in wrapped return f(self, resource_id, args, **kwargs) File "/home/alex/Atlas/env/lib/python3.6/site-packages/docker/api/container.py", line 1093, in start self._raise_for_status(res) File "/home/alex/Atlas/env/lib/python3.6/site-packages/docker/api/client.py", line 263, in _raise_for_status raise create_api_error_from_http_exception(e) File "/home/alex/Atlas/env/lib/python3.6/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception raise cls(e, response=response, explanation=explanation) docker.errors.APIError: 500 Server Error: Internal Server Error ("OCI runtime create failed: invalid mount {Destination:keycloak:/keycloak Type:bind Source:/var/lib/docker/volumes/b2cd2d1b649914b4a7db146c803abedfd46c09c4e45d8775ede1534f15ff8beb/_data Options:[rbind]}: mount destination keycloak:/keycloak not absolute: unknown") 2021-07-10 17:23:14,703 - Foundations Atlas Server - INFO - Stopping atlas-authentication-proxy service... 2021-07-10 17:23:25,081 - Foundations Atlas Server - INFO - Stopped atlas-authentication-proxy service 2021-07-10 17:23:25,108 - Foundations Atlas Server - INFO - Removed atlas-authentication-proxy service 2021-07-10 17:23:25,108 - Foundations Atlas Server - INFO - Stopping atlas-gui service... 2021-07-10 17:23:35,624 - Foundations Atlas Server - INFO - Stopped atlas-gui service 2021-07-10 17:23:35,643 - Foundations Atlas Server - INFO - Removed atlas-gui service 2021-07-10 17:23:35,643 - Foundations Atlas Server - INFO - Stopping atlas-rest-api service... 2021-07-10 17:23:37,060 - Foundations Atlas Server - INFO - Stopped atlas-rest-api service 2021-07-10 17:23:37,090 - Foundations Atlas Server - INFO - Removed atlas-rest-api service 2021-07-10 17:23:37,090 - Foundations Atlas Server - INFO - Stopping foundations-authentication-server service... 2021-07-10 17:23:37,097 - Foundations Atlas Server - INFO - Stopped foundations-authentication-server service 2021-07-10 17:23:37,118 - Foundations Atlas Server - INFO - Removed foundations-authentication-server service 2021-07-10 17:23:37,118 - Foundations Atlas Server - INFO - Stopping foundations-archive-server service... 2021-07-10 17:23:37,492 - Foundations Atlas Server - INFO - Stopped foundations-archive-server service 2021-07-10 17:23:37,508 - Foundations Atlas Server - INFO - Removed foundations-archive-server service 2021-07-10 17:23:37,509 - Foundations Atlas Server - INFO - Stopping foundations-tracker service... 2021-07-10 17:23:37,908 - Foundations Atlas Server - INFO - Stopped foundations-tracker service 2021-07-10 17:23:37,924 - Foundations Atlas Server - INFO - Removed foundations-tracker service 2021-07-10 17:23:37,930 - Foundations Atlas Server - WARNING - Unable to remove foundations-authentication-server from network 2021-07-10 17:23:37,936 - Foundations Atlas Server - WARNING - Unable to remove foundations-archive-server from network 2021-07-10 17:23:37,942 - Foundations Atlas Server - WARNING - Unable to remove foundations-tracker from network 2021-07-10 17:23:37,942 - Foundations Atlas Server - INFO - Removing foundations-atlas network service... 2021-07-10 17:23:38,161 - Foundations Atlas Server - INFO - Removed foundations-atlas network service (env) alex@G5-5587:~/Atlas$ foundations init hello-atlas Success: New Foundations project hello-atlas created! (env) alex@G5-5587:~/Atlas$ cd hello-atlas (env) alex@G5-5587:~/Atlas/hello-atlas$ python main.py Foundations WARNING: Foundations has been imported, but a connection to Redis could not be established. No foundations code will run and a job will not be generated. Please make sure the server components started up correctly. Foundations WARNING: Script not run with Foundations. Foundations WARNING: Cannot save artifact outside of job.