Monday, 2014-04-21

*** rakhmerov has joined #murano00:23
*** rakhmerov has quit IRC00:27
*** IlyaE has joined #murano01:31
*** rakhmerov has joined #murano02:25
*** IlyaE has quit IRC02:28
*** rakhmerov has quit IRC02:29
*** rakhmerov has joined #murano02:36
*** IlyaE has joined #murano03:09
*** IlyaE has quit IRC03:57
*** IlyaE has joined #murano04:01
*** chandan_kumar has joined #murano04:32
*** IlyaE has quit IRC05:06
*** IlyaE has joined #murano05:14
*** sab has joined #murano05:25
*** smurashov has joined #murano06:18
*** sergmelikyan has joined #murano07:15
openstackgerritSergey Murashov proposed a change to stackforge/murano-api: Changed tests for murano repository  https://review.openstack.org/8506107:34
*** IlyaE has quit IRC07:35
openstackgerritSergey Murashov proposed a change to stackforge/murano-api: Changed tests for murano repository  https://review.openstack.org/8506107:39
*** sab has quit IRC08:03
*** rakhmerov has quit IRC08:08
*** rakhmerov has joined #murano08:19
*** ativelkov_away is now known as ativelkov08:22
*** rakhmerov has quit IRC08:26
*** sab has joined #murano08:39
*** sab_ has joined #murano08:45
*** sab has quit IRC08:48
openstackgerritStan Lagun proposed a change to stackforge/murano-api: Fixed incorrect instantiation of Resources class  https://review.openstack.org/8932008:50
*** chandan_kumar has quit IRC08:50
*** chandan_kumar has joined #murano09:09
openstackgerritA change was merged to stackforge/murano-api: Preserve keys in object's system area  https://review.openstack.org/8845409:35
openstackgerritA change was merged to stackforge/murano-api: Remove hardcoded foreign keys from db.catalog.api  https://review.openstack.org/8608009:39
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Catch CommunicationError at Packages panel  https://review.openstack.org/8772509:45
openstackgerritA change was merged to stackforge/murano-dashboard: Bump python-muranoclient version to 0.5.0  https://review.openstack.org/8918909:51
openstackgerritA change was merged to stackforge/murano-api: Bump python-muranoclient version to 0.5.0  https://review.openstack.org/8861509:53
*** ativelkov is now known as ativelkov_away10:04
*** ativelkov_away is now known as ativelkov10:04
*** ativelkov is now known as ativelkov_away10:10
openstackgerritA change was merged to stackforge/murano-dashboard: display package name instead of id  https://review.openstack.org/8850110:14
*** sab_ has quit IRC10:15
openstackgerritA change was merged to stackforge/murano-dashboard: Fix link to image detail.  https://review.openstack.org/8845510:16
openstackgerritA change was merged to stackforge/murano-dashboard: Tailor Topology Tab view to the new object model  https://review.openstack.org/8653010:17
*** ativelkov_away is now known as ativelkov10:20
openstackgerritA change was merged to stackforge/murano-api: Fix missing function error in install_venv  https://review.openstack.org/8807410:20
openstackgerritSergey Murashov proposed a change to stackforge/murano-api: Changed tests for murano repository  https://review.openstack.org/8506110:20
*** rakhmerov has joined #murano10:24
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Catch CommunicationError at Packages panel  https://review.openstack.org/8772510:28
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Do not use non-existent 'app_id' attr in Environment->Services  https://review.openstack.org/8861310:28
openstackgerritTimur Nurlygayanov proposed a change to stackforge/murano-dashboard: Fixed issue with error message  https://review.openstack.org/8932910:37
openstackgerritA change was merged to stackforge/murano-api: Rename Type to Usage for MuranoPL properties  https://review.openstack.org/8927910:38
*** rakhmerov has quit IRC10:38
*** ativelkov has quit IRC10:40
openstackgerritA change was merged to stackforge/murano-api: AD was broken because of missing Body key  https://review.openstack.org/8928310:40
*** ativelkov has joined #murano10:40
*** sab has joined #murano10:41
*** ogelbukh has quit IRC10:41
openstackgerritTimur Nurlygayanov proposed a change to stackforge/murano-dashboard: Fixed issue with error message  https://review.openstack.org/8932910:42
openstackgerritA change was merged to stackforge/murano-api: Heat stack could remain even if all applications were removed  https://review.openstack.org/8929010:42
*** chandan_kumar has quit IRC10:43
*** tsufiev_ has joined #murano10:43
*** tsufiev_ has quit IRC10:44
*** tsufiev_ has joined #murano10:47
openstackgerritA change was merged to stackforge/murano-api: Use io.BytesIO instead of sqlalchemy.byte_buffer  https://review.openstack.org/8868810:47
*** ogelbukh has joined #murano10:48
*** chandan_kumar has joined #murano10:51
openstackgerritTimur Nurlygayanov proposed a change to stackforge/murano-dashboard: Fixed issue with error message  https://review.openstack.org/8932910:53
openstackgerritA change was merged to stackforge/murano-api: DirectoryPackageLoader skipped all package directories  https://review.openstack.org/8928510:58
openstackgerritA change was merged to stackforge/murano-api: Typo in HeatStack API  https://review.openstack.org/8928711:00
openstackgerritA change was merged to stackforge/murano-api: Wrong Usage for dns_ip property in AD PrimaryController  https://review.openstack.org/8928911:01
*** sab has quit IRC11:28
*** rakhmerov has joined #murano11:34
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Catch muranoclient errors at Packages panel  https://review.openstack.org/8772511:34
openstackgerritA change was merged to stackforge/murano-dashboard: Update requirements.txt due to changes in global-requirements.txt  https://review.openstack.org/8853211:42
openstackgerritTimur Nurlygayanov proposed a change to stackforge/murano-dashboard: Fixed issue with error message  https://review.openstack.org/8932911:45
*** rakhmerov has quit IRC11:48
openstackgerritTimur Nurlygayanov proposed a change to stackforge/murano-dashboard: Fixed issue with error message  https://review.openstack.org/8932911:48
openstackgerritA change was merged to stackforge/murano-api: Added a CLI command to manage categories  https://review.openstack.org/8693411:54
openstackgerritA change was merged to stackforge/murano-dashboard: Do not use non-existent 'app_id' attr in Environment->Services  https://review.openstack.org/8861311:56
openstackgerritSergey Murashov proposed a change to stackforge/murano-api: Changed tests for murano repository  https://review.openstack.org/8506111:57
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano-api: Added Murano config checks  https://review.openstack.org/8585512:16
openstackgerritSergey Murashov proposed a change to stackforge/murano-api: Changed tests for murano repository  https://review.openstack.org/8506112:19
openstackgerritA change was merged to stackforge/murano-dashboard: Catch muranoclient errors at Packages panel  https://review.openstack.org/8772512:28
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano-api: Added developer documentation  https://review.openstack.org/8810712:32
openstackgerritSergey Murashov proposed a change to stackforge/murano-api: Changed tests for murano repository  https://review.openstack.org/8506112:40
*** rakhmerov has joined #murano12:44
*** rakhmerov has quit IRC12:49
openstackgerritSergey Murashov proposed a change to stackforge/murano-api: Changed tests for murano repository  https://review.openstack.org/8506113:00
openstackgerritSergey Kolekonov proposed a change to stackforge/murano-dashboard: DO NOT MERGE  https://review.openstack.org/8934313:05
openstackgerritSerg Melikyan proposed a change to stackforge/murano-api: Fix issue with keystone  https://review.openstack.org/8934513:13
openstackgerritA change was merged to stackforge/murano-dashboard: Enable actual API call for stats  https://review.openstack.org/8812713:17
openstackgerritA change was merged to stackforge/murano-api: Add CPU info to stats  https://review.openstack.org/8813413:22
openstackgerritA change was merged to stackforge/murano-api: Fixed incorrect instantiation of Resources class  https://review.openstack.org/8932013:38
*** rakhmerov has joined #murano13:45
*** rakhmerov has quit IRC13:50
tsufiev_i've added voting for new name for 'Service' to the tomorrow meeting's agenda: https://wiki.openstack.org/wiki/Meetings/MuranoAgenda#Agenda13:53
tsufiev_please, take a bit time and think what name seems good to you13:54
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Make Search query ignore current category  https://review.openstack.org/8935814:07
*** drupalmonkey has joined #murano14:09
*** chandan_kumar has quit IRC14:14
*** smccully has joined #murano14:33
*** chandan_kumar has joined #murano14:35
*** sjmc7 has joined #murano14:36
*** sjmc7 has quit IRC14:40
*** sjmc7 has joined #murano14:41
*** smccully has quit IRC14:44
*** rakhmerov has joined #murano14:46
*** smccully has joined #murano14:49
*** rakhmerov has quit IRC14:50
*** joefides has joined #murano14:55
joefidesHi all...I'm having a hard time adapting the linuxapache service to my own service, where I'd want to pass in different variables and perform a configuration based upon those variables.  Is there some documentation that someone can point me to that describes the process to pass parameters from the UI template down to, say, the script used to actually do the installation?  TIA.15:00
*** ativelkov has left #murano15:23
*** ativelkov has joined #murano15:23
*** ativelkov is now known as ativelkov_away15:23
*** ativelkov_away is now known as ativelkov15:23
katyaferventHi joefides!15:24
katyaferventAre you using Murano master or 0.4 version?15:24
joefides0.4.115:25
katyaferventhere is agent template for a simple apache service https://github.com/stackforge/murano-repository/blob/master/muranorepository/Services/agent_templates/DeployApache.template15:28
katyaferventit's an execution plan15:28
tnurlygayanovjoefides, you can take the deployApachePHP parameter as example15:28
tnurlygayanovin line https://github.com/stackforge/murano-repository/blob/master/muranorepository/Services/agent_templates/DeployApache.template#L615:29
*** chandan_kumar has quit IRC15:29
tnurlygayanovwe can see how we will pass this parameter to scripts15:29
katyaferventand this argument args.enablePHP was pointed by user in the UI and passed to murano-conductor as it is15:29
tnurlygayanovand we can describe this parameter in UI like in https://github.com/stackforge/murano-repository/blob/master/muranorepository/Services/ui_forms/LinuxApache.yaml#L1215:30
ativelkovThe parameter has to be introduced in the UI definition (yaml file), then and XML workflows should pass it to the execution plan, which will put it into the script15:30
tnurlygayanovso, to use the same parameters we should describe them in UI form defenition and after that we should describe these parameters in user agent files15:31
tnurlygayanov*in agent templates files15:31
tnurlygayanovand also in workflow we should pass this parameter like in this example https://github.com/stackforge/murano-repository/blob/master/muranorepository/Services/workflows/Apache.xml#L124-16015:33
tnurlygayanovso, it is not easy now and we plan to simplify this in release 0.515:33
joefidesI see this line  enablePHP: $deployApachePHP in the template and it is later passed in to the script via return apacheDeploy('{0}'.format(args.enablePHP)).stdout...  that's what you're referring to, correct?15:33
joefidestemplate = agent template15:34
tnurlygayanovyes15:34
tnurlygayanovfor Apache exampl we use just https://github.com/stackforge/murano-repository/blob/master/muranorepository/Services/scripts/Linux/runApacheDeploy.sh#L29-3115:36
tnurlygayanovto get this parameter dirrectly from script15:37
tnurlygayanovso, Murano will run script and add this parameter after the script, like:  runApacheDeploy.sh $deployApachePHP15:38
tnurlygayanovjoefides, please do not forget to describe all new parameters in workflows, like in https://github.com/stackforge/murano-repository/blob/master/muranorepository/Services/workflows/Apache.xml#L124-160  - if we have more that 1 parameter we can pass all of them in one workflow rule15:41
joefidesSo, if I have a parameter a) registered in the template, b) referenced by the same name in the UI and c) mapped in the workflow, it should be available as a shell argument in the script ($1, $2, etc)...correct?15:42
tnurlygayanovthe main part of this rule in parameter name="mappings"15:42
tnurlygayanovyes15:43
joefidesAnd the workflow references to the mappings are regarding the UI?15:43
tnurlygayanovyes15:43
joefidesOk...and, lastly, what is the format that I should use for strings and ints in this line "'{0}'.format(args.enablePHP)"15:44
joefidese.g., I want to do foo(1, 'bar', 'x:y,...')15:44
*** rakhmerov has joined #murano15:47
sjmc7good afternoon igormanat15:50
sjmc7or evening?15:50
tnurlygayanovhmmm15:51
tnurlygayanovso, it is bash scripts and we use only $2 right now15:52
tnurlygayanovjoefides probably "'{0}'.format(args.enablePHP)" will work too.15:52
*** gokrokve has joined #murano15:53
ruhesjmc7: hi15:53
tnurlygayanovwe can use something like this http://stackoverflow.com/questions/255898/how-to-iterate-over-arguments-in-bash-script15:53
tnurlygayanovsjmc7 Hi :)15:54
ruhesjmc7: igormarnat added a few items to the agenda for the next weekly meeting https://wiki.openstack.org/wiki/Meetings/MuranoAgenda15:54
sjmc7hey ruhe. and everyone else :)  igormarnat mentioned last week you guys were soon going to be discussing the stuff you wanted to do during the next cycle15:54
tnurlygayanovjoefides, "'{0}'.format(args.enablePHP)"  - looks like Python code, not bash.15:55
sjmc7ha, ok :)  ruhe, you want me to put a brief list on that page before the meeting tomorrow?15:55
ruhesjmc7: that would be great15:55
sjmc7ok. the other thing was, at least one of our guys has done a few low hanging fruit bugs and is looking for something bigger15:56
joefidestnurlygayanov, that is what is in the agent template15:56
sjmc7was wondering if you had any small-ish features he could look at15:56
*** rakhmerov has quit IRC15:57
tnurlygayanovjoefides, oo, now I understand it :)15:57
ruhesjmc7: there is a long list of bugs with "low-hanging-fruit" tag attached15:58
tnurlygayanovjoefides, about the format - format function should parse all types and convert them to string15:58
sjmc7yeah - i'm looking for something a bit bigger than that, he's fixed a few low hanging bugs already15:58
sjmc7i have some blueprints i submitted last week15:59
joefidesSo, regardless of the type, I should use '{0}'.format(args.myArg)15:59
tnurlygayanovjoefides and we can use the same code for different types of variables15:59
sjmc7but i don't want to get started on those until you guys have commented15:59
igormarnatHey!15:59
ruhesjmc7: here the link (just in case) http://bit.ly/1k0eXM415:59
joefidesShould the values be incremented in the brackets?  e.g., {0}..., {1}....15:59
tnurlygayanovjoefides, about the 'format' - yes16:00
tnurlygayanovyes16:00
ruhesjmc7: about blueprints. right, it would be better to discuss design aspects before you start implementing something. we might need to schedule a call or just discuss that in ML16:00
igormarnatsjmc7, ruhe: so guys, things which are missing for 0.5 are dev/user guide and advanced networking, I think.16:00
sjmc7ok, igormarnat - we can certainly try and help with dev guide and maybe the networking stuff16:01
tnurlygayanovjoefides, yes, this is should be the Python syntax16:02
sjmc7though it looks like ativelkov is working on the networking16:02
igormarnatsjmc7: well, I'm just thinking loudly16:02
sjmc7:)16:02
igormarnatNot deciding anything yet16:02
igormarnatsjm7: there is an excellent idea from rube, by the way16:03
ruheright, ativelkov is working on adv. networking16:03
igormarnat*ruhe16:03
sjmc7maybe hold off until the discussion tomorrow16:03
joefidesOk...thanks.  I'll give that a shot and let you guys know.  Thanks a bunch.16:03
igormarnatIn murano 0.4 there were 7 applications implementted, IIRC16:03
igormarnatWe only had time to translate 3 or 4 of them to DSL of Murano 0.516:04
igormarnatSo still need to translate 3 or 4 more16:04
igormarnatAnd this is an excellent way to make hands dirty in each and every component of Murano:)16:04
sjmc7:)16:04
sjmc7yeah, that would be a useful learning experience16:04
tnurlygayanovjoefides, any time.16:04
igormarnatBut I suspect that the next feature you'll want to work on will be improvements of debuggability:)16:05
sjmc7:)16:05
igormarnatSo if you want to give it a try, I can ask our guys to point to to the needed examples16:05
igormarnatrune, sergmelikyan: what are the simplest scenarios to begin with?16:06
sjmc7the old examples in murnao-repository?16:06
*** slagun has joined #murano16:06
ruheigormarnat: it is ruHe, i'm going to send a post-card with my nick-name to you ;)16:07
sjmc7:D16:07
igormarnat:)16:09
igormarnatruHe: sorry, I'll right it 100 times on my whiteboard:)16:09
igormarnat*write16:10
igormarnatCan't type today16:10
ruhehere is a repository with ported applications - https://github.com/murano-project/murano-app-incubator16:14
ruheit's a temporary repository16:14
ruhewe should either keep it under murano-api/meta or in a separate repository on stackforge16:15
sjmc7ah, nice. ok, maybe i'll have him look at adding something to that16:15
igormarnatsjmc7: and in addition to that we think we could start drafting the plan for the next cycle16:16
igormarnatOur suggestion is to discuss desired directions tomorrow, I extended our agenda with that16:16
sjmc7igormarnat: yeah, i'll add a short list of what i've got to the agenda page16:16
igormarnatJust great16:16
ruhesjmc7: in case if you didn't catch this conversation, here is a link http://lists.openstack.org/pipermail/openstack-dev/2014-April/031701.html16:17
ruhethat might help to figure out plan for the next cycle16:18
sjmc7yeah, that's an interesting conversation that seems to have been going for a while16:19
*** ankurrr has joined #murano16:24
*** IlyaE has joined #murano16:25
sjmc7ruhe, igormarnat - i've updated https://wiki.openstack.org/wiki/Meetings/MuranoAgenda. please ask if you have any questions, i'll try to answer them before the meeting16:49
*** rakhmerov has joined #murano16:54
*** rakhmerov has quit IRC16:58
joefidestnurlygayanov...ok, I gave this a shot a few times and I'm getting a 'tuple index out of range'.  My parameters on the agent template are https://gist.github.com/anonymous/b7ea685dfdc2c1226f4a and the script execution is of the form myscript('{0}'.format(args.enablePHP), '{1}'.format(args.zk_hosts)).stdout.  The workflow looks like https://gist.github.com/anonymous/3b9c1fade156a2443f5a.  Do you see anything wrong there?17:13
ruhesjmc7: thank you!17:17
slagunjoefides, myScript should have single argument - command line17:19
slagunmyscript('{0} {1}'.format(args.enablePGP, args.zk_hosts))17:19
joefidesAH!  Let me try that.  Is there a limit to the number of arguments that may be passed?  I'd think not...but just checking.17:20
slaguncommand line is a single string argument. So there cannot be >117:21
*** chandan_kumar has joined #murano17:22
joefidesAll of this is changing in 0.5, though, correct?17:22
slagunno. Only workflow part17:22
joefidesAnd I meant, how many {n} placeholders there may be17:22
slagunjoefides, this is regular Python syntax. So no limit AFAIK17:23
*** killer_prince has quit IRC17:23
slagunActually Body can be arbitrary Python script. You can invoke several scripts, have loops, ifs etc17:24
*** lazy_prince has joined #murano17:24
*** lazy_prince is now known as killer_prince17:24
*** lazy_prince has joined #murano17:32
*** killer_prince has quit IRC17:34
*** lazy_prince is now known as killer_prince17:34
joefidesYep, that syntax worked for me.  And good to know regarding the scripty-ness of it.  This will be consistent moving forward w/ the next version of Murano?17:39
joefidesThanks!17:39
slagunyes. Maybe we create some shortcuts for trivial use cases that will generate execution plan but there are no plans to drop them or make breaking changes17:41
slagunwe are going to improve them with support for puppet/chef/PowerShell etc. We are also going to dupport other deployment methods (HOT software components, SSH, JSON RPC etc)17:42
joefidesGreat...one more question (for now ;) )... what significance does the line attributeNames: [units, instanceCount] have?17:42
slagunwhere did you saw it?17:43
joefidesin the ui template17:44
joefidesfor the LinuxApache deployment17:44
openstackgerritAlexander Tivelkov proposed a change to stackforge/murano-api: Set a proper name for murano config section  https://review.openstack.org/8939117:46
*** rakhmerov has joined #murano17:55
*** ativelkov is now known as ativelkov_away17:57
*** ativelkov_away is now known as ativelkov17:57
*** rakhmerov has quit IRC17:59
slagunas far as I understand from code attributeNames define to mappings between form fields and attributes of object model - input JSON that is passed for deployment to conductor18:03
*** ativelkov is now known as ativelkov_away18:03
slagunlist means that particular field is published twice under different names18:03
slagunbut I guess 'units' has predefined meaning as number of units to generate18:04
*** gokrokve has quit IRC18:04
slaguntsufiev knows better18:04
slagunprobably this is going to change in 0.518:05
joefidesI'll not worry about it for the purposes of my POC...thanks.18:05
*** IlyaE has quit IRC18:29
*** IlyaE has joined #murano18:38
*** ativelkov_away is now known as ativelkov18:54
*** chandan_kumar has quit IRC18:55
*** rakhmerov has joined #murano18:56
*** chandan_kumar has joined #murano18:56
*** gokrokve has joined #murano18:58
*** rakhmerov has quit IRC19:01
*** ativelkov is now known as ativelkov_away19:04
*** chandan_kumar has quit IRC19:34
*** ativelkov_away is now known as ativelkov19:50
openstackgerritA change was merged to stackforge/murano-deployment: Deprecate Devstack scripts  https://review.openstack.org/8800119:50
*** ativelkov is now known as ativelkov_away19:55
*** rakhmerov has joined #murano19:56
*** rakhmerov has quit IRC20:01
*** IlyaE has quit IRC20:11
*** IlyaE has joined #murano20:23
*** ativelkov_away is now known as ativelkov20:23
*** ativelkov is now known as ativelkov_away20:29
*** asalkeld has joined #murano20:53
*** ativelkov_away is now known as ativelkov20:53
*** asalkeld_ has joined #murano20:55
*** asalkeld_ has left #murano20:55
*** rakhmerov has joined #murano20:57
*** ativelkov is now known as ativelkov_away20:58
*** ativelkov_away is now known as ativelkov20:58
*** asalkeld has quit IRC20:59
*** rakhmerov has quit IRC21:01
*** smccully has quit IRC21:03
*** ativelkov is now known as ativelkov_away21:04
*** joefides has quit IRC21:26
*** openstackstatus has quit IRC21:35
*** openstackstatus has joined #murano21:35
*** IlyaE has quit IRC21:39
*** ativelkov_away is now known as ativelkov21:48
*** ativelkov is now known as ativelkov_away21:53
*** drupalmonkey has quit IRC21:56
*** asalkeld_ has joined #murano21:57
*** rakhmerov has joined #murano21:58
*** ativelkov_away is now known as ativelkov21:58
*** rakhmerov has quit IRC22:02
*** ativelkov is now known as ativelkov_away22:04
*** TravT has joined #murano22:07
*** asalkeld_ has quit IRC22:18
*** ativelkov_away is now known as ativelkov22:18
*** ativelkov is now known as ativelkov_away22:23
*** ativelkov_away is now known as ativelkov22:58
*** rakhmerov has joined #murano22:58
*** rakhmerov has quit IRC23:02
*** ativelkov is now known as ativelkov_away23:04
*** joefides has joined #murano23:21
*** joefides has quit IRC23:22
*** joefides has joined #murano23:22
*** ativelkov_away is now known as ativelkov23:26
*** gokrokve has quit IRC23:27
*** ativelkov is now known as ativelkov_away23:31
*** IlyaE has joined #murano23:31
*** openstackgerrit has quit IRC23:50
*** openstackgerrit has joined #murano23:50
*** gokrokve has joined #murano23:53
*** ativelkov_away is now known as ativelkov23:58
*** sjmc7 has quit IRC23:59
*** rakhmerov has joined #murano23:59

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