Tuesday, 2014-11-11

r1chardj0n3skrotscheck: I assume that the username uniqueness change is related to ongoing work in the launchpad migration?00:01
r1chardj0n3sas in, there are changes in the migration code that aren't reflected in uniqueness change set00:01
r1chardj0n3s(I'm currently looking at LaunchpadWriter)00:02
persiaIf a +2 was added, is there any point to additional +1s?00:10
r1chardj0n3spersia: given I previously -1'd I figure it's only polite :)00:11
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Fixed launchpad import bugs.  https://review.openstack.org/13354200:15
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Permit name conflicts in users table.  https://review.openstack.org/13357100:15
krotscheckOk, I think I have the pieces figured out now.00:15
persiar1chardj0n3s: In that situatiom. I'd agree.  I was just wondering about procedure.00:16
r1chardj0n3syup :)00:16
krotscheckr1chardj0n3s: Wait a sec, what’s up with LaunchpadWriter?00:16
krotscheckOh, right00:17
krotscheckargh00:17
r1chardj0n3skrotscheck: write_user maps username to openid00:17
krotscheckhrm00:17
r1chardj0n3syeah00:17
krotscheckGood catch00:17
persiaI'm a bit surprised that "Incomplete (with response)" maps to 'invalid', as I usually only saw that in cases where the reporter didn't have an LP ACL grant, but it is a corner case.00:18
krotscheckr1chardj0n3s: You should -1 that00:23
r1chardj0n3skrotscheck: ok00:24
* krotscheck tries to figure out a different way of uniquely identifying launchpad users :/00:29
persiaAll valid and current accounts should have a unique ~ entry in their OpenID URL.00:30
persiae.g. the "persia" in "https://launchpad.net/~persia"00:32
persiaAlthough this doesn't map to person, just LP ID00:32
persiaErr, LP *account*00:32
persiakrotscheck: Rather then wracking your brain, perhaps try #launchpad.  I'm happy to prod discussion, if that helps.00:37
krotscheckpersia: Yeah, already found that and am running a test migration now to see how that works out.00:37
* persia delays the attempt to invoke wgrant00:40
krotscheckWow, these ID’s are so inconsistent...00:42
persiaHow do you mean?00:42
krotscheckSOmetimes, the ~ name is a self-set username, sometimes it’s a firstname/lastname combo, somtimes it’s first initial last name, sometimes it’s first name + random characters.00:45
persiaIt is one of a) Debian username, b) self-selected value, c) something parsed from some commit message in some VCS mangled to not conflict with a & b00:46
krotscheckThat seems sane.00:46
* krotscheck might be sarcastic00:46
persiaNote that there's some historical messiness there, in that folk self-selecting after the VCS import thing happened had a restricted set, and newer Debian developers may not have gotten their name.00:46
persiaAll of it seemed like a good idea at the time :)00:47
persia(at least to some folk)00:47
krotscheckEither way, the point is that in the loader scripit (as r1chardj0n3s pointed out) the hash key to resolve the openid url was in no way related to the input parameter, so I fixed that.00:47
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Permit name conflicts in users table.  https://review.openstack.org/13357100:47
krotscheck‘cause really, if we’re going to say: We use this variable to get an openid and don’t want to repeat ourselves, storing it on a different variable makes NO sense.00:48
r1chardj0n3sso we want to try to retain that uinique user_link value in the import?00:49
persiaIt is the only thing LP promises to be unique00:50
r1chardj0n3sseems like it'd be a good idea to retain even for just-in-case00:50
persiaPre-OpenID, that was the token we used to track ability to do things in LP (so an app would check the permissions for a user based on LP group, using the LP ID as a unique string)00:51
krotscheckIt really feels like we’ve got two unique identifiers here, the web_link and the openid.00:52
krotscheckUnfortunately launchpad has demonstrated that occasionally the openid can change.00:53
persiaOr be reassigned.00:53
krotscheckRIght.00:53
krotscheckWHICH IS STUPID.00:53
persiaIt's probably safer to track web_link00:53
persiaNote that this *can also* change, but the process is a bit more complex00:53
krotscheckThat would require a rather aggressive change to our data model.00:53
krotscheckOk, so what you’re saying is that launchpad doesn’t actually provide any kind of reliable unique idneifier for a user?00:54
r1chardj0n3sI think user_link is it00:54
r1chardj0n3ser web_link00:54
persiaI'm saying that we used to use the LP ID (the string after the ~ in home pages) to identify, but that the LP UI provides a way to adjust that.00:54
persiaIf we want a real answer, I think we need to ask in #launchpad.  I'm happy to ask, and know folk there, but need to sleep soon given the timezone in which I work tomorrow, so think it would be good to have a wider audience follow up my initial queries.00:55
krotscheckRight00:55
krotscheckI have to go as well, let’s restart this in the morning.00:56
* krotscheck will ponder.00:56
krotscheckand this discussion should probably end up in infra00:56
krotscheckToodles everyone00:56
r1chardj0n3scya krotscheck00:56
persiaThe folk with the answers are all in the antipodes, so it has to be tomorrow night00:56
persia(for folk on the east coast of the pacific ocean, at least)00:56
persiaOr, I suppose, late afternoon ,depending on one's latitude00:57
*** Viswanath has joined #storyboard02:23
*** miqui has joined #storyboard02:24
*** Viswanath has quit IRC02:26
*** timrc is now known as timrc-afk02:32
*** timrc-afk is now known as timrc03:27
*** timrc is now known as timrc-afk03:28
*** miqui has quit IRC05:11
*** k4n0 has joined #storyboard05:39
*** jtomasek has joined #storyboard07:24
*** alexismonville has joined #storyboard08:49
*** alexismonville has quit IRC09:24
*** yolanda has quit IRC09:46
*** yolanda has joined #storyboard10:05
*** miqui has joined #storyboard13:50
*** mattfarina has joined #storyboard14:49
*** openstackgerrit has quit IRC14:55
*** k4n0 has quit IRC15:27
*** timrc-afk is now known as timrc16:03
krotscheckSo, examining our use case of migration, I’m not concerned with storing the openid or the launchpad ~ name.16:09
krotscheckMigrations are likely to only happen at discrete points, and unless the ~ names or the openids chnage in that timeframe, we stop caring after the migration is complete.16:09
krotscheckNow, we may have some odd situations because we’re migrating in batches, but the worst that’ll happen there is that we’ll end up with some duplicate user records that willr equire a manual merge of those records.16:10
krotscheckAnd we’ll have to support something like that anyway.16:10
krotscheckttx: If you’re around, we’ve got a couple of reviews for ya. The review chain starts here: https://review.openstack.org/#/c/133542/216:13
persiaSo you are giving up on actual uniqueness, figuring that the chance of change in a migration timeframe is small?16:15
krotscheckYep. And there is no serious downside that we can’t mitigate with features we need anyway.16:19
persiaMakes sense.  Are you planning to pull from one of the less-used LP instances, or the normal one?16:20
ttxkrotscheck: on it16:34
krotscheckttx: Thanks16:34
ttxkrotscheck: quick question: what purpose does line 29 serve in https://review.openstack.org/#/c/133571/5/storyboard/db/migration/alembic_migrations/versions/029_strip_user_constraints.py ?16:37
krotscheckttx: None!16:37
ttxah!16:37
krotscheckttx: Just a sec.16:37
* ttx holds16:38
krotscheckttx: Fixed16:41
ttx+216:42
ttxthe first one merged16:42
krotscheckwoot16:43
* krotscheck waits for jenkins to go through before poking fungi one last time.16:44
*** Viswanath has joined #storyboard16:53
*** Viswanath has quit IRC16:56
*** mgagne has left #storyboard17:44
*** openstackgerrit has joined #storyboard17:48
*** yolanda has quit IRC19:14
*** yolanda has joined #storyboard19:32
*** yolanda has quit IRC19:32
*** yolanda has joined #storyboard19:32
*** yolanda_ has joined #storyboard19:32
openstackgerritA change was merged to openstack-infra/storyboard: Permit name conflicts in users table.  https://review.openstack.org/13357119:43
*** yolanda_ has quit IRC20:58
*** yolanda has quit IRC20:59
krotscheckOk, so infra migration is in progress.21:00
r1chardj0n3s\o/21:00
*** Viswanath has joined #storyboard21:09
*** Viswanath has quit IRC21:12
*** miqui has quit IRC21:22
*** r1chardj0n3s is now known as r1chardj0n3s_afk22:17
*** r1chardj0n3s_afk is now known as r1chardj0n3s22:44
*** miqui has joined #storyboard22:50
*** mattfarina has quit IRC23:00

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