*** yizhihui has joined #openstack-karbor | 00:45 | |
*** zhangshuai has joined #openstack-karbor | 00:47 | |
*** zhangshuai has quit IRC | 00:57 | |
*** zengchen has quit IRC | 01:02 | |
*** zengyingzhe has joined #openstack-karbor | 01:31 | |
*** zhurong has joined #openstack-karbor | 01:31 | |
*** zhangshuai has joined #openstack-karbor | 01:32 | |
*** c00281451 has joined #openstack-karbor | 01:37 | |
*** zhangshuai has quit IRC | 01:39 | |
lichunyu_ | ping xiangxinyong | 01:39 |
---|---|---|
chenying | hi lichunyu_ | 01:45 |
lichunyu_ | hi , morning | 01:45 |
lichunyu_ | can you help check https://review.openstack.org/#/c/394743/ ,why this failed in python27 | 01:46 |
lichunyu_ | it seems not a abclient problem to me | 01:46 |
*** leon_wang has quit IRC | 01:53 | |
xiangxinyong | lichunyu: sorry for late. I will check it. | 01:59 |
lichunyu_ | thanks | 02:00 |
lichunyu_ | :)\ | 02:00 |
xiangxinyong | :) | 02:01 |
xiangxinyong | lichunyu_: it will take sometime to build local environment. please wait a monment. | 02:10 |
lichunyu_ | ok | 02:12 |
xiangxinyong | thank your understanding | 02:13 |
openstackgerrit | zengchen proposed openstack/karbor: Add update interface for scheduled operation https://review.openstack.org/349869 | 02:14 |
xiangxinyong | lichunyu_: please take a look at this link: https://etherpad.openstack.org/p/lichunyu | 02:31 |
lichunyu_ | ok | 02:32 |
xiangxinyong | I guess this is the reason | 02:32 |
lichunyu_ | but why this failed in python27 | 02:35 |
xiangxinyong | yeah. it is a question | 02:36 |
xiangxinyong | but we could solve it one by one | 02:37 |
lichunyu_ | It failed in python34,because abclient in u-c haven't update to 0.2.3 | 02:37 |
xiangxinyong | u-c? | 02:38 |
lichunyu_ | in ablcient 0.2.1, abclient use module 'urllib2' | 02:38 |
lichunyu_ | upper-constrain | 02:38 |
lichunyu_ | we remove it in 0.2.3 | 02:38 |
lichunyu_ | but urllib2 is availiable in python27 | 02:39 |
lichunyu_ | so, it confused me that this patch fail in py27 | 02:40 |
xiangxinyong | ok | 02:40 |
xiangxinyong | do you want to submit a new patch to update abclient to 0.2.3 in the openstack/requirements? | 02:41 |
lichunyu_ | yes,i should. abclient 0.2.1 is not python3 compatible | 02:43 |
lichunyu_ | but i think same problem may still exsit in py27 environment | 02:44 |
xiangxinyong | ok. you know even if gate-karbor-python27-ubuntu-xenial is passed, but py34 will be failed, and the jenkins will also get -1 | 02:45 |
xiangxinyong | and I will continue to see why py27 is failed | 02:46 |
lichunyu_ | ok, thanks :) | 02:46 |
xiangxinyong | you are welcome | 02:47 |
lichunyu_ | i will submmit a new patch to openstac-requirments | 02:47 |
xiangxinyong | great | 02:47 |
xiangxinyong | in fact the requirement.txt in karbor is better to keep consistent with the openstack/requirements | 02:48 |
xiangxinyong | I have ever came across some problems when the requirement.txt in karbor is different form openstack/requirements | 02:49 |
lichunyu_ | do you mean I can update karbor-requirements without update global-requirements? | 02:53 |
xiangxinyong | no. we should keep the some with global-requirements | 02:58 |
xiangxinyong | some->same | 02:59 |
lichunyu_ | i see | 03:04 |
openstackgerrit | zengchen proposed openstack/karbor: Add update interface for scheduled operation https://review.openstack.org/349869 | 03:29 |
*** sparkyee has joined #openstack-karbor | 03:59 | |
*** yizhihui has quit IRC | 04:02 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/karbor: Updated from global requirements https://review.openstack.org/395176 | 04:16 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/karbor-dashboard: Updated from global requirements https://review.openstack.org/395320 | 04:16 |
*** sparkyee has quit IRC | 04:22 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-karborclient: Updated from global requirements https://review.openstack.org/388324 | 04:23 |
xiangxinyong | lichunyu_: hello | 06:04 |
lichunyu_ | hi~ | 06:04 |
xiangxinyong | I found when i removed karbor/tests/unit/clients/test_eisoo.py Line 50~56 | 06:05 |
xiangxinyong | Py27 is passed | 06:05 |
lichunyu_ | I think i know why this faild in py27 | 06:06 |
xiangxinyong | great | 06:06 |
lichunyu_ | thanks:) that's help a lot | 06:07 |
xiangxinyong | you are welcome | 06:07 |
xiangxinyong | utils.find_config = mock.MagicMock(return_value='/etc/provider.d') | 06:08 |
xiangxinyong | this line is the source reason | 06:08 |
xiangxinyong | I guess | 06:08 |
lichunyu_ | yeah. May be I have to rewrite this UT another way... | 06:10 |
xiangxinyong | good | 06:13 |
lichunyu_ | or just add tearDown().I'm not sure.I will try it | 06:14 |
xiangxinyong | greate | 06:32 |
*** zhurong has quit IRC | 06:35 | |
*** zhurong has joined #openstack-karbor | 06:37 | |
*** lichunyu_ has quit IRC | 06:40 | |
*** lichunyu has joined #openstack-karbor | 06:50 | |
*** TommyLikeHu has quit IRC | 07:06 | |
*** TommyLikeHu has joined #openstack-karbor | 07:07 | |
*** Jeffrey4l has joined #openstack-karbor | 07:09 | |
*** saggi has joined #openstack-karbor | 07:44 | |
*** dimak has joined #openstack-karbor | 08:21 | |
*** yuval has joined #openstack-karbor | 08:21 | |
chenying | hi yuval | 08:24 |
yuval | hey chenying | 08:25 |
chenying | yuval about the patch initialize heat client using current login tenant . I think we only need use the token of tenant to init the client of heat. Admin user is not needed. | 08:26 |
yuval | chenying: have you tested it with a non admin user? | 08:27 |
chenying | yuval Yes I have test it. May be we can consider adding a fullstack with a non admin user. | 08:28 |
chenying | yuval adding a fullstack test with a non admin user. | 08:29 |
openstackgerrit | zhangshuai proposed openstack/karbor: Support relative path https://review.openstack.org/395459 | 08:29 |
yuval | chenying: +1 | 08:30 |
yuval | zhangshuai here?? | 08:32 |
openstackgerrit | zhangshuai proposed openstack/karbor: Support relative path https://review.openstack.org/395459 | 08:33 |
chenying | yuval: https://review.openstack.org/#/c/391944/ Enable translations about this patch. Do you have time to see it? I am not sure that i18n is needed in the help string of config | 08:33 |
chenying | options. | 08:33 |
yuval | chenying: I can't see the harm in it, but seems like no other project has this | 08:38 |
*** openstackgerrit has quit IRC | 08:48 | |
*** openstackgerrit has joined #openstack-karbor | 08:49 | |
openstackgerrit | Merged openstack/python-karborclient: Make method import_versioned_module work https://review.openstack.org/392560 | 08:49 |
chenying | yuval: I find that a patch about this have been merged. https://review.openstack.org/#/c/390467/ | 08:51 |
openstackgerrit | Merged openstack/karbor: Optimize time trigger: remove the interval variable '_next_run_time' https://review.openstack.org/372091 | 08:51 |
yuval | ping chenzeng | 08:56 |
chenying | all Hi, the patches about integrating karbor to kolla have been submitted to the gerrit. https://review.openstack.org/#/c/395022/ https://review.openstack.org/#/c/395022/ | 08:58 |
c00281451 | yuval:ping | 09:08 |
*** c00281451 is now known as zengchen | 09:08 | |
zengchen | yuval:how are you | 09:08 |
*** lichunyu has quit IRC | 09:08 | |
yuval | zengchen: hey :) | 09:09 |
*** lihi has joined #openstack-karbor | 09:10 | |
yuval | just posted some comments in https://review.openstack.org/#/c/372191 | 09:10 |
zengchen | yuval:i am reading. | 09:10 |
zengchen | yuval:you can see the bug report to get the backgroud. https://bugs.launchpad.net/karbor/+bug/1611232 | 09:17 |
openstack | Launchpad bug 1611232 in Karbor "Re-implement 'update_trigger_property' of TimeTrigger" [Undecided,Fix released] - Assigned to zengchen (chenzeng2) | 09:17 |
yuval | zengchen: yeah, I understand | 09:18 |
yuval | zengchen: but I don't understand why it is crucial to hold the old greenthread in a variable | 09:18 |
openstackgerrit | Saggi Mizrahi proposed openstack/karbor: Implement Neutron Restoration https://review.openstack.org/319196 | 09:20 |
zengchen | yuval:because the old green thread will not be killed by the python's garbage collection. | 09:20 |
zengchen | yuval:if i hold it in old_green_thread when i restart the thread. | 09:20 |
zengchen | yuval:simply to say, old_green_thread hold the previous thread which can be run nomally, and the variable self._green_thread hold the new thread which will be run some time lator. | 09:22 |
*** zhurong has quit IRC | 09:32 | |
*** oshidoshi has joined #openstack-karbor | 09:33 | |
yuval | zengchen: imo no need to keep the old greenthread. gc will not kill it since it ref count will reach zero only once _run and _on_done are resolved | 09:35 |
*** zhurong has joined #openstack-karbor | 09:35 | |
zengchen | yuval: when 'self._green_thread' is set to the new thread, the reference count of old thread reaches 0. It is safe to keep the old thread in the 'self._old_green_thread'. Besides, the 'self._old_green_thread' is used at method 'update_trigger_property' to avoid update trigger too frequently. | 09:39 |
zengchen | yuval:i will leave the office soon, give me comments please. | 09:51 |
zengchen | yuval:thanks. | 09:52 |
yuval | zengchen: the old greenthread will not be garbage collected | 09:52 |
zengchen | yuval:ok, but it is still be used at ''update_trigger_property'' | 09:53 |
yuval | zengchen: I have to go, I will leave comments + explanation later | 09:53 |
zengchen | yuval:ok. | 09:54 |
yuval | zengchen: if we do not keep the old greenthread there will be no need for it in update_trigger_property | 09:54 |
zengchen | yuval:how to avoid update trigger too frequently.? | 09:54 |
yuval | why not update it frequently? | 09:55 |
zengchen | yuval:user's choice. | 09:55 |
*** zhurong has quit IRC | 10:01 | |
*** gouthamr has joined #openstack-karbor | 10:19 | |
*** gouthamr has quit IRC | 10:42 | |
*** gouthamr has joined #openstack-karbor | 10:45 | |
openstackgerrit | chenying proposed openstack/karbor: Restore: initialize heat client using current login tenant by default https://review.openstack.org/385374 | 11:17 |
*** oshidoshi has quit IRC | 11:39 | |
openstackgerrit | Merged openstack/karbor: Updated from global requirements https://review.openstack.org/395176 | 12:04 |
openstackgerrit | Merged openstack/karbor-dashboard: Updated from global requirements https://review.openstack.org/395320 | 12:05 |
openstackgerrit | Merged openstack/python-karborclient: Updated from global requirements https://review.openstack.org/388324 | 12:05 |
*** zhurong has joined #openstack-karbor | 12:49 | |
*** zhurong has quit IRC | 13:01 | |
*** zhurong has joined #openstack-karbor | 13:06 | |
openstackgerrit | Saggi Mizrahi proposed openstack/karbor: Set local for tox https://review.openstack.org/395589 | 13:26 |
openstackgerrit | Saggi Mizrahi proposed openstack/karbor: Enable translations https://review.openstack.org/391944 | 13:44 |
openstackgerrit | Saggi Mizrahi proposed openstack/karbor: Fix minor indentation errors https://review.openstack.org/395599 | 13:44 |
*** oshidoshi has joined #openstack-karbor | 13:52 | |
*** yuval has quit IRC | 14:08 | |
*** lihi has quit IRC | 14:10 | |
*** saggi has quit IRC | 14:12 | |
openstackgerrit | Wei Cao proposed openstack/karbor: Update usage.rst https://review.openstack.org/394441 | 14:42 |
*** zhurong has quit IRC | 15:03 | |
*** dimak has quit IRC | 15:17 | |
*** gouthamr has quit IRC | 15:38 | |
*** gouthamr has joined #openstack-karbor | 15:39 | |
*** oshidoshi has quit IRC | 15:51 | |
*** gouthamr has quit IRC | 16:56 | |
*** gouthamr has joined #openstack-karbor | 16:56 | |
*** gouthamr has quit IRC | 17:10 | |
*** gouthamr has joined #openstack-karbor | 17:10 | |
*** gouthamr has quit IRC | 17:11 | |
*** gouthamr has joined #openstack-karbor | 17:11 | |
*** gouthamr has quit IRC | 17:35 | |
*** gouthamr has joined #openstack-karbor | 17:37 | |
*** gouthamr has quit IRC | 17:41 | |
*** gouthamr has joined #openstack-karbor | 17:42 | |
*** gouthamr has quit IRC | 17:50 | |
*** gouthamr has joined #openstack-karbor | 17:52 | |
*** gouthamr has quit IRC | 18:00 | |
*** gouthamr has joined #openstack-karbor | 18:06 | |
*** gouthamr has quit IRC | 18:15 | |
*** gouthamr has joined #openstack-karbor | 18:16 | |
*** gouthamr_ has joined #openstack-karbor | 18:23 | |
*** gouthamr has quit IRC | 18:23 | |
*** gouthamr_ is now known as gouthamr | 18:30 | |
*** gouthamr has quit IRC | 18:44 | |
*** gouthamr has joined #openstack-karbor | 18:45 | |
*** gouthamr has quit IRC | 18:49 | |
*** gouthamr has joined #openstack-karbor | 18:49 | |
*** gouthamr has quit IRC | 19:09 | |
*** gouthamr has joined #openstack-karbor | 19:15 | |
*** gouthamr has quit IRC | 21:24 | |
*** gouthamr has joined #openstack-karbor | 21:31 | |
*** Jeffrey4l has quit IRC | 21:34 | |
*** gouthamr has quit IRC | 22:03 | |
*** gouthamr has joined #openstack-karbor | 22:18 | |
*** Jeffrey4l has joined #openstack-karbor | 23:31 | |
*** Jeffrey4l has quit IRC | 23:32 | |
*** Jeffrey4l has joined #openstack-karbor | 23:32 | |
*** Jeffrey4l has quit IRC | 23:33 | |
*** Jeffrey4l has joined #openstack-karbor | 23:34 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!