Friday, 2017-02-10

*** david-lyle has joined #openstack-zaqar00:09
*** david-lyle has quit IRC00:20
*** wanghao has joined #openstack-zaqar00:52
*** zhurong has joined #openstack-zaqar01:13
openstackgerritFeilong Wang proposed openstack/zaqar master: Support cold migration  https://review.openstack.org/42694301:19
*** tqtran has quit IRC01:23
wanghaoflwang: wxy: hi, guys,  about this patch: https://review.openstack.org/#/c/430530/3.  For backward compatibility, I transform the keys before sending it to user. Any better idea?01:27
wanghaoor we shouldn't change the code?01:27
*** yanyanhu has joined #openstack-zaqar01:31
flwangwanghao: can you reminder me that if user can see these headers?01:31
wanghaoflwang: at least developers can see these headers, since Zaqar send the confirmation reqeust to webhook endpoint.01:33
wanghaoflwang: those headers which we changed now  are in the request body.01:34
flwangdevelopers are our users :)01:34
wanghaoflwang: yes01:34
flwangthe only problem is we're using those headers to generate the signature?01:35
wanghaoflwang: yes,  users should use those header in request body to make a request to Zaqar to confirm the subscription.01:37
wanghaoflwang: the flow is:  Zaqar send those headers to user,  user uses those header to make a pre-singed url request to Zaqar for confirming the subscription.01:38
flwangbut technically, user's script/app won't hardcode those headers, but getting and forwarding01:39
*** vsv has quit IRC01:39
flwangso even if we changed them, it shouldn't break the compatibility, thoughts?01:40
wanghaoflwang: it should,  but since we changed the key in dict of request,  so script/app should have a little changed too.01:40
flwangthis is the sample we have https://github.com/openstack/zaqar/blob/master/samples/zaqar/subscriber_service_sample.py01:42
flwangi can't see those headers are hardcode01:42
flwangwait01:43
wanghaoflwang: for example,  if app get the project_id value by using 'X-Project-Id' key now,  after this patch,  they need to change by using 'x-project-id'.01:43
wanghaoflwang: we have hardcode in example.01:43
flwangyep, i saw that01:43
flwangit's hard01:46
wxyflwang: wanghao :So if we change to lowercase, it will break backward compatibility01:50
wxyleave as it is. Or ignore this small incompatibility.01:50
flwangyep, i know01:50
wanghaoflwang: seems yes,  or we send the low case and capital case both now,  and deprecate the capitalcase in sometime.01:51
wxywanghao: it's a way. But a little heavy. Does it worth?01:51
*** zhurong has quit IRC01:52
wanghaowxy: a little heavy indeed. If we decide to change it, it could be worked.01:53
wxywanghao: It's the only way I can see.01:58
wxyflwang: any idea?01:58
flwangi'm recalling why i approved it before :)01:58
flwangin other words01:58
flwangi'm thinking if it's so terrible01:59
flwangas wxy said above: 1. fix it,  and we can backport it to Newton, technically02:00
flwang2. leave it as it's02:00
wxyI used capital in this feature just because pre-sign request used it. https://github.com/openstack/zaqar/blob/master/zaqar/common/transport/wsgi/helpers.py#L36-L4002:00
flwangwxy: yep, that's a good point02:03
flwangand i'm thinking developers, especially java developers may be like this02:04
wxyI used capital in this feature just because pre-sign request used it. https://github.com/openstack/zaqar/blob/master/zaqar/common/transport/wsgi/helpers.py#L36-L4002:05
wxysorry..02:05
wxySo fix it and backup port it?02:05
wxybackport02:06
flwangok, let me make the decision, let's keep it as it's02:06
flwanguntil we really get a complain02:06
flwangbefore that, let's don't annoy ourselves02:06
wxyflwang: +102:07
wanghaoflwang: sound great02:07
flwangthank you, guys02:07
flwangi'm running into some problems to setup the devstack to test wanghao's email confirmation patch02:08
flwangwe need to get it done before 16th02:08
wanghaoflwang: yes, I prepare to build web server to test it too.02:09
wxySo we really need some one to test it with real env.02:10
flwangwxy: i'm going to do that02:11
*** zhurong has joined #openstack-zaqar02:12
openstackgerritFeilong Wang proposed openstack/zaqar master: Support cold migration  https://review.openstack.org/42694302:15
wanghaoflwang: wxy: thanks guys for testing this feature.02:17
wanghaoflwang: BTW, will abandon the lowcase patch.02:18
*** wanghao_ has joined #openstack-zaqar02:19
*** wanghao has quit IRC02:22
*** zhurong has quit IRC02:25
*** zhurong has joined #openstack-zaqar02:29
*** zhurong has quit IRC02:38
flwangwxy: wanghao_: did you see 500 error when using latest devstack for zaqar?02:38
wxyflwang: I use the latest Zaqar code. It works well. I did not use the latest devstack.02:40
flwangwxy: ok02:42
flwangthanks02:42
flwang1wxy: i'm seeing this http://paste.openstack.org/show/598329/02:43
flwang1wxy: what's your keystoneauth version?02:43
wxy2.18.002:44
wxyis the "auth_url" option correct in your zaqar.conf?02:45
wxyand my keystonemiddleware is 4.13.002:46
flwanggot, thanks02:46
*** zhurong has joined #openstack-zaqar02:50
*** harlowja has quit IRC02:53
flwangwanghao_: wxy: https://review.openstack.org/#/c/426943/02:57
wxyflwang: cool!02:58
wxyflwang: Jenkins happy now. I'd like to review it right now.:)02:58
*** zhurong has quit IRC02:59
flwangwxy: it's not perfect. but the whole flow works now02:59
flwangand we can polish it later03:00
flwangwanghao_: ping03:10
flwangdid you ever tried SNS?03:11
flwangif not, i would like to suggest give it a try03:11
flwangso that you can understand the whole process better?03:11
wxyflwang: for the cold migration patch, As i know, it tests sqlalchemy migration. Right?03:12
flwangfor example, the config for emails03:12
flwangafter my previous comment, you added a email body for unsubsribe03:12
flwangbut meanwhile, the unsubscribe email could has different topic and sender as well03:13
flwangwxy: it's mainly testing the config and db03:13
flwangbut we haven't done the work for mysql yet03:13
flwangi will have to work out another patch to do that03:13
flwangbecause in our test, mongo+mongo is fine03:14
flwangsql+redis, we need some work03:14
flwangsql+swift, need some work03:14
wxyflwang: both mongodb CI and redis CI uses mongoDB as the backend.03:14
flwangwxy: you mean redis CI is using mongDB as the management store?03:15
flwangi can't remember it clearly, TBH03:15
wxyflwang: yes03:15
flwanglet me check03:15
wxyflwang: redis CI use mongoDB as management_store and message_store03:16
flwangwxy:  https://github.com/openstack/zaqar/blob/master/devstack/plugin.sh#L12603:16
flwangwxy: are you sure? can you show me the code?03:17
wxyflwang: you can see the CI log which is strange03:17
wxyhttp://logs.openstack.org/43/426943/11/check/gate-grenade-dsvm-redis-zaqar-ubuntu-xenial-nv/5cdb892/logs/etc/zaqar/03:17
flwangwxy: oh, you mean this one03:17
wxySo we missed ZAQAR_BACKEND env03:18
flwangi was thinking you're talking about current tempest CI03:18
wxy:)03:18
flwangfor this one, could be a bug03:18
wxyOk, I guess we missed ZAQAR_BACKEND=redis in project-config03:19
wxyflwang: we set ZAQAR_BACKEND in zaqar.devstack.gate.gate_hook.sh03:26
wxyflwang: but we missed to call it in project-config03:26
wxyflwang: called pre_test_hook.sh03:27
wxySo you should init ZAQAR_BACKEND there.03:27
flwangyep, i know. i'm thinking a way to avoid change project-config code03:31
wxyflwang: Maybe we can't. Because we can't know which is mongo and which is redis.03:35
wxythe "backend" at here https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/zaqar.yaml#L129 didn't be used anywhere.03:36
*** flwang1 has quit IRC03:37
*** lhx__ has joined #openstack-zaqar04:00
*** lhx__ has quit IRC04:07
*** lhx__ has joined #openstack-zaqar04:07
*** shu-mutou has joined #openstack-zaqar04:27
*** shu-mutou-AWAY has quit IRC04:29
*** lhx__ has quit IRC04:40
*** lhx__ has joined #openstack-zaqar04:51
*** mpanetta_ has joined #openstack-zaqar04:53
*** mpanetta has quit IRC04:53
*** lhx__ has quit IRC05:06
*** lhx__ has joined #openstack-zaqar05:06
*** wanghao_ has quit IRC05:47
*** wanghao has joined #openstack-zaqar05:48
*** lhx__ has quit IRC05:50
wanghaoflwang: yes, I tried SNS,  it has different topic for subscription and unsubscribe confirmation,  but have same email sender.06:01
wanghaoflwang: I will update the patch better.06:02
*** nadya has joined #openstack-zaqar06:04
*** tqtran has joined #openstack-zaqar06:05
*** nadya has quit IRC06:08
*** tqtran has quit IRC06:10
*** wanghao_ has joined #openstack-zaqar06:15
*** wanghao has quit IRC06:17
*** nadya has joined #openstack-zaqar06:19
openstackgerritwanghao proposed openstack/zaqar master: Subscription Confirmation Support-3  https://review.openstack.org/38947306:27
*** wanghao has joined #openstack-zaqar06:36
*** wanghao__ has joined #openstack-zaqar06:38
*** wanghao_ has quit IRC06:40
*** wanghao has quit IRC06:41
*** lhx__ has joined #openstack-zaqar06:50
openstackgerritMerged openstack/zaqar-ui master: Updated from global requirements  https://review.openstack.org/43212506:56
*** rcernin has joined #openstack-zaqar07:03
*** pcaruana has joined #openstack-zaqar07:30
*** yanyanhu has quit IRC09:08
*** wanghao__ has quit IRC09:59
*** tqtran has joined #openstack-zaqar10:08
*** tqtran has quit IRC10:12
*** openstackgerrit has quit IRC10:18
*** tesseract has joined #openstack-zaqar11:50
*** amoralej has joined #openstack-zaqar12:13
amoralejhi zaqar, i've observed that zaqarclient doesn't have stable/ocata branch, any plan to create it?12:15
amoralejand there will be new release in ocata?12:16
*** nadya has quit IRC12:51
*** lhx__ has quit IRC13:00
*** lhx__ has joined #openstack-zaqar13:38
*** amoralej is now known as amoralej|lunch14:19
*** amoralej|lunch is now known as amoralej14:46
*** nadya has joined #openstack-zaqar15:42
*** nadya has quit IRC15:46
*** rbrady is now known as rbrady-afk16:05
*** rcernin has quit IRC16:06
*** lhx__ has quit IRC16:35
*** tesseract has quit IRC16:45
*** pcaruana has quit IRC16:53
*** nadya has joined #openstack-zaqar16:59
*** nadya has quit IRC16:59
*** harlowja has joined #openstack-zaqar17:05
*** harlowja has quit IRC17:05
*** harlowja has joined #openstack-zaqar17:05
*** AAzza has quit IRC17:37
*** AAzza has joined #openstack-zaqar17:39
*** nadya has joined #openstack-zaqar17:47
*** AAzza has quit IRC17:58
*** AAzza has joined #openstack-zaqar17:58
*** tqtran has joined #openstack-zaqar18:03
*** nadya has quit IRC18:05
*** nadya has joined #openstack-zaqar18:06
*** AAzza has quit IRC18:16
*** AAzza has joined #openstack-zaqar18:17
*** AAzza has quit IRC18:23
*** AAzza has joined #openstack-zaqar18:24
*** AAzza has quit IRC18:32
*** AAzza has joined #openstack-zaqar18:33
*** rbrady-afk is now known as rbrady20:26
*** amoralej is now known as amoralej|off20:26
*** nadya has quit IRC20:34
*** nadya has joined #openstack-zaqar20:38
*** nadya has quit IRC20:43
*** nadya has joined #openstack-zaqar21:39
*** nadya has quit IRC21:44
*** rbrady is now known as rbrady-afk22:29
*** jtomasek has quit IRC22:43
*** jtomasek has joined #openstack-zaqar23:12
*** nadya has joined #openstack-zaqar23:40
*** nadya has quit IRC23:44

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