Friday, 2015-08-14

*** yamamoto has joined #murano00:11
*** yamamoto has quit IRC00:16
*** stanchan has quit IRC00:32
*** sergmelikyan has quit IRC00:37
*** StanLagun has joined #murano01:29
*** jdandrea has quit IRC01:40
*** jasonsb has joined #murano02:23
*** zhonghua-lee has joined #murano02:27
*** yamamoto has joined #murano02:48
*** xiangxinyong2 has joined #murano03:03
*** xiangxinyong2 is now known as xiangxinyong03:18
*** sergmelikyan has joined #murano03:23
*** sergmelikyan has quit IRC03:28
*** Nikolay_St has joined #murano03:34
*** yamamoto has quit IRC04:21
*** yamamoto has joined #murano04:25
*** zhonghua-lee has quit IRC04:27
*** xiangxinyong has quit IRC04:28
*** zhonghua-lee has joined #murano04:35
*** sergmelikyan has joined #murano04:48
*** yamamoto has quit IRC04:54
*** Nikolay_St has quit IRC04:55
*** yamamoto has joined #murano05:00
*** yamamoto has quit IRC05:25
*** yamamoto has joined #murano05:29
*** Nikolay_St has joined #murano05:37
Nikolay_Stkzaitsev_ws: katyafervent I have a question for you as the most active reviewers of https://review.openstack.org/#/c/20992206:19
Nikolay_StI want to see markers for exception/error log levels usage06:19
Nikolay_Stwe should discuss it and update a spec after it.06:20
*** zhonghua-lee has quit IRC06:33
*** ddovbii has joined #murano06:46
*** sergmelikyan has quit IRC06:53
*** xiangxinyong has joined #murano07:42
katyaferventHi Nikolay_St !07:48
*** kzaitsev_mb has joined #murano07:49
katyaferventWhat concerns do you have? I don't mind updating the spec, I like log.exception + we already have it. So I don't see negative sides of using that type of logs :)07:50
kzaitsev_mbNikolay_St: I think, that we should use exception when exceptiontype is unknown and unexpected07:50
kzaitsev_mbor if the exception is muted by except construct and not passed onwards.07:51
*** Nikolay_St has quit IRC07:51
kzaitsev_mbin this case having a stacktrace in the log is benefitial to debugging07:51
kzaitsev_mbif we know exactly what exception we're waiting for (say db.DuplicateEntry) and we do not mute the error (raise HTTPConflict) — there is no need in stacktrace.07:52
katyaferventkzaitsev_mb, +107:53
kzaitsev_mbon the contrary, when we do not know what exception to expect (but still want to mute it for the sake of API robustness) we use very general except Exception. In that case a simple log error message would not be enough to debug the problem a user might encounter.07:57
kzaitsev_mbso a stack trace is crucial to understanding what broke where07:57
kzaitsev_mbWe can put in the spec like that, I guess =)07:59
kzaitsev_mbalthough I'd rather not limit it to the case of just except Exception. It's that except Exception is just a very strong marker for such situation. There can be others. like except HTTPException for example, when we do not know how to behave if we got non 2xx response from API looks like another good example of such pattern08:01
*** exploreshaifali has joined #murano08:14
*** kzaitsev_mb has quit IRC08:15
*** kzaitsev_mb has joined #murano08:17
openstackgerritOpenStack Proposal Bot proposed openstack/murano: Updated from global requirements  https://review.openstack.org/21302608:17
*** exploreshaifali has quit IRC08:23
*** kzaitsev_mb has quit IRC08:24
*** kzaitsev_mb has joined #murano08:25
*** zhonghua-lee has joined #murano08:28
*** Nikolay_St has joined #murano08:28
Nikolay_Stkzaitsev_mb: ok, I get it08:54
Nikolay_Stso, we can say something like: "we prefer to use exception log level in cases when we don't know what's going wrong and catch a general exception e.g Exception, HTTPException"08:56
Nikolay_Stkatyafervent: ^^08:56
Nikolay_Stright?08:56
kzaitsev_mbNikolay_St: sounds fine to me. Although docs prefer to "write to the user"08:57
Nikolay_Stso, I think we need a review from katyafervent on the latest available review for https://review.openstack.org/#/c/209922/08:58
Nikolay_Steverybody is welcome by the way08:59
katyaferventok08:59
kzaitsev_mbso it should be smth like: "In cases you don't know what might go wrond and cathc general exception (Exception, HTTPException) and a stack-trace would be benefitial for debugging purposes, consider using exception handler"08:59
kzaitsev_mbor smth )08:59
katyaferventNikolay_St, what is the difference between _ and _LE09:00
katyaferventsometimes you use one, sometimes another09:00
Nikolay_Stkatyafervent: _ has much priority for translators09:01
Nikolay_Stso we should use it when the message will be passed to end-user09:02
*** kzaitsev_mb has quit IRC09:04
StanLagunNikolay_St: I put temporary block on this commit09:06
Nikolay_StStanLagun: and what is the reason?09:07
StanLagunNikolay_St: >Do not merge before new engine get merged09:07
Nikolay_StStanLagun: ok09:07
StanLagunbut you can rebase it on top of my commit if you'd like09:08
Nikolay_StStanLagun: will do it as soon as I end with unittests for cloud foundry service broker09:09
openstackgerritOpenStack Proposal Bot proposed openstack/murano: Updated from global requirements  https://review.openstack.org/21302609:16
*** junhongl has joined #murano09:34
*** zhonghua-lee has quit IRC09:35
*** slagun has joined #murano09:39
openstackgerritMerged openstack/python-muranoclient: Add parameter support to pagination-list  https://review.openstack.org/20777509:40
*** StanLagun has quit IRC09:42
*** zhonghua-lee has joined #murano09:58
*** kzaitsev_mb has joined #murano10:22
*** dgollub has joined #murano10:24
*** Nikolay_St has quit IRC10:27
*** exploreshaifali has joined #murano10:33
*** dgollub has quit IRC10:37
*** xiangxinyong has quit IRC10:37
*** yamamoto has quit IRC10:44
*** yamamoto has joined #murano10:46
*** junhongl has quit IRC10:49
*** yamamoto has quit IRC11:11
openstackgerritMerged openstack/murano: Updated from global requirements  https://review.openstack.org/21302611:11
*** dgollub has joined #murano11:18
*** zhonghua-lee has quit IRC11:25
*** exploreshaifali has quit IRC11:36
*** kzaitsev_mb has quit IRC11:50
*** yamamoto has joined #murano12:03
*** yamamoto has quit IRC12:20
*** kzaitsev_mb has joined #murano12:21
*** Nikolay_St has joined #murano12:42
*** exploreshaifali has joined #murano12:44
*** yamamoto has joined #murano12:51
openstackgerritKirill Zaitsev proposed openstack/python-muranoclient: Generate ids in environment-apps-edit command  https://review.openstack.org/21313612:52
openstackgerritKirill Zaitsev proposed openstack/python-muranoclient: Generate ids in environment-apps-edit command  https://review.openstack.org/21313613:00
*** kzaitsev_mb has quit IRC13:06
*** kzaitsev_mb has joined #murano13:08
openstackgerritStan Lagun proposed openstack/murano-specs: Improved MuranoPL object construction  https://review.openstack.org/21314413:34
*** kumar has joined #murano13:35
openstackgerritStan Lagun proposed openstack/murano: Migration to yaql 1.0  https://review.openstack.org/20409913:41
openstackgerritStan Lagun proposed openstack/murano: Migration to yaql 1.0  https://review.openstack.org/20409913:44
openstackgerritzhu.rong proposed openstack/murano: Fix user can not see public packages  https://review.openstack.org/21315613:52
*** exploreshaifali has quit IRC13:53
openstackgerritzhu.rong proposed openstack/murano: Update the gitingore file  https://review.openstack.org/21315713:53
*** exploreshaifali has joined #murano13:55
*** kumar has quit IRC13:58
*** sergmelikyan has joined #murano14:06
*** yamamoto has quit IRC14:48
*** yamamoto has joined #murano14:52
*** exploreshaifali has quit IRC15:01
*** yamamoto has quit IRC15:25
*** openstackgerrit has quit IRC15:31
*** openstackgerrit has joined #murano15:31
*** sergmelikyan has quit IRC15:33
*** yamamoto has joined #murano15:35
openstackgerritMerged openstack/murano: Update the gitingore file  https://review.openstack.org/21315715:37
*** sergmelikyan has joined #murano15:48
*** jasonsb has quit IRC16:15
*** sergmelikyan has quit IRC16:31
*** sergmelikyan has joined #murano16:33
*** sergmelikyan has quit IRC16:33
*** sergmelikyan has joined #murano16:34
*** sergmelikyan has quit IRC16:34
*** yamamoto has quit IRC16:41
*** yamamoto has joined #murano16:41
*** yamamoto has quit IRC16:42
*** exploreshaifali has joined #murano16:45
*** sergmelikyan has joined #murano16:49
*** sergmelikyan has quit IRC16:52
*** sergmelikyan has joined #murano17:09
*** jasonsb has joined #murano17:11
*** sergmelikyan has quit IRC17:12
*** jasonsb has quit IRC17:12
*** jasonsb has joined #murano17:13
*** sergmelikyan has joined #murano17:14
*** yamamoto has joined #murano17:43
*** yamamoto has quit IRC17:48
*** sergmelikyan has quit IRC17:55
*** sergmelikyan has joined #murano17:57
*** kzaitsev_mb has quit IRC18:14
*** exploreshaifali has quit IRC18:41
*** sergmelikyan has quit IRC18:59
*** sergmelikyan has joined #murano19:31
*** kzaitsev_mb has joined #murano20:08
*** slagun has quit IRC20:59
*** kzaitsev_mb has quit IRC21:00
*** kzaitsev_mb has joined #murano21:01
*** jasonsb has quit IRC21:05
*** yamamoto has joined #murano21:06
*** jasonsb has joined #murano21:06
*** yamamoto has quit IRC21:11
*** dgollub has quit IRC22:19
*** sergmelikyan has quit IRC22:33
*** jasonsb has quit IRC22:56
*** jasonsb has joined #murano23:22
*** jasonsb has quit IRC23:28
*** kzaitsev_mb has quit IRC23:29
*** kzaitsev_mb has joined #murano23:55

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