Tuesday, 2014-09-02

*** gokrokve_ has joined #murano00:50
*** gokrokve has quit IRC00:52
*** gokrokve_ has quit IRC00:55
*** gokrokve has joined #murano00:56
*** gokrokve has quit IRC01:00
*** gokrokve has joined #murano01:26
*** gokrokve has quit IRC01:27
*** gokrokve has joined #murano01:28
*** gokrokve has quit IRC01:32
*** gokrokve has joined #murano01:40
*** gokrokve has quit IRC01:44
*** asalkeld has quit IRC02:13
*** asalkeld has joined #murano02:27
*** gokrokve has joined #murano02:40
*** gokrokve has quit IRC02:45
*** asalkeld has quit IRC03:16
*** asalkeld has joined #murano03:36
*** gokrokve has joined #murano03:40
*** gokrokve has quit IRC03:45
*** chandankumar has joined #murano04:11
*** asalkeld has quit IRC04:25
*** chandankumar has quit IRC04:38
*** asalkeld has joined #murano04:42
*** gokrokve has joined #murano04:48
*** chandankumar has joined #murano04:51
*** gokrokve has quit IRC04:52
*** killer_prince is now known as lazy_prince04:53
*** gokrokve has joined #murano05:13
*** gokrokve has quit IRC05:18
*** gokrokve has joined #murano05:40
*** asalkeld has quit IRC05:44
*** gokrokve has quit IRC05:46
*** k4n0 has joined #murano06:06
*** asalkeld has joined #murano06:12
*** chandankumar has quit IRC07:01
*** openstackgerrit has quit IRC07:02
*** romainh has joined #murano07:16
*** gokrokve has joined #murano07:40
*** gokrokve has quit IRC07:42
*** gokrokve has joined #murano07:42
*** gokrokve has quit IRC07:46
*** stan_lagun has joined #murano08:18
*** slagun has quit IRC08:21
*** gokrokve has joined #murano08:40
*** sjmc7 has quit IRC08:43
*** gokrokve has quit IRC08:46
*** romainh has quit IRC09:35
*** gokrokve has joined #murano09:40
*** gokrokve has quit IRC09:45
*** gokrokve has joined #murano10:40
*** gokrokve has quit IRC10:44
*** asalkeld has quit IRC10:52
*** romainh has joined #murano11:11
*** asalkeld has joined #murano11:24
*** gokrokve has joined #murano11:40
*** gokrokve has quit IRC11:45
*** k4n0 has quit IRC11:46
*** sergmelikyan has quit IRC12:19
*** asalkeld has quit IRC12:40
*** lazy_prince is now known as killer_prince13:36
*** gokrokve has joined #murano13:40
*** gokrokve has quit IRC13:45
*** gokrokve has joined #murano13:56
*** drupalmonkey has joined #murano14:05
*** openstackgerrit has joined #murano14:05
*** sergmelikyan has joined #murano14:06
*** sjmc7 has joined #murano14:12
*** sjmc7_ has joined #murano14:13
*** sjmc7 has quit IRC14:17
*** killer_prince is now known as lazy_prince14:18
*** sjmc7_ is now known as sjmc714:21
openstackgerritA change was merged to stackforge/murano-dashboard: Set permissions for Murano dashboard  https://review.openstack.org/11780714:43
*** btully has joined #murano14:52
*** gokrokve has quit IRC15:15
openstackgerritSerg Melikyan proposed a change to stackforge/murano: Remove partial clean-up in Instance.destroy  https://review.openstack.org/11817215:16
*** gokrokve has joined #murano15:19
*** Murali has joined #murano15:22
*** sjmc7 has quit IRC15:38
*** sjmc7 has joined #murano15:39
sjmc7sergmelikyan - i think https://review.openstack.org/#/c/118107/ may have introduced a problem15:54
sjmc7or possibly exposed a problem15:55
btullykatyafervent: when you get a chance, can you read this? https://bugs.launchpad.net/murano/+bug/1357220/comments/815:55
sjmc7it looks like Default no longer works for Runtime properties?15:55
stan_lagunsjmc7: it never supposed to15:57
stan_lagunRuntimes are what you instantiate in 'initialize'15:57
sjmc7ok15:57
sergmelikyansjmc7, Runtime properties should not have defaults15:59
sjmc7if i have a property that i want to default to an empty list, and will be assigned later, what is the appropriate Usage?15:59
sergmelikyanbrrrrr15:59
sergmelikyanforgot what I have said15:59
sergmelikyan'In' if it not intended to be passed from ObjectModel16:00
sergmelikyanInOut (one that is by default) when it can be passed16:00
stan_lagunthough it my be reasonable to initialize Runtime properties with their default value/null. But not to try to get value from object model16:00
sjmc7as an example, softwareConfigs in https://github.com/stackforge/murano/blob/master/meta/io.murano/Classes/resources/HeatSWConfigInstance.yaml16:01
stan_lagunsergmelikyan: In it the default16:01
stan_lagunsergmelikyan: and 'In' values are from OM16:01
sergmelikyanhttp://murano.readthedocs.org/en/latest/articles/murano_pl.html#usage16:02
sergmelikyanYeah, I am wrong16:02
sjmc7in my case, Runtime seems correct16:03
*** Murali has quit IRC16:04
sergmelikyansjmc7, yes, Runtime seems correct here... and looks like #1357220 introduced behavior when  Runtime properties can't have defaults16:04
*** Murali has joined #murano16:04
sjmc71357220 is the dashboard. so what behavior is correct - Runtime properties cannot have Defaults? or they can?16:06
stan_lagunsjmc7: they can16:08
stan_lagunsergmelikyan: lets improve that commit16:08
sergmelikyanThey was not supposed to have defaults and it was side-effect of the bug. But I think that we should fix this16:09
sergmelikyanhttps://bugs.launchpad.net/murano/+filebug16:09
sergmelikyanhttps://bugs.launchpad.net/murano/+bug/136448416:09
sergmelikyanstan_lagun, commit was already merged :(16:09
stan_lagunsjmc7: sergmelikyan: on a second thought this need more thinking16:10
sjmc7if they're not supposed to have Defaults, then that should be enforced and the documentation and heatSWconfig template changed. currently it fails silently16:10
sergmelikyanstan_lagun, can you share your second thoughts? Why it is bad idea to have defaults?16:10
sergmelikyansjmc7, definitely16:10
stan_lagunsergmelikyan: is is not bad. The tricky part is when to initialize such properties. You must not try to initialize them with values from OM. Suppose that you have runtime property with notNull() contract that initilized in 'initialize'. It has no Default. If you try to initialize it with something you get an exception16:12
sergmelikyanmm can you explain a little bit more? I didn't get example16:14
stan_lagunsergmelikyan: and if you don't and forget to initilize it in constructor you need exception to be thrown16:14
stan_lagunimagine runtime property without default and with notNull() contract16:14
stan_lagunyou cannot use null to initialize it16:16
sergmelikyanyes16:16
stan_lagunYou can initialize only those runtime properties that have explicit Default16:16
ruhestan_lagun: i know you're on vacation. but can i ask you to either 1) update trusts BP with the latests findings you have or 2) give an update on weekly IRC meeting? #1 is preferrable16:16
stan_lagunruhe: ok16:17
stan_lagunsergmelikyan: but this is also bad16:17
stan_lagunat least because if you initialize only properties with Default you won't get an exception if you forget to initialize it in 'initialize' method16:19
sergmelikyanstan_lagun, what is your suggestion for issue found by sjmc7?16:20
stan_lagunwhat you need to do is to initialize runtime properties *after* 'initialize' method and initialize it with their current value (setPropertyValue('xxx', getPropertyValue('xxx')) so that they either remain the same or the setter will use default for NoValue16:22
stan_lagunthis is a little bit tricky (even to explain)16:22
stan_lagunso I suggest for now just to move initialization to 'initialize' and not to rely on Default. I will improve this as soon as I get back from vacation16:23
ruhesjmc7: please take a look at whiteboard of https://blueprints.launchpad.net/murano/+spec/auth-for-long-running-requests16:45
ruhei've put this into a topic for irc meeting16:45
ruhefolks, please update https://wiki.openstack.org/wiki/Meetings/MuranoAgenda#Agenda if you have something to discuss today16:45
sjmc7ruhe - i'm double booked here already. i'll keep an eye on the meeting but i won't be very noisy16:46
*** gokrokve has quit IRC16:47
ruhesjmc7: ok. i see. please drop a note on the whiteboard when you have time then (if you have any comments)16:47
*** katyafervent2 has joined #murano17:00
*** lazy_prince is now known as killer_prince17:01
*** ankurrr has joined #murano17:09
*** romainh has quit IRC17:11
*** katyafervent2 has quit IRC17:38
*** gokrokve has joined #murano18:44
*** romainh has joined #murano19:14
*** dteselkin has quit IRC19:14
*** igormarnat has quit IRC19:14
*** katyafervent has quit IRC19:15
*** IgorYozhikov has quit IRC19:15
*** igormarnat has joined #murano19:15
*** IgorYozhikov has joined #murano19:15
*** dteselkin has joined #murano19:18
*** katyafervent has joined #murano19:20
*** romainh has left #murano19:35
*** stan_lagun has quit IRC20:56
*** romainh has joined #murano21:10
*** Murali has quit IRC21:22
*** Murali has joined #murano21:23
*** asalkeld has joined #murano21:24
*** asalkeld has quit IRC21:43
*** drupalmonkey has quit IRC21:49
*** asalkeld has joined #murano21:52
*** Murali has quit IRC22:13
*** romainh has left #murano22:42
*** gokrokve has quit IRC23:23
*** gokrokve has joined #murano23:23
*** gokrokve has quit IRC23:44
*** gokrokve has joined #murano23:45
*** gokrokve has quit IRC23:49

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