*** openstack has joined #murano | 13:49 | |
slagun | approved | 13:49 |
---|---|---|
ruhe | slagun: thanks | 13:50 |
dteselkin | https://blueprints.launchpad.net/murano/+spec/simulated-execution-mode-murano-engine | 13:52 |
slagun | +1 | 13:56 |
openstackgerrit | Serg Melikyan proposed a change to stackforge/murano: Delete Heat stack when environment is deleted https://review.openstack.org/102810 | 13:59 |
openstackgerrit | A change was merged to stackforge/murano-dashboard: Fix selecting an existing App in another App https://review.openstack.org/102798 | 14:05 |
openstackgerrit | A change was merged to stackforge/murano: Fix pep8 issues https://review.openstack.org/103314 | 14:14 |
*** drupalmonkey has joined #murano | 14:19 | |
openstackgerrit | Igor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs https://review.openstack.org/103541 | 14:27 |
tnurlygayanov | https://bugs.launchpad.net/murano/+bug/1335863 | 14:39 |
openstackgerrit | Igor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs https://review.openstack.org/103541 | 14:54 |
ruhe | IgorYozhikov: would this change ^^ allow to publish jobs logs instead of providing a link to jenkins? | 15:07 |
openstackgerrit | Igor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs https://review.openstack.org/103541 | 15:15 |
*** chandan_kumar has quit IRC | 15:18 | |
*** lazy_prince is now known as killer_prince | 15:20 | |
*** chandan_kumar has joined #murano | 15:59 | |
openstackgerrit | A change was merged to stackforge/murano: Update docs to reflect change from murano-api to murano https://review.openstack.org/103107 | 15:59 |
openstackgerrit | Igor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs https://review.openstack.org/103541 | 16:15 |
*** bharath has joined #murano | 16:17 | |
openstackgerrit | Igor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs https://review.openstack.org/103541 | 16:19 |
bharath | May I know how murano-agent will write agent.conf file? | 16:22 |
slagun | there is a script passed in userdata. agent.conf is embedded into that script. It replaces config and restarts agent | 16:24 |
bharath | slagun: how can we see what userdata is sent to murano-agent by openstack metadata service? | 16:25 |
slagun | 1. From murano log you can obtain all Heat stack that modifications (search for 'Pushing:'). 2. Created instances can be identified within the stack by 'OS::Nova::Server' resource type. 3. user data is long base64 string under user_data key for each instance. Once you base64 decode that string you get shell script that contains embedded config in one of its first lines (once again in base64) | 16:31 |
slagun | I guess it can be taken from VM either | 16:32 |
slagun | Does it make sense? | 16:33 |
bharath | slagun: who will send this data openstack metadata service? | 16:36 |
bharath | received by cloudinit? | 16:37 |
slagun | Heat. The data itself is built in Instance class in Instance+LinuxMuranoInstance yaml MuranoPL classes | 16:37 |
openstackgerrit | Igor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs https://review.openstack.org/103541 | 16:38 |
slagun | MuranoPL->Heat->Nova->MetadataService->CloudInit->Agent | 16:38 |
bharath | slagun: Don't mind asking too many questions | 16:39 |
slagun | you're welcome :) | 16:39 |
bharath | slagun: I can't understand cloudInit->Agent | 16:39 |
slagun | cloud-init is capable of executing shell scripts that it receives in user-data. MuranoPL generates such script. And the script being executed on VM replaces agent.conf with correct one | 16:41 |
bharath | slagun: oh okay | 16:42 |
bharath | slagun: I am searching from code point of view how murano is sending user data to heat | 16:42 |
openstackgerrit | Igor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs https://review.openstack.org/103541 | 16:42 |
slagun | see Instance.yaml and LinuxMuranoInstance.yaml | 16:43 |
slagun | user_data is generated in LinuxMuranoInstance.yaml and apassed to Heat in Instance.yaml | 16:43 |
slagun | also see linux-init.sh | 16:44 |
bharath | slagun: then murano-agent will take tasks from rabbitmq-server? | 16:54 |
slagun | yes | 16:55 |
bharath | slagun: then what is the purpose of murano engine, I mean why we need a call to murano-agent https://github.com/stackforge/murano/blob/master/murano/engine/system/agent.py#L66 | 16:59 |
bharath | slagun: because murano-agent is doing tasks in rabbitmq server | 16:59 |
slagun | agent takes tasks from rabbitMQ and executes them on Vm. Engine tells agent (via RabbitMQ) what to do and waits for result. It is sort of RPC | 17:00 |
slagun | Engine runs the workflow. It talks to many agents on different VMs | 17:02 |
slagun | kind of puppet master :) | 17:02 |
bharath | slagun: you mean engine will send topic name to agent? | 17:03 |
slagun | topic/queue names are in agent.conf | 17:04 |
slagun | it sends tasks - description of actions that are need to be performed on VM | 17:04 |
slagun | something that we call Execution Plans | 17:05 |
bharath | slagun: then what will be in rabbitmq | 17:05 |
slagun | Execution Plans. This is somewhat similar to cheff cookbooks. Think shell script that need to be executed remotely | 17:06 |
openstackgerrit | Longgeek proposed a change to stackforge/murano: Update requirements file matching global requ https://review.openstack.org/103592 | 17:07 |
bharath | slagun: I was confused. you said engine will send tasks? | 17:07 |
slagun | yes. Task = Execution Plan = Scripts + some extra | 17:08 |
bharath | slagun: via rabbitmq? | 17:09 |
bharath | I mean using | 17:09 |
openstackgerrit | Longgeek proposed a change to stackforge/murano-agent: Update requirements file matching global requ and add six module https://review.openstack.org/103594 | 17:13 |
bharath | slagun: oh got it | 17:14 |
bharath | slagun: agent.call will build execution plan and put it in the queue and wait for the results | 17:14 |
bharath | slagun: right? | 17:14 |
*** gokrokve has joined #murano | 17:15 | |
slagun | bharath did this answer your questions? | 17:18 |
bharath | slagun: sorry I didn't get you | 17:19 |
slagun | what part of it? | 17:20 |
bharath | slagun: what agent listener will actually do? | 17:21 |
bharath | slagun: will receive results from agent? | 17:22 |
slagun | yes | 17:22 |
slagun | agent receives tasks in one queue and sends responses to another. agent-listener listens for responses and returns them to MuranoPL code | 17:23 |
bharath | slagun: got it | 17:24 |
bharath | thanks a lot | 17:24 |
slagun | feel free to ask | 17:26 |
bharath | :) | 17:31 |
openstackgerrit | Longgeek proposed a change to stackforge/murano-dashboard: Update requirements file matching global requ and add argparse module https://review.openstack.org/103599 | 17:31 |
openstackgerrit | Igor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs https://review.openstack.org/103541 | 17:47 |
openstackgerrit | Longgeek proposed a change to stackforge/python-muranoclient: Update requirements file matching global requ https://review.openstack.org/103605 | 17:47 |
*** asalkeld has joined #murano | 18:08 | |
*** bharath has quit IRC | 18:14 | |
*** IlyaE has joined #murano | 18:31 | |
*** IlyaE has quit IRC | 18:35 | |
*** IlyaE has joined #murano | 18:37 | |
*** IlyaE has quit IRC | 18:40 | |
*** drupalmonkey has quit IRC | 18:40 | |
*** IlyaE has joined #murano | 18:45 | |
*** drupalmonkey has joined #murano | 18:57 | |
*** IlyaE has quit IRC | 19:27 | |
*** IlyaE has joined #murano | 19:33 | |
*** chandan_kumar has quit IRC | 19:52 | |
*** asalkeld has quit IRC | 20:00 | |
*** asalkeld has joined #murano | 20:22 | |
*** IlyaE has quit IRC | 20:59 | |
*** IlyaE has joined #murano | 21:03 | |
*** drupalmonkey has quit IRC | 21:06 | |
*** drupalmonkey has joined #murano | 21:09 | |
*** christop1eraedo has joined #murano | 21:31 | |
*** christopheraedo has quit IRC | 21:36 | |
*** IlyaE has quit IRC | 22:02 | |
*** IlyaE has joined #murano | 22:04 | |
*** asalkeld has quit IRC | 22:58 | |
*** TravT has joined #murano | 23:08 | |
*** openstackgerrit has quit IRC | 23:19 | |
*** openstackgerrit has joined #murano | 23:20 | |
openstackgerrit | Igor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs https://review.openstack.org/103541 | 23:32 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!