Friday, 2015-12-18

*** alejandrito has quit IRC00:08
*** kzaitsev_mb has quit IRC00:41
*** zhurong has joined #murano00:42
openstackgerritzhurong proposed openstack/python-muranoclient: Let the SessionClient raw_request only return response  https://review.openstack.org/25879100:49
*** zhurong has quit IRC00:58
*** zhurong has joined #murano02:01
*** yamamoto has joined #murano02:21
*** zhurong has quit IRC02:27
*** ducttape_ has joined #murano02:28
*** zhurong has joined #murano02:31
*** yamamoto has quit IRC02:34
*** yamamoto has joined #murano03:27
*** xiangxinyong has quit IRC03:27
*** xiangxinyong has joined #murano03:29
*** ducttape_ has quit IRC03:40
*** ducttape_ has joined #murano03:55
*** ducttape_ has quit IRC04:12
*** gangadhar has quit IRC04:53
*** gangadhar has joined #murano05:04
*** ducttape_ has joined #murano05:16
*** ducttape_ has quit IRC05:17
*** zhurong has quit IRC05:31
*** zhurong has joined #murano05:32
*** katyafervent_hom has joined #murano06:23
*** hidekazu has joined #murano07:00
openstackgerritzhurong proposed openstack/python-muranoclient: Make package-update help more clear  https://review.openstack.org/25930807:21
*** enthurohini has joined #murano07:37
openstackgerritMerged openstack/python-muranoclient: Delete the extra space in delete package print  https://review.openstack.org/25878307:37
openstackgerritzhurong proposed openstack/python-muranoclient: Add Type field_labels for package list  https://review.openstack.org/25931407:37
*** xiangxinyong has quit IRC08:07
*** xiangxinyong has joined #murano08:07
openstackgerritRohini Choudhary proposed openstack/murano: Add tag fuctionality for heat stacks  https://review.openstack.org/25866108:18
*** kodokuu has joined #murano08:32
kodokuuHi, is it possible to add multi imageType to UI ?08:32
kodokuukatyafervent ping :)08:33
*** vahidh has quit IRC08:37
openstackgerritHidekazu Nakamura proposed openstack/murano: [docs] Add the step to add passenv in tox.ini  https://review.openstack.org/25932608:38
*** Liuqing has joined #murano08:40
katyafervent_homhi kodokuu!08:48
kodokuuhi08:49
kodokuuYou see my question ?08:49
katyafervent_homyes08:49
katyafervent_homhm, I think it requires some modification in image field08:50
kodokuuok08:50
kodokuuBecause I have pacakge for rhel6, package for rhel 7 and package for linux server08:50
katyafervent_homyou can add new type, that will filter several image types08:51
kodokuuSo we can't add multi type on one image08:51
katyafervent_hom:)08:51
katyafervent_homno, I think it parsed as a string08:51
kodokuuI need my rhel6 image have two type, rhel6 and linux08:51
*** ducttape_ has joined #murano08:51
kodokuuYou say I can add a type like rhel6_linux08:52
kodokuuand If I write imageType:linux works ?08:52
katyafervent_homyes, or 'all_linux'08:52
kodokuuI can't add all_linux08:52
kodokuuBecause all_linux = linux08:53
katyafervent_homhold on, you can register new image tupe, like you registered rhel608:53
kodokuuI'll add rhel6_linux, rhel7_linux :)08:53
katyafervent_homit is kind a hack, but it is quick08:53
*** gangadhar has quit IRC08:53
kodokuuYes but the question is if I can use imageType: Linux with rhel6_linux TAG on my image :)08:54
kodokuusecond question08:54
kodokuupossible to add regex filter on password type ?08:54
katyafervent_homI think we didn't divide linux type because we checked for os in the installation script itself08:54
kodokuuYes But I my app works just on rhel6 and I launch package with rhel708:55
kodokuuho script say no works on rhel 708:55
kodokuuBut I have created stack, env, session, take quota of volume08:55
kodokuuLong time for just a message, script no works on your OS08:56
katyafervent_homyes, we need to filter it on UI side08:56
kodokuuI think add a field in image tag08:56
kodokuulike version08:56
kodokuumaybe can be good08:57
kodokuuwith version : all , 1 ,2, ,3 ,4 ,508:57
kodokuua new type :)08:57
kodokuuand for my second question ? possible to add regex filter on password type ?08:58
katyafervent_homfiltering images is a good topic, I think you can add new blueprint, describe what you need and we will discuss with everybody08:59
katyafervent_homfor now you can add some hacks into dashboard code I guess08:59
kodokuuok08:59
kodokuuI'll write BP08:59
katyafervent_homthanks09:00
katyafervent_homregarding second question09:00
*** kzaitsev_mb has joined #murano09:00
katyafervent_homdid you try to add https://github.com/openstack/murano-apps/blob/d3cf423b71003d21591cd624403a2d1b3f5dce40/Docker/Kubernetes/KubernetesPod/package/UI/ui.yaml#L3409:03
katyafervent_homto the password field in UI ?09:03
kodokuuyes09:04
katyafervent_homif it does not work - it is a bug. password field has it's own validators09:04
kodokuuBecause you password field accept ! or ? and my apps no works with :/09:04
katyafervent_homand I think it should be replaced with user one (or combined?)09:05
katyafervent_homhm, yeah, special sighs even necessary,  those validators were created for Windows apps :)09:06
katyafervent_homso it is a good bug, you are improving murano every day :)09:06
katyafervent_homwe just need to fix bugs on time :)09:07
*** tlashchova has joined #murano09:07
*** kzaitsev_mb has quit IRC09:09
*** gangadhar has joined #murano09:14
kodokuuI don't know if this is a bug09:16
kodokuuI'am no testing that09:16
kodokuuI'll test now09:16
enthurohinikatyafervent_hom, hello09:22
enthurohinikatyafervent_hom, why this gate-murano-test is providing -1, https://murano-ci.mirantis.com/logs/61/258661/5/check/gate-murano-ubuntu/e257004/ is fhowing no failures09:24
kodokuukatyafervent ok so I tried to add regexpValidator on password type but no works.09:24
*** zhurong has quit IRC09:26
gangadharHi all.09:26
gangadharThis line giving me error: - $name: "k8s-murano-{0}".format(randomName())09:27
*** zhurong has joined #murano09:27
*** zhurong has quit IRC09:27
gangadhar2015-12-18 09:24:37 — while parsing a block mapping in "<string>", line 167, column 9: - $name: "k8s-murano-{0}".format(r ... ^ expected <block end>, but found '<scalar>' in "<string>", line 167, column 32: - $name: "k8s-murano-{0}".format(randomName()) ^09:27
gangadharslagun ^^^09:30
katyafervent_homgangadhar:try to use this format format('guid-{0}', randomName())09:30
katyafervent_homgangadhar:try to use this format - $name: format('guid-{0}', randomName())09:31
katyafervent_homit should work in the way you have provided, but it can be a bug (09:31
openstackgerritDmytro Dovbii proposed openstack/murano-specs: Fix murano-specs template  https://review.openstack.org/25934909:31
gangadharkatyafervent_hom: $name: "k8s-murano-{0}".format('guid-{0}', randomName()) , right?09:32
*** openstackgerrit has quit IRC09:32
*** openstackgerrit has joined #murano09:32
katyafervent_homgangadhar: no09:40
katyafervent_hom$name: format("k8s-murano-{0}", randomName())09:40
katyafervent_homstring with guid was just an example09:41
kodokuupossible to have string type but with password field like ********09:41
kodokuu?09:41
kodokuuwithout clone field for comfirm password09:42
kodokuubecause I need to have password without special carac and password field force user to write one special carac09:42
katyafervent_homkodokuu: you can use regular char field, and add regex validator. In that case validator should work and filed will not be cloned09:45
kodokuuBut I can see the password in field ? or I can hide it ?09:45
kodokuulike field : *********09:45
katyafervent_hombut **** will be not added automatically09:45
kodokuuhum09:46
katyafervent_homJS need to be provided in murano-dasboard09:46
kodokuuin heat you can add hidden: true for add *******09:46
*** Liuqing has quit IRC09:46
kodokuuok new blueprint :D09:47
katyafervent_homhidden: true means different in dynamic UI)09:48
kodokuuyou have JS 'muranodashboard/js/passwordfield.js'09:48
katyafervent_homhttps://github.com/murano-project/murano-app-incubator/blob/69950b6c4598a707d17cf578e24f6bc66d99be9e/io.murano.apps.HDPSandbox/UI/ui.yaml#L3809:49
katyafervent_homkodokuu:you can add js to your field in that way (but file should be in murano-dashboard in advance)09:50
kodokuuI can use 'muranodashboard/js/passwordfield.js09:51
kodokuu:)09:51
katyafervent_homkodokuu:it is for checking match with confirm field, you don't need that file09:54
kodokuuarf no works :/09:54
kodokuuwidgetMedia:09:54
kodokuu            js: ['muranodashboard/js/passwordfield.js']09:54
kodokuuBut I can see my input in field :/09:54
kodokuuok09:54
kodokuuwhat is the JS or CSS for doesn't see input ?09:55
katyafervent_homtype="password" for the input field, I think you can insert it with JS09:55
kodokuuI checked class PasswordField in field.py09:55
kodokuuI don't find where is the conf for hidde the input09:58
katyafervent_hombut you need django password field if you want it without any modifications, but it require creating new type of field i09:58
kodokuuI guess I have two solution09:58
kodokuu1/ I change special_characters in class PasswordField09:58
katyafervent_homhttp://stackoverflow.com/questions/6859727/styling-password-fields-in-css09:59
kodokuu2/ I create new param of type:string like hiddenInput: true for hide input09:59
katyafervent_homyou have two options use charfield and add js that modifies input 2) add new field, that is inherited from django form filed and use it in your UI form10:00
kodokuuor I add a CSS with input[type="password"] with widgetMedia ?????10:00
katyafervent_hom:)10:00
katyafervent_homyes, but I'm not sure it is css, since you have to modify existing dom10:01
katyafervent_homor you can publish a commit that adds simple password field - and it will have no clone filed and use ***10:02
katyafervent_homthat would be great :)10:02
kodokuuwhen you say charfield, it's type: string ?10:02
katyafervent_homyes10:02
kodokuuok10:02
kodokuuI can commit but my issue is not the clone10:02
kodokuuis the regex with passwordfield10:02
kodokuuand we can't edit this regex with regexValidator10:03
katyafervent_homyou will have new field, it will be not connected to current password field and it's validators10:03
kodokuuI can see validate_password = django_validator.RegexValidator(10:03
kodokuu        password_re10:03
kodokuuneed to change password_re with the regexValidator write in UI.yaml10:04
katyafervent_homso you can apply user-input validators in your new field10:04
kodokuuwhy new field ? Just need change passwordField and add condition If regexValidator exist, replace password_re with regex in ui.yaml10:05
katyafervent_homkodokuu: so everyone can choose - use complicated password field or simple one10:06
katyafervent_homalso notice, that you don't have to call validators manually, it is done in https://github.com/openstack/murano-dashboard/blob/master/muranodashboard/dynamic_ui/fields.py#L15510:07
katyafervent_homand charfield is inherited from that class. so your new field would be a charfield and has 'widget': self.PasswordInput(render_value=True)10:09
katyafervent_homwidget and PasswordInput comes from django10:09
katyafervent_homso in our Dynamic UI would be new simple_password filed type10:10
katyafervent_homdoes it make sense? :)10:10
katyafervent_homIf you want you can file a bug and I push the change real quick :)10:14
openstackgerritRohini Choudhary proposed openstack/murano: Add tagging fuctionality for heat stacks  https://review.openstack.org/25866110:24
*** kzaitsev_mb has joined #murano10:31
*** gangadhar has quit IRC10:40
openstackgerritHidekazu Nakamura proposed openstack/murano: [docs] Update to use glance image-create(v2)  https://review.openstack.org/25937510:50
*** xiangxinyong has quit IRC10:50
*** ducttape_ has quit IRC10:54
*** Nikolay_St has quit IRC10:56
*** naresht has joined #murano11:08
*** hidekazu has quit IRC11:20
*** kodokuu has quit IRC11:22
*** gangaec has joined #murano11:22
gangaecHow can I remove an element by index from list in MuranoPL?11:23
katyafervent_homslagun:^^^ also, we missed it in our documentation, right?11:25
*** kzaitsev_mb has quit IRC11:33
gangaecI have list like $myArr: ["str1", "str2", "str3"]. I want to remove value "str3".11:41
gangaecTried $myArr.pop(), $myArr.remove("str3") and $myArr.delete("str3"). All are throwing exceptions "NoMatchingMethodException"11:42
gangaeckatyafervent_hom: How can I delete an element from array in MuranoPL?11:43
*** tlashchova has quit IRC11:47
nareshtHi all. I am running into an error. I tried to find out but no luck, can you help me11:51
naresht[yaql.language.exceptions.NoMatchingFunctionException]: No function "#operator_." matches supplied arguments11:51
*** sergmelikyan has joined #murano11:59
*** kzaitsev_mb has joined #murano12:03
kzaitsev_mbativelkov: are you around? =)12:04
*** vahidh has joined #murano12:06
katyafervent_homgangaec:need to wait for slagun12:07
*** yamamoto has quit IRC12:07
katyafervent_homnaresht:hi! probably you has incorrect expression, please provide your code12:08
kzaitsev_mbgangaec: with yaql I can do the following ([1,2,3]).enumerate().where($[0] != 1).map($[1])12:08
kzaitsev_mbprobably there is a shorter version )12:08
*** zhurong has joined #murano12:08
*** Nikolay_St has joined #murano12:09
ativelkovwell, the idea is that yaql is a query language, it cannot modify the original data structures12:09
ativelkovit may return you a new copy of it12:09
nareshtkatyafervent_hom: Yes it is incorrect expression. I got it now. Thanks12:10
*** vahidh has quit IRC12:10
kzaitsev_mbgangaec: my option should work. $myArr: $myArr.enumerate().where($[0] != 3).map($[1])12:12
katyafervent_homativelkov:creating new list via adding item is much easier :)12:12
ativelkov[1,2,3,4].delete(0) will return [2,3,4]12:13
gangaeckzaitsev_mb: can you explain that instruction?12:13
katyafervent_homor, so we do have delete operation. need to document that12:13
ativelkovdelete removes by index12:13
ativelkovnot by value12:14
kzaitsev_mbgangaec: delete is more straightforward12:14
kzaitsev_mbuse it =)12:14
kzaitsev_mbmy idea was to 1st enumerate the list, then return new list where the first element (index) != the index you want to delete, and finally squash a list of pairs to a list of single values.12:16
kzaitsev_mbgangaec: [str1,str2,str3].delete(1)12:16
kzaitsev_mbwould return ["str1","str3"]12:17
kzaitsev_mbyou can get index with .indexOf("str2") if you want to12:18
*** stan_lagun has joined #murano12:19
*** pradiprwt has joined #murano12:22
*** slagun has quit IRC12:22
gangaeckzaitsev_mb: Oh, thanks12:23
openstackgerritEkaterina Chernova proposed openstack/murano: Update buiding windows image article  https://review.openstack.org/25941212:27
*** tlashchova has joined #murano12:31
*** kzaitsev_mb has quit IRC12:45
*** kzaitsev_mb has joined #murano12:46
*** yamamoto has joined #murano12:46
openstackgerritzhurong proposed openstack/murano: fix typo in doc/source/image_builders/upload.rst  https://review.openstack.org/25942012:49
*** sergmelikyan has quit IRC12:50
openstackgerritzhurong proposed openstack/python-muranoclient: Remove arguments "{}" and "[]" in function definitions  https://review.openstack.org/25885212:55
enthurohinikzaitsev_mb, in this link http://lists.openstack.org/pipermail/openstack-dev/2015-November/080364.html, there is a typo12:57
kzaitsev_mbenthurohini: which one?12:57
*** sergmelikyan has joined #murano12:58
enthurohinikzitsev_mb, where you mentioned [2] and [4] in para. the link includes [ which results in page not found12:58
kzaitsev_mboh, yep12:58
kzaitsev_mbI noticed those12:58
kzaitsev_mbparser is not smart enough =(12:59
kzaitsev_mbbut you can still click the links in the bottom =)12:59
enthurohiniyeah12:59
kzaitsev_mbWell, I believe it's not my typo then =)13:00
enthurohiniwell, idk13:00
kzaitsev_mbI wonder what's wrong with our releasenotes13:00
enthurohiniwhy, what happen13:00
kzaitsev_mbenthurohini: anyway there's nothing anyone can do about it now, that the message has been sent13:01
kzaitsev_mbenthurohini: http://docs.openstack.org/releasenotes/murano/unreleased.html doesn't include lot's of info =/13:01
kzaitsev_mbnot sure why13:01
kzaitsev_mbglance has the same problem13:02
kzaitsev_mbbut nova doesn't13:02
enthurohiniok, above link should include all the releasenotes. is it so?13:03
openstackgerritEkaterina Chernova proposed openstack/murano: [docs] Add example of delete item from the list  https://review.openstack.org/25942613:03
kzaitsev_mbunreleased, i.e. current beta knotes13:04
kzaitsev_mbgotta check our config against nova's13:04
enthurohiniok13:04
*** yamamoto has quit IRC13:04
*** yamamoto has joined #murano13:09
*** yamamoto has quit IRC13:09
kzaitsev_mbtox -e releasenotes builds just fine, so probably we need to merge something with a releasenote13:10
*** vgridnev has joined #murano13:12
enthurohinikzaitsev_mb, something can be??13:12
kzaitsev_mbdidn't get your question13:12
enthurohiniwhat we need to merge?13:13
kzaitsev_mbenthurohini: nothing specific13:13
kzaitsev_mbI just suggest, that the error might go away as soon as some commit that alters notes would be merged13:14
gangaecHow to parse json string in MuranoPL?13:14
kzaitsev_mbprobably there was some error with the releasnotes job13:14
kzaitsev_mbgangaec: json string or json object?13:14
kzaitsev_mbalthough tbh — I don't know the answer anyway )))13:14
kzaitsev_mbativelkov: ^^13:14
enthurohinikzaitsev_mb, yup13:15
*** ducttape_ has joined #murano13:17
gangaecI have a variable $result: '{ "status": "success", "description": "none"}'. How can I parse it?13:17
*** raildo-afk is now known as raildo13:23
ativelkovThat's a question to stan_lagun13:24
*** zhurong has quit IRC13:26
ativelkovActually, I'd prefer a yaql function which builds objects out of some json, but we don't have anything like that in plain yaql.13:26
gangaecHow can I create a global variable in MuranoPL?13:26
*** ducttape_ has quit IRC13:27
ativelkovThere are no such things as global variables here. Why do you need one?13:28
gangaecativelkov: to edit a variable value in different methods.13:29
gangaecI tried something here: http://paste.openstack.org/show/482306/ . But getting below error13:29
gangaec2015-12-18 13:12:31 — [yaql.language.exceptions.NoMatchingFunctionException]: No function "#indexer" matches supplied arguments13:29
openstackgerritEkaterina Chernova proposed openstack/murano-apps: Add package with application tests example  https://review.openstack.org/25943413:32
*** yamamoto has joined #murano13:32
*** thumpba has joined #murano13:32
*** enthurohini has quit IRC13:35
openstackgerritKirill Zaitsev proposed openstack/murano: Updated mock release note  https://review.openstack.org/25944413:44
openstackgerritKirill Zaitsev proposed openstack/murano: Updated mock release note and mock-index maxdepth  https://review.openstack.org/25944413:45
*** sergmelikyan has quit IRC13:49
*** sergmelikyan has joined #murano13:50
*** vahidh has joined #murano13:54
katyafervent_homkzaitsev_mb ativelkov https://review.openstack.org/#/c/257322/ please review, no activity in 3 days13:55
katyafervent_homand this https://review.openstack.org/#/c/259434/13:58
katyafervent_homit blocks some other patches13:58
*** vahidh has quit IRC13:59
openstackgerritEkaterina Chernova proposed openstack/murano: Update buiding windows image article  https://review.openstack.org/25941214:03
*** naresht has quit IRC14:03
*** ducttape_ has joined #murano14:20
*** ducttape_ has quit IRC14:22
*** pradiprwt has quit IRC14:23
ativelkovgangaec: that's strange: the snippet in your paste should work properly, imho. stan_lagun: any idea on that?14:25
ativelkovBTW, delete(-1) does not work properly in yaql, looks like a bug14:26
ativelkovyaql> [1,2,3].delete(-1)14:26
ativelkov[14:26
ativelkov    1,14:26
ativelkov    2,14:26
ativelkov    314:26
ativelkov]14:26
kzaitsev_mbativelkov: care to file it as a bug to yaql?14:42
*** jsheeren has joined #murano14:45
ativelkovkzaitsev_mb: sure, https://bugs.launchpad.net/yaql/+bug/152763514:48
openstackLaunchpad bug 1527635 in YAQL "Delete on negative index does not work properly" [Undecided,New]14:48
*** sergmelikyan has quit IRC14:57
*** jsheeren has quit IRC14:59
*** ducttape_ has joined #murano14:59
openstackgerritMerged openstack/python-muranoclient: Make package-update help more clear  https://review.openstack.org/25930815:01
openstackgerritMerged openstack/murano: [mocking-machinery] Add original method function  https://review.openstack.org/25732215:02
*** katyafervent_hom has quit IRC15:03
*** enthurohini has joined #murano15:08
*** kzaitsev_mb has quit IRC15:08
*** kzaitsev_mb has joined #murano15:16
*** katyafervent_hom has joined #murano15:28
*** vgridnev has quit IRC15:37
*** vgridnev has joined #murano15:37
*** kzaitsev_mb has quit IRC15:39
*** Nikolay_St has quit IRC15:51
openstackgerritDmytro Dovbii proposed openstack/murano-apps: [Ops Manager] Add configuring for sec.group and ips black list  https://review.openstack.org/25951716:01
*** kzaitsev_mb has joined #murano16:35
*** kzaitsev_mb has quit IRC16:40
openstackgerritEkaterina Chernova proposed openstack/murano-apps: Add package with application tests example  https://review.openstack.org/25943416:53
*** tlashchova has quit IRC16:55
*** kzaitsev_mb has joined #murano17:36
*** vahidh has joined #murano17:37
*** kzaitsev_mb has quit IRC17:42
*** vahidh has quit IRC17:42
*** yamamoto has quit IRC17:48
*** yamamoto has joined #murano17:50
*** vahidh has joined #murano17:50
*** yamamoto has quit IRC17:55
*** kzaitsev_mb has joined #murano17:59
*** kzaitsev_mb has quit IRC18:03
*** kzaitsev_mb has joined #murano18:11
*** enthurohini has quit IRC18:20
*** kzaitsev_mb has quit IRC18:25
*** yamamoto has joined #murano18:53
*** katyafervent_hom has quit IRC18:58
*** yamamoto has quit IRC18:58
*** ducttape_ has quit IRC19:01
*** openstackgerrit has quit IRC19:17
*** openstackgerrit has joined #murano19:17
*** ducttape_ has joined #murano19:18
*** vgridnev has joined #murano19:43
*** sergmelikyan has joined #murano20:21
*** raildo is now known as raildo-afk20:44
*** sergmelikyan has quit IRC20:49
*** kzaitsev_mb has joined #murano21:17
*** ducttape_ has quit IRC21:35
*** ducttape_ has joined #murano21:39
*** vgridnev has quit IRC22:25
*** ducttape_ has quit IRC22:44
*** zhurong has joined #murano23:05
*** zhurong has quit IRC23:06
*** ducttape_ has joined #murano23:44
*** ducttape_ has quit IRC23:49

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