Friday, 2015-09-25

*** zhurong has quit IRC00:08
*** lawrancejing has quit IRC00:11
*** yamamoto has joined #murano00:11
*** yamamoto has quit IRC00:16
openstackgerritStan Lagun proposed openstack/murano: Release resources allocated to the Instance when it gets deleted  https://review.openstack.org/22761000:17
*** alejandrito has joined #murano00:32
*** lawrancejing has joined #murano00:42
*** kzaitsev_mb has joined #murano00:43
*** kzaitsev_mb has quit IRC00:47
*** xiangxinyong has joined #murano00:57
*** alejandrito has quit IRC01:01
*** kzaitsev_mb has joined #murano01:14
*** zhurong has joined #murano01:14
*** kzaitsev_mb has quit IRC01:34
*** lawrancejing has quit IRC01:35
*** zhurong has quit IRC01:35
*** lawrancejing has joined #murano01:36
*** zhurong has joined #murano01:37
*** kzaitsev_mb has joined #murano02:30
*** kzaitsev_mb has quit IRC02:35
*** Piet has quit IRC03:14
*** lawrancejing has quit IRC03:34
*** xiangxinyong has quit IRC03:54
openstackgerritRohini Choudhary proposed openstack/murano-dashboard: Append information during automatic image uploading  https://review.openstack.org/22741804:12
openstackgerritzhu.rong proposed openstack/murano-dashboard: Fix pep8 W503 errors  https://review.openstack.org/22767105:31
*** vgridnev has joined #murano05:56
*** openstackgerrit has quit IRC06:01
*** vgridnev has quit IRC06:01
*** openstackgerrit has joined #murano06:01
*** sergmelikyan has joined #murano06:08
openstackgerritzhu.rong proposed openstack/murano: Fix pep8 W503 and E402 errors  https://review.openstack.org/22768106:15
*** prefer has joined #murano06:20
*** prefer has quit IRC06:22
*** prefer has joined #murano06:23
*** sergmelikyan has quit IRC06:38
*** yamamoto has joined #murano06:40
openstackgerritzhu.rong proposed openstack/murano: Fix pep8 W503 and E402 errors  https://review.openstack.org/22768106:51
*** vgridnev has joined #murano06:53
*** abhishekk has joined #murano06:57
abhishekkHi I am new to murano, can any one point me how to deploy sample application in murano06:57
abhishekkthank you06:57
*** Samos123 has quit IRC06:58
openstackgerritRohini Choudhary proposed openstack/murano-dashboard: Append information during automatic image uploading  https://review.openstack.org/22741807:12
openstackgerritzhu.rong proposed openstack/python-muranoclient: Update the python-muranoclient docs  https://review.openstack.org/22770607:43
*** kzaitsev_mb has joined #murano07:46
*** kzaitsev_mb has quit IRC07:51
*** exploreshaifali has joined #murano08:09
*** tlashchova has joined #murano08:11
*** katyafervent_awa is now known as katyafervent08:12
katyaferventhi abhishekk !08:14
katyaferventdo you have murano installed?08:14
*** pradiprwt has joined #murano08:15
*** openstackgerrit has quit IRC08:16
*** openstackgerrit has joined #murano08:16
*** yamamoto has quit IRC08:31
*** exploreshaifali has quit IRC08:32
*** kzaitsev_mb has joined #murano08:42
*** sergmelikyan has joined #murano08:50
openstackgerritEkaterina Chernova proposed openstack/murano-apps: Update UI definitions to 2.2 version  https://review.openstack.org/22355508:54
abhishekkkatyafervent: sorry was out for lunch08:58
abhishekkkatyafervent: yes I have murano installed08:58
*** zhurong has quit IRC08:59
katyaferventok, so make sure core library is imported http://murano.readthedocs.org/en/latest/install/manual.html#install-the-api-service-and-engine (item 8)09:04
katyaferventgo ti the murano dashboard, Package Definitions tab (inside manage section)09:04
katyaferventchoose Import package, select repository and copy application name from http://apps.openstack.org/#tab=murano-apps09:05
katyaferventapache and tomcat are the simplest examples09:05
openstackgerritRohini Choudhary proposed openstack/murano-dashboard: Append information during automatic image uploading  https://review.openstack.org/22741809:10
*** kzaitsev_mb has quit IRC09:11
abhishekkkatyafervent: thank you, let me try this09:13
*** sergmelikyan has quit IRC09:15
*** enthurohini has joined #murano09:25
enthurohinikatyafervent, hii09:26
katyafervententhurohini, hi!09:28
enthurohinikatyafervent, as you suggested in https://review.openstack.org/#/c/227418/ , added msg is shown after image is added to glance.09:29
enthurohiniIn image tab it can be seen, after this message is shown to user09:30
katyaferventyes, but if link will be invalid - nothing happened09:32
katyaferventso message should be 'universal'09:32
openstackgerritvenkatamahesh proposed openstack/murano: Remove old files used for enabling murano in Devstack  https://review.openstack.org/22562209:34
enthurohinikatyafervent, ok. then should i wait for kiiril reply or do changes?09:36
enthurohini*kirill09:37
*** xiangxinyong has joined #murano09:38
katyaferventlet's wait, he will be here soon09:39
*** yamamoto has joined #murano09:40
enthurohinikatyafervent, Ok. is there any post/doc which explains the complete flow, how muarno engine interacts with heatclient and stacks are created and make available for user?09:43
*** asalkeld has quit IRC09:45
katyaferventno, we don't. this behaviour is defined in MuranoPL class, and actually, users can upload it's own classes09:45
katyaferventso this defined in murano core library, not in murano itself09:45
katyaferventwe have just this article regarding murano workflow http://murano.readthedocs.org/en/latest/articles/workflow.html09:45
*** yamamoto has quit IRC09:45
enthurohini  katyafervent, Ok09:50
openstackgerritMerged openstack/murano-apps: Fix deployment of Rally application  https://review.openstack.org/22211509:58
*** enthurohini has quit IRC10:05
*** kzaitsev_mb has joined #murano10:06
*** Samos123 has joined #murano10:15
*** Samos123 has quit IRC10:22
*** kzaitsev_mb has quit IRC10:33
*** xiangxinyong has quit IRC10:37
abhishekkkatyafervent: http://apps.openstack.org/#tab=murano-apps does not list any application in browser10:45
katyaferventthat;s interesting :)10:49
katyaferventand this link http://apps.openstack.org/#tab=murano-apps&asset=Apache%20HTTP%20Server ?10:49
katyaferventok, you can just paste io.murano.apps.apache.ApacheHttpServer to the form10:49
katyaferventapp catalog allows to show all apps that we have10:50
abhishekklet me try10:50
abhishekksame for 2nd link as well10:50
abhishekkio.murano.apps.apache.ApacheHttpServer using this I am able to proceed10:52
*** Samos123 has joined #murano10:53
*** Samos123 has quit IRC11:00
*** kzaitsev_mb has joined #murano11:01
katyaferventwhat do you have on the screen while opening those links? please, share11:02
katyaferventok, so next step is go to 'Application' tab and click 'Quick deploy'11:02
abhishekkkatyafervebt: yes11:06
abhishekkon link it just displayes list containining Murano Packages, Heat Templates, Glance Images and Add new Content11:07
abhishekkkatyafervent: after deploying when I switch to console it is asking for credentials11:10
abhishekkkatyafervent: by any chance do you know creds for debian image?11:11
kzaitsev_mbabhishekk: what do you mean http://apps.openstack.org/#tab=murano-apps does not list any apps?11:12
kzaitsev_mbit does for me11:12
kzaitsev_mbwhat browser do you use?11:12
abhishekkchrome11:12
abhishekkI have tried in mozilla as well11:12
kzaitsev_mbhttp://apps.openstack.org/#tab=glance-images&asset=Debian%208%20x64%20(pre-installed%20murano-agent)11:13
abhishekksame thing with this link as well11:13
abhishekk:(11:13
kzaitsev_mbdo you have js turned off?11:13
kzaitsev_mbcause it looks like you have javascript turned off11:14
abhishekklet me check11:14
abhishekkon ie it shows error on status bar11:14
kzaitsev_mbyou should come to #openstack-app-catalog and ask there =)11:14
kzaitsev_mbalthough I might be the only guy alive there at the time11:15
kzaitsev_mbbut kfox and docaedo might come and help debug11:15
abhishekkkzaitsev_mb: ok11:16
kzaitsev_mbCause well murano does not controll what's happening on app-catalog side of the things ;)11:17
abhishekkthank you for pointing11:17
kzaitsev_mbabhishekk: do you want me to give you the url for the image? =)11:18
abhishekkyes please11:18
kzaitsev_mbhttp://storage.apps.openstack.org/images/debian-8-m-agent.qcow211:18
kzaitsev_mb=)11:18
abhishekkthank you11:18
kzaitsev_mbyou can also intall the app-catalog-ui it's a dashboard for app-catalog, that would allow you to browse app-catalog's assets from inside horizon11:19
abhishekkok, I will try using that11:20
abhishekkjavascript is enabled in chrome still it does not show apps11:30
*** ddovbii has joined #murano11:33
*** sergmelikyan has joined #murano11:34
*** sergmelikyan has quit IRC11:39
*** yamamoto has joined #murano11:43
*** sergmelikyan has joined #murano11:52
*** sergmelikyan has quit IRC11:53
*** pradiprw_ has joined #murano12:04
*** pradiprwt has quit IRC12:07
*** alejandrito has joined #murano12:13
*** sergmelikyan has joined #murano12:30
*** alejandrito has quit IRC12:36
*** alejandrito has joined #murano12:38
*** sergmelikyan has quit IRC12:47
*** zhurong has joined #murano12:51
openstackgerritKirill Zaitsev proposed openstack/murano: Enable H233: Python 3.x incompatible use of print operator  https://review.openstack.org/22784013:19
openstackgerritTetiana Lashchova proposed openstack/python-muranoclient: Fix package-save command  https://review.openstack.org/22784213:20
*** abhishekk has quit IRC13:23
*** sergmelikyan has joined #murano13:26
*** sergmelikyan has quit IRC13:31
*** sergmelikyan has joined #murano13:32
openstackgerritTetiana Lashchova proposed openstack/python-muranoclient: Fix package-save command  https://review.openstack.org/22784213:49
*** exploreshaifali has joined #murano13:54
*** pradiprw_ has quit IRC14:01
*** pradiprwt has joined #murano14:02
openstackgerritMerged openstack/python-muranoclient: Update the python-muranoclient docs  https://review.openstack.org/22770614:06
openstackgerritMaria Zlatkova proposed openstack/murano: [Murano Docs] Add Deploy an env HowTo  https://review.openstack.org/22679114:18
*** yamamoto has quit IRC14:19
openstackgerritMaria Zlatkova proposed openstack/murano: [Murano Docs] Add Deploy an env HowTo  https://review.openstack.org/22679114:19
*** sergmelikyan has quit IRC14:20
*** sergmelikyan has joined #murano14:23
*** sergmelikyan has quit IRC14:27
*** sergmelikyan has joined #murano14:43
*** sergmelikyan has quit IRC14:45
*** lesage_o has joined #murano14:51
lesage_oI've got a rest plugin for a Murano package. The flow is Murano -> external system -> call back to Murano action. How can i keep or update the environment status to 'deploying' after Murano calls the external system during the time we're waiting for the external system to call back the murano action?14:54
lesage_odoesn't look like status can be updated using the environment api14:55
*** exploreshaifali has quit IRC15:08
openstackgerritEkaterina Chernova proposed openstack/murano: Add troubleshooting section for a new documentation  https://review.openstack.org/22594415:19
katyaferventhi lesage_o !15:19
*** yamamoto has joined #murano15:20
katyaferventI need elaboration, your question is really interesting :)15:21
*** pradiprwt has quit IRC15:21
katyaferventwhat do you mean by  'plugin for a Murano package' ? have you added murano classes as a plugin?15:22
*** pradiprwt has joined #murano15:22
*** prefer has quit IRC15:22
*** sergmelikyan has joined #murano15:24
lesage_oyes i have a python module i loaded to make REST calls from a Murano PL class, so using this plugin we make a REST call to an external system, then want to wait async (murano does nothing further) once the external system finishes doing what it needs to, it calls back the murano environment using the action API15:24
*** yamamoto has quit IRC15:24
katyaferventsituation you described is not possible15:25
lesage_oduring the wait for the external system though the murano environment shows 'ready' but we want to change the status to 'deploying' since the external system is still working15:25
sergmelikyankatyafervent: ?15:25
lesage_othere's no way to control the environment status via the api?15:25
katyaferventsince execution action may not be possible on the environment, that is currently deploying15:26
sergmelikyanlesage_o: there is for sure, we do that in our tests15:26
* sergmelikyan loading logs to read before answering15:26
*** StanLagun has joined #murano15:26
lesage_ohey serg15:26
sergmelikyanlesage_o: hi :) good to see you here15:27
lesage_otrying not to directly bug you so much via email lol15:27
katyaferventyou can call action not from the external system, but from plugin15:27
*** samuelBartel has quit IRC15:27
StanLagunhey lesage_o, maybe I can help you15:28
sergmelikyanlesage_o: looks like you want to essentially leave environment in deploying state while external system does some stuff?15:28
katyaferventlesage_o, StanLagun deficiently will help you out :)15:28
lesage_oyes serg, once we make the external system call, Murano is done with it's piece15:28
lesage_othe external system later makes an action api call to update the environment15:28
lesage_obut that time inbetween the status shows 'ready' we want to manually change or leave it 'deploying'15:29
katyafervent*definitely (glad to make you smile)15:29
lesage_ohey Stan, sure thanks any insight anyone can offer15:29
StanLagunlesage_o, actions get scheduled only when environment is in ready state. If yom make it 'deploying' in between somehow you will get deadlock15:30
sergmelikyanproblem is that while environment in deployment state - it can't accept action calls. Is there an option to have poll from plugin? So essentially Murano calls external system and waits for completion?15:30
katyaferventlesage_o, you can add sleep command to make en environment freeze in 'deploying'. but do you need or not Stan will answer)15:30
lesage_oi tried to do a PUT with {"status": "Deploying"} to /environments/env_id but that didn't work15:31
lesage_oi'm aware of the sleep, but don't want to sleep, we're trying to mimic an async wait15:31
StanLagunthen you need this external system to signal your plugin about completion15:32
lesage_ois there a custom status that can be set? basically we don't want users seeing 'ready' in environment if the external system is still working15:32
StanLagunthere is no special status. Also there is no action queuing. If your deployment would still be in progress when external system completes it will get error response upon attempt to call action15:34
lesage_oi see15:34
sergmelikyanStanLagun: btw, https://review.openstack.org/227610 - we need backport for this to RC215:35
StanLagunWe used to solve the same problem for Murano-MuranoAgent interactions. Agents are also asynchronous and we don't do pooling there15:36
StanLagunsergmelikyan, you mean to cherry-pick to stable/liberty?15:36
sergmelikyanStanLagun: yep15:37
lesage_ojust saw your response too serg, missed it earlier, don't think we can poll from the plugin15:37
StanLagunsergmelikyan, https://review.openstack.org/#/c/227916/15:37
StanLagunput can you make that system signal your plugin somehow?15:38
StanLagunbut*15:38
StanLagunyou don't necessary need to poll something. Instead you can wait for some event (thread synchronization primitive) signaled from other thread. But then you need that external system to signal to your plugin15:40
lesage_oit's only a REST client to make calls out, there's no listener for the external system to signal the plugin15:40
*** sergmelikyan has quit IRC15:41
lesage_owe may have to change things based on the info you guys gave me, or live with the 'ready' status for now i appreciate it :)15:42
StanLagunyou can make one :) We do plan to solve this issue. The only alternative for now is to live with ready status and prey that external system will not try to invoke action prior to deployment completion15:43
StanLagunsorry for that15:43
StanLagunin theory you can setup simple http listener in your plugin15:44
openstackgerritTetiana Lashchova proposed openstack/murano: Add missing import of '_' in template_applications  https://review.openstack.org/22792215:48
lesage_othat might be an option, just so i'm clear there's no way to force a certain status in murano pl class?15:51
lesage_oStan can you give a little more detail on "We used to solve the same problem for Murano-MuranoAgent interactions. Agents are also asynchronous and we don't do pooling there"15:52
*** zhurong has quit IRC15:55
*** pradiprwt has quit IRC15:57
*** pradiprwt has joined #murano15:57
*** raildo-afk is now known as raildo16:01
openstackgerritMerged openstack/murano: Release resources allocated to the Instance when it gets deleted  https://review.openstack.org/22761016:11
openstackgerritEkaterina Chernova proposed openstack/murano-dashboard: Fix 'RemovedInDjango19Warning' related to murano-dashboard  https://review.openstack.org/22792916:11
*** kzaitsev_mb has quit IRC16:11
*** pradiprwt has quit IRC16:16
openstackgerritEkaterina Chernova proposed openstack/murano-apps: Fix deployment of Rally application  https://review.openstack.org/22793316:17
StanLagunlesage_o, I'm afraid there is no way to force status from MuranoPL16:25
*** kzaitsev_mb has joined #murano16:27
StanLagunlesage_o, as for the agent it goes like this: we have Agent class that is one per Instance and AgentListener that is one per environment. Agent creates event and provides it to AgentListener. Then it sends the message and wait for event to become signaled. AgentListener listens for incoming messages and when one arrives signals appropriate event. AgentListener spawns dedicated thread and doesn't block. Agent does block until event becomes signaled or time16:28
StanLagunout occurs16:28
lesage_ook thanks, for the explanation :)16:29
*** sergmelikyan has joined #murano16:36
openstackgerritRohini Choudhary proposed openstack/murano-dashboard: Append information during automatic image uploading  https://review.openstack.org/22741816:46
*** ddovbii has quit IRC16:47
*** enthurohini has joined #murano17:07
*** sergmelikyan has quit IRC17:09
*** StanLagun has quit IRC17:09
*** enthurohini has quit IRC17:20
*** Samos123 has joined #murano17:22
*** kzaitsev_mb has quit IRC17:26
*** vgridnev has quit IRC17:36
*** vgridnev has joined #murano17:36
*** raildo is now known as raildo-afk17:44
openstackgerritRohini Choudhary proposed openstack/murano-dashboard: Append information during automatic image uploading  https://review.openstack.org/22741818:07
*** goodnix has quit IRC18:18
*** goodnix has joined #murano18:21
*** goodnix has quit IRC18:26
*** goodnix has joined #murano18:26
*** alejandrito has quit IRC18:42
*** ByPasS has quit IRC18:48
*** ByPasS_ has joined #murano18:49
*** ByPasS_ is now known as ByPasS18:49
*** alejandrito has joined #murano20:11
*** kzaitsev_mb has joined #murano20:32
*** alejandrito has quit IRC20:41
*** alejandrito has joined #murano20:46
*** kzaitsev_mb has quit IRC21:03
*** kzaitsev_mb has joined #murano21:08
*** kzaitsev_mb has quit IRC21:15
*** openstackgerrit has quit IRC21:16
*** openstackgerrit has joined #murano21:16
*** kzaitsev_mb has joined #murano21:17
*** vgridnev has quit IRC21:21
*** zhurong has joined #murano21:39
*** zhurong has quit IRC21:40
*** zhurong has joined #murano21:52
*** zhurong has quit IRC21:58
*** openstackgerrit has quit IRC22:01
*** openstackgerrit has joined #murano22:01
*** alejandrito has quit IRC22:16
*** openstack has joined #murano22:33
*** openstackstatus has quit IRC22:47
*** openstack has joined #murano22:48
*** yamamoto has joined #murano23:11
*** yamamoto has quit IRC23:25
*** kzaitsev_mb has quit IRC23:39
*** kzaitsev_mb has joined #murano23:40
*** kzaitsev_mb has quit IRC23:45

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