Wednesday, 2014-04-16

*** ChanServ changes topic to "Wiki: https://wiki.openstack.org/wiki/Murano | Launchpad: https://launchpad.net/Murano"00:01
*** drupalmonkey has quit IRC00:13
*** rakhmerov has joined #murano00:18
*** rakhmerov has quit IRC00:22
*** asalkeld has quit IRC00:24
*** asalkeld has joined #murano00:37
*** rakhmerov has joined #murano01:18
*** rakhmerov has quit IRC01:23
*** julienvey has joined #murano01:46
*** julienvey has quit IRC01:51
*** julienvey has joined #murano02:45
*** julienvey has quit IRC02:50
*** sergmelikyan has quit IRC03:10
*** sergmelikyan has joined #murano03:13
*** rakhmerov has joined #murano03:20
*** rakhmerov has quit IRC03:24
openstackgerritSerg Melikyan proposed a change to stackforge/murano-dashboard: Fix DynamicSelect choice field  https://review.openstack.org/8783603:26
*** julienvey has joined #murano03:46
*** julienvey has quit IRC03:51
*** IlyaE has quit IRC04:03
*** rakhmerov has joined #murano04:05
*** asalkeld has quit IRC04:14
*** IlyaE has joined #murano04:17
*** sergmelikyan has quit IRC04:21
*** sergmelikyan has joined #murano04:23
*** saju_m has joined #murano04:27
*** saju_m has quit IRC04:27
openstackgerritSerg Melikyan proposed a change to stackforge/murano-dashboard: Add generateHostname function  https://review.openstack.org/8785104:46
*** julienvey has joined #murano04:47
*** julienvey has quit IRC04:52
openstackgerritSerg Melikyan proposed a change to stackforge/murano-api: Fix issue with hostname  https://review.openstack.org/8785204:59
openstackgerritSerg Melikyan proposed a change to stackforge/murano-api: Handle unicode strings in merge-dict  https://review.openstack.org/8785305:00
*** IlyaE has quit IRC05:07
*** sab has joined #murano05:10
*** chandan_kumar has joined #murano05:31
sergmelikyanhttp://andrewbrookins.com/tech/one-year-later-an-epic-review-of-pycharm-2-7-from-a-vim-users-perspective/05:37
sergmelikyanInteresting post :)05:37
*** julienvey has joined #murano05:51
*** IlyaE has joined #murano05:54
*** julienvey has quit IRC05:55
openstackgerritSerg Melikyan proposed a change to stackforge/murano-api: Fix engine results processing  https://review.openstack.org/8785706:21
sergmelikyantsufiev, I need your help to squash bug #130514206:30
sergmelikyanIt seems like dashboard store app_id as additional param for instance of the application. Why?06:31
sabthere might be conflicts and dependencies for a services running on different nodes.  will murano take care of such cases? i know the question is blunt. but just wanted to know if murano is handling conflicts or dependencies anywhere06:31
sergmelikyansab, about which conflicts you are talking about? And what does it mean 'services running on different nodes'06:38
* sergmelikyan didn't get question and need some more information06:39
sabsergmelikyan, Suppose service A is dependent on service B which may be in same or different nodes. while deploying, is there a way to speicfy in manifest that service A is dependent on service B, so service B should be deployed first and service A next?06:43
sabsergmelikyan, i am still trying to get into murano, apologies if question is too stupid :)06:44
sergmelikyanThere is no such option for now, every application gets deploy command in the same time. (so all applications are deployed in parallel)06:49
sabsergmelikyan, thank you :)06:52
*** IlyaE has quit IRC06:55
sergmelikyansab, I am not sure that I have answered on your question: let's start from beginning and consider actual two application (use-case that I am working on right now)06:59
sergmelikyanPostgreSQL and Tomcat06:59
sergmelikyanTomcat - is a application that deploys Apache Tomcat and installs any Servlet application on top of Tomcat from git07:00
sergmelikyanAfter servlet app is deployed it's need to be pointed to the PostgreSQL, so during Tomcat deployment we need to ask some connection string from Postgres (that may deployed right now, along side with Tomcat, or no)07:02
*** chandan_kumar has quit IRC07:02
sergmelikyanWe can ask connection string from PostgreSQL only if it is finished own deployment, so we in Deploy action of Tomcat Application call something like: $database.deploy() and right after that call $cs = $database.getConnectionString()07:03
sergmelikyanAt this moment we don't actually know is $database (link to PostgreSQL application instance) deployed or not07:04
sergmelikyanIf it is not deployed yet: deployment is triggered07:04
sergmelikyanIf it deploying right now, this call to deploy one more time will be superseded  by previous one07:05
sergmelikyanIf it is deployed - deploy will be called once more time, and will start from scratch07:05
sergmelikyanSo one major assumption is that all actions are idempotent or at least should be07:07
*** slagun has quit IRC07:07
sergmelikyanWe have Attributes mechanism to support implementation of idempotent actions07:07
*** chandan_kumar has joined #murano07:08
sergmelikyanSince you called deploy from Tomcat you may be sure that PostgreSQL is deployed, after that you call some $cs = $database.getConnectionString to obtain CS and pass connection string obtained from PostgreSQL to configureApplicationWithConnectionString($cs) in TomCat07:12
sabsergmelikyan, so basically the dependent applications are installed while the main application is being deployed. am i right?07:14
sergmelikyansab, there is no clean definition of dependency in Murano.07:15
sergmelikyansab, you just have some object hierarchy and each object can call any action on another one or get some attribute from other one.07:16
sergmelikyanOne convention: engine call action deploy() on all objects that extends Application class07:17
sergmelikyanIf you need to call some action and be sure that application is deployed - you call deploy once more time.07:18
sabmeaning tomcat needs postgresql, while deploying tomcat we install postgresql. can we make it explicit in the manifest file that tomcat needs postgresql, so that murano knows what to deploy first? it can be a proposal :)07:18
sergmelikyansab, there is no reason to do this explicitly in manifest, since you can't be sure that there is need to have another application deployed.07:20
sergmelikyanFor example you can get in Tomcat Application username param from PostgreSQL without even deploying PostgreSQL07:20
sergmelikyan$postgres_uname = $database.username07:21
sergmelikyansince username is supplied by the used in UI, this param is available from begging for all other objects that reference PostgreSQL07:21
sergmelikyan*by the user07:22
sergmelikyan*begging = beginning07:22
* sergmelikyan is typo master07:22
sabhmmm, yep but here it's only tomcat and postgres.. I thought it might be cleaner if there are many applications like a heirachical definition. agreed that is not important, may be desired :)07:26
*** rakhmero_ has joined #murano07:27
sergmelikyansab, in many application is even more important to NOT have such dependencies stated in manifest - you will end up with some huge list of dependencies, and be sure with circular ones.07:29
sergmelikyanAnd not for all them there is a reason to call deploy. Do not forget that deploy could take much time.07:29
sergmelikyanAnd one other thing - not all dependencies are dependencies to Applications.07:30
sergmelikyanObject reference any other objects, and only some of them are Applications07:30
*** rakhmerov has quit IRC07:30
sergmelikyansab, take a look on Tomcat example that I had talked about: http://paste.openstack.org/show/75877/07:31
sabsergmelikyan, hmm.. yeah i am having a look07:33
openstackgerritDmitry Teselkin proposed a change to stackforge/murano-api: Add murano-dashboard to devstack  https://review.openstack.org/8775108:06
*** chandan_kumar has quit IRC09:06
*** chandan_kumar has joined #murano09:20
*** chandan_kumar has quit IRC09:26
*** chandan_kumar has joined #murano09:26
*** rakhmerov has joined #murano10:28
*** rakhmero_ has quit IRC10:30
openstackgerritDmitry Teselkin proposed a change to stackforge/murano-api: Get rid of murano-common  https://review.openstack.org/8792110:36
openstackgerritDmitry Teselkin proposed a change to stackforge/murano-api: Fix some options set by devstack  https://review.openstack.org/8792910:47
openstackgerritA change was merged to stackforge/murano-api: Add tag assignment during manifest parsing  https://review.openstack.org/8758111:46
*** sab has quit IRC12:08
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano-api: Setup doc build infrastructure  https://review.openstack.org/8795012:23
openstackgerritA change was merged to stackforge/murano-api: Devstack scripts update  https://review.openstack.org/8769012:58
openstackgerritA change was merged to stackforge/murano-api: Add murano-dashboard to devstack  https://review.openstack.org/8775112:59
openstackgerritA change was merged to stackforge/murano-api: Get rid of murano-common  https://review.openstack.org/8792112:59
openstackgerritA change was merged to stackforge/murano-api: Fix some options set by devstack  https://review.openstack.org/8792912:59
*** rakhmero_ has joined #murano13:53
*** rakhmerov has quit IRC13:55
*** julienvey has joined #murano13:59
*** drupalmonkey has joined #murano14:02
*** sjmc7 has joined #murano14:05
sjmc7good afternoon, akuznetsova. were you able to reproduce https://bugs.launchpad.net/murano/+bug/1308247 ?14:05
openstackgerritSerg Melikyan proposed a change to stackforge/murano-dashboard: Add generateHostname function  https://review.openstack.org/8785114:07
akuznetsovasjmc7, hello, actually I didn't work with this bug yet, but in my environment I don't see this problem(Chrome, Firefox), later I will test it in IE14:08
sjmc7it may be specific to the application description or image. the data i was using was faked; i'll spend a few minutes trying to narrow down the cause14:09
ruhesjmc7: hi! do you have the latest version of dashboard code?14:13
sjmc7yep, ruhe14:13
sjmc7i updated again after georgy had trouble reproducing it14:13
ruhetsufiev: any idea why this bug might happen?14:13
*** rakhmerov has joined #murano14:14
openstackgerritSerg Melikyan proposed a change to stackforge/murano-api: Fix issue with hostname  https://review.openstack.org/8785214:14
*** rakhmerov has quit IRC14:16
*** rakhmero_ has quit IRC14:17
openstackgerritA change was merged to stackforge/murano-dashboard: Fix DynamicSelect choice field  https://review.openstack.org/8783614:23
*** rakhmerov has joined #murano14:24
openstackgerritA change was merged to stackforge/murano-api: Fix engine results processing  https://review.openstack.org/8785714:26
*** julienvey has quit IRC14:31
*** IlyaE has joined #murano15:03
*** julienvey has joined #murano15:05
*** rakhmerov has quit IRC15:12
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano-conductor: Depracate murano-conductor  https://review.openstack.org/8799515:17
*** rakhmerov has joined #murano15:20
openstackgerritStan Lagun proposed a change to stackforge/murano-api: Default MuranoPL function argument value was evaluated incorrectly  https://review.openstack.org/8799715:24
*** rakhmerov has quit IRC15:25
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano-deployment: Deprecate Devstack scripts  https://review.openstack.org/8800115:28
*** rakhmerov has joined #murano15:31
openstackgerritJulien Vey proposed a change to stackforge/murano-api: Add 'cp' of murano-dashboard lib file in devstack README  https://review.openstack.org/8800315:35
*** rakhmerov has quit IRC15:36
openstackgerritSerg Melikyan proposed a change to stackforge/murano-dashboard: Add generateHostname function  https://review.openstack.org/8785115:37
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano-common: Deprecate murano-common  https://review.openstack.org/8800615:38
openstackgerritA change was merged to stackforge/murano-api: Setup doc build infrastructure  https://review.openstack.org/8795015:40
sjmc7ruhe - you're on a deprecating roll today :)15:41
openstackgerritSerg Melikyan proposed a change to stackforge/murano-dashboard: Add generateHostname function  https://review.openstack.org/8785115:43
*** chandan_kumar has quit IRC15:46
openstackgerritTimur Sufiev proposed a change to stackforge/murano-api: Replace 'applications' in deployments data with 'services'  https://review.openstack.org/8800815:46
openstackgerritStan Lagun proposed a change to stackforge/murano-api: Basic Security Groups implementation  https://review.openstack.org/8801315:59
*** rakhmerov has joined #murano16:00
*** IlyaE has quit IRC16:20
ruhesjmc7: more to go :) there was a thread in ML about devstack scripts for murano. newcomers get confused by all this repos16:21
sjmc7my team all got confused by it :)16:21
*** rakhmerov has quit IRC16:27
ruhei hope we will just move all those deprecated repos to openstack-attic right after release16:28
ruheand have enough developer documentation before the release https://blueprints.launchpad.net/murano/+spec/murano-dev-doc-0516:29
*** IlyaE has joined #murano16:30
julienveyHi guys! I'm starting to play with murano. Is there a sample catalog I could build and import to test ? any link on the doc that could help me ?16:37
sergmelikyanjulienvey, there are two packages for now to play with: https://github.com/stackforge/murano-api/tree/master/meta16:37
sjmc7sergmelikyan - did the import code get merged yet?16:38
sergmelikyansjmc7, julienvey  not yet: [8:37:44 PM] Kate Fedorova: у меня опять та же ошибка16:39
sergmelikyansorry wrong quote16:39
sjmc7i'll take your word for it :)16:39
sergmelikyanhttps://review.openstack.org/8603916:39
sergmelikyan^^ link to the fix for package import16:39
julienveysergmelikyan: ok, thanks for the link16:39
sergmelikyantsufiev, could you explore more on comment https://review.openstack.org/#/c/87851/4/muranodashboard/dynamic_ui/yaql_functions.py16:44
openstackgerritA change was merged to stackforge/murano-api: Fix issue with hostname  https://review.openstack.org/8785216:45
sergmelikyanGot it... you writing that logic of the method is not clear without comments (not docstrings)16:45
*** gokrokve has joined #murano16:47
openstackgerritSerg Melikyan proposed a change to stackforge/murano-dashboard: Add generateHostname function  https://review.openstack.org/8785116:52
sergmelikyantsufiev, updated ^^16:52
*** julienvey has quit IRC17:02
openstackgerritA change was merged to stackforge/murano-api: Replace 'applications' in deployments data with 'services'  https://review.openstack.org/8800817:08
openstackgerritA change was merged to stackforge/murano-api: Handle unicode strings in merge-dict  https://review.openstack.org/8785317:10
openstackgerritA change was merged to stackforge/murano-tests: Refactor WebUI tests  https://review.openstack.org/8629717:11
*** IlyaE has quit IRC17:26
*** ankurrr has joined #murano17:30
openstackgerritA change was merged to stackforge/murano-api: Add 'cp' of murano-dashboard lib file in devstack README  https://review.openstack.org/8800317:35
*** rakhmerov has joined #murano17:50
*** gokrokve has quit IRC17:57
*** rakhmerov has quit IRC17:57
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano-metadataclient: Deprecate murano-metadataclient  https://review.openstack.org/8804118:02
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano-repository: Depreacte murano-repository  https://review.openstack.org/8804518:11
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano-repository: Deprecate murano-repository  https://review.openstack.org/8804518:12
ruhefor those who might be curious - here is a patch to infra which disables all the jenkins jobs repositories i'm deprecating - https://review.openstack.org/#/c/88032/18:13
ruheand i'm going to send first group of patches for murano developer docs18:14
*** gokrokve has joined #murano18:18
*** tsufiev_ has joined #murano18:26
tsufiev_guys, i have some thoughts about fully qualified names (FQNs) of package and main package class18:27
tsufiev_if we are to keep only service FQN in object model of Environment being deployed by engine - to later obtain Application name using that FQN, we should make Package FQN equal to the FQN of main package's class18:29
tsufiev_consider this line: https://github.com/stackforge/murano-api/blob/master/meta/io.murano.windows.ActiveDirectory/UI/ui.yaml#L2818:31
tsufiev_regardless of what should be the proper FQN for Active Directory Service, that FQN will be later used to retrieve human readable type of the Service (i.e. name of its Application)18:32
tsufiev_so, that 2 names should be the same18:32
tsufiev_here 2nd question arises: should that Active Directory's FQN be equal to the FQN of main Active Directory class here https://github.com/stackforge/murano-api/blob/master/meta/io.murano.windows.ActiveDirectory/manifest.yaml#L20 ?18:34
tsufiev_also i'd like to point out that the relation between Application (class of some service) and Service (instance of that class) has coined on its own18:36
tsufiev_are we ok with it or should replace one of these terms with something more suitable?18:37
sjmc7tsufiev_: reading18:45
sjmc7is the 'type' then redundant?18:46
*** chandan_kumar has joined #murano18:49
sjmc7tsufiev_: it seems a package's identifier should be independent from what it refers to18:50
sjmc7i think it's confusing having package and class identifiers (fqns) look similar since they're logically quite different18:50
*** rakhmerov has joined #murano18:58
*** rakhmerov has quit IRC19:12
gokrokveHi. I want to share my idea about conditional resource creation and I want to understand how it is possible to implement with current DSL.19:14
gokrokveThe idea is the following:19:15
gokrokveI have an application which asks in UI if user wants to use standard instance or Heat HARestarter instance19:15
gokrokveIf user does not select HA option, application definition creates a standard instance type like murano.instance19:16
gokrokveif user selects HA option, application definition uses murano.HAinstance which uses Heat HArestarter with alarms.19:17
gokrokveThe question is how to do this in current DSL?19:17
gokrokvecurrently application definition sets an instance in application properties, but is it possible to create a new instance inside deploy() method?19:18
*** chandan_kumar has quit IRC19:30
tsufiev_sjmc7: yes, it is confusing because we have 'Library' packages which don't have 'main' class19:34
tsufiev_sjmc7: i think we still need a way to somehow display human-readable name of class of deployed Service (i.e. Application name) after deploy is finished19:35
tsufiev_it seems to me that problem exists at junction of dashboard, api and engine, so it's not obvious how it is better to solve it19:38
tsufiev_sjmc7: in my opinion type is not redundant (because we want to show it in UI)19:40
tsufiev_what confuses me more is the lack of good candidate for 'an instance of an Application being configured/deployed'. i used the term 'Service', but it comes mostly from Windows' part of Murano history, so i doubt we should use it19:45
tsufiev_using term 'Application' for both cases (entity in AppCatalog and entity in the Environment) surely will confuse the users19:46
sjmc7'Solution', tsufiev_ ?19:55
sjmc7"Library" packages are classes or collections of classes, right?19:56
sjmc7Or can they also be installable things?19:56
tsufiev_sjmc7: thank you, an interesting idea! should ponder over it...19:56
tsufiev_'Library' are collections of classes19:57
openstackgerritAnkur Rishi proposed a change to stackforge/murano-api: The previous commit, 3362ee1337d47ab8930407c58311a811d471a7a4, a sync with Openstack Common, removed all definitions of the post_process() function from the Distro class and all of its child classes in install_venv_common.py.  https://review.openstack.org/8807419:57
*** chandan_kumar has joined #murano19:57
tsufiev_https://github.com/stackforge/murano-api/tree/master/meta/io.murano an example of Library package (unpacked)19:57
sjmc7Yep, i've seen that one19:58
sjmc7That makes sense, that's a good word i think19:58
sjmc7A 'service' is a deployed collection of 'Applications'19:58
*** IlyaE has joined #murano19:58
openstackgerritAnkur Rishi proposed a change to stackforge/murano-api: Fix missing function error in install_venv  https://review.openstack.org/8807420:01
*** rakhmerov has joined #murano20:08
* tsufiev_ went away20:09
*** tsufiev_ has quit IRC20:09
*** rakhmerov has quit IRC20:12
openstackgerritA change was merged to stackforge/python-muranoclient: Update requirements.txt due to changes in global-requirements.txt  https://review.openstack.org/8754820:28
openstackgerritA change was merged to stackforge/murano-api: Typo in murano-api.conf  https://review.openstack.org/8777420:32
openstackgerritA change was merged to stackforge/murano-api: Update requirements.txt due to changes in global-requirements.txt  https://review.openstack.org/8754920:32
*** gokrokve has quit IRC20:42
*** asalkeld has joined #murano20:57
*** gokrokve has joined #murano21:02
*** rakhmerov has joined #murano21:09
*** rakhmerov has quit IRC21:13
*** rakhmerov has joined #murano21:29
*** rakhmerov has quit IRC21:33
*** drupalmonkey has quit IRC22:27
*** rakhmerov has joined #murano22:29
*** sjmc7 has quit IRC22:34
*** rakhmerov has quit IRC22:34
*** IlyaE has quit IRC22:44
*** IlyaE has joined #murano23:06
*** killer_prince has quit IRC23:14
*** ankurrr has quit IRC23:20
*** lazy_prince has joined #murano23:20
*** lazy_prince is now known as killer_prince23:20
*** gokrokve has quit IRC23:23
*** asalkeld_ has joined #murano23:30
*** rakhmerov has joined #murano23:30
*** asalkeld has quit IRC23:30
*** rakhmerov has quit IRC23:35
*** chandan_kumar has quit IRC23:37
*** asalkeld_ is now known as asalkeld23:43
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano-api: Added developer installation guide  https://review.openstack.org/8810723:51

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