Thursday, 2017-04-20

*** jiaopengju02 has joined #openstack-karbor00:42
openstackgerritMerged openstack/karbor master: Fix fullstack test errors about authorization  https://review.openstack.org/45788701:49
*** zhurong has joined #openstack-karbor02:10
openstackgerrityfzhao proposed openstack/karbor-dashboard master: Drop py34 target in tox.ini and setup.cfg  https://review.openstack.org/45830402:32
*** gouthamr has joined #openstack-karbor02:45
*** zhurong has quit IRC03:21
*** zhurong has joined #openstack-karbor03:27
openstackgerritchenying proposed openstack/karbor master: Add manila client for karbor  https://review.openstack.org/44966403:29
openstackgerritchenying proposed openstack/karbor master: Add manila share protectable plugin for karbor  https://review.openstack.org/45211103:29
openstackgerritchenying proposed openstack/karbor master: Add fullstack test for share protectable plugin  https://review.openstack.org/45212303:29
*** zhurong has quit IRC03:31
*** zhurong has joined #openstack-karbor04:31
*** gouthamr has quit IRC05:54
*** zhurong has quit IRC06:12
*** dimak_ has joined #openstack-karbor06:46
*** zhurong has joined #openstack-karbor07:12
yuvalHello everyone!07:23
jiaopengju02hi07:26
xiangxinyonghello07:29
*** zhurong has quit IRC10:19
*** jiaopengju02 has quit IRC10:20
openstackgerritMerged openstack/karbor master: Add default password modification in devstack  https://review.openstack.org/45056511:08
*** zhurong has joined #openstack-karbor11:17
chenying_hi11:28
openstackgerritMerged openstack/karbor master: Removing unnecessary config definition  https://review.openstack.org/45443311:32
*** openstackgerrit has quit IRC11:32
*** c00281451 has joined #openstack-karbor11:40
*** jiaopengju has joined #openstack-karbor11:41
c00281451ping yuval11:41
c00281451nick zengchen11:41
*** c00281451 has quit IRC11:42
zengchenping yuval11:42
yuvalping zengchen11:55
zengchenyuval:about this patch. sorry, I don't understand your idea. https://review.openstack.org/#/c/45068912:07
yuvalzengchen: instead of making a case for each exception type, make KarborException behave like any other Exception12:08
yuvalzengchen: (that is, proper casting to string. Maybe it is already like that)12:09
zengchenyuval:if timeout, then an exception of TimeOut will be raised which is not KarborException. How to do it?12:10
yuvalzengchen: you are catching all exceptions anyhow in line 42612:11
yuvalzengchen: why do you have two cases, one in 423-424, and one in 426-42812:11
zengchenyuval:yes. one kind of exception is KarborExcetion, and other is not KarborException.12:13
yuvalzengchen: KarborException is a subclass of Exception12:13
yuvalzengchen: https://github.com/openstack/karbor/blob/master/karbor/exception.py#L7512:13
zengchenyuval:TimeOut is another kind of Exception.12:13
yuvalzengchen: does it inherit from Exception?12:14
zengchenyuval:TimeOut and KarborException are both inherited from Exception.12:14
yuvalzengchen: so just do 'except Exception as ex', it will catch all of these12:14
zengchenyuval:My thought is that.12:15
yuvalzengchen: ?12:20
zengchenyuval:I mean that was my thought.12:22
zengchenyuval:https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/exceptions.py#L22-L2712:24
zengchenyuval:according to tests, some kinds of exceptions are raised from module of oslo_message12:26
yuvalzengchen: ok, what's the problem with that?12:26
zengchenyuval: My updates can just fix that problem.12:27
zengchenyuval:https://review.openstack.org/#/c/45068912:28
*** openstackgerrit has joined #openstack-karbor12:28
openstackgerritchenying proposed openstack/karbor master: Updata the api doc about the extra_info filed of protectable API  https://review.openstack.org/45716112:28
yuvalzengchen: your update fixes that, but there is redundant code over there12:28
yuvalzengchen: no need to catch two different kinds of exceptions12:28
yuvalzengchen: you can catch Exception, which will catch both types12:28
yuvalping chenying_12:29
yuvalchenying_: https://review.openstack.org/#/c/452111/4/karbor/services/protection/protectable_plugins/share.py12:30
yuvalchenying_: line 24: what about other statuses?12:30
zengchenyuval:how to get message of different exception12:30
yuvalchenying_: as listed in https://developer.openstack.org/api-ref/shared-file-systems/12:30
yuvalzengchen: all exceptions should have a proper casting to string12:30
zengchenyuval:It seems that KarborExceptino can not be casted.12:31
zengchenyuval:I will update KarborException if needed.12:32
yuvalzengchen: yep12:32
zengchenyuval:got it. thanks.12:33
yuvalzengchen: I'm actually pretty sure it can be casted, but you need to check that12:37
zengchenyuval:ok12:38
chenying_yuval  I will adressed the comments soon.12:43
yuvalchenying_: thanks :)12:43
openstackgerritMerged openstack/karbor master: Use wsgi module from oslo.service  https://review.openstack.org/45365512:44
openstackgerritzengchen proposed openstack/karbor master: Refactor resource.py/Resource  https://review.openstack.org/45415012:54
openstackgerritzengchen proposed openstack/karbor master: Fix: reference an undefined attribute of 'msg' of Exception  https://review.openstack.org/45849413:01
*** jiaopengju has quit IRC13:04
openstackgerritzengchen proposed openstack/karbor master: Fix: reference an undefined attribute of 'msg' of Exception  https://review.openstack.org/45068913:05
*** jiaopengju has joined #openstack-karbor13:07
*** jiaopeng_ has joined #openstack-karbor13:07
*** jiaopeng_ has quit IRC13:27
*** jiaopengju has quit IRC13:27
*** jiaopengju has joined #openstack-karbor13:28
*** gouthamr has joined #openstack-karbor14:19
*** Jeffrey4l has quit IRC14:19
openstackgerritMerged openstack/karbor master: Add deploying karbor-api with mod-wsgi  https://review.openstack.org/45370514:36
openstackgerritchenying proposed openstack/karbor master: Add a fullstack test protecting a server which boots from a volume  https://review.openstack.org/45618814:55
*** dimak_ has quit IRC15:03
*** jiaopengju has quit IRC15:11
openstackgerritMerged openstack/karbor master: Enable coverage report when testing coverage  https://review.openstack.org/45765415:24
*** Jeffrey4l has joined #openstack-karbor15:31
openstackgerritchenying proposed openstack/karbor master: Add fullstack test for share protectable plugin  https://review.openstack.org/45212315:41
openstackgerritMerged openstack/karbor master: Support file system based bank implementation  https://review.openstack.org/35595615:48
*** zhurong has quit IRC16:11
openstackgerritMerged openstack/karbor master: Add karbor-api WSGI support in devstack  https://review.openstack.org/45573416:13
openstackgerritchenying proposed openstack/karbor master: Add manila share protection plugin for karbor  https://review.openstack.org/45858216:26
openstackgerritMerged openstack/karbor master: Add the process about the schema parameter of the cinder plugin  https://review.openstack.org/45745616:30
openstackgerritMerged openstack/karbor master: Remove usage of parameter enforce_type  https://review.openstack.org/45726016:32
openstackgerritMerged openstack/karbor master: Add manila client for karbor  https://review.openstack.org/44966416:37
openstackgerritOpenStack Proposal Bot proposed openstack/karbor master: Updated from global requirements  https://review.openstack.org/45859317:03
*** zhonghua2 has quit IRC19:22
*** zhonghua has joined #openstack-karbor19:23
*** jhamhader has joined #openstack-karbor19:54
*** jhamhader has quit IRC19:58
*** gouthamr has quit IRC21:57
*** gouthamr has joined #openstack-karbor23:33

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