Monday, 2014-06-30

*** openstack has joined #murano13:49
slagunapproved13:49
ruheslagun: thanks13:50
dteselkinhttps://blueprints.launchpad.net/murano/+spec/simulated-execution-mode-murano-engine13:52
slagun+113:56
openstackgerritSerg Melikyan proposed a change to stackforge/murano: Delete Heat stack when environment is deleted  https://review.openstack.org/10281013:59
openstackgerritA change was merged to stackforge/murano-dashboard: Fix selecting an existing App in another App  https://review.openstack.org/10279814:05
openstackgerritA change was merged to stackforge/murano: Fix pep8 issues  https://review.openstack.org/10331414:14
*** drupalmonkey has joined #murano14:19
openstackgerritIgor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs  https://review.openstack.org/10354114:27
tnurlygayanovhttps://bugs.launchpad.net/murano/+bug/133586314:39
openstackgerritIgor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs  https://review.openstack.org/10354114:54
ruheIgorYozhikov: would this change ^^ allow to publish jobs logs instead of providing a link to jenkins?15:07
openstackgerritIgor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs  https://review.openstack.org/10354115:15
*** chandan_kumar has quit IRC15:18
*** lazy_prince is now known as killer_prince15:20
*** chandan_kumar has joined #murano15:59
openstackgerritA change was merged to stackforge/murano: Update docs to reflect change from murano-api to murano  https://review.openstack.org/10310715:59
openstackgerritIgor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs  https://review.openstack.org/10354116:15
*** bharath has joined #murano16:17
openstackgerritIgor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs  https://review.openstack.org/10354116:19
bharathMay I know how murano-agent will write agent.conf file?16:22
slagunthere is a script passed in userdata. agent.conf is embedded into that script. It replaces config and restarts agent16:24
bharathslagun: how can we see what userdata is sent to murano-agent by openstack metadata service?16:25
slagun1. 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
slagunI guess it can be taken from VM either16:32
slagunDoes it make sense?16:33
bharathslagun: who will send this data openstack metadata service?16:36
bharathreceived by cloudinit?16:37
slagunHeat. The data itself is built in Instance class in Instance+LinuxMuranoInstance yaml MuranoPL classes16:37
openstackgerritIgor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs  https://review.openstack.org/10354116:38
slagunMuranoPL->Heat->Nova->MetadataService->CloudInit->Agent16:38
bharathslagun: Don't mind asking too many questions16:39
slagunyou're welcome :)16:39
bharathslagun: I can't understand cloudInit->Agent16:39
slaguncloud-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 one16:41
bharathslagun: oh okay16:42
bharathslagun: I am searching from code point of view how murano is sending user data to heat16:42
openstackgerritIgor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs  https://review.openstack.org/10354116:42
slagunsee Instance.yaml and LinuxMuranoInstance.yaml16:43
slagunuser_data is generated in LinuxMuranoInstance.yaml and apassed to Heat in Instance.yaml16:43
slagunalso see linux-init.sh16:44
bharathslagun: then murano-agent will take tasks from rabbitmq-server?16:54
slagunyes16:55
bharathslagun: 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#L6616:59
bharathslagun: because murano-agent is doing tasks in rabbitmq server16:59
slagunagent 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 RPC17:00
slagunEngine runs the workflow. It talks to many agents on different VMs17:02
slagunkind of puppet master :)17:02
bharathslagun:  you mean engine will send topic name to agent?17:03
slaguntopic/queue names are in agent.conf17:04
slagunit sends tasks - description of actions that are need to be performed on VM17:04
slagunsomething that we call Execution Plans17:05
bharathslagun: then what will be in rabbitmq17:05
slagunExecution Plans. This is somewhat similar to cheff cookbooks. Think shell script that need to be executed remotely17:06
openstackgerritLonggeek proposed a change to stackforge/murano: Update requirements file matching global requ  https://review.openstack.org/10359217:07
bharathslagun: I was confused. you said engine will send tasks?17:07
slagunyes. Task = Execution Plan = Scripts + some extra17:08
bharathslagun: via rabbitmq?17:09
bharathI mean using17:09
openstackgerritLonggeek proposed a change to stackforge/murano-agent: Update requirements file matching global requ and add six module  https://review.openstack.org/10359417:13
bharathslagun: oh got it17:14
bharathslagun: agent.call will build execution plan and put it in the queue and wait for the results17:14
bharathslagun: right?17:14
*** gokrokve has joined #murano17:15
slagunbharath did this answer your questions?17:18
bharathslagun: sorry I didn't get you17:19
slagunwhat part of it?17:20
bharathslagun: what agent listener will actually do?17:21
bharathslagun: will receive results from agent?17:22
slagunyes17:22
slagunagent receives tasks in one queue and sends responses to another. agent-listener listens for responses and returns them to MuranoPL code17:23
bharathslagun: got it17:24
bharaththanks a lot17:24
slagunfeel free to ask17:26
bharath:)17:31
openstackgerritLonggeek proposed a change to stackforge/murano-dashboard: Update requirements file matching global requ and add argparse module  https://review.openstack.org/10359917:31
openstackgerritIgor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs  https://review.openstack.org/10354117:47
openstackgerritLonggeek proposed a change to stackforge/python-muranoclient: Update requirements file matching global requ  https://review.openstack.org/10360517:47
*** asalkeld has joined #murano18:08
*** bharath has quit IRC18:14
*** IlyaE has joined #murano18:31
*** IlyaE has quit IRC18:35
*** IlyaE has joined #murano18:37
*** IlyaE has quit IRC18:40
*** drupalmonkey has quit IRC18:40
*** IlyaE has joined #murano18:45
*** drupalmonkey has joined #murano18:57
*** IlyaE has quit IRC19:27
*** IlyaE has joined #murano19:33
*** chandan_kumar has quit IRC19:52
*** asalkeld has quit IRC20:00
*** asalkeld has joined #murano20:22
*** IlyaE has quit IRC20:59
*** IlyaE has joined #murano21:03
*** drupalmonkey has quit IRC21:06
*** drupalmonkey has joined #murano21:09
*** christop1eraedo has joined #murano21:31
*** christopheraedo has quit IRC21:36
*** IlyaE has quit IRC22:02
*** IlyaE has joined #murano22:04
*** asalkeld has quit IRC22:58
*** TravT has joined #murano23:08
*** openstackgerrit has quit IRC23:19
*** openstackgerrit has joined #murano23:20
openstackgerritIgor Yozhikov proposed a change to stackforge/murano-deployment: Add collect_artifacts to all jobs  https://review.openstack.org/10354123:32

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!