-
Story
-
Resolution: Done
-
Medium
-
None
-
SDC Sprint 11, SDC Sprint 12
As a user deploying SDC I want to separate the C* docker into the C* server and the Cassandra init
so that there will be a separation of the server and the init logic. to allow a single execution of the init logic.
this will allow in the future to upgrade the C* without the need to restart it.
NOTE: check that the schema creation can be done from the remote docker.
DOD:
- create a new docker which will handle SDC schema creation (C* + titan + dox).
- the logic for creation of SDC user should be moved into this docker.
- the definition of the user to define and use should be moved into the environment variables of the docker (passed on docker run)
- the docker should be lightweight.
- the docker create/template.recipe logic should be moved to sdctool project.
- update pom according to the new docker build logic.
- update the chef execution to return the status code so that we will be able to query it and check if the execution was successful.
- update docker run script and check the return code of the execution.
- The SDC deployment works on OOM/Docker_run.