OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

tosca message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (TOSCA-278) Complex Compute + Docker + Network + Apache + MySQL Use case


    [ https://issues.oasis-open.org/browse/TOSCA-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60658#comment-60658 ] 

Luca Gioppo commented on TOSCA-278:
-----------------------------------

Here is the link to the diagram:
https://www.oasis-open.org/apps/org/workgroup/tosca/download.php/56446/graph1.png

> Complex Compute + Docker + Network + Apache + MySQL Use case
> ------------------------------------------------------------
>
>                 Key: TOSCA-278
>                 URL: https://issues.oasis-open.org/browse/TOSCA-278
>             Project: OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) TC
>          Issue Type: Task
>          Components: Container
>            Reporter: Luca Gioppo
>
> I'm attaching a graph diagram representing the set of nodes I could need on my orchestrator.
> My Approach is the following:
> 1) create a VM either on CloudStack or on Azure
> 2) execute all the IP acquire APi commands, do port mappoing and so on since the orchestrator is outside the Cloud Environment
> 3) install Docker-engine (or I could have it already there, but this is trivial)
> 4) create the Docker images with the Apache end MySQL
> 5) deploy the Containers on the Docker engine based on the image
> Data inserted by the end user during the process:
> 1) wordpress web site name and domain name
> 2) wordpress admin password
> 3) MySql account password
> In gold the relations that needs properties and information to enable a correct management
> In light blue the nodes I do not WANT to create since I expect that the cloud environment does for me
> in blue the nodes I WILL NOT create since the deployment of the other nodes will generate also those ones (eth0 is generated by CloudStack and DockerBridge is generated by the Docker rpm package).
> The problem is ....
> Which is the correct TOSCA definition for this topology?
> As you can see there are a number of cases here:
> 1) There are nodes that are not created by the orchestrator but their existence in the TOSCA definition is needed to allow the orchestrator to read the needed attributes
> 2) There is more than 1 NIC in the Compute node
> 3) there is the problem of an Acquired IP form the Cloud
> These is the problem that the DB account has to be created with user data and that is not possible to merge this information in the an endpoint.database capability since we need to state that we connect the the DB (the one that own the information on which port it bind to and can get the info of the address of the host is hosted on) so the relation from the wordpress to the mysql needs to have more than one property to state to which Db and using what account it connect to the DB engine (is the merge of 3 entity information here) and information has to be dynamically taken from the instance of the appropriate nodes if we want to empower future lifecycle like "change password", 
> Relations could be more effectively managed by using the relationship_template (A.8.1) where there should be the information for the edges of the graph since in the node_template we should find just the information on the "nodes" as the name imply. Mixing the two things is another quirk that generate confusion in the orchestrator implementation.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]