Monday, 2016-01-18

openstackgerritMerged openstack/murano: Imported Translations from Zanata  https://review.openstack.org/26858500:03
openstackgerritMerged openstack/murano: Updated from global requirements  https://review.openstack.org/26846400:03
openstackgerritMerged openstack/murano-dashboard: Updated from global requirements  https://review.openstack.org/26846600:03
*** yamamoto has quit IRC00:27
*** Marga_ has joined #murano00:43
*** Marga_ has quit IRC00:51
*** Marga_ has joined #murano00:52
*** yamamoto_ has joined #murano01:42
*** zhurong has joined #murano01:50
*** sergmelikyan has quit IRC01:55
openstackgerritHidekazu Nakamura proposed openstack/murano: Add multiple engine workers  https://review.openstack.org/26884002:25
*** hidekazu has joined #murano02:27
*** Marga_ has quit IRC03:23
*** Liuqing has joined #murano03:54
*** ashishb has joined #murano04:52
*** ashishb has quit IRC04:56
openstackgerritzhurong proposed openstack/murano-dashboard: Add package details link in Package Definitions  https://review.openstack.org/26887205:36
*** jasonsb has joined #murano05:50
openstackgerritHidekazu Nakamura proposed openstack/murano: [docs] Update to use openstack CLI instead of glance(v1)  https://review.openstack.org/25937506:06
openstackgerritzhurong proposed openstack/murano-dashboard: [test]please ingore  https://review.openstack.org/26887906:09
*** ashishb has joined #murano06:26
*** jasonsb has quit IRC06:45
openstackgerritmelissaml proposed openstack/murano: Wrong usage of "an" in the mesages:  https://review.openstack.org/26612906:57
*** katyafervent is now known as katyafervent_awa08:21
*** katyafervent_awa is now known as katyafervent08:22
openstackgerritmelissaml proposed openstack/murano: Wrong usage of "an" in the docstring:  https://review.openstack.org/26612908:37
*** samuelBartel has joined #murano08:37
*** naresht has joined #murano08:41
*** tiagogomes has joined #murano08:45
*** klkumar has joined #murano09:00
openstackgerritHidekazu Nakamura proposed openstack/murano: [docs] Update to use openstack CLI instead of glance(v1)  https://review.openstack.org/25937509:03
*** gpaz has joined #murano09:18
openstackgerritMerged openstack/murano: Broken owner parameter for getAttr/setAttr was fixed  https://review.openstack.org/26830409:19
nareshtHi all. I am using neutron 2015.1.0 release in my MOS setup. I want to update to 2015.1.2 release. How to upgrade from neutron 2015.1.0 to neutron 2015.1.2. Could you tell me how to apply a patch/update..?09:33
*** Nikolay_St has joined #murano09:59
openstackgerritMerged openstack/python-muranoclient: Repair package-update command  https://review.openstack.org/26251710:00
openstackgerritRavi Shekhar Jethani proposed openstack/murano: Python3: Replace dict.iterkeys with six.iterkeys  https://review.openstack.org/26896410:11
openstackgerritHenar Muñoz proposed openstack/murano: Install murano-agent by cloud-init  https://review.openstack.org/23426710:14
openstackgerritHenar Muñoz proposed openstack/murano: Install murano-agent by cloud-init  https://review.openstack.org/23426710:20
openstackgerritAbhishek Kekane proposed openstack/murano: Python3: Replace dict.iterkeys with six.iterkeys  https://review.openstack.org/26896410:27
nareshtHi all. I am getting this error when I tried to install OpenVPN on a MOS instance http://paste.openstack.org/show/484117/ . Could you help me to how to resolve this error ?10:32
*** akulshin has joined #murano10:32
*** kzaitsev_mb has joined #murano10:33
kzaitsev_mbnaresht: the trace is a trace of murano-agent?10:35
kzaitsev_mbOpenVPN is a murano app?10:35
kzaitsev_mbpls describe your setup in more detail, as it's currently not clear what exactly you're ding and what goes wrong =)10:36
*** tlashchova has joined #murano10:37
openstackgerritEkaterina Chernova proposed openstack/murano-dashboard: [DynamicUI] Apply user regex for the password field  https://review.openstack.org/26820310:37
nareshtI created a instance under MOS setup. On that instance I am installing Openvpn server (using this https://help.ubuntu.com/community/OpenVPN) to communicate with Public cloud nodes(Openvpn clients) ?10:41
kzaitsev_mband how is that connected to murano and your trace?10:42
openstackgerritRavi Shekhar Jethani proposed openstack/murano: Python3: Replace dict.itervalues with six.itervalues  https://review.openstack.org/26898611:05
*** akulshin has quit IRC11:15
*** zhurong has quit IRC11:22
*** akulshin has joined #murano11:23
openstackgerritKirill Zaitsev proposed openstack/murano: Allow package cache to persist on disc  https://review.openstack.org/25999911:26
*** kzaitsev_mb has quit IRC11:36
akulshinhi everyone!11:40
akulshini am trying to use switch YAQL expression in UI, and i do not get it...11:41
akulshinavailabilityZone: switch($.appConfiguration.osImage, $.startsWith("Red Hat") => 'rhel', true => 'nova')11:41
akulshinbut it fails and when i report inside workflow i get Availability zone is switch($.appConfiguration.osImage, $.startsWith("Red Hat") => 'rhel', true => 'nova')11:42
akulshinseems YAQL expression does not work...11:42
akulshinwhat i am doing wrong?11:42
*** yamamoto_ has quit IRC11:51
akulshincould anybody help with YAQL expressions?11:54
*** kzaitsev_mb has joined #murano11:56
akulshinYAQL? Anybody?11:57
katyaferventHi akulshin12:10
katyaferventwhat is your purpose to use switch expression?12:11
akulshinI need to switch availability zone based on image name12:11
akulshinhi katyafervent ;)12:12
katyaferventyaql expressions on the Applications section are intend to be passed to the engine and it compose a json from the user input12:12
katyaferventso not expressions are passed to engine, but the result json)12:13
katyaferventif you want to control something in UI, you have to modify fields section12:13
akulshinso i need to add default value with switch for field availabilityzone and assign it to instance parameter?12:14
*** raildo-afk is now known as raildo12:15
katyaferventoh, and you want to remove availabilityZone: from user import and set it automatically, right?12:15
akulshinyes, but if it will be form foeld, there are hidden propert, so there are no problem12:15
akulshinmy expression is correct?12:16
katyaferventlet's think what is better.12:16
akulshinis there more then one option?12:16
katyaferventprobably it's better to use yaql expresion in that case indeed12:17
akulshinbut what is other option(s)?12:18
katyaferventhttp://yaqluator.com/12:18
katyaferventyou can try your expression here12:18
katyaferventthe other option is to set value in Django itself. But it seems to me, murano-dashboard code modification is needed (dynamic UI doesnt have opportunity to support conditions)12:20
akulshinno, this is not the option...12:21
slagunakulshin: hi!12:21
akulshinhi!12:22
katyaferventakulshin, slagun can help you with yaql expression :)12:22
akulshinyes, thank you12:22
slagunakulshin: can you say again which expression doesn't work?12:23
akulshinslagun. i continue to try my availability zone switch12:23
akulshinavailabilityZone: switch($.appConfiguration.osImage, $.startsWith("Red Hat") => 'rhel', true => 'nova')12:23
akulshinwhen i try to deploy, workflow reports switch($.appConfiguration.osImage, $.startsWith("Red Hat") => 'rhel', true => 'nova') as availability zone valye for the instance12:24
akulshini suppose switch does not executed...12:24
slagunthat's because of double quotes12:24
slagunonly single quote mark is available in yaql 0.212:24
akulshinwith single quotes it does to pass after form submission12:25
akulshinkatyafervent said that i need to use YAQL only in fields section....12:25
slagunwhat is the exception you get with single quotes?12:26
slagunI guess I know12:27
slagunstartsWith was defined in murano-engine and not available for UI forms. Now it is in yaql itself, but that was not the case in kilo12:28
openstackgerritEkaterina Chernova proposed openstack/murano-dashboard: [DynamicUI] Apply user regex for the password field  https://review.openstack.org/26820312:28
akulshinhm...12:30
akulshinit is not showing anything meaningfull in horizon...12:31
akulshintrying to get to controller nodes12:32
slagunakulshin: you can try switch($.appConfiguration.osImage, 'Red Hat' in $ => 'rhel', true => 'nova')12:33
akulshinwaht if i will get one more zone?12:33
slagunswitch($.appConfiguration.osImage, $.startsWith("Red Hat") => 'rhel',  true => 'nova')12:34
slagunnot that one12:34
slagunswitch($.appConfiguration.osImage, 'Red Hat' in $ => 'rhel', 'something else' in $ => 'azone2', true => 'nova')12:34
*** sergmelikyan has joined #murano12:35
slagunI know that "in" is not the same as "startsWith" but that what we had in yaql 0.2. You can make a patch to murano-dashboard or yaql to have startsWith. Another option is to say $[0] = R and $[1] = e and $[2] = d ...12:36
slagunbut it will cause an exception for short strings12:36
akulshinin is fine, in my case it is a matter of rules. testing this one12:37
*** yamamoto has joined #murano12:38
akulshinwell, it is not failing which is good ;)12:38
akulshincan you remind links to sources? i have  moved to new mac and cannot find ones you sent me at friday...12:39
slagun> for 1.0 we are working on it. For 0.2 which is used in kilo the only source is source codes. https://github.com/openstack/murano/blob/stable/kilo/murano/engine/system/yaql_functions.py https://github.com/openstack/murano/blob/stable/kilo/murano/dsl/yaql_functions.py and https://github.com/openstack/yaql/tree/stable/0.2/yaql/functions12:41
akulshinthanks!12:41
slagunbut first 2 links are for application code only12:41
slagunfor UI form it is only the built-in yaql functions + several function introduced by the dashboard12:41
akulshinyou mean for workflow?12:41
slagunyes. For MuranoPL classes12:42
*** ashishb has quit IRC12:44
akulshindo you know where i can check what is introduced by dashboard?12:44
*** jesuspg has joined #murano12:44
*** sergmelikyan has quit IRC12:45
jesuspgHi, I have the next problem with sqlite312:45
jesuspgsqlalchemy.exc.OperationalError: (sqlite3.OperationalError) near "DROP": syntax error [SQL: u'ALTER TABLE environment DROP COLUMN networking']12:45
slagunakulshin: https://github.com/openstack/murano-dashboard/blob/master/muranodashboard/dynamic_ui/yaql_functions.py12:45
slagunakulshin: https://github.com/openstack/murano-dashboard/blob/stable/kilo/muranodashboard/dynamic_ui/yaql_functions.py for Kilo12:46
*** sergmelikyan has joined #murano12:46
slagunjesuspg: hi! That's because SQLite is not supported by database migrations12:46
akulshinslagun : thanks!12:46
jesuspgyes, I know, but there is a migration in alembic with a drop column operation12:47
slagunjesuspg: there is no dtop column in SQL. All modifications to a table structure is ALTER TABLE in SQL. And SQLite doesn't support it12:48
jesuspgthen, with this migration file, IMHO murano lost the compatibility with sqlite12:48
slagunyes, it does. Though it works on SQLite if you create database manually12:49
akulshinslagun: suddenly this does not work...12:56
akulshin2016-01-18 12:54:51 — [LinuxInstance] Image is 6d028d9e-9618-4d70-95a3-ee64081a599c12:56
akulshin2016-01-18 12:54:51 — [LinuxInstance] Creating Virtual Machine named New Virtual Machine12:56
akulshin2016-01-18 12:54:51 — [LinuxInstance] Availability zone is nova12:56
akulshinImage is GUID...12:56
akulshinor do I miss some metadata?..12:56
slagunoh13:14
akulshinbut that output is from workflow...13:15
slagunI guess $.appConfiguration.osImage returns image ID13:15
akulshini guess too, seeking for a way to evaluate this theory ;)13:15
slagunThose expressions in UI is what workflow gets as an input. So if you see GUID on workflow side then it must be the same here13:17
akulshinyes, the same. UI have image guid and send it to workflow13:18
*** jesuspg has quit IRC13:21
*** zhurong has joined #murano13:22
akulshini believe it is not possible to change availability zone using UI based on image... right?13:23
slagunakulshin: it's bad. Establishing a direct mapping from image ID to availability zone is the only option that comes to my mind (besides patching murano)13:23
slagunwell if you don't know all the image IDs in advance and don't want to patch murano, then yes13:24
*** jesuspg has joined #murano13:25
akulshinis it possible to get acces to parameters of custom murano library from ui?13:25
akulshinor make something in workflow?13:27
akulshinone my thought was to modify heat stack in workflow to modify this field, and then call instance.deploy()13:31
akulshinslagun: how do you think?13:31
*** kzaitsev_mb has quit IRC13:33
slagunakulshin: there is no place you can do this13:34
slagunand how will you know the image name in workflow?13:34
*** ducttape_ has joined #murano13:36
akulshindawn, you right, the same problem...13:39
akulshinbut i am using my own library to store openstack installation -depended constants, and theoretically the maping could be there...13:40
slagunif you can map from image ID to azone why can't you put it in UI?13:41
*** sergmelikyan has quit IRC13:42
akulshinbecuase the library is a single point of management...13:44
*** kzaitsev_mb has joined #murano13:46
slagunakulshin: well, you can try. You can create Instance (or LinuxMuranoInstance) class inheritor that would make azone property to be mutable and set its value upon deploy() based on some additional knowledge13:46
akulshinyes, i can do this, but what next? i still will not be able to launch the actual instance inside different AZ...13:48
slagunakulshin: why? You can use class configs to put the mapping ID->azone to config file13:51
akulshinbut class configs apply only to default parameter values and does not allow any logic. it is simple dictionary, isn't it?13:53
*** Liuqing has quit IRC13:54
akulshini change availability zone default to rhel for everybode, but then i would need to apply some logic to switch some VMs back to nova13:55
*** zhurong has quit IRC13:55
*** sergmelikyan has joined #murano13:59
openstackgerritRavi Shekhar Jethani proposed openstack/murano: Python3: Use urllib from six.moves  https://review.openstack.org/26906514:05
*** ducttape_ has quit IRC14:12
*** yamamoto has quit IRC14:25
*** jesuspg has quit IRC14:27
openstackgerritting wang proposed openstack/murano-agent: Clean up removed hacking rule from [flake8] ignore lists  https://review.openstack.org/26739614:27
akulshinslagun: it's pity we cannot make it work using murano... we will patch horizon and add autochoosing functions there...14:28
akulshinthank you for trying to help14:28
slagunakulshin: you can patch dashboard to return image name rather than ID14:29
slagunakulshin: but it is possible to have 2 images with the same name14:29
slagunakulshin: actually it used to return name but we changed it at some point14:29
*** ducttape_ has joined #murano14:32
openstackgerritMerged openstack/murano: Python3: Replace dict.iterkeys with six.iterkeys  https://review.openstack.org/26896414:32
openstackgerritMerged openstack/murano: Python3: Replace dict.itervalues with six.itervalues  https://review.openstack.org/26898614:33
openstackgerritMerged openstack/murano: Python3: Keep compatibility for urllib.urlencode  https://review.openstack.org/26881614:34
akulshinslagun: we found another way!  nova-scheduler haves AggregateImagePropertiesIsolation - and this will solve the issue.14:34
akulshinhttp://docs.openstack.org/kilo/config-reference/content/section_compute-scheduler.html14:35
akulshinseems much more elegant and fool-proof...14:36
*** yamamoto has joined #murano14:42
akulshinbut anyway, it was interesting experience in YAQL ;)14:46
slagunakulshin: also a good use case for us14:46
akulshinit is not rare cas e14:47
akulshinsorry... it is not rare case to change something for Instance in workflow...14:47
slagunwe are currently designing a feature called "automatic object model generation" where workflow parameters and form content is also controlled by MuranoPL code (up to the point when there won't be UI.yamls at all)14:48
akulshinand it would be nice to have the opportunity to change Instance.everything in workflow before Instance.deploy() called14:49
slagunthinking how to address this use case within that feature14:49
slagunakulshin: it is not a problem to patch core library so that it would be possible to change Instance properties. The problem is how to know the image name etc.14:51
slagunand how to do it right in general14:51
akulshinit is not so easy to patch it, just change usage is not helping14:52
slagunchange usage is not enough because you cannot change property values from outside. So you also need to add changeSomething method to the Instance class14:52
akulshinwell, if there was object image with properties from glance, then it would help i think. now we get only string, and it is not enough14:56
*** sergmelikyan has quit IRC14:56
akulshinor ability co query nova for additional parameters by UID14:57
slagunwell, you can write a plugin for that14:57
akulshinyes, if i would be a programmer... but someday i could make a deep drive into that...14:59
*** Nikolay_St has quit IRC15:01
*** ducttape_ has quit IRC15:03
openstackgerritting wang proposed openstack/murano-agent: Clean flake8 ignore  https://review.openstack.org/26739615:13
openstackgerritEkaterina Chernova proposed openstack/murano-apps: Fixing typos in README.rst for Kubernetes apps  https://review.openstack.org/26095915:29
*** enthurohini has joined #murano15:36
*** klkumar has quit IRC15:45
*** gpaz has quit IRC15:49
*** ducttape_ has joined #murano15:50
openstackgerritStan Lagun proposed openstack/murano: Fixes attribute store for MuranoClassReference types  https://review.openstack.org/26915415:51
*** ducttape_ has quit IRC15:59
openstackgerritWang Bo proposed openstack/murano: Using six.moves to import modules only in python2  https://review.openstack.org/26915916:01
*** ducttape_ has joined #murano16:02
openstackgerritWang Bo proposed openstack/murano: Fix python 2 and 3 compatibility issue with six  https://review.openstack.org/26915916:09
openstackgerritEkaterina Chernova proposed openstack/murano-apps: [Tomcat][Tests] Add check for a 'deployed' variable  https://review.openstack.org/26916716:12
openstackgerritMerged openstack/murano: [Murano Docs] [CLI] Manage environments  https://review.openstack.org/26646216:25
*** Nikolay_St has joined #murano16:35
openstackgerritWang Bo proposed openstack/murano: Python3:Replace iter.next() with next(iter)  https://review.openstack.org/26918216:46
*** madhuri has joined #murano16:47
-openstackstatus- NOTICE: Gerrit is restarting quickly as a workaround for performance degradation16:48
openstackgerritDarla Ahlert proposed openstack/murano: [Murano Docs]/[docs] Replace all instances of "tenant" with "project"  https://review.openstack.org/26422116:52
*** vahidh has joined #murano16:53
enthurohinihello kzaitsev_mb17:03
*** vahidh has quit IRC17:24
*** ducttape_ has quit IRC17:24
*** samuelBartel has quit IRC17:35
*** kzaitsev_mb has quit IRC17:37
*** vahidh has joined #murano17:38
*** ducttape_ has joined #murano17:39
*** yamamoto has quit IRC17:40
*** ducttape_ has quit IRC17:53
*** vahidh has quit IRC18:00
*** vahidh has joined #murano18:00
*** vahidh has quit IRC18:00
*** samuelBartel has joined #murano18:01
*** vahidh has joined #murano18:23
*** jesuspg has joined #murano18:46
*** jesuspg has quit IRC18:55
*** Marga_ has joined #murano18:56
*** Marga_ has quit IRC18:57
*** ashishb has joined #murano18:57
*** Marga_ has joined #murano18:57
madhuriHi  I have created an app and I am getting error "NoMatchingFunctionException: No function "#operator_>" matches supplied arguments"19:04
madhuriI can't see in errors what is the error in my app19:04
madhuriCan anyone help?19:04
madhurikzaitsev_ws: yt?19:05
*** kzaitsev_mb has joined #murano19:08
*** ducttape_ has joined #murano19:09
kzaitsev_mbhi folks19:09
kzaitsev_mbenthurohini: still here?19:09
madhuriHi kzaitsev_mb19:09
enthurohiniyes19:10
madhuriOk enthurohini first :)19:10
kzaitsev_mbmadhuri: which line do you get error from? =)19:10
kzaitsev_mband what version of murano do you use19:10
madhuriBit outdated master19:11
kzaitsev_mbenthurohini: had any questions? =)19:11
madhuriThat is the problem, I can't find line no in error logs19:11
enthurohinikzaitsev_mb, i was saying that i am having problem in testcases. :P thatswhy its taking time. i will try once again from myside, and wil ask you tomorrow19:12
kzaitsev_mbmadhuri: can you grep it for NoMatchingFunctionException ?19:12
madhuriThe murano code?19:12
kzaitsev_mbmadhuri: or you can upload the class you wrote somewhere and show it to me19:12
kzaitsev_mbthe logs19:12
madhuriOk let me do that19:12
kzaitsev_mbanyway I'll ask you to show me your MuranoPL class at some point ))19:13
kzaitsev_mbso pls upload it to some paste site =)19:13
enthurohinimadhuri, hii you can paste at http://paste.openstack.org/19:13
kzaitsev_mbenthurohini: ok =) cool. Sorry still haven't tested your commit =( had a pretty tight schedule last week.19:14
madhurikzaitsev_mb: just the classes may not be enough. So I need to upload the whole package and plugin19:14
kzaitsev_mbwould do it tomorrow I guess )19:14
kzaitsev_mbmadhuri: let's start with the classes )19:14
madhuriI can upload a WIP19:15
*** ducttape_ has quit IRC19:15
enthurohinikzaitsev_mb, ok. np. :) actually that commit is suffering from merge conflict.19:15
madhuriBut in very bad shape :D19:15
*** akulshin has quit IRC19:17
madhurikzaitsev_mb: gimme 10 minutes19:18
enthurohinikzaitsev_mb, and as far as i know, two +2 are required for meging the code. and the commit has only two +1 then how merge process is started by jenkins? https://review.openstack.org/26601819:19
kzaitsev_mbwill be back in 10-15 mins19:19
kzaitsev_mbafk now19:19
enthurohiniok19:19
enthurohini:)19:19
*** kzaitsev_mb has quit IRC19:26
*** Marga_ has quit IRC19:31
openstackgerritMadhuri Kumari proposed openstack/murano: [WIP] Adding Magnum app to deploy Kubernetes Cluster  https://review.openstack.org/26925019:40
madhurikzaitsev_mb kzaitsev_ws ^^19:41
madhurienthurohini: Two +2 and one workflow+1 is required to merge a code19:44
enthurohinimadhuri, yes :)19:44
madhurienthurohini: Your patch has merge conflict so Jenkins failed.19:44
madhuriYou need to rebase it19:44
enthurohiniyeah, i got it. but why it happened is the question.19:46
madhurienthurohini: Merge conflicts happens when some patches gets merged in after you upload your patch19:47
madhurienthurohini: And your patch is doing some change that has been removed from master branch or so19:47
madhurienthurohini: Have you tried rebasing it?19:48
enthurohiniohk, got it means i dont have current version code. thatswhy it is telling for rebase.19:49
enthurohininot yet. waiting for kirill's comments then will do19:49
madhuriYes19:49
madhuriOk good luck (y)19:49
madhurienthurohini: Are you from India?19:50
enthurohinithanks madhuri. you have developed an application for?19:50
madhuriMagnum19:50
enthurohinimadhri, yes i am from indore, INDIA. and you?19:50
madhuriThis is my first time I am developing Murano app without much knowledge of Murano :D19:51
*** kzaitsev_mb has joined #murano19:54
kzaitsev_mbenthurohini: the patch is in merge conflict state19:55
kzaitsev_mbyou need to fix it19:55
kzaitsev_mb[#murano] enthurohini: this means, that a change by other commit, that has been merged conflicts with your change. you need to checkout the latest master, apply the patch (with a)19:55
kzaitsev_mbwith a cherry-pick for example19:55
enthurohiniok, kzaitsev_mb, will fix it19:56
kzaitsev_mboh I see, madhuri answered most of that =)19:57
madhuriYeah while waiting for you I tried to help her :)19:57
kzaitsev_mbsorry =) non-openstack part of my life also requires some of my attentions sometimes =)19:58
madhuriNp at all. Pleasure was all mine :)19:58
madhurikzaitsev_mb: Did you see my app?19:59
enthurohinikzaitsev_mb, she is advising me in personal chat too. she is so helping. great to have you madhuri20:00
madhuriThanks enthurohini :)20:00
kzaitsev_mbmadhuri: you have: $.string().notNull().check($ > 0)20:00
kzaitsev_mbso you're essentially saying that the property should be a string, that is not-null and > 020:01
madhuriOops20:01
madhuri:D20:01
kzaitsev_mb>0 doesn't make sense for yaql strings =)20:01
madhuriYeah absolutely20:01
madhuriMy bad20:01
madhuriWhere did you see it in logs?20:02
kzaitsev_wsi didn't checj the logs =) I started with classes file right away )20:02
kzaitsev_mbmadhuri: the would most likely be somewhere in murano-engine's logs20:03
kzaitsev_mbnot api's20:03
madhuriYes I see engine logs only20:03
madhuriBut the error log didn't print the line no20:03
kzaitsev_mbyep, we can file a bug for that20:04
madhurikzaitsev_mb: Any more suggestions is welcome :)20:04
madhuriYou can post on my patch20:04
kzaitsev_mbthat error logs are not clear when the error happens during contract evaluation20:04
kzaitsev_mbmadhuri: do you want this in or did you post it as example?20:05
madhuriNo no20:05
madhuriI will be doing modification20:05
madhuriWill post soon20:05
madhuriBut yes I need some suggestion20:05
kzaitsev_mbmadhuri: anyway — do you want this commit to be merged and maintained by upstream at some point?20:06
madhuriYes20:06
madhuriI will register a bp explaining it20:06
madhuriBut you have already got it20:07
kzaitsev_mbok, may I ask you to attend our tommorrows IRC meeting then?20:07
madhuriYes sure20:07
madhuriAt what time?20:07
kzaitsev_mbWe do not have any policy about plugins as of yet =)20:07
madhuriOk I had meeting with Serg regarding this20:07
kzaitsev_mbhttps://wiki.openstack.org/wiki/Meetings/MuranoAgenda you can also add https://wiki.openstack.org/wiki/Meetings/MuranoAgenda to our agenda =)20:08
kzaitsev_mbI've just cleaned it a bit =)20:08
madhuriSure I will join. Right after Magnum meeting20:09
madhuri:)20:09
kzaitsev_mbok, I'll have a look at your commit. if you're going to make some adjustements — please add -WIP or add WIP to the commit message 1st line )20:10
kzaitsev_mbor well don't =)20:10
kzaitsev_mbif you want people to review it seriously )20:10
kzaitsev_mbbut it can get merged )20:10
kzaitsev_mbso it's usually polite to add WIP somewhere if you intend to change something.20:11
kzaitsev_mbalso you should definitelly remove extra whitespaces — gerrit highlights them red and no one likes them )20:12
kzaitsev_mbI'll go through the code tomorrow )20:12
kzaitsev_mbmadhuri: and yes, our meeting is right next to 'containers' and in the very same channel =)))20:12
madhuriYeah sure kzaitsev_mb I will do that20:14
*** jesuspg has joined #murano20:17
*** akulshin has joined #murano20:18
*** akulshin has quit IRC20:23
*** jesuspg has quit IRC20:26
*** jasonsb has joined #murano20:29
*** jasonsb has quit IRC20:31
*** jasonsb has joined #murano20:31
*** vgridnev has joined #murano20:36
madhurikzaitsev_mb: yt?20:40
kzaitsev_mbyep20:41
madhuriI need some suggestion20:43
madhuriDo you few minutes now?20:43
kzaitsev_mbyep20:43
kzaitsev_mbI'm going to release a new version of python-muranoclient in a few moments20:43
kzaitsev_mbso I have plenty of time =)20:43
madhuriIn Magnum to create a Kuberenetes cluster, we create a baymodel and then create a bay using the baymodel20:44
madhurihttps://github.com/openstack/magnum/blob/master/doc/source/dev/dev-quickstart.rst#building-a-kubernetes-bay20:45
madhuriSo in Murano, I have create a Magnum bay an app https://review.openstack.org/#/c/269250/1/contrib/plugins/magnum_plugin/magnum-app/io.murano.apps.MagnumApp/Classes/MagnumBayApp.yaml20:46
madhuriAnd baymodel a component of it https://review.openstack.org/#/c/269250/1/contrib/plugins/magnum_plugin/magnum-app/io.murano.apps.MagnumApp/Classes/MagnumBaymodel.yaml20:47
*** ashishb has quit IRC20:47
madhuriSo is this correct?20:47
kzaitsev_mblooks correct so far20:49
kzaitsev_mbI might need to read through some docs, but what you say sounds reasonable =)20:49
madhuriBut I am not able to pass the MagnumBaymodel attributes in MagnumBayApp class20:49
slagunjust don't use  !yaql "not bool($.getAttr(deployed))"20:49
slagunIf: not $.getAttr(deployed, false)20:50
madhurislagun: Is it for me?20:50
slagunyes20:50
madhuriThanks slagun20:50
slagunsingle function with 100500 parameters seems hard to maintain20:54
slagunat least you could pass parameters by name20:54
slagunor to pass a dictionary instead20:55
enthurohinikzaitsev_mb, madhuri, to cherry-pic, first i need to checkout master branch since i have created a topic branch `bp/openstack-client-plugin-support` then `git fetch origin` to have latest content of master branch. After that `git cherry-pic <hash of commit>`  then git review. right? or i am missing smth?20:56
madhuriAre you talking about createBaymodel method?20:56
slagunmadhuri: yes :)20:56
madhuriI am not sure how we use dic in yaql20:56
kzaitsev_mbenthurohini: right, but you can also use advanced features of git review for that20:56
madhuriWill look for it20:57
madhurislagun: :)20:57
kzaitsev_mbenthurohini: oh wait, you missed checking out on latest master20:57
kzaitsev_mbenthurohini: 1) git fetch20:57
kzaitsev_mb2) git checkout master20:58
enthurohiniyes20:58
*** vgridnev has quit IRC20:58
kzaitsev_mb3) git reset --hard origin/master20:58
slagunmadhuri: https://paste.ubuntu.com/14570130/20:58
kzaitsev_mbnow you're on the latert master20:58
kzaitsev_mbnow you can cherry-pick the commit with20:59
madhurigreat thanks slagun :)20:59
kzaitsev_mb4.1) git cherry-pick <hash>20:59
slagunmadhuri: forgot to add spaces: https://paste.ubuntu.com/14570137/20:59
kzaitsev_mbor 4.2) git review -x 26601820:59
kzaitsev_mbenthurohini: that would basically do the same, but you don't need to remeber the long hash. just the gerrit change number from the url21:00
enthurohinikzaitsev_mb, what -x will do?21:00
kzaitsev_mbenthurohini: it means 'cherry-pick change 266018 on top of where I am'21:01
enthurohinikzaitsev_mb, at the place of hash i can use gerrit change no.?21:01
*** raildo is now known as raildo-afk21:01
kzaitsev_mbthen you'll need to fix errors, marked with ==== <<<< >>>> 'git add' all the files you edited and type in 'git cherry-pick --continue'21:02
kzaitsev_mbenthurohini: no. I meant on the 'latest master'21:02
kzaitsev_mbenthurohini: do you know how git works? (serious question here =))21:04
enthurohinikzaitsev_mb, yes, i know the basics only, no deep knowledge21:04
kzaitsev_mbenthurohini: cool. pls remind me to explain how it works some day =) just not today, ok? =)21:05
enthurohinikzaitsev_mb, sure. :P21:05
*** ducttape_ has joined #murano21:11
*** ducttape_ has quit IRC21:15
*** Marga_ has joined #murano21:20
*** vgridnev has joined #murano21:25
*** Marga_ has quit IRC21:25
*** Marga_ has joined #murano21:29
*** Marga_ has quit IRC21:47
*** vgridnev has quit IRC21:53
openstackgerritMadhuri Kumari proposed openstack/murano: [WIP] Adding Magnum app to deploy Kubernetes Cluster  https://review.openstack.org/26925021:54
*** madhuri has quit IRC21:56
*** kzaitsev1mb has joined #murano22:02
*** kzaitsev_mb has quit IRC22:02
openstackgerritRohini Choudhary proposed openstack/python-muranoclient: Initial commit for openstack-client support in python-muranoclient  https://review.openstack.org/26601822:40
openstackgerritOpenStack Proposal Bot proposed openstack/murano: Updated from global requirements  https://review.openstack.org/26932522:41
openstackgerritOpenStack Proposal Bot proposed openstack/murano-agent: Updated from global requirements  https://review.openstack.org/26932622:42
openstackgerritOpenStack Proposal Bot proposed openstack/python-muranoclient: Updated from global requirements  https://review.openstack.org/26934722:45
*** jasonsb has quit IRC23:00
*** jasonsb has joined #murano23:01
*** ducttape_ has joined #murano23:06
openstackgerritMerged openstack/murano-agent: Updated from global requirements  https://review.openstack.org/26932623:22
*** enthurohini has quit IRC23:24
*** ativelkov has quit IRC23:31
*** ducttape_ has quit IRC23:32
*** tsufiev has quit IRC23:32
*** dteselkin has quit IRC23:32
*** IgorYozhikov has quit IRC23:32
*** rakhmerov has quit IRC23:32
*** katyafervent has quit IRC23:33
*** ativelkov has joined #murano23:35
*** IgorYozhikov has joined #murano23:36
*** rakhmerov has joined #murano23:37
*** katyafervent has joined #murano23:37
*** dteselkin has joined #murano23:38
*** tsufiev has joined #murano23:39

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