Tuesday, 2014-03-11

*** krotscheck has quit IRC03:19
*** david-lyle has joined #storyboard04:08
*** krotscheck has joined #storyboard04:15
*** krotscheck has quit IRC04:52
*** krotscheck has joined #storyboard04:57
*** krotscheck has quit IRC06:00
*** jcoufal has joined #storyboard08:24
*** jcoufal has quit IRC09:00
*** jcoufal_ has joined #storyboard09:00
*** jcoufal_ has quit IRC09:02
*** hashar has joined #storyboard09:09
*** jcoufal has joined #storyboard09:15
*** saju_m has joined #storyboard10:05
*** saju_m has quit IRC10:18
*** saju_m has joined #storyboard10:30
*** saju_m has quit IRC10:54
*** hashar has quit IRC11:17
*** hashar has joined #storyboard11:19
*** hashar has quit IRC11:57
*** david-lyle has quit IRC12:21
*** miqui has quit IRC12:29
*** hashar has joined #storyboard13:14
openstackgerritNikita Konovalov proposed a change to openstack-infra/storyboard: Only public user fields in unauthorized requests  https://review.openstack.org/7858613:24
*** mfer has joined #storyboard13:37
*** jcoufal has quit IRC13:50
*** david-lyle has joined #storyboard14:26
*** krotscheck has joined #storyboard14:29
*** jcoufal has joined #storyboard14:40
*** jcoufal has quit IRC15:06
*** jcoufal has joined #storyboard15:07
*** jcoufal has quit IRC15:12
*** jcoufal has joined #storyboard15:13
*** jcoufal has quit IRC15:25
*** miqui has joined #storyboard15:33
*** krotscheck has quit IRC15:41
openstackgerritA change was merged to openstack-infra/storyboard-webclient: Creating a new story now requires authentication.  https://review.openstack.org/7939015:50
openstackgerritA change was merged to openstack-infra/storyboard-webclient: Fixed padding on modals.  https://review.openstack.org/7939315:50
openstackgerritA change was merged to openstack-infra/storyboard-webclient: Clean-up the address-bar after auth  https://review.openstack.org/7895315:50
openstackgerritA change was merged to openstack-infra/storyboard-webclient: Added UI switches for authentication state.  https://review.openstack.org/7947815:50
openstackgerritA change was merged to openstack-infra/storyboard: Only public user fields in unauthorized requests  https://review.openstack.org/7858615:51
*** jcoufal has joined #storyboard16:00
*** krotscheck has joined #storyboard16:41
krotscheckmordred: When you get a chance can you poke around the s.o.o database and see what's going on in the projects table? My migration seems to have not done anything, and I'm curious as to whether the database was recreated.16:56
krotscheckmordred: I'm pretty certain it hasn't been wiped though - I'm still running into the unique name constraint.16:57
*** david-lyle has quit IRC17:01
mordredkrotscheck: the migrations are blocked on s.o.o17:01
mordredkrotscheck: because the description migration does not work17:01
krotscheckmordred: Ah, gotcha17:02
mordredNikitaKonovalov, SergeyLukjanov ^^ we could really use some help on this17:02
*** jcoufal has quit IRC17:04
krotscheckmordred: Does it look like you'll have time to look at this?17:07
mordredno, I do not17:10
mordredsorry17:10
mordredthis has to be a solved problem somewhere17:10
mordredkrotscheck: I'm going to keep pinging people until I find someone who knows what's up17:15
mordredkrotscheck: I _believe_ this should be accoutned for in all of that new oslo. code that you synced17:16
krotscheckmordred: Well, I si=ynced a lot of it, but I won't admit to fully grokking how all those opportunistic tests are supposed to be set up.17:17
krotscheckHonestly, it's probably my fault.17:17
mordredI'm _sure_ that it's not17:18
krotscheck...oh?17:18
krotscheckWell, that's a relief.17:18
*** miqui has quit IRC17:21
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Logging in with a pre-existing user saves details  https://review.openstack.org/7970517:45
NikitaKonovalovI have no idea why, but after running migrations in master I found that all projects and stories had is_active NULL indatabase17:46
*** hashar has quit IRC17:48
krotscheckNikitaKonovalov: I was working on that the other day, and I'm stumped too. I was able to get the migrations on mysql to work properly by setting server_default.17:49
*** mfer has quit IRC17:50
krotscheckNikitaKonovalov: mordred's working on trying to get an alter_table statement to work properly.17:50
krotscheckNikitaKonovalov: Could it be that the new oslo code makes the migration_patch unecessary?17:51
NikitaKonovalovI'll have a look17:52
krotscheckNikitaKonovalov: https://review.openstack.org/#/c/7920817:52
NikitaKonovalovbut AFAIK the new oslo stuff is about session management, not hacking the engine's behaviour17:52
NikitaKonovalovthe migration_pathch is making drop_column work with sqlite17:54
krotscheckNikitaKonovalov: That's what I figured.17:55
NikitaKonovalovand we will have to maintain some hacks in oslo or in our code utill sqlite itself support drops correctly17:55
krotscheckNikitaKonovalov: I wonder if that patch should get moved to oslo anyway...17:55
krotscheckNikitaKonovalov: Oh, it's already in?17:55
*** david-lyle has joined #storyboard17:56
NikitaKonovalovI have not found any mentions of drop_column there18:01
mordredNikitaKonovalov: so - the new migration we're having problems with is an alter column18:05
mordredwhich sqlite also doesn't do18:05
mordredso we made a hack in the migration to make it pass unit tests - but THAT doesn't work on mysql18:05
mordredhttps://review.openstack.org/#/c/79208/18:05
mordredthat ^^ is what the migration should look like -and works on mysql - but does not work in the unittest18:06
*** mfer has joined #storyboard18:06
mordredso - if we can get the unittest suite happy with that migration in that patch, then we'll be good18:06
krotscheckI don't suppose anyone has an example of a migration that includes an INSERT?18:10
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Replaced first_name and last_name with full_name.  https://review.openstack.org/7972018:34
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard-webclient: Consume full_name rather than first_name and last_name  https://review.openstack.org/7972318:38
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Replaced first_name and last_name with full_name.  https://review.openstack.org/7972019:05
* krotscheck nukes sqllite from orbit19:05
*** imagin has joined #storyboard19:16
*** imagin has quit IRC19:24
*** nastyansk has joined #storyboard19:30
*** nastyansk has quit IRC19:42
*** hashar has joined #storyboard20:17
*** elesan has joined #storyboard20:30
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Added paging to list endpoints  https://review.openstack.org/7975720:37
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Added paging to list endpoints  https://review.openstack.org/7975720:39
*** elesan has quit IRC20:42
krotscheckAnyone here and interested in discussing API design?20:54
krotscheckI'm building on the paging commit I just added, and hit a snag when implementing it in angular20:54
krotscheck...actually, I may be lying.20:55
krotscheckJust a sec.20:55
krotscheckYup, I'm lying.20:57
krotscheckDifferent question. What's the easiest way to get python to convert 0 to "0" rather than "None"?21:00
krotscheckCorrection: Pecan seems to be converting non-set parameters to None, not accepting the defaults.21:06
*** tteggel has quit IRC21:28
*** rainya has quit IRC21:28
*** SotK has quit IRC21:28
*** mfer has quit IRC21:28
*** david-lyle has quit IRC21:28
*** cody-somerville has quit IRC21:28
*** ilyashakhat has quit IRC21:28
*** hashar has quit IRC21:28
*** jeblair has quit IRC21:28
*** openstackgerrit has quit IRC21:28
*** NikitaKonovalov has quit IRC21:28
*** SergeyLukjanov has quit IRC21:28
*** ruhe has quit IRC21:28
*** gothicmindfood has quit IRC21:28
*** pleia2 has quit IRC21:28
*** lifeless has quit IRC21:28
*** jesusaurus has quit IRC21:28
*** mordred has quit IRC21:28
*** wendar has quit IRC21:29
*** ttx has quit IRC21:29
*** ChanServ has quit IRC21:29
*** zaro has quit IRC21:29
*** anteaya has quit IRC21:29
*** robtaylor has quit IRC21:29
*** krotscheck has quit IRC21:30
*** krotscheck has joined #storyboard21:32
*** krotscheck has quit IRC21:35
*** wendar has joined #storyboard21:41
*** tteggel has joined #storyboard21:41
*** ttx has joined #storyboard21:41
*** krotscheck_ has joined #storyboard21:41
*** hashar has joined #storyboard21:41
*** david-lyle has joined #storyboard21:41
*** cody-somerville has joined #storyboard21:41
*** jeblair has joined #storyboard21:41
*** openstackgerrit has joined #storyboard21:41
*** ilyashakhat has joined #storyboard21:41
*** NikitaKonovalov has joined #storyboard21:41
*** SergeyLukjanov has joined #storyboard21:41
*** ruhe has joined #storyboard21:41
*** zaro has joined #storyboard21:41
*** gothicmindfood has joined #storyboard21:41
*** pleia2 has joined #storyboard21:41
*** anteaya has joined #storyboard21:41
*** lifeless has joined #storyboard21:41
*** jesusaurus has joined #storyboard21:41
*** mordred has joined #storyboard21:41
*** robtaylor has joined #storyboard21:41
*** ChanServ has joined #storyboard21:41
*** dickson.freenode.net sets mode: +o ChanServ21:41
*** rainya has joined #storyboard21:41
*** krotscheck_ is now known as krotscheck21:42
*** SotK has joined #storyboard21:44
*** hashar has quit IRC22:01
*** openstackstatus has joined #storyboard22:44
*** che-arne has joined #storyboard22:58
*** david-lyle has quit IRC23:08
jeblairkrotscheck: didn't we used to have some stuff in the db?  http://storyboard.openstack.org/#!/project/list23:16
krotscheckjeblair:23:17
krotscheckjeblair: We do23:17
krotscheckjeblair: mordred is arguing with alembic at the moment, we're having serious issues with database migrations and all the workarounds we have to do for postgres, mysql, sqlite.23:17
krotscheckjeblair: So while the migrations pass in jenkins, they're failing against mysql23:18
jeblairi'm sure you're familiar with some of this; but i think the ideal state would be that we only attempt to support what we test23:19
jeblairand that we test mysql in the gate23:19
jeblairand drop sqlite because it's not designed to be used anyway and makes life hard23:19
krotscheckjeblair: I would LOVE that. I am in no way clueful enough about how oslo and all that sqlalchemy magic works to rip those things out.23:20
*** che-arne has quit IRC23:20
krotscheckjeblair: mordred should probably fill you in on exactly why things there are not-good, I've been waving my hands and hoping he makes the problems go away.23:20
jeblairand mysql tests should probably use a test fixture that creates the db before each test; i think mordred and clarkb were working on that; i'm not certain of the current state23:20
krotscheckjeblair: They do.23:21
krotscheckI believe23:21
jeblairoh i thought mysql wasn't being tested23:21
krotscheckHey man, i can only learn one thing at a time. Oslo was last week, and even that only gave me a cursory intro.23:22
jeblairthere does seem to be a lot of code in there to test mysql23:25
jeblairit's not going to actually run because the username is not actually "openstack_cifail"23:25

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