Tuesday, 2016-01-05

*** kzaitsev_mb has quit IRC00:20
*** ducttape_ has joined #murano00:22
*** jasonsb has joined #murano00:28
*** stanchan has quit IRC00:42
*** jfluhmann has quit IRC00:47
*** ducttape_ has quit IRC01:10
*** ducttape_ has joined #murano01:24
*** ducttape_ has quit IRC01:30
openstackgerritAaron Ding proposed openstack/murano: Modify filter by 'Name' in Package Definition  https://review.openstack.org/26351701:36
openstackgerritAaron Ding proposed openstack/murano-dashboard: Modify filter by 'Name' in Package Definition  https://review.openstack.org/26351801:37
*** Liuqing has joined #murano01:37
*** ducttape_ has joined #murano01:41
*** lin_yang has joined #murano01:55
*** zhurong has joined #murano02:09
*** ducttape_ has quit IRC02:47
*** klkumar has joined #murano03:24
*** klkumar has quit IRC03:34
*** enthurohini has joined #murano04:52
*** Liuqing has quit IRC05:05
*** zhurong has quit IRC05:05
*** zhurong has joined #murano05:05
*** Liuqing has joined #murano05:06
*** enthurohini has quit IRC05:21
*** Liuqing has quit IRC05:51
*** kodokuu has quit IRC06:30
*** vahidh has quit IRC06:45
*** samuelBartel has joined #murano07:52
*** tobe has joined #murano08:41
*** tobe has quit IRC08:41
*** jsheeren has joined #murano08:45
*** nareshtr has joined #murano08:52
*** gangadhar has quit IRC08:55
*** kzaitsev_mb has joined #murano09:15
*** vahidh has joined #murano09:17
*** vahidh has quit IRC09:22
*** zhurong has quit IRC09:22
*** kzaitsev_mb has quit IRC09:24
*** klkumar has joined #murano09:30
*** kodokuu has joined #murano09:45
kodokuuddovbii Hi09:45
ddovbiikodokuu, hi!09:51
kodokuuI see your message for the bug, Works now09:51
kodokuuI don't know why I haven't this commit because I download stable/kilo on github09:51
kodokuustrange ^^09:52
*** klkumar has quit IRC10:02
*** tlashchova has joined #murano10:11
*** klkumar has joined #murano10:13
*** zhurong has joined #murano10:33
*** kzaitsev_mb has joined #murano10:42
*** nareshtr has quit IRC10:43
*** yamamoto has joined #murano10:56
*** jsheeren has quit IRC10:58
*** samuelBartel has quit IRC10:58
*** kzaitsev_mb has quit IRC11:02
*** yamamoto has quit IRC11:04
*** kzaitsev_mb has joined #murano11:15
*** klkumar has quit IRC11:17
*** klkumar has joined #murano11:20
*** kzaitsev_mb has quit IRC11:31
*** enthurohini has joined #murano11:32
*** vahidh has joined #murano12:00
*** vahidh has quit IRC12:05
*** klkumar has quit IRC12:22
*** klkumar has joined #murano12:25
*** klkumar has quit IRC12:43
*** raildo-afk is now known as raildo12:47
*** kzaitsev_mb has joined #murano12:52
*** vahidh has joined #murano12:55
*** vahidh has quit IRC12:59
openstackgerritDmytro Dovbii proposed openstack/murano-dashboard: Delete only murano data from image metadata  https://review.openstack.org/26371913:01
kodokuuddovbii great :)13:04
ddovbiikodokuu, =)13:04
kzaitsev_mbby the looks of it you still set purge_props to True13:05
*** ducttape_ has joined #murano13:06
kzaitsev_mbprobably it would work though13:07
*** ducttape_ has quit IRC13:07
kzaitsev_mbbut I'd rather just remove purge_props at all from the glance call.13:08
ddovbiikzaitsev_mb, i tried both options. Without purge_props glance call does nothing13:09
*** idvoretskyi has quit IRC13:10
ddovbiiif purge_props is provided, other data is saved13:10
ddovbiiand murano data is deleted13:10
kzaitsev_mbhm.13:11
kzaitsev_mbI see your point13:11
*** zhurong has quit IRC13:12
*** ducttape_ has joined #murano13:13
kzaitsev_mbactually that's kind of a bit strange API on the glance side13:15
kzaitsev_mbbut well =)13:15
kzaitsev_mbso long as it works )13:15
ddovbii=)13:15
enthurohinikzaitsev_mb, there?13:20
kodokuuddovbii Can I try your patch ?13:22
*** samuelBartel has joined #murano13:24
kzaitsev_mbenthurohini: will be back in 30-45 min13:24
ddovbiikodokuu, why not? kzaitsev_mb, should I backport it to kilo and liberty or maybe it is better to wait until it will be merged to master?13:24
kzaitsev_mbddovbii: usually better to wait before it is merged in master13:25
ddovbiiok13:25
enthurohiniok13:25
kzaitsev_mband I'm not sure if it's a good idea to backport it to kilo13:25
kzaitsev_mbdefinitelly liberty though13:25
kzaitsev_mband we still have kilo broken anyway )13:26
ddovbiidue to fact that it is not critical looks like you are right13:26
*** kzaitsev_mb has quit IRC13:31
*** ducttape_ has quit IRC13:36
*** lin_yang has quit IRC13:44
*** lin_yang has joined #murano13:44
*** kzaitsev_mb has joined #murano14:09
*** ducttape_ has joined #murano14:22
*** ducttape_ has quit IRC14:28
*** kzaitsev_mb has quit IRC14:30
kodokuuddovbii your patch works ;)14:42
*** sergmelikyan has joined #murano14:48
*** ducttape_ has joined #murano14:48
ddovbiikodokuu, cool =)14:49
*** kzaitsev_mb has joined #murano15:32
enthurohinikzaitsev_mb, can we talk?15:40
kzaitsev_mbsure15:41
kzaitsev_mbgot any questions?15:41
enthurohinikzaitsev_mb, i have setup openstack via devstack, and i dont have python-muranoclient repo15:42
kzaitsev_mbwhat do you mean you dont have python-muranoclient repo ?15:42
enthurohiniduring devstack installation it get installed via pip through script, so i have it in dist package but it is not a git repo15:43
enthurohiniso how can i contribute15:43
kzaitsev_mbjust download yourself a copy =)15:44
enthurohinimeans i should clone this repo and it will work?15:44
kzaitsev_mbofcourse. after all it is all python code and python executables are just .py files, nothing more15:46
kzaitsev_mbalso15:46
enthurohiniyup.15:47
kzaitsev_mbyou can download the repo (for example to the directory /home/enthurohini/python-muranoclient)15:47
kzaitsev_mband then pip install -e /home/enthurohini/python-muranoclient15:48
enthurohinithen i will have two muranoclient i think :P15:48
enthurohinias one is already installed15:49
kzaitsev_mbso what happens when you type 'murano'?15:49
kzaitsev_mbwhich one woule be executed? =)15:49
enthurohinithe new one installed15:49
kzaitsev_mbwhy are you so sure? =)15:50
enthurohinibecause, i have tried it prevoiusly15:50
kzaitsev_mbwhen you type 'top' where is the actual 'top' file located?15:50
kzaitsev_mband is there a 'top' file? what do you think? =)15:52
enthurohinii didnot tried top, but once upon i have installed devstack nd afterwards i installed muranoclient manually, then i was unable to find env that i have in dashboard. I was able to see env that i have created via command only15:52
enthurohiniwhen i used issue morano environment list15:53
kzaitsev_mband when you type 'murano' — where is that 'murano' file located?15:54
kzaitsev_mbenthurohini: (it's ok to say that you don't know ;) it's not an exam =) )15:55
*** alraddara has joined #murano15:55
enthurohinii dont know cz i cant try it right now, cz i have a new setup now15:56
kzaitsev_mbenthurohini: I'm trying to teach you something generic here =)15:56
kzaitsev_mbit doesn't really matter if it's devstack or not15:57
kzaitsev_mbit's a question of shell or bash15:57
enthurohinicurrently, when i issue murano, it provides usage info15:57
kzaitsev_mbexactly as it should15:58
kzaitsev_mbbut what did I ask? I asked you where is that file, that get's executed.15:58
kzaitsev_mbaren't you curious about it? =)15:58
enthurohiniit is in /usr/local/python2.7/dist-packages/muranoclient15:59
enthurohiniyup, all the pip installed packages reside in ^ above folder15:59
kzaitsev_mbno the file 'murano' is not from there most likely16:00
enthurohinithen?16:01
*** mragupat has joined #murano16:01
enthurohininow, i am really curious16:01
kzaitsev_mband even if it would — how would simple command 'murano' know to look in that directory? =)16:01
kzaitsev_mbok, I'm about to stop torturing you with all this questions =)16:02
kzaitsev_mbtype `which murano`16:02
enthurohinii like ur all this questions as it opens my mind16:02
enthurohiniok16:02
enthurohiniit is /usr/local/bin/murano16:03
kzaitsev_mbso it actually was in /usr/local/bin/ not in /usr/local/python2.7/dist-packages/muranoclient =)16:04
enthurohinibut i saw the same files as we have in our repo muranoclient there. then what was that?16:05
kzaitsev_mbso. actually when you type 'murano' your shell (i.e. bash) looks for a file named 'murano' in all the directories that are mentioned in the environmental variable $PATH, you can examine them by typing 'echo $PATH' in your console. So16:06
kzaitsev_mboh, another important thing — first one found wins. so you can have multiple files named murano in all those directories. But the first one found there, in the order they are mentioned in $PATH wins16:08
kzaitsev_mbSO16:08
enthurohiniyeah, this path is mentioned there16:08
enthurohiniok.16:09
kzaitsev_mbwhat pip install -e does, is that along the lines it puts executable file murano, which is an entry point to murano client into /usr/local/bin/ or you local venv bin directory. Somewhere along the path16:11
kzaitsev_mbfor example when I 'sudo pip install -vv -e ./python-muranoclient/' it tells me16:11
kzaitsev_mb'Installing murano script to /usr/local/bin'16:12
kzaitsev_mbthe library files are put somewhere python interpreter can find them, usually it's something like /usr/local/python2.7/dist-packages/, but that's a different story =)16:12
kzaitsev_mbso16:12
kzaitsev_mbcoming back to your question =)16:13
kzaitsev_mbit's totally ok to pip install -e ./path/to/muranoclient =)16:13
enthurohiniand if i have already file inside /usr/local/bin, then it will overwright?16:13
kzaitsev_mbyep, the binary would get overwritten most likely16:13
kzaitsev_mbor not, if it was in a different directory16:14
enthurohiniok.16:14
kzaitsev_mband the library files would also be overriden in /usr/local/python2.7/dist-packages/ =)16:14
kzaitsev_mbsorry for such a long explanation =)16:14
enthurohiniplease, dont be sorry.16:15
kzaitsev_mbcould've just said — 'everything would be ok =)' but that would not be that fun, right ;)16:15
enthurohinii love to learn, nd knowing concepts, thaty i said you already that  i love your mentorship16:15
enthurohiniyup, you are absolutely right.16:16
kzaitsev_mbSo. I hope, that now you know a bit more, about what actually happens under the hood of 'pip install' and calls to 'murano'. =)16:16
enthurohiniyeah, and millions of thanks for long explaination :)16:17
kzaitsev_mbI tend to exaplain it from the bottom, when I notice, that someone does not understand some concepts =)16:17
enthurohiniit is very nice thing abou you16:18
enthurohinikzaitsev_mb, lets come to openstack client support now16:18
kzaitsev_mbyep16:21
enthurohiniAs to enable openstackclient support, we need to make a client and register it into entry points, so we will require to give name to this plugin. And u said that murano is not a good name, can we name it application_catalog?16:21
kzaitsev_mbso yep, I think 'pip install -e' should be a good place to start and make it working16:22
kzaitsev_mbyes16:22
kzaitsev_mb'application-catalog'16:22
kzaitsev_mbI think we replaced _ with - some time ago, due to some bug in keystone16:22
alraddarakzaitsev_mb: Hi, are you the same person that filed this bug: https://bugs.launchpad.net/murano/+bug/1514756 ? I am going to work on it and have a couple of simple questions whenever you get done with your current discussion :)16:26
openstackLaunchpad bug 1514756 in Murano "Murano still uses the term tenant in multiple places" [Low,In progress] - Assigned to Darla Ahlert (da741q)16:26
enthurohinikzaitsev_mb, ok. now i am starting coding for it. and will submit patch for it soon16:27
*** vgridnev has joined #murano16:27
kzaitsev_mbenthurohini: awesome! =) we've been wanting to have support for it for quite some time =)16:27
kzaitsev_mbalraddara: yep, what questions do you have? )16:27
alraddarakzaitsev_mb: should i replace every instance of the word 'tenant' with 'project'? and should i only complete these changes in the "doc" directory?16:31
alraddarai'm new to the community so i'm totally open to any guidance you may have16:31
*** vgridnev_ has joined #murano16:32
*** vgridnev has quit IRC16:32
kzaitsev_mbalraddara: oh, well. =) that's a good question to be fair )16:40
kzaitsev_mbI think, that you should replace most if not all mentions of tenant to 'project'16:41
kzaitsev_mbalraddara: maybe somewhere it would be more appropriate to use something like 'project (tenant)'16:43
kzaitsev_mbI think it's a matter of personal taste16:43
kzaitsev_mbbut I'd like to have it more appropriate.16:43
kzaitsev_mbalso. `keystone` CLI client is deprecated. we have several calls to it in documentation. Those should be replaced with calls to 'openstack'16:44
kzaitsev_mbsry, for answering slow, was a bit busy =)16:46
alraddarakzaitsev_mb: that's fine! and okay sounds good. But I should only be working within the "doc" directory, correct?16:47
alraddarai will look around to see where in the documentation it might be nice to have 'project (tenant)'16:47
kzaitsev_mbalraddara: with this bug — yes. Most likely there are mentions in other places. but the bug is about docs. so feel free to fix just the docs.16:48
alraddaraperfect. thanks so much for your help. i will begin working in this today16:48
kzaitsev_mbhowever if you want to look at other parts of code — and feel that there is anything appropriate there — you can also alter that16:48
kzaitsev_mbmaybe in a separate commit16:48
kzaitsev_mbalthough it's completely optional16:48
kzaitsev_mbfixing the docs would already do a great deal =)16:49
kzaitsev_mbno rush =)16:49
alraddarai will definitely keep an eye out as i work on fixing the docs.16:49
alraddarathanks again16:50
kzaitsev_mbalraddara: most of core reviewers are on vacation as far as I know =) I do check the code now and then, but we'll need a second +2 +)16:50
enthurohini:)16:51
kzaitsev_mbbut everyone would be back next monday )16:51
alraddaraawesome. sounds good to me!16:51
*** kzaitsev_mb has quit IRC16:57
*** alraddara has left #murano16:58
*** alraddarla has joined #murano16:59
*** kzaitsev_mb has joined #murano16:59
*** vahidh has joined #murano17:12
*** ducttape_ has quit IRC17:14
*** ducttape_ has joined #murano17:14
*** samuelBartel has quit IRC17:18
*** kzaitsev_mb has quit IRC17:19
*** vgridnev_ has quit IRC17:24
*** _ducttape_ has joined #murano17:40
*** ducttape_ has quit IRC17:40
*** tlashchova has quit IRC17:48
*** mragupat has quit IRC17:56
*** mragupat has joined #murano17:56
*** vahidh has quit IRC18:07
*** vahidh has joined #murano18:07
*** vahidh has quit IRC18:12
*** _ducttape_ has quit IRC18:37
*** alraddarla has quit IRC18:39
*** vahidh has joined #murano19:01
*** enthurohini has quit IRC19:20
*** ducttape_ has joined #murano19:30
*** kzaitsev_mb has joined #murano20:45
*** mragupat has quit IRC20:57
*** mragupat has joined #murano20:58
*** mragupat has quit IRC20:59
*** mragupat has joined #murano21:01
*** kzaitsev_mb has quit IRC21:02
*** mragupat has quit IRC21:05
*** mragupat has joined #murano21:05
*** mragupat has quit IRC21:06
*** mragupat has joined #murano21:06
*** mragupat has quit IRC21:11
*** mragupat has joined #murano21:20
*** kzaitsev_mb has joined #murano21:29
*** mragupat has quit IRC21:30
*** mragupat has joined #murano21:30
*** mragupat_ has joined #murano21:32
*** mragupat has quit IRC21:35
*** stanchan has joined #murano22:02
openstackgerritMerged openstack/murano-agent: Updated from global requirements  https://review.openstack.org/26290222:14
*** kzaitsev_mb has quit IRC22:24
openstackgerritMerged openstack/murano-dashboard: Delete only murano data from image metadata  https://review.openstack.org/26371922:40
openstackgerritMerged openstack/murano: Change LOG.warn to LOG.warning  https://review.openstack.org/26300722:40
*** mragupat has joined #murano22:41
openstackgerritMerged openstack/murano: Add mutable default arguments hacking check  https://review.openstack.org/26240122:42
*** mragupat_ has quit IRC22:44
*** mragupat has quit IRC23:09
*** sergmelikyan has quit IRC23:51

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