Wednesday, 2017-04-12

*** wanghao has joined #openstack-zaqar00:15
openstackgerritwanghao proposed openstack/zaqar-specs master: Service Queue in Zaqar  https://review.openstack.org/44943300:25
*** zhurong has joined #openstack-zaqar00:39
openstackgerritwanghao proposed openstack/zaqar-specs master: Service Queue in Zaqar  https://review.openstack.org/44943300:48
openstackgerritwanghao proposed openstack/zaqar-specs master: Service Queue in Zaqar  https://review.openstack.org/44943300:55
*** XueFeng has joined #openstack-zaqar01:06
*** wanghao has quit IRC01:10
*** wanghao has joined #openstack-zaqar01:11
*** yanyanhu has joined #openstack-zaqar01:35
*** wanghao has quit IRC01:43
*** wanghao has joined #openstack-zaqar01:44
*** wanghao has quit IRC01:58
*** wanghao has joined #openstack-zaqar02:15
*** mpanetta has quit IRC02:23
*** mpanetta has joined #openstack-zaqar02:24
*** wanghao has quit IRC02:25
*** Kevin_Zheng has joined #openstack-zaqar02:54
*** rcernin has joined #openstack-zaqar03:59
*** rcernin is now known as rcernin|wfh|mtg03:59
openstackgerritMerged openstack/zaqar master: Add .idea pattern to .gitignore  https://review.openstack.org/45522303:59
*** zhurong has quit IRC04:06
*** zhurong has joined #openstack-zaqar04:34
*** lhx__ has joined #openstack-zaqar04:43
*** lhx__ has quit IRC05:02
*** lhx__ has joined #openstack-zaqar05:02
*** jtomasek_ has joined #openstack-zaqar05:04
*** lhx__ has quit IRC05:05
*** rcernin|wfh|mtg has quit IRC05:11
*** lhx__ has joined #openstack-zaqar05:19
*** rcernin has joined #openstack-zaqar05:20
*** lhx__ has quit IRC05:42
*** jtomasek_ has quit IRC05:44
*** shu-mutou-AWAY is now known as shu-mutou05:45
*** jtomasek has quit IRC05:49
*** pcaruana has joined #openstack-zaqar06:30
*** lhx__ has joined #openstack-zaqar06:44
*** tesseract has joined #openstack-zaqar06:49
*** rcernin has quit IRC06:59
*** lhx__ has quit IRC07:15
*** rcernin has joined #openstack-zaqar07:17
*** lhx__ has joined #openstack-zaqar07:18
*** nadya has joined #openstack-zaqar07:22
*** nadya has quit IRC07:32
*** nadya has joined #openstack-zaqar07:33
*** rcernin has quit IRC07:37
*** rcernin_ has joined #openstack-zaqar07:37
*** rcernin_ has quit IRC07:38
*** rcernin_ has joined #openstack-zaqar07:38
*** jaosorior has joined #openstack-zaqar07:39
openstackgerritJuan Antonio Osorio Robles proposed openstack/zaqar master: swift driver: rely on keystone session for swift connection  https://review.openstack.org/45609807:42
jaosoriortherve: could you check that out? ^^ I had some issues in my tripleO deployment where zaqar's token would expire. Using that actually avoids that issue07:43
therveHum07:44
thervejaosorior, How did the issue show up?07:44
jaosoriorby failing when I did the deploy. It would just give me a 401 IIRC07:44
jaosoriorafter trying to deploy the next day07:45
*** nadya has quit IRC07:45
*** lhx__ has quit IRC07:45
therveWeird07:46
jaosoriortherve: either way, zaqar shouldn't be trying to handle reauthentication and neither should swiftclient07:46
jaosoriorlets just let the session object do it's thing :)07:46
*** lhx__ has joined #openstack-zaqar07:47
therveWell, if that works sure. I haven't had good experience with keystone client libs in the past :)07:47
*** lhx__ has quit IRC07:47
jaosoriornobody has07:47
thervejaosorior, While your approach is certainly better, I'd like to understand why mine doesn't work07:50
jaosoriortherve: I actually have no idea dude, all I know is I was getting 401's cause it didn't reauthenticate07:53
jaosoriortherve: might wanna ask jamielennox from the keystone team07:54
*** nadya has joined #openstack-zaqar07:56
*** nadya has quit IRC08:00
*** nadya has joined #openstack-zaqar08:01
jaosoriortherve: when would the getattr be called?08:06
*** nadya has quit IRC08:06
thervejaosorior, In theory every time a call to swift is made08:18
jaosoriorfunky08:21
jaosoriortherve: oh https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/identity/base.py#L5608:23
jaosoriortherve: might be that you needed to fetch a new AccessInfo after calling that get_auth_ref08:24
thervejaosorior, Oh, of course. I'm not actually validating the token08:35
thervejaosorior, Thanks, that looks awesome. Reduces keystone requests quite a bit too08:39
therveIt might help my tripleo timing issue08:40
therveI'm afraid I may have broken something else though08:47
therveSigh08:47
jaosoriortherve: where?08:48
thervejaosorior, See the ooo build on your patch08:48
jaosoriorshit http://logs.openstack.org/98/456098/1/check/gate-tripleo-ci-centos-7-scenario002-multinode-oooq-puppet-nv/f6f334e/logs/undercloud/home/jenkins/overcloud_deploy.log.txt.gz#_2017-04-12_08_19_3308:51
therveYeah08:51
thervejaosorior, Probably because of https://review.openstack.org/455382 ?08:51
therveI can never remember what's used where08:51
jaosoriortherve: maybe, is that set in the instack-undercloud?08:52
therveI don't know :/08:52
jaosoriorhaha shit08:52
jaosoriorwell08:53
jaosoriorfor a strange reason08:53
jaosoriorit's getting a lot of 404s from swift http://logs.openstack.org/98/456098/1/check/gate-tripleo-ci-centos-7-scenario002-multinode-oooq-puppet-nv/f6f334e/logs/undercloud/var/log/zaqar/zaqar.log.txt.gz08:53
therveI think those are ok08:53
jaosorioroh, alright08:53
jaosoriortherve: so yeah, gotta check if it's set in instack-undercloud08:55
thervejaosorior, http://logs.openstack.org/98/456098/1/check/gate-tripleo-ci-centos-7-scenario002-multinode-oooq-puppet-nv/f6f334e/logs/undercloud/var/log/messages.txt.gz#_Apr_12_08_09_4208:55
jaosoriortherve: would it be that zaqar started before keystone?08:55
therveMaybe, but it fails with a 401 later on08:56
jaosorioroh, I didn't see the 40108:57
jaosoriorwas just seeing connection refused08:57
thervebbiab08:57
therveO08:59
therveOh08:59
thervejaosorior, Don't create the session in init09:00
openstackgerritJuan Antonio Osorio Robles proposed openstack/zaqar master: swift driver: rely on keystone session for swift connection  https://review.openstack.org/45609809:01
jaosoriortherve: something like that? ^^09:01
jaosoriortherve: oh, I guess it worked in my deployment cause I had already everything started.09:03
thervejaosorior, I think we want to keep the session object, otherwise we'll fetch tokens every time09:31
jaosorioruhm...09:31
thervejaosorior, Basically keep refresh_auth, just set the session instead of the token09:35
jaosoriortherve: I'm not sure if I get it, can you modify the commit?09:39
therveI won't be able to review it :D09:40
thervejaosorior, Something like that: http://paste.openstack.org/show/606247/09:42
therveMaybe rename it to _set_session or something09:43
openstackgerritJuan Antonio Osorio Robles proposed openstack/zaqar master: swift driver: rely on keystone session for swift connection  https://review.openstack.org/45609809:51
jaosoriortherve: lets give it a try ^09:51
thervejaosorior, a bunch of issues: self.auth is gone, and you can remove self.url09:52
openstackgerritJuan Antonio Osorio Robles proposed openstack/zaqar master: swift driver: rely on keystone session for swift connection  https://review.openstack.org/45609809:53
jaosoriorweeell, that's not a bunch :P09:53
jaosorioranyway, fixed09:53
thervejaosorior, Still got self.url in init_auth :p09:56
therveAlso init_auth doesn't take an arg09:56
openstackgerritJuan Antonio Osorio Robles proposed openstack/zaqar master: swift driver: rely on keystone session for swift connection  https://review.openstack.org/45609810:04
*** yanyanhu has quit IRC10:50
*** zhurong has quit IRC11:26
openstackgerritFeilong Wang proposed openstack/zaqar master: Fix queues actions for pooling  https://review.openstack.org/45344011:38
openstackgerritFeilong Wang proposed openstack/zaqar master: Fix queues actions for pooling  https://review.openstack.org/45344011:47
jaosoriortherve: what do you think of Jamie's comment https://review.openstack.org/#/c/456098/ ?11:51
*** shu-mutou is now known as shu-mutou-AWAY11:55
thervejaosorior, The whole point of the class is to *not* save the client :)12:14
jaosoriortherve: ok, then I guess it's fine as it is12:14
*** mpanetta has quit IRC12:24
*** mpanetta has joined #openstack-zaqar12:25
openstackgerritThomas Herve proposed openstack/zaqar master: Add missing modules to config generator  https://review.openstack.org/45621313:14
*** zhurong has joined #openstack-zaqar13:46
*** zhurong_ has joined #openstack-zaqar13:59
*** zhurong has quit IRC14:01
*** rbrady is now known as rbrady-afk14:35
*** wxy| has joined #openstack-zaqar14:47
*** zhurong_ has quit IRC14:57
*** jaosorior is now known as jaosorior_away15:02
*** rcernin_ has quit IRC15:04
*** tesseract has quit IRC15:58
*** Kevin_Zheng has quit IRC16:13
*** wxy| has quit IRC16:48
*** rbrady-afk is now known as rbrady17:14
*** jtomasek has joined #openstack-zaqar17:45
*** jtomasek has quit IRC17:46
*** jtomasek has joined #openstack-zaqar17:46
*** jtomasek has quit IRC17:47
*** jtomasek has joined #openstack-zaqar17:49
*** jtomasek_ has joined #openstack-zaqar17:50
*** jtomasek has quit IRC17:53
*** jtomasek_ has quit IRC17:56
*** nadya has joined #openstack-zaqar18:53
*** nadya has quit IRC18:57
*** nadya has joined #openstack-zaqar18:57
*** nadya has quit IRC19:01
openstackgerritFeilong Wang proposed openstack/zaqar master: Fix queues actions for pooling  https://review.openstack.org/45344020:19
*** mpanetta has quit IRC20:50
*** mpanetta has joined #openstack-zaqar20:51
-openstackstatus- NOTICE: Restarting Gerrit for our weekly memory leak cleanup.21:27
*** Qiming has quit IRC21:41
*** Qiming has joined #openstack-zaqar21:46
*** pcaruana has quit IRC21:51
openstackgerritFeilong Wang proposed openstack/zaqar master: Fix queues actions for pooling  https://review.openstack.org/45344023:18
openstackgerritFeilong Wang proposed openstack/zaqar master: Fix queues actions for pooling  https://review.openstack.org/45344023:35

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