Friday, 2016-01-15

*** vahidh has quit IRC00:31
*** stanchan has quit IRC01:01
*** jfluhmann has quit IRC01:47
*** yamamoto_ has joined #murano01:52
openstackgerritMerged openstack/murano-dashboard: Control password field duplication  https://review.openstack.org/26592801:56
*** yamamoto_ has quit IRC01:57
*** yamamoto_ has joined #murano02:00
*** yamamoto_ has quit IRC02:02
*** zhurong has joined #murano02:06
*** kzaitsev_mb has quit IRC02:14
*** hidekazu has joined #murano02:18
*** jfluhmann has joined #murano02:38
*** yamamoto_ has joined #murano02:58
*** StanLagun has quit IRC03:06
*** StanLagun has joined #murano03:06
*** jasonsb has joined #murano03:20
*** hidekazu has quit IRC03:22
*** gpaz has quit IRC03:23
*** kzaitsev_mb has joined #murano03:40
*** kzaitsev_mb has quit IRC03:46
*** mragupat has joined #murano03:55
*** mragupat has quit IRC03:55
*** sergmelikyan has quit IRC03:55
*** mragupat has joined #murano03:56
*** vgridnev has joined #murano04:33
*** kzaitsev_mb has joined #murano04:43
*** kzaitsev_mb has quit IRC05:36
openstackgerritWang Bo proposed openstack/murano: Python3: Fixes dictionary view objects  https://review.openstack.org/26774605:36
openstackgerritHidekazu Nakamura proposed openstack/murano: [Doc] Fix 'Murano packages structure' link  https://review.openstack.org/26794405:42
*** Nikolay_St has quit IRC05:46
*** zhurong has quit IRC06:06
*** zhurong has joined #murano06:07
*** vgridnev has quit IRC06:12
*** kodokuu has quit IRC06:30
*** kzaitsev_mb has joined #murano06:32
*** jfluhmann has quit IRC06:33
*** Nikolay_St has joined #murano06:36
*** kzaitsev_mb has quit IRC06:37
*** jasonsb has quit IRC06:42
*** zhurong has quit IRC06:43
*** zhurong has joined #murano06:44
*** vgridnev has joined #murano06:51
*** zhurong has quit IRC07:24
*** samuelBartel has quit IRC07:32
*** kzaitsev_mb has joined #murano07:33
*** kzaitsev_mb has quit IRC07:38
*** mragupat has quit IRC07:58
*** vgridnev has quit IRC08:16
*** samuelBartel has joined #murano08:21
openstackgerritNikolay Starodubtsev proposed openstack/murano-apps: Add Readme to ActiveDirectory application  https://review.openstack.org/26629108:25
*** kzaitsev_mb has joined #murano08:34
*** jfluhmann has joined #murano08:34
*** kzaitsev_mb has quit IRC08:38
*** henar has joined #murano08:41
henargood morning..08:41
henarand .. happy new year..08:41
henarcould you have a look at https://review.openstack.org/#/c/234267/?08:41
henarthanks a lot08:41
openstackgerritMerged openstack/murano-specs: Replace deprecated library function os.popen() with subprocess  https://review.openstack.org/26756008:46
openstackgerritHenar Muñoz proposed openstack/murano: Introducing ConfLangInstance  https://review.openstack.org/23038108:47
openstackgerritNikolay Starodubtsev proposed openstack/murano: Update _get_tags function to prevent race condition  https://review.openstack.org/25785809:06
openstackgerritAaron Ding proposed openstack/python-muranoclient: Delete unuse variable in shell.py  https://review.openstack.org/26802309:14
*** vgridnev has joined #murano09:15
*** henar has quit IRC09:29
mflobogood morning o/09:34
mflobowhere is the launchpad proyect for murano-dashboard?09:34
*** kzaitsev_mb has joined #murano09:35
*** tlashchova has joined #murano09:40
*** kzaitsev_mb has quit IRC09:43
StanLagunmflobo: morning09:45
StanLagunmflobo: it is the one LP for most parts of murano: https://launchpad.net/murano09:45
mfloboStanLagun, thanks09:47
*** henar has joined #murano09:48
openstackgerritEkaterina Chernova proposed openstack/murano: [docs] Add murano test runner information  https://review.openstack.org/25478110:04
openstackgerritEkaterina Chernova proposed openstack/murano-apps: [Tomcat] Add unit-tests to Tomcat application  https://review.openstack.org/25943410:09
openstackgerritWang Bo proposed openstack/murano: Python3: Fix using dictionary keys() as list  https://review.openstack.org/26774610:21
*** Nikolay_St has quit IRC10:47
openstackgerritHenar Muñoz proposed openstack/murano: Install murano-agent by cloud-init  https://review.openstack.org/23426710:47
*** Nikolay_St has joined #murano10:48
openstackgerritHenar Muñoz proposed openstack/murano: Install murano-agent by cloud-init  https://review.openstack.org/23426710:52
openstackgerritNikolay Starodubtsev proposed openstack/python-muranoclient: Repair package-update command  https://review.openstack.org/26251710:56
openstackgerritNikolay Starodubtsev proposed openstack/murano: Update _get_tags function to prevent race condition  https://review.openstack.org/25785811:09
openstackgerritRavi Shekhar Jethani proposed openstack/murano: Python3: Replace dict.iteritems with six.iteritems  https://review.openstack.org/26808311:19
*** kzaitsev_mb has joined #murano11:29
openstackgerritStan Lagun proposed openstack/murano: Install murano-agent by cloud-init  https://review.openstack.org/23426711:43
openstackgerritStan Lagun proposed openstack/murano: Install murano-agent by cloud-init  https://review.openstack.org/23426711:47
*** sergmelikyan has joined #murano12:00
openstackgerritWang Bo proposed openstack/murano: Python3: Fix using dictionary keys() as list  https://review.openstack.org/26774612:08
openstackgerritMerged openstack/murano-apps: [Tomcat] Add unit-tests to Tomcat application  https://review.openstack.org/25943412:16
*** katyafervent is now known as katyafervent_awa12:16
*** katyafervent_awa is now known as katyafervent12:17
openstackgerritMerged openstack/murano-apps: Add Readme to ActiveDirectory application  https://review.openstack.org/26629112:17
*** henar has quit IRC12:23
openstackgerritWang Bo proposed openstack/murano: Python3: Fix using dictionary keys() as list  https://review.openstack.org/26774612:32
*** openstackgerrit has quit IRC12:50
*** openstackgerrit has joined #murano12:50
*** enthurohini has joined #murano12:52
*** henar has joined #murano12:57
*** raildo-afk is now known as raildo13:01
*** ducttape_ has joined #murano13:06
openstackgerritMerged openstack/murano: [Doc] Fix 'Murano packages structure' link  https://review.openstack.org/26794413:10
*** ducttape_ has quit IRC13:26
*** ducttape_ has joined #murano13:26
*** ducttape_ has quit IRC13:31
*** akulshin has joined #murano13:39
*** yamamoto_ has quit IRC13:40
akulshinHi everyone! Is there a way to choose availability zone based on the image for the instance?13:40
*** ashishb has joined #murano13:42
akulshinLet's say i have windows AZ and linux AZ, can i create unified murano app that choose which AZ to use based on user input, i.e. image?13:42
kzaitsev_mbakulshin: I believe you can choose AZ during the step, when you configure the instance. Have you checked it? Or is that config field not enough for you? =)13:44
akulshinkzaitsev_mb: this creates user mistakes, i need to avoid this13:45
kzaitsev_mbah, now I see13:45
kzaitsev_mblet me think13:45
kzaitsev_mbwell, I think you can design your app, to add AZ based on user input. You can put that logic in MuranoPL code13:46
akulshinwe use kilo, so new() will not work for us...13:47
kzaitsev_mbthe question is — how would you know that a user chose windows image?13:47
akulshinthere is type of image, windows.2012, we can have it durint workflow execution13:48
kzaitsev_mbtype?13:48
kzaitsev_mbI mean. in glance — there is no generic way to know that image is win or nix as far as I understad13:49
kzaitsev_mbah, you mean murano metadata13:49
akulshinyes13:50
kzaitsev_mbok, so that doesn't change my solution anyway =) you can set AZ in muranopl code, based on user input13:50
akulshinhow?13:50
kzaitsev_mbcheck the input =)13:50
kzaitsev_mbIf input for image is win — chose win AZ13:50
kzaitsev_mbotherwise choose nix az13:50
akulshininstance object initiated after UI and I cannot change availabilityZone parameter13:50
akulshinthe question is how can i change it, but not how I will find out that i need to change it13:52
kzaitsev_mbat worst — you should be able to inherit the Image class and redefine .deploy method, that wold overwrite AZ13:53
kzaitsev_mbor that might not be even required13:54
akulshindo you mean to override murano.io library?13:57
kzaitsev_mbinherit, not override =)13:59
kzaitsev_mbso13:59
kzaitsev_mbone option how to do that is to inherit from LinuxMuranoInstance or whatever class you're using. add a mthod to it, that would call setattr(availabilityZone, smth) and call it before you call instance deploy14:00
akulshinbut core Instance class have Usage: In for this parameter14:01
akulshinI mean there is no Usage in the code, that mean it defaults to In14:02
akulshinwe use kilo...14:03
akulshinI have tried to redefine it in workflow, this operation fails.14:04
kzaitsev_mbtrue, probably you'd have to override it. not sure if that would work =)14:04
akulshinmay be there are other options?..14:08
kzaitsev_mbhm, didn't know muranopl has such strict constraints =/14:09
kzaitsev_mbWell, you still can have your own deploy method, that would use a different flow for AZ, I guess14:10
akulshinthis it not the matter of deploy method, it is matter of class parameters mutability14:15
kzaitsev_mbyep, I mean, that you can write your' own deploy method, that uses different parameter for AZ14:16
kzaitsev_mbI know that this is ugly, but I can't really think of a better solution14:16
kzaitsev_mbStanLagun: ^^^ ping =)14:16
kzaitsev_mbativelkov: ^^^14:17
akulshinbut i cannot create new Instance in workflow...14:17
akulshinit would be just perfect if i could implement this logic somewhere in UI14:17
akulshinso Instance would be Initiated as expected14:18
StanLagunakulshin: can you put this logic into UI form?14:18
akulshini do not know how14:19
akulshinStanLagun, do you know?14:19
StanLagunfor example take a look at https://github.com/openstack/murano-apps/blob/master/ApacheHTTPServer/package/UI/ui.yaml#L3314:19
StanLagun$.instanceConfiguration.availabilityZone is a YAQL expression that will return entered value14:20
StanLagunbut it can be more complex and include some decision making14:20
kzaitsev_mbright! since those are YAQL — that should be possible )14:20
akulshinbut how i can change it based on image value?14:20
akulshinhmmm... can i use switch there?14:21
StanLagunswitch($.instanceConfiguration.osImage = 'windows-image' => 'azWindows', true => 'defaultAZ')14:22
openstackgerritAaron Ding proposed openstack/python-muranoclient: Delete unuse variable in shell.py  https://review.openstack.org/26802314:22
StanLagunops, this is yaql 1.0 syntax14:22
StanLagunwhich is available in Liberty14:23
StanLagunbut there is also similar function in kilo with slightly different syntax14:23
kzaitsev_mbStanLagun: and is there a way to access type of the image from murano image metadata attrs?14:23
akulshincool! how can i get substring from image with YAQL?14:23
akulshini think this will solve my problem. thanks!14:24
*** yamamoto has joined #murano14:24
akulshinbut substring... how?14:24
StanLagunstring.substr($index) or string.substr($index, $length)14:25
StanLagunkzaitsev_mb: I'll be surprised if it possible to access any data besides those that are in the form14:26
kzaitsev_mbright, since it'll only have access to what's been serialized by the form14:27
akulshinyes, i just was thinking that i would need to work with image name to determine the AZ to use... since i have no metadata available in UI14:28
StanLagunakulshin: the syntax for kilo is switch($.instanceConfiguration.osImage, $.wndsWith(windows) => 'azWindows', true => azLinux)14:28
akulshinwhere can i see something like YAQL functions reference?14:29
StanLagun$.endsWith(windows)14:29
akulshinStanLagun thanks! you are very helpful.14:29
StanLagunfor 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/functions14:30
*** ashishb has quit IRC14:32
*** akulshin has quit IRC14:43
*** akulshin has joined #murano14:44
*** ducttape_ has joined #murano14:54
*** akulshin has quit IRC14:58
*** akulshin has joined #murano14:59
openstackgerritMerged openstack/murano: Python3: Fix using dictionary keys() as list  https://review.openstack.org/26774615:12
openstackgerritMerged openstack/murano: Python3: Replace dict.iteritems with six.iteritems  https://review.openstack.org/26808315:17
*** Nikolay_St has quit IRC15:20
*** raildo is now known as raildo-afk15:20
*** freerunner has quit IRC15:34
openstackgerritMerged openstack/murano: Fix logging_setup call  https://review.openstack.org/24793115:36
*** vryzhenkin has joined #murano15:39
*** mragupat has joined #murano15:40
openstackgerritEkaterina Chernova proposed openstack/murano-dashboard: [DynamicUI] Apply user regex for the password field  https://review.openstack.org/26820315:48
*** jfluhmann has quit IRC15:49
*** freerunner has joined #murano15:54
*** akulshin has quit IRC16:05
*** vgridnev has quit IRC16:32
*** vgridnev has joined #murano16:33
*** vgridnev has quit IRC16:34
*** vahidh has joined #murano16:41
*** vahidh has quit IRC17:02
*** samuelBartel has quit IRC17:05
*** ashishb has joined #murano17:10
openstackgerritMerged openstack/python-muranoclient: Delete unuse variable in shell.py  https://review.openstack.org/26802317:15
*** vgridnev has joined #murano17:16
*** tlashchova has quit IRC17:18
*** raildo-afk is now known as raildo17:24
*** raildo is now known as raildo-afk17:25
*** freerunner has quit IRC17:27
*** vryzhenkin is now known as freerunner17:27
*** vahidh has joined #murano17:36
*** tlashchova has joined #murano17:40
*** vahidh has quit IRC17:53
*** vahidh has joined #murano17:58
*** vahidh has quit IRC17:58
*** vahidh has joined #murano17:59
*** vahidh has quit IRC18:04
*** sergmelikyan has quit IRC18:09
*** jasonsb has joined #murano18:10
*** kzaitsev_mb has quit IRC18:12
*** slagun has joined #murano18:15
*** StanLagun has quit IRC18:17
*** ducttape_ has quit IRC18:32
*** tlashchova has quit IRC18:35
*** henar has quit IRC18:47
*** ashishb has quit IRC18:47
*** thumpba has joined #murano18:48
*** henar has joined #murano18:49
*** henar has quit IRC18:49
*** henar has joined #murano18:52
*** jasonsb has quit IRC18:57
*** ducttape_ has joined #murano19:11
*** ashishb has joined #murano19:27
openstackgerritStan Lagun proposed openstack/murano: Fixed broken owner parameter for getAttr/setAttr  https://review.openstack.org/26830419:43
*** tlashchova_ has joined #murano19:56
openstackgerritStan Lagun proposed openstack/murano: Broken owner parameter for getAttr/setAttr was fixed  https://review.openstack.org/26830420:14
*** jfluhmann has joined #murano20:21
*** tlashchova_ has quit IRC20:22
*** ashishb has quit IRC20:24
*** jfluhmann has quit IRC20:24
*** henar has quit IRC20:44
*** enthurohini has quit IRC20:45
*** yamamoto has quit IRC21:00
*** yamamoto has joined #murano21:01
*** Nikolay_St has joined #murano21:09
*** yamamoto has quit IRC21:26
*** thumpba has quit IRC21:44
*** mragupat has quit IRC21:52
*** vgridnev has quit IRC22:26
*** yamamoto has joined #murano22:27
*** ducttape_ has quit IRC22:31
*** yamamoto has quit IRC22:33
*** lgreg has left #murano22:46
*** ducttape_ has joined #murano23:35

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