Wednesday, 2018-06-20

*** mwheckmann has joined #openstack-swift00:21
*** vpc has joined #openstack-swift00:55
vpc{"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}00:56
vpchi00:57
vpcanyone?00:57
vpc{"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}00:57
*** mwheckmann has quit IRC00:58
*** gyee has quit IRC01:02
kota_good morning01:06
vpcgoodmorning01:06
vpc+mattoliverau can help01:06
vpc+kota can help?01:06
mattoliveraukota_: morning01:07
vpc+mattoliverau can help me?01:07
mattoliverauvpc: that says it didn't authenticate01:07
mattoliveraubut don't know what your doing :)01:07
kota_mattoliverau: hello01:07
vpchere wait01:07
kota_vpc: what's up?01:07
mattoliveraukota_: how's the new baby and your wife doing?01:08
vpckindly see this01:09
vpchttp://paste.openstack.org/show/723865/01:09
vpc+kota and +mattoliverau01:09
vpcim deploying this on kolla https://github.com/stmuraka/OpenStackSwift-OpenWhisk/tree/master/OpenStackSwift/Webhook01:09
kota_mattoliverau: well so far. my new one has been coming much earlier than we expected so it's a bit smaller than standard size.01:10
vpcCongrats +kota01:10
kota_but no problem found so far, so it seems fine luckly01:10
kota_vpc: thx01:10
mattoliveraukota_: ahh, ok. so long as he/she is healthy :)01:10
vpckindly check please http://paste.openstack.org/show/723865/01:10
kota_mattoliverau: boy ;)01:11
kota_vpc: looking01:11
vpcdo i need to paste my whole proxy-server.conf?01:11
mattoliverauvpc: you've set up keystone but using the default tempauth users01:11
mattoliverauin curl01:11
mattoliverauyou need to use the user you've set up in keystone01:12
vpcwhat command should i execute?01:12
vpcokay wait01:12
vpchow about the storage account?01:12
kota_could you curl against to http://107.105.135.163:8080/auth/v1.0 ?01:12
vpcsame error sir 40101:13
kota_vpc:^^01:13
kota_mattoliverau: oh yeah, the response seems like to be made from keystone01:13
mattoliverauif you want to use tempauth (the test user) then you need to replace the authtoken keystonemiddlware middlewares with tempauth. But only do that if this is a test system. otherwise, you need to go create the users in keystone, and then need to auth with keystone to get the token to use to talk to swift01:14
*** mwheckmann has joined #openstack-swift01:14
kota_and authtoken, keystoneauth is prior to tempauth.01:14
vpci just added the tempauth in my proxy-server.conf01:14
kota_or using sort of delay_auth_decision.01:14
vpcthis is my whole proxy-server01:14
vpchttp://paste.openstack.org/show/723866/01:15
mattoliverauyeah or that01:15
vpcim following this guide +mattoliverau and +kota https://github.com/stmuraka/OpenStackSwift-OpenWhisk/tree/master/OpenStackSwift/Webhook01:15
kota_vpc: https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample#L39101:15
vpccurl -v -H 'X-Storage-User: admin:swift' \          -H 'X-Storage-Pass: aaa768aiyGLGc695XlhfLKgzJic1CzuqeICHC4XA' \          http://107.105.135.163:8080/v1.001:15
kota_OpenWhisk!01:16
vpcshould i need  to delete keystoneauth?01:16
vpcim using kolla btw01:16
vpci just add the webhook in pipeline and  tempauth01:16
vpcadded*01:16
mattoliverauthat is currently set up to use keystone as your authentication. So you either need to use that, or put tempauth in the pipeline01:16
vpcwhat is the exact command if i use keystone auth sir +mattoliverau based on my proxy-server.conf?01:17
mattoliveraudoes the webhook need to be at the end of the pipeline?01:17
vpcyes sir +mattoliverau as per here01:18
vpcAdd 'webhook' to the pipeline entry under [pipeline:main]01:18
kota_vpc: the readme of OpenWhisk pointed out http://swift.api.server:8080/auth/v1.0 anyway01:18
kota_mattoliverau: it looks before 2nd proxy-logging01:18
mattoliverauyeah, but usually placing it in the right place in the pipeline is important.01:19
mattoliverauie. you should move tempauth to just after keystone (I think)01:19
vpcwait01:20
kota_vpc: ah, your configuration is missing both 1st and 2nd proxy-logging that might make you into fog.01:20
mattoliverauyeah, kolla is doing weird things01:20
kota_the expected order is sort of https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample#L9701:21
vpcwait i will configure it01:21
kota_okay, you don't have to hurry up. sorry.01:22
mattoliveraualso, you haven't defined any reseller prefixes, so keystone and tempauth will default to AUTH.. which also might cause an issue.01:23
vpcim sorry it's the default of kolla but i will add it wait01:23
mattoliverauif you don't want to talk to keystone for the moment, you can just replace the 2 keystone middlewares with tempauth and see if it works. _or_ just set up a keystone user, project etc, and use that to test instead01:24
vpcthe tempauth where should i place? in pipeline01:25
kota_and if you want to use both keystone and tempauth, set individual reseller_prefix, then set delay_auth_decision=True.01:25
kota_if you want to get a token with test:tester testing defined in tempauth section, yes you should set tempauth in your pipeline.01:26
kota_the place should be just after keystoneauth or before.01:26
kota_it looks current position of tempauth is too right. that should be before some functionarities like slo.01:27
vpc+kota reseller_prefix = AUTH?01:29
mattoliverauif you want to use keystone, you'd auth to get the token doing something like: http://paste.openstack.org/show/723870/01:29
mattoliveraubut of course you need to setup a user and a project in keystone.01:29
kota_vpc: that's default for both tempauth and keystone01:29
vpccan i use my admin account?01:30
mattoliverauvpc: they will both try and use AUTH, so you need to use something different for one of them. I suggest in tempauth, as otherwise you might need to go modify the keystone endpoint if you end up using keystone later.01:30
mattoliverauwhich admin account?01:30
kota_if you change that like KEYSTONEAUTH or TEMPAUTH, the auth middleware will only be effective for the prefix.01:30
vpcthe first account created01:31
vpchere01:31
vpcexport OS_USERNAME=admin01:31
kota_sounds... progressed?01:31
*** mvenesio has quit IRC01:32
mattoliverauvpc: if by admin account you mean keystone admin account, then so long as they're a member of a project and are apart of the admin, _member_ or ResellerAdmin roles in keystone01:32
vpcyes the keystone admin account01:32
mattoliverauthen you can give it a go :)01:33
* mattoliverau needs to go to lunch, wife is calling, bbs. 01:33
vpci need to edit the curl command?01:33
mattoliverauyup. just use -H "X-Auth-Token: <token>"01:33
vpctoken equal to what sir?01:34
vpclast01:34
vpcbefore you go01:34
mattoliverauand use the url as the storage url you got from the command01:34
mattoliverauwhat did swift auth say01:34
mattoliverauit should have given you a token and a storageurl.01:34
vpcwait sir01:34
vpcI pmed you sir matto01:35
*** bkopilov has quit IRC01:42
kota_it looks like we get progressed at PUT+POST patch? I saw some subscription from gerrit but not sure how it goes on.01:54
openstackgerritKota Tsuyuzaki proposed openstack/swift master: Add ceph-s3 test non-voting job  https://review.openstack.org/56470001:57
*** mwheckmann has quit IRC02:00
kota_ok, the original PUT+POST is still in gerrit https://wiki.openstack.org/wiki/Swift/PriorityReviews but acoles has been doing something to make it simple and testing02:00
*** germs has quit IRC02:05
*** germs has joined #openstack-swift02:05
*** germs has quit IRC02:05
*** germs has joined #openstack-swift02:05
*** lifeless_ has quit IRC02:15
*** germs has quit IRC02:16
*** germs has joined #openstack-swift02:17
*** germs has quit IRC02:17
*** germs has joined #openstack-swift02:17
*** ianychoi_ has quit IRC02:27
*** ianychoi has joined #openstack-swift02:30
*** psachin has joined #openstack-swift02:43
*** bkopilov has joined #openstack-swift03:05
openstackgerritMerged openstack/swift master: Fix common/test_utils.py on Python 3.5.4+  https://review.openstack.org/57045703:15
*** lifeless has joined #openstack-swift03:18
*** links has joined #openstack-swift03:23
*** jungleboyj has quit IRC03:41
*** samueldmq has quit IRC03:43
*** fyx has quit IRC03:44
*** clayg has quit IRC03:44
*** beisner has quit IRC03:44
*** kei_yama has quit IRC03:45
*** jungleboyj has joined #openstack-swift03:45
*** clayg has joined #openstack-swift03:46
*** ChanServ sets mode: +v clayg03:46
*** fyx has joined #openstack-swift03:46
*** samueldmq has joined #openstack-swift03:46
*** beisner has joined #openstack-swift03:46
*** zhongjun_ has quit IRC03:48
*** spsurya has quit IRC03:49
*** portdirect has quit IRC03:50
*** nottrobin has quit IRC03:50
*** jungleboyj has quit IRC03:50
*** hogepodge has quit IRC03:50
*** DuncanT has quit IRC03:51
*** samueldmq has quit IRC03:51
*** clayg has quit IRC03:51
*** beisner has quit IRC03:51
*** fyx has quit IRC03:51
*** lxkong has quit IRC03:51
*** AndyWojo has quit IRC03:52
*** serverascode has quit IRC03:52
*** vpc has quit IRC03:57
*** kei_yama has joined #openstack-swift04:02
*** germs has quit IRC04:06
*** armaan has quit IRC04:16
*** armaan has joined #openstack-swift04:17
*** openstack has joined #openstack-swift04:31
*** ChanServ sets mode: +o openstack04:31
*** bharath1234 has joined #openstack-swift04:47
*** kei_yama has quit IRC04:49
*** lifeless_ has joined #openstack-swift04:54
*** lifeless has quit IRC04:55
*** hoonetorg has quit IRC05:09
*** hoonetorg has joined #openstack-swift05:10
*** zhongjun_ has joined #openstack-swift05:22
*** AndyWojo has joined #openstack-swift05:23
*** DuncanT has joined #openstack-swift05:23
*** bharath1234 has quit IRC05:23
*** lxkong has joined #openstack-swift05:24
*** clayg has joined #openstack-swift05:28
*** ChanServ sets mode: +v clayg05:28
*** serverascode has joined #openstack-swift05:28
*** nottrobin has joined #openstack-swift05:32
*** kei_yama has joined #openstack-swift05:34
*** bharath1234 has joined #openstack-swift05:42
*** fyx has joined #openstack-swift05:43
*** cshastri has joined #openstack-swift05:43
*** beisner has joined #openstack-swift05:45
*** spsurya has joined #openstack-swift05:47
*** beisner has quit IRC05:51
*** fyx has quit IRC05:51
*** beisner has joined #openstack-swift05:51
*** cshastri has quit IRC05:54
*** clayg has quit IRC05:55
*** beisner has quit IRC05:56
*** AndyWojo has quit IRC05:57
*** zhongjun_ has quit IRC05:57
*** spsurya has quit IRC05:57
*** lxkong has quit IRC05:58
*** nottrobin has quit IRC05:58
*** serverascode has quit IRC05:58
*** DuncanT has quit IRC05:59
*** cshastri has joined #openstack-swift06:10
*** beisner has joined #openstack-swift06:10
*** clayg has joined #openstack-swift06:13
*** ChanServ sets mode: +v clayg06:13
*** fyx has joined #openstack-swift06:16
*** samueldmq has joined #openstack-swift06:19
*** AndyWojo has joined #openstack-swift06:19
*** DuncanT has joined #openstack-swift06:21
*** portdirect has joined #openstack-swift06:21
*** lxkong has joined #openstack-swift06:21
*** portdirect has quit IRC06:21
*** portdirect has joined #openstack-swift06:21
*** lxkong has quit IRC06:22
*** lxkong has joined #openstack-swift06:22
*** serverascode has joined #openstack-swift06:22
*** nottrobin has joined #openstack-swift06:22
*** jungleboyj has joined #openstack-swift06:23
*** zhongjun_ has joined #openstack-swift06:23
*** d34dh0r53 has quit IRC06:24
*** d34dh0r53 has joined #openstack-swift06:24
*** serverascode has quit IRC06:26
*** spsurya has joined #openstack-swift06:26
*** serverascode has joined #openstack-swift06:27
*** serverascode has quit IRC06:29
*** serverascode has joined #openstack-swift06:30
*** hseipp has joined #openstack-swift06:38
*** prasen has joined #openstack-swift06:45
*** hogepodge has joined #openstack-swift07:00
*** cshastri has quit IRC07:00
*** tesseract has joined #openstack-swift07:04
*** geaaru has joined #openstack-swift07:16
*** bharath1234 has quit IRC07:18
*** cshastri has joined #openstack-swift07:19
*** cbartz has joined #openstack-swift07:33
*** ccamacho has joined #openstack-swift07:43
acolesgood morning07:48
acoleskota_: yes, any PUT+POST patch you see from me is just follow up to zaitcev's great work07:48
kota_good morning acoles o/07:48
acoleskota_: congratulations07:48
kota_acoles: thank you very match!07:49
kota_much07:49
acoleskota_: are you getting sleep?07:49
kota_depending on the day :P07:50
kota_my wife and boy has come to my home so i have to care everything...07:51
*** gkadam has joined #openstack-swift07:56
*** armaan has quit IRC08:03
*** rcernin has quit IRC08:03
*** jistr is now known as jistr|mtg08:07
*** pcaruana has joined #openstack-swift08:11
*** armaan has joined #openstack-swift08:18
acoleskota_: sounds like a busy time - good luck!08:21
*** armaan has quit IRC08:35
*** armaan has joined #openstack-swift08:35
*** bharath1234 has joined #openstack-swift08:37
*** bharath1234 has quit IRC08:44
*** bharath1234 has joined #openstack-swift08:44
*** spsurya has quit IRC08:46
*** armaan has quit IRC08:46
*** armaan has joined #openstack-swift08:47
*** kei_yama has quit IRC08:53
*** rcernin has joined #openstack-swift08:54
*** vpc has joined #openstack-swift08:56
vpchi +mattoliverau08:56
vpchi +kota_08:56
vpchi09:11
*** jistr|mtg is now known as jistr09:12
vpchi09:13
vpcjistr09:13
vpcanyone09:13
openstackgerritAlistair Coles proposed openstack/swift master: Fix test_wsgi.py tests failing with eventlet <=0.18.4  https://review.openstack.org/57680009:25
openstackgerritAlistair Coles proposed openstack/swift master: Use valid eventlet logger method  https://review.openstack.org/57680109:25
acolesbharath1234: fixes for the bug you found re. older eventlet versions ^^09:26
*** lifeless_ has quit IRC09:27
*** lifeless has joined #openstack-swift09:29
vpc+acoles can help me09:29
acolesvpc: I can try09:29
vpcImportError: No module named webhook09:31
vpcwhen i add webhook piple and py09:31
acolesvpc: could you paste a traceback using http://paste.openstack.org/ ?09:35
openstackgerritAlistair Coles proposed openstack/swift master: Fix the example webhook middleware  https://review.openstack.org/57680809:50
acolesvpc: if you are trying to use the example middleware from https://docs.openstack.org/swift/latest/development_middleware.html#creating-your-own-middleware then you may need p 57680809:52
patchbothttps://review.openstack.org/#/c/576808/ - swift - Fix the example webhook middleware09:52
*** armaan has quit IRC09:52
*** armaan has joined #openstack-swift09:53
*** bkopilov has quit IRC09:54
*** rcernin has quit IRC09:56
vpc+acoles proxy-server.conf10:01
vpchttp://paste.openstack.org/show/723907/10:01
vpcim using this guide10:01
vpcplus the webhook.py10:02
vpchttps://github.com/stmuraka/OpenStackSwift-OpenWhisk/tree/master/OpenStackSwift/Webhook10:02
vpclogs +acoles http://paste.openstack.org/show/723908/10:02
bharath1234acoles: The mock has been changed if I am right? The mock now returns a tuple instead of a string?10:09
acolesvpc: that should work, but looks like you are running in a virtualenv so make sure the webhook.py is available in that environment. activate the venv and try 'python -c 'import swift.common.middleware.webhook'10:10
bharath1234acoles: and is it normal for the probe tests to take a long time?10:10
acolesbharath1234: correct, the test setting up the mock was not ocmpatible with older eventlet versions10:10
acolescompatible*10:10
acolesbharath1234: yes, probe tests take 10's of minutes on my laptop10:11
bharath1234acoles: Thats great to know! about the fix and probe tests10:11
acolesbharath1234: also, probe tests delete existing data - only run probe tests on a test cluster!10:12
bharath1234acoles: could you share your system config and how you are running openstack swift on your system? I would like to know how other people are working about with swift10:12
acolesbharath1234: do you mean my development setup, or for production?10:14
bharath1234acoles:development setup :D10:16
acolesbharath1234: I use pycharm on mac for coding. For functional and probe tests I use SAIO on ubuntu VMs. I tend to also run the tox unit tests on those VMs too. If I need to test using keystone auth I have a keystone service running on a VM.10:22
acolesbharath1234: other devs I know use vagrant SAIO, I have also used runway at times, see https://docs.openstack.org/swift/latest/associated_projects.html#developer-tools10:22
remix_tji use vagrant ansible saio by tdasilva: https://github.com/thiagodasilva/ansible-saio/10:24
*** armaan has quit IRC10:25
*** armaan has joined #openstack-swift10:25
*** silor has joined #openstack-swift10:36
*** silor has quit IRC10:46
bharath1234acoles:thanks! what about your system configuration? amount of RAM,processor etc?10:46
*** armaan has quit IRC10:46
bharath1234remix_tj: any advantages of vagrant SAIO over running it on ubuntu vm?10:47
*** armaan has joined #openstack-swift10:47
acolesmacbook pro 2015 with 16GB10:47
remix_tjbharath1234: it's one click start :-)11:07
*** bkopilov has joined #openstack-swift11:10
*** bharath1234 has quit IRC11:12
*** cshastri has quit IRC11:30
*** spsurya has joined #openstack-swift11:43
*** armaan_ has joined #openstack-swift11:47
*** armaan has quit IRC11:47
*** cshastri has joined #openstack-swift11:55
*** germs has joined #openstack-swift12:09
*** germs has quit IRC12:14
*** edausq has quit IRC12:17
*** edausq has joined #openstack-swift12:17
*** edausq has joined #openstack-swift12:17
*** zhongjun_ has quit IRC12:29
*** cshastri has quit IRC12:48
*** mwheckmann has joined #openstack-swift12:53
*** cshastri has joined #openstack-swift12:58
openstackgerritLuigi Toscano proposed openstack/python-swiftclient master: Make OS_AUTH_URL work in DevStack by default  https://review.openstack.org/47393013:25
*** bharath1234 has joined #openstack-swift13:29
*** armaan_ has quit IRC13:34
*** armaan has joined #openstack-swift13:35
zaitcevkota_: do you have a link? I don't see any PUT+POST updates from you, sorry.13:39
*** PsionTheory has joined #openstack-swift13:49
*** armaan has quit IRC13:57
*** armaan has joined #openstack-swift13:57
*** germs has joined #openstack-swift14:10
*** germs has quit IRC14:10
*** germs has joined #openstack-swift14:10
*** cshastri has quit IRC14:12
*** germs has quit IRC14:16
*** bharath1234 has quit IRC14:23
*** bharath1234 has joined #openstack-swift14:24
*** armaan has quit IRC14:26
*** cshastri has joined #openstack-swift14:26
*** armaan has joined #openstack-swift14:26
*** vpc_ has joined #openstack-swift14:34
vpc_Hi14:35
vpc_No module name webhook14:35
vpc_I add webhook.py plus webhook in pipeline14:35
*** vpc_ has quit IRC14:40
*** cshastri has quit IRC14:43
*** vpc_ has joined #openstack-swift15:10
vpc_hi15:10
vpc_anyone can help me15:10
vpc_no module name webhook15:10
vpc_i added webhook in pipeline15:10
vpc_+acloes15:11
vpc_+acoles just got home :(15:11
*** bharath1234 has quit IRC15:12
vpc_+mattoliverau15:14
vpc_+kota_15:14
acolesvpc_: did you see my earlier post ? .. vpc: that should work, but looks like you are running in a virtualenv so make sure the webhook.py is available in that environment. activate the venv and try 'python -c 'import swift.common.middleware.webhook'15:15
vpc_im sorry acoles15:15
vpc_i just got home today15:15
vpc_i leave my office when you reply ;(15:16
*** germs has joined #openstack-swift15:16
*** germs has quit IRC15:16
*** germs has joined #openstack-swift15:16
vpc_im using kolla containers15:16
vpc_add i exec to proxy_server container then add the webhook.py15:16
*** germs has quit IRC15:16
vpc_+acoles im not using virtualenv15:17
acolesok, well for some reason the webhook module isn't being picked up, so you could try getting into your container and check you can import it in python15:19
*** germs has joined #openstack-swift15:19
*** germs has quit IRC15:19
*** germs has joined #openstack-swift15:19
vpc_did you see the sample code for webhook.py that i send earlier?15:20
vpc_https://github.com/stmuraka/OpenStackSwift-OpenWhisk/tree/master/OpenWhisk here?15:20
*** mwheckmann has quit IRC15:22
acolesvpc_: yes but the problem you have here http://paste.openstack.org/show/723908/ is that the module is not being found15:23
vpc_i see thats why my container always restarting15:23
vpc_what should i need to do?15:24
vpc_is my proxy-server.conf right?15:24
vpc_the one i send earlier15:24
acolesproxy server conf looked correct. you need to debug why the webhook module is not being found. I am suggesting you start by trying to import it in a python shell in the container.15:26
vpc_i will try tomorrow this command python -c 'import swift.common.middleware.webhook15:26
*** armaan has quit IRC15:26
*** armaan has joined #openstack-swift15:27
*** PsionTheory has quit IRC15:27
acoles+1 and if that fails you need to figure out why, because that is likely to be why swift proxy server is failing to start15:27
vpc_it is okay to have tempauth plus keystoneauth?15:29
acolesyes if they have different reseller prefixes15:29
vpc_i think i dont havfe reseller prefixes there15:30
*** gkadam has quit IRC15:30
vpc_http://paste.openstack.org/show/723907/15:31
tdasilvado docs list any limits on the number of containers a cluster can have?15:34
*** armaan has quit IRC15:35
*** mwheckmann has joined #openstack-swift15:38
claygtorgomatic_: patch 564646 looks pretty cool!15:40
patchbothttps://review.openstack.org/#/c/564646/ - swift - Refactor replicators' statistics15:40
claygnice cleanup15:40
*** links has quit IRC15:41
*** cbartz has quit IRC15:45
*** mwheckmann has quit IRC15:49
notmynamegood morning16:00
*** gyee has joined #openstack-swift16:21
*** hseipp has quit IRC16:22
*** silor has joined #openstack-swift16:34
*** tesseract has quit IRC16:34
notmynametdasilva: I want to propose my "docker test target" stuff to swift. it's some various docker config files and some ansible playbooks16:37
notmynamewhat would you think about renaming the exising "playbooks" directory to something else?16:38
notmynamesomething like ... IDK. "setup_examples"? "deployment"? what do you think?16:39
notmynameinitially, I'd keep the existing probetests and saio stuff there and just add mine16:40
notmynamebut there is likely some opportunity for consolidation. most obvious to me is in dependency installation16:40
notmynamewe've got an existing examples directory. and tools. hmm... and etc is just sample configs16:42
notmynameI'm less worried about the etc directory, but maybe that's just historical bias because it's been around longest16:42
notmynamebut it seems like there's some opportunity for consolidation16:42
notmynamehow about this: move the existing "playbooks" directory underneath the existing "tools" dir. then rename playbooks to "probetest_setup". Then I add my stuff as a sibling dir to that under tools16:45
timburkegood morning16:45
notmynameso, patch 1: reorg existing stuff. patch 2: propose my new stuff. patch 3 (later): consolidate playbooks16:46
patchbothttps://review.openstack.org/#/c/1/ - openstack-infra/system-config - Add puppet module for ssh that installs an sshd_co... (MERGED)16:46
patchbotNo data found for patch 216:46
patchbotNo data found for patch 316:46
notmynamethanks patchbot16:46
*** armaan has joined #openstack-swift16:49
*** armaan has quit IRC16:51
openstackgerritTim Burke proposed openstack/swift master: Change PUT bucket conflict error  https://review.openstack.org/57582916:52
*** armaan has joined #openstack-swift16:57
*** mwheckmann has joined #openstack-swift17:11
*** silor has quit IRC17:17
*** spsurya has quit IRC17:23
*** bharath1234 has joined #openstack-swift17:28
tdasilvanotmyname: looking17:32
notmynamelink to the stuff I want to merge in https://github.com/notmyname/alpine_swift17:34
*** psachin has quit IRC17:34
notmynameI ran into an issue with how docker expects things to be organized, btu i'm working through it17:34
bharath1234A lot of my functional tests are failing. i am able to use curl and communicate with the containers just fine. But the functional tests are failing.17:36
bharath1234I am getting response errors17:36
*** links has joined #openstack-swift17:37
bharath1234test.functional.swift_test_client.ResponseError: 404: 'Not Found' ('POST' '/v1/AUTH_test/%E0%A4%80%E8%94%89%EF%84%91%E5%98%85%E3%9C%83%E9%90%8C%EB%8C%8B%E0%A4%83%EB%8C%8E%E2%98%83%E9%90%8B%E8%94%8A%EF%84%92%E0%A4%82%ED%88%8E') txid=tx844f07cfe3ca42d3a737f-005b2a8e3417:37
bharath1234is the exact error. Sorry for the gibberish. I am unable to find anything on google17:38
*** links has quit IRC17:39
tdasilvanotmyname: can you share more about alpine_swift? what is it? what's the goal? just curious...17:39
tdasilvaalso, how's it different that runway?17:39
*** links has joined #openstack-swift17:39
tdasilvas/that/than17:40
tdasilvanotmyname: anyway, i think renaming playbooks and making it more generally consumable is a good diea18:01
notmynamesorry, in a meeting... give me a few more minutes18:02
notmynametdasilva: ok. meeting done18:05
notmynamethe point of alpine-swift is to make a dockerized test target that uses swift itself for setup18:06
notmynameie using swift's own requirements/bindep/configs for setting things up instead of duplicating it into the docker file or a docker launch script or anything like that18:06
notmynameeventually I hope that we'll be able to use this pattern for dockerized swift services to do stuff like upgrade (mixed-version cluster) testing18:07
timburkebharath1234: does it seem to be mainly the UTF8 functional tests that are failing? i.e., all of the paths involve some long url-quoted bits like '%E0%A4%80'?18:09
timburkewhat version of eventlet do you have installed? `pip freeze | grep eventlet`18:09
timburkehttps://bugs.launchpad.net/swift/+bug/1769749 for some context on that last question18:10
openstackLaunchpad bug 1769749 in OpenStack Object Storage (swift) "eventlet 0.23.0 breaks swift's unicode handling" [Undecided,Confirmed]18:10
timburke(though the failures from that seem to be more 500s/503s...)18:11
*** links has quit IRC18:11
*** links has joined #openstack-swift18:12
*** silor has joined #openstack-swift18:13
tdasilvanotmyname: ack, cool18:13
*** links has quit IRC18:14
openstackgerritMerged openstack/swift master: Fix the example webhook middleware  https://review.openstack.org/57680818:23
openstackgerritMerged openstack/swift master: Fix test_wsgi.py tests failing with eventlet <=0.18.4  https://review.openstack.org/57680018:23
*** itlinux has joined #openstack-swift18:27
*** geaaru has quit IRC18:29
timburketorgomatic_: the time-box on swift.common.utils.LRUCache is just to make sure that we don't cache a stale response indefinitely, yeah? there's nothing to proactively purge data that should have timed out?18:30
*** germs has quit IRC18:30
*** germs has joined #openstack-swift18:30
*** germs has quit IRC18:30
timburke(thinking about it in the context of keys for encryption, so actually purging them after a set amount of time would be rather nice...)18:31
*** germs has joined #openstack-swift18:31
*** germs has quit IRC18:31
*** germs has joined #openstack-swift18:31
torgomatic_timburke: the purge isn't there, but there's some code (look for KeyError) to make it appear that timed-out values were purged18:32
bharath1234i have the latest version of eventlet18:32
bharath1234timburke:yup all the errors are the same18:33
bharath1234timburke: in the sense,they are all ResponseErrors18:34
timburkebharath1234: so, 0.23.0? that's definitely known to cause troubles... fwiw, i had 0.22.1 installed before i started looking at acoles's p 576800 and p 57680118:34
patchbothttps://review.openstack.org/#/c/576800/ - swift - Fix test_wsgi.py tests failing with eventlet <=0.18.4 (MERGED)18:34
patchbothttps://review.openstack.org/#/c/576801/ - swift - Use valid eventlet logger method18:34
bharath1234i have eventlet 0.22.118:35
bharath1234i had to update eventlet to pass the unit tests18:35
timburkegood! that should work... so why doesn't it? :-(18:35
timburketry grepping the logs for one of the transaction ids that failed18:36
timburketx844f07cfe3ca42d3a737f-005b2a8e34 for example18:36
*** ianychoi has quit IRC18:36
openstackgerritTim Burke proposed openstack/swift master: Include '-' in multipart ETags  https://review.openstack.org/57586018:42
openstackgerritMerged openstack/swift master: Use valid eventlet logger method  https://review.openstack.org/57680118:48
timburketorgomatic_: mind looking at https://review.openstack.org/#/c/337960/ while you're thinking about SLOs and ETags? there was a design decision in https://review.openstack.org/#/c/575860/ that kinda assumed the older patch would end up landing...18:50
patchbotpatch 337960 - swift - Send correct SLO ETag for container updates18:50
patchbotpatch 575860 - swift - Include '-' in multipart ETags18:50
torgomatic_looking18:51
timburkethanks18:53
torgomatic_timburke: as an alternate, why not do the quoting entirely in s3api? that way, you don't have to change what's going into the container DBs and you don't have to worry about pre-patch SLOs18:56
bharath1234timburke : i ll run the transaction tests a couple of more times. If the errors persist, i ll get back to you19:00
*** lifeless has quit IRC19:00
bharath1234functional*19:00
torgomatic_or maybe I've misunderstood... so before, the container listing had the hash of the on-disk SLO manifest, which is useless to clients, but after patch 337960, the container listings would have a thing that matches the ETag you'd see on HEAD/GET of the manifest, yes?19:00
patchbothttps://review.openstack.org/#/c/337960/ - swift - Send correct SLO ETag for container updates19:00
torgomatic_I guess the quoted/not-quoted thing propagating to containers seems kind of gross to me, but putting the manifest's client-facing ETag in the container listing seems good19:01
timburkeyes. and in the s3api patch, i've codified that for new multipart uploads, too (in the X-Object-Sysmeta-Container-Update-Override-Etag header)19:01
timburkequoted/not-quoted is still valuable in listings, though! as a client, the quotes give you an indication that the object is an SLO -- much like how S3 clients can look at the etag from listings and know whether the object is a MU19:03
timburkehence the third case in https://review.openstack.org/#/c/575860/3/swift/common/middleware/s3api/controllers/bucket.py19:05
patchbotpatch 575860 - swift - Include '-' in multipart ETags19:05
torgomatic_timburke: sounds like a good argument; let me think about it for a few minutes19:12
timburkeof course. fwiw, i think timur's been interested in having that knowledge, too... though he's still going to need to cope with legacy data :-(19:13
torgomatic_yeah, there's no escaping legacy data when you're only shipping code and not deploying it yourself. if we had the ability to run migration scripts on all existing clusters, we could clean it up, but we don't.19:14
timburkewhich, as i recall, was clayg's argument *against* the slo patch... but (hopefully) the number of new slos that will be written with a *useful* container etag is orders of magnitude larger than the number of slos already written...19:15
claygI just questioned the logic of "it's useful to clients" - because to me it sounded like "it's a wart that will forever bite clients" - unless we just had a new thing... like a finalized-large-object or something19:18
clayg"not perfect but consistent" is better than "not perfect and inconsitent" ??? maybe?  I could be wrong.19:19
openstackgerritTim Burke proposed openstack/swift master: Include '-' in multipart ETags  https://review.openstack.org/57586019:20
timburkeclayg: the trouble i've got now, is that i can't even get to consistent if i want to fix S3 bucket listings...19:20
timburkewithout which, s3cmd (at least) is doomed to think that all MUs have changed and should be re-downloaded/uploaded19:21
claygAdd flag to SLO in listing and do a HEAD?19:26
timburkeeh? a HEAD on every included object during listings? surely i'm misunderstanding something...19:29
*** Deknos has joined #openstack-swift19:39
openstackgerritTim Burke proposed openstack/swift master: Resolve TODO's in test/probe/test_sharder.py  https://review.openstack.org/57120919:43
*** armaan has quit IRC19:46
*** lifeless has joined #openstack-swift19:49
*** Deknos has quit IRC19:52
*** silor has quit IRC19:54
claygtimburke: that's what clients that need this information from the swift api would have todo today right?  seems reasonable for s3api to do it for them if it works better with their client tools.20:05
timburke...so we have to do up to 1,000 object HEADs to finally return a listing? that's gonna suck!20:10
timburkewe tolerate that sort of a thing during SLO uploads since it's done relatively infrequently -- but i want my listings to be snappy!20:10
claygwhy?  are s3 listings snappy?  maybe truncate the listing if you do "enough" HEADs?20:18
notmynameI think the only agenda item for today's meeting is talking about https://review.openstack.org/#/c/427911/. please let me know if there's something else20:40
patchbotpatch 427911 - swift - Replace MIME with PUT+POST for EC and Encryption20:40
*** pcaruana has quit IRC20:41
kota_hello20:57
mattoliverauo/20:59
notmynameswift team meeting time in #openstack-meeting20:59
notmynameclayg: acoles: zaitcev: tdasilva: cschwede: rledisez: kota_: torgomatic_: mattoliverau: meeting ping21:00
*** rledisez has quit IRC21:24
*** alecuyer has quit IRC21:26
*** bharath1234 has quit IRC21:26
notmynamekota_: I hope you enjoying your time with your new baby21:34
notmynameI was glad to read that everyone is well21:34
kota_notmyname: thx!21:34
claygtdasilva: aw man... grpc/http2 everything on the backend... man, it's appealing...21:35
timburkekota_: congratulations!21:35
* kota_ is interested in the PUT+POST discussion but with the reason, i'm being offline for now. I'll read the irc log to follow the conversation.21:35
tdasilvakota_: congratulations!21:36
kota_timburke: thanks :D21:36
claygacoles: so I are you going to say ... expect-100 continue with a "i am ready for your v2 request" in the response headers?21:36
kota_oh, I'm really glad with many congrats :)21:36
claygthe... "response" headers - it's more like the continue headers?21:36
kota_tdasilva: ;)21:36
claygkota_: way to replicate buddy!21:37
acolesclayg: that was my fist idea but it was pointed out that headers with a 100 response are not widely supported21:37
acolesfirst*21:37
claygacoles: oh... yeah... that does sound like something I would say21:38
claygacoles: i'm a fuddy-duddy like that (just ask timburke)21:38
acolesclayg: you'd be the fourth person to point it out then :)21:38
claygacoles: so what was the next intuative leap then?  (since I've now caught up with 3-days-ago-acoles)21:38
* clayg wonders if acoles means I'd be the 4th person to point out I'm a fuddy-duddy21:39
notmynamemattoliverau: tdasilva: does this make sense? https://gist.github.com/notmyname/31cb48a74efc6bcdfb139a09bfe5bd7621:42
acolesclayg: send all the headers we send now for MIME, plus some 'requires-version' header. An old backend will send the 100 response *with headers*, so we know its old and continue with MIME. A new backend will ignore the mime-related headers and send a 100 with no headers. The bit I haven't got a great solution for is a *really old* backend that doesn't know about mime so just returns a 100. We can prevent it finalizing an21:42
acoles object by sending a bogus etag at start and real etag in the POST...so it would get an etag mismatch.21:42
notmynamemattoliverau: tdasilva: hmm... I put it in gerrit to see what it does to the py3 jobs. not sure if those use the "test" selector or not21:43
notmyname(seems like it does in .zuul.yaml)21:44
acolesTBH I'm not sure what happens to day if you run an EC policy with a pre-EC backend, i.e. what is the failure mode21:44
openstackgerritJohn Dickinson proposed openstack/swift master: specify test selector with py3 packages in bindep  https://review.openstack.org/57699321:44
acolesclayg: I'm pleased to learn that fuddy-duddy is not just a britishism!21:46
*** lifeless has quit IRC21:46
*** lifeless has joined #openstack-swift21:47
acolesFWIW I think I prefer the new verbs idea to the path mangling21:50
claygacoles: ok, that all sounds reasoable21:51
claygmaybe it would be useful to understand the failure mode with super old object servers21:52
tdasilvanotmyname: yeah, not sure about the test selector either, but will keep an eye on zuul for that patch21:52
*** itlinux has quit IRC21:52
acolesclayg: I'll write it up tomorrow, and try to research how really old servers behave21:52
claygor maybe it would be useful to say "if your storage back-end is 2+ yrs old try upgrading to some intermediate releaes first, or you know ... shutting down your cluster for a little bit"21:52
acolesi.e. aka 'fuddy-duddy object servers'21:52
claygacoles: ROFL21:53
acolesX-Backend-Fuddy-Duddy21:53
claygacoles: so one thing I think I like about that is the "new" object servers won't *require* the the mime headers to ignore them?21:53
clayglike you can also just talk the new hawtness to new object servers directly?  they don't fallback into some dumb mode because they think they might be getting a request from an old proxy?21:54
acolesclayg: no because they'd get a new header with 'requires-version' so would know the proxy is new21:55
acolesso one day the proxy could stop sending the mime headers but you'd have to know there were no mime-only backends21:55
*** mwheckmann has quit IRC21:56
acolesclayg: I'm going to bed. I'll start an etherpad tomorrow.21:58
acolesgoodnight21:58
* clayg hugs21:58
* acoles no kisses 21:58
*** rcernin has joined #openstack-swift22:10
timburkehuh. different versions of py2 git different values for the expression len(u'\U0001f338')22:28
timburkegive*22:28
timburke...which also means that different versions of python give different results for swift.common.constraints.check_utf8(b'\xf0\x9f\x8c\xb8')22:31
*** vpc_ has quit IRC22:31
notmynametimburke: it's times like this where words don't suffice. I'd use emojis, but I'm not sure they'd render properly (depending, of course, on what version of python is runnign somehwere)22:32
*** rcernin has quit IRC22:50
openstackgerritSamuel Merritt proposed openstack/swift master: Emit periodic stats from account and container replicators  https://review.openstack.org/56487523:15
*** alecuyer has joined #openstack-swift23:16
torgomatic_timburke: how's that? I see the length thing with narrow/wide pythons, but how's that change the output of check_utf8?23:17
*** rledisez has joined #openstack-swift23:17
*** kei_yama has joined #openstack-swift23:17
timburketorgomatic_: https://github.com/openstack/swift/commit/331b142 -- if len(u'\U0001f338') then when we iterate through the decoded codepoints, we get two surrogates and return False23:32
*** rcernin has joined #openstack-swift23:43
mattoliveraumorning23:46
openstackgerritMerged openstack/swift master: Resolve TODO's in test/probe/test_sharder.py  https://review.openstack.org/57120923:48
torgomatic_timburke: you mean if len(...) == 2 ?23:51
openstackgerritTim Burke proposed openstack/swift master: Add py36 testenv  https://review.openstack.org/57701323:52
openstackgerritTim Burke proposed openstack/swift master: py3: Port common/constraints  https://review.openstack.org/57701423:52
openstackgerritTim Burke proposed openstack/swift master: py3: Port common/swob  https://review.openstack.org/57701523:52
timburkeyeah23:52
*** mwheckmann has joined #openstack-swift23:57
torgomatic_timburke: yeah, and I don't think py3 will even utf-8-decode a thing with surrogates in it anyway (i.e. a wtf-8 string)23:58

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