Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano
Hi Vahid, You diagrams are perfectly describe what we have now and what we want to have with TOSCA, I think it's time to start working on specification! I've updated corresponding blueprint with new status and assignee: https://blueprints.launchpad.net/murano/+spec/support-tosca-format On Fri, Jun 5, 2015 at 3:43 AM, Vahid S Hashemian vahidhashem...@us.ibm.com wrote: I'm attaching two sequence diagrams, one for package creation and import; and the other for environment deployment. In each case I compare my understanding of how Murano performs the use case for a HOT template, and how it can perform it for a TOSCA template. Please let me know what you think. Thanks. Regards, - Vahid Hashemian, Ph.D. Advisory Software Engineer, IBM Cloud Labs __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Serg Melikyan, Senior Software Engineer at Mirantis, Inc. http://mirantis.com | smelik...@mirantis.com __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano
Hi Serg, Thank you for your feedback. I'll start working on the spec. Regards, - Vahid Hashemian, Ph.D. Advisory Software Engineer, IBM Cloud Labs __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano
undefined __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano
undefined __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano
Hi Gosha, Sorry, not sure why my last message was delivered as undefined. Anyways, thanks for pointing me to those materials. I have a feeling though that due to the nature of Heat-Translator we would need to deal with HOT based templates and not MuranoPL. Regards, - Vahid Hashemian, Ph.D. Advisory Software Engineer, IBM Cloud Labs -Georgy Okrokvertskhov gokrokvertsk...@mirantis.com wrote: - To: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.org From: Georgy Okrokvertskhov gokrokvertsk...@mirantis.com Date: 06/03/2015 03:26PM Subject: Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano Hi, Murano documentation about all internals is here: http://murano.readthedocs.org/en/latest/ You probably need to take some example applications from here: https://github.com/openstack/murano-apps Take something simple like Tomcat and PostgresSQL. You will need to have an image for Ubuntu/Debian with murano agent. It could be downloaded form here: http://apps.openstack.org/#tab=glance-imagesasset=Debian%208%20x64%20(pre-installed%20murano-agent) Thanks Gosha On Wed, Jun 3, 2015 at 2:21 PM, Vahid S Hashemian vahidhashem...@us.ibm.com wrote: Thanks Gosha. That's right. I have been using HOT based applications. I have not used workflows before and need to dig into them. If you have any pointers on how to go about workflows please share them with me. Thanks. Regards, - Vahid Hashemian, Ph.D. Advisory Software Engineer, IBM Cloud Labs __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Georgy Okrokvertskhov Architect, OpenStack Platform Products, Mirantis http://www.mirantis.com Tel. +1 650 963 9828 Mob. +1 650 996 3284 __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano
undefined __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano
Hi Serg,Sorry, I seem to be having issues sending messages to the mailing list.Thanks for your message. I can work on the blueprint spec. Just trying to get a good picture of related Murano processes and where the connection points to Heat-Translator should be.And I agreed with your comment on MuranoPL. I think for TOSCA support and integration with Heat-Translator we need to consider HOT based packages.Regards,-Vahid Hashemian, Ph.D.Advisory Software Engineer, IBM Cloud Labs-Serg Melikyan smelik...@mirantis.com wrote: -To: "OpenStack Development Mailing List (not for usage questions)" openstack-dev@lists.openstack.orgFrom: Serg Melikyan smelik...@mirantis.comDate: 06/04/2015 06:31AMSubject: Re: [openstack-dev] [Murano] Help needed with TOSCA support in MuranoHi Vahid,Your analysis is correct, and integration of heat-translator is assimple as you described that in your document. It would be reallyawesome if you would turn this PDF to the proper specification for theblueprint.P.S. Regarding several stack for applications - currently HOT-basedpackages create stack per application, and we don't support same levelof composition as we have in murano-pl based packages. This is anotherquestion for improvement.On Wed, Jun 3, 2015 at 12:44 AM, Georgy Okrokvertskhovgokrokvertsk...@mirantis.com wrote: Hi Vahid, Thank you for sharing your thoughts. I have a questions about application life-cycle if we use TOSCA translator. In Murano the main advantage of using HOT format is that we can update Het stack with resources as soon as we need to deploy additional application. We can dynamically create multi-tier applications with using other apps as a building blocks. Imagine Java app on tom of Tomcat (VM1) and PostgreDB (VM2). All three components are three different apps in the catalog. Murano allows you to bring them and deploy together. Do you think it will be possible to use TOSCA translator for Heat stack updates? What we will do if we have two apps with two TOSCA templates like Tomcat and Postgre. How we can combine them together? Thanks Gosha On Tue, Jun 2, 2015 at 12:14 PM, Vahid S Hashemian vahidhashem...@us.ibm.com wrote: This is my what I have so far. Would love to hear feedback on it. Thanks. Regards, - Vahid Hashemian, Ph.D. Advisory Software Engineer, IBM Cloud Labs __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Georgy Okrokvertskhov Architect, OpenStack Platform Products, Mirantis http://www.mirantis.com Tel. +1 650 963 9828 Mob. +1 650 996 3284 __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev-- Serg Melikyan, Senior Software Engineer at Mirantis, Inc.http://mirantis.com| smelik...@mirantis.com__OpenStack Development Mailing List (not for usage questions)Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribehttp://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano
undefined __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano
Hi Vahid, Your analysis is correct, and integration of heat-translator is as simple as you described that in your document. It would be really awesome if you would turn this PDF to the proper specification for the blueprint. P.S. Regarding several stack for applications - currently HOT-based packages create stack per application, and we don't support same level of composition as we have in murano-pl based packages. This is another question for improvement. On Wed, Jun 3, 2015 at 12:44 AM, Georgy Okrokvertskhov gokrokvertsk...@mirantis.com wrote: Hi Vahid, Thank you for sharing your thoughts. I have a questions about application life-cycle if we use TOSCA translator. In Murano the main advantage of using HOT format is that we can update Het stack with resources as soon as we need to deploy additional application. We can dynamically create multi-tier applications with using other apps as a building blocks. Imagine Java app on tom of Tomcat (VM1) and PostgreDB (VM2). All three components are three different apps in the catalog. Murano allows you to bring them and deploy together. Do you think it will be possible to use TOSCA translator for Heat stack updates? What we will do if we have two apps with two TOSCA templates like Tomcat and Postgre. How we can combine them together? Thanks Gosha On Tue, Jun 2, 2015 at 12:14 PM, Vahid S Hashemian vahidhashem...@us.ibm.com wrote: This is my what I have so far. Would love to hear feedback on it. Thanks. Regards, - Vahid Hashemian, Ph.D. Advisory Software Engineer, IBM Cloud Labs __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Georgy Okrokvertskhov Architect, OpenStack Platform Products, Mirantis http://www.mirantis.com Tel. +1 650 963 9828 Mob. +1 650 996 3284 __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Serg Melikyan, Senior Software Engineer at Mirantis, Inc. http://mirantis.com | smelik...@mirantis.com __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano
Oh. I think it might be possible if you use Heat template based applications. As Murano has no clue how to merge two independent heat templates it might create a new stack. That is why we use workflows to define an expected behavior. Thanks Gosha On Wed, Jun 3, 2015 at 1:06 PM, Georgy Okrokvertskhov gokrokvertsk...@mirantis.com wrote: This is interesting. I never saw such behavior. I don't think this is the way how Murano supposed to behave. Is this a devstack version of Murano? You probably see some issue here. Thanks Gosha On Wed, Jun 3, 2015 at 11:26 AM, Vahid S Hashemian vahidhashem...@us.ibm.com wrote: Hi Gosha, Thanks again for your time. I seem to be observing a different behavior in my environment. Here is the experiment I ran: 1. Created environment env. No stack yet. 2. Added a component to env. No stack yet. 3. Deployed env. Two stacks are created: template for stack 1: description: 'This stack was generated by Murano for environment env (ID: 5841466294b94562ab7aee61e45f1fd6)' heat_template_version: '2013-05-23' resources: {} template for stack 2: description: Simple template to deploy a single cirros instance heat_template_version: '2014-10-16' resources: ~~my_instance: properties: {flavor: m1.micro, image: cirros-0.3.4-x86_64-uec} type: OS::Nova::Server 4. Add a second component to env. No changes to stacks. 5. Deploy env. Two existing stacks are updated (no changes to their template). A new stack is created. template for stack 3: description: Simple template to deploy a single cirros instance heat_template_version: '2014-10-16' resources: ~~my_instance: properties: {flavor: m1.small, image: ubuntu-trusty-amd64} type: OS::Nova::Server Basically, for each component addition I see a new stack is created with only resources from that component in it. Am I missing something? Regards, - Vahid Hashemian, Ph.D. Advisory Software Engineer, IBM Cloud Labs __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Georgy Okrokvertskhov Architect, OpenStack Platform Products, Mirantis http://www.mirantis.com Tel. +1 650 963 9828 Mob. +1 650 996 3284 -- Georgy Okrokvertskhov Architect, OpenStack Platform Products, Mirantis http://www.mirantis.com Tel. +1 650 963 9828 Mob. +1 650 996 3284 __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano
This is interesting. I never saw such behavior. I don't think this is the way how Murano supposed to behave. Is this a devstack version of Murano? You probably see some issue here. Thanks Gosha On Wed, Jun 3, 2015 at 11:26 AM, Vahid S Hashemian vahidhashem...@us.ibm.com wrote: Hi Gosha, Thanks again for your time. I seem to be observing a different behavior in my environment. Here is the experiment I ran: 1. Created environment env. No stack yet. 2. Added a component to env. No stack yet. 3. Deployed env. Two stacks are created: template for stack 1: description: 'This stack was generated by Murano for environment env (ID: 5841466294b94562ab7aee61e45f1fd6)' heat_template_version: '2013-05-23' resources: {} template for stack 2: description: Simple template to deploy a single cirros instance heat_template_version: '2014-10-16' resources: ~~my_instance: properties: {flavor: m1.micro, image: cirros-0.3.4-x86_64-uec} type: OS::Nova::Server 4. Add a second component to env. No changes to stacks. 5. Deploy env. Two existing stacks are updated (no changes to their template). A new stack is created. template for stack 3: description: Simple template to deploy a single cirros instance heat_template_version: '2014-10-16' resources: ~~my_instance: properties: {flavor: m1.small, image: ubuntu-trusty-amd64} type: OS::Nova::Server Basically, for each component addition I see a new stack is created with only resources from that component in it. Am I missing something? Regards, - Vahid Hashemian, Ph.D. Advisory Software Engineer, IBM Cloud Labs __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Georgy Okrokvertskhov Architect, OpenStack Platform Products, Mirantis http://www.mirantis.com Tel. +1 650 963 9828 Mob. +1 650 996 3284 __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano
undefined __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano
Hi, Murano documentation about all internals is here: http://murano.readthedocs.org/en/latest/ You probably need to take some example applications from here: https://github.com/openstack/murano-apps Take something simple like Tomcat and PostgresSQL. You will need to have an image for Ubuntu/Debian with murano agent. It could be downloaded form here: http://apps.openstack.org/#tab=glance-imagesasset=Debian%208%20x64%20(pre-installed%20murano-agent) http://apps.openstack.org/#tab=glance-imagesasset=Debian%208%20x64%20(pre-installed%20murano-agent) Thanks Gosha On Wed, Jun 3, 2015 at 2:21 PM, Vahid S Hashemian vahidhashem...@us.ibm.com wrote: Thanks Gosha. That's right. I have been using HOT based applications. I have not used workflows before and need to dig into them. If you have any pointers on how to go about workflows please share them with me. Thanks. Regards, - Vahid Hashemian, Ph.D. Advisory Software Engineer, IBM Cloud Labs __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Georgy Okrokvertskhov Architect, OpenStack Platform Products, Mirantis http://www.mirantis.com Tel. +1 650 963 9828 Mob. +1 650 996 3284 __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano
Thanks Gosha. That's right. I have been using HOT based applications. I have not used workflows before and need to dig into them. If you have any pointers on how to go about workflows please share them with me. Thanks. Regards, - Vahid Hashemian, Ph.D. Advisory Software Engineer, IBM Cloud Labs __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano
Hi Gosha, Thanks again for your time. I seem to be observing a different behavior in my environment. Here is the experiment I ran: 1. Created environment env. No stack yet. 2. Added a component to env. No stack yet. 3. Deployed env. Two stacks are created: template for stack 1: description: 'This stack was generated by Murano for environment env (ID: 5841466294b94562ab7aee61e45f1fd6)' heat_template_version: '2013-05-23' resources: {} template for stack 2: description: Simple template to deploy a single cirros instance heat_template_version: '2014-10-16' resources: ~~my_instance: properties: {flavor: m1.micro, image: cirros-0.3.4-x86_64-uec} type: OS::Nova::Server 4. Add a second component to env. No changes to stacks. 5. Deploy env. Two existing stacks are updated (no changes to their template). A new stack is created. template for stack 3: description: Simple template to deploy a single cirros instance heat_template_version: '2014-10-16' resources: ~~my_instance: properties: {flavor: m1.small, image: ubuntu-trusty-amd64} type: OS::Nova::Server Basically, for each component addition I see a new stack is created with only resources from that component in it. Am I missing something? Regards, - Vahid Hashemian, Ph.D. Advisory Software Engineer, IBM Cloud Labs __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano
Hi Vahid, Thank you for sharing your thoughts. I have a questions about application life-cycle if we use TOSCA translator. In Murano the main advantage of using HOT format is that we can update Het stack with resources as soon as we need to deploy additional application. We can dynamically create multi-tier applications with using other apps as a building blocks. Imagine Java app on tom of Tomcat (VM1) and PostgreDB (VM2). All three components are three different apps in the catalog. Murano allows you to bring them and deploy together. Do you think it will be possible to use TOSCA translator for Heat stack updates? What we will do if we have two apps with two TOSCA templates like Tomcat and Postgre. How we can combine them together? Thanks Gosha On Tue, Jun 2, 2015 at 12:14 PM, Vahid S Hashemian vahidhashem...@us.ibm.com wrote: This is my what I have so far. Would love to hear feedback on it. Thanks. Regards, - *Vahid Hashemian, Ph.D.* Advisory Software Engineer, IBM Cloud Labs __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Georgy Okrokvertskhov Architect, OpenStack Platform Products, Mirantis http://www.mirantis.com Tel. +1 650 963 9828 Mob. +1 650 996 3284 __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Murano] Help needed with TOSCA support in Murano
When you update an environment in Murano it will update underlying stack. You should not see a new stack for the same environment. If you have a PostgresDB deployed and then add a Tomcat application you will see that stack was updated with new resources. There is no dependency between Tomcat and PostgresDB so deployment will just update Heat stack with independent resources (new Nova:Server will be added). Murano will never add a new stack for existing environment when you update it. There is no such logic in the code for sure, a single Heat stack nailed down to environment and each deployment will do stack update calls. Thanks Gosha On Tue, Jun 2, 2015 at 5:59 PM, Vahid S Hashemian vahidhashem...@us.ibm.com wrote: In other words, can a new component that is being to an environment have dependency on the existing ones? If so, how does that defined? For example, going back to your example of a multi-tier application, if I initially have PostgreDB in my environment, and later add Tomcat, how do I tell Tomcat the PostgreDB connection info? Would it be manually done through component parameters? Or there are other dynamic ways of discovering it? Thanks. Regards, - Vahid Hashemian, Ph.D. Advisory Software Engineer, IBM Cloud Labs __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Georgy Okrokvertskhov Architect, OpenStack Platform Products, Mirantis http://www.mirantis.com Tel. +1 650 963 9828 Mob. +1 650 996 3284 __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev