EUDAT-GEF / GEF

The GEF
GNU General Public License v2.0
6 stars 9 forks source link

Added workflow to instantiate VM on EGI #162

Closed xpivan closed 7 years ago

xpivan commented 7 years ago

The main purpose of this request is to update a workflow to instantiate a VM. It is based on the jOCCI-API (java Open Cloud Computing Interface) from EGI.

The workflow works as follow: The GEF build the docker images based on alpine OS from the internal services "maven-EGI" which contains all the workflow to instantiate the VM. The image is build with the other docker services in pier.go. The workflow starts from the creation of a proxy to send request to EGI server and then read the configEGI.json file located inside the images. At the end of the workflow the code return 3 outputs, the VM IP, URI and state and store it in configEGI.json.

There is still a lot of work to do:

1) The very first step consists to complete the workflow by automating the configuration of the VM to deploy docker server on EGI based on tcp protocol. 2) Clean and make the java code much more clear 3) The final workflow is supposed to be run inside a docker alpine-java to be lighter. For the moment the docker container will also include maven 4) Structure the json file with more details on users 5) And of course all the suggestions and modifications you will find

ubuntolog commented 7 years ago

General remark: try fix all formatting problems (spaces, tabs, indentation), remove unused (commented) code fragments. Look at my old comments again, you've missed several comments. After we approve the pull request, you will have to pull the most recent master branch (since it has been updated) and rebase you branch.

ubuntolog commented 7 years ago

The tests failed