Sunday, 2011-09-18

*** martine has joined #openstack-dev00:30
*** Binbin has joined #openstack-dev01:11
*** Binbin has quit IRC01:23
rmkHow is access to nova granted via keystone?01:43
*** novas0x2a|laptop has quit IRC01:57
*** lorin1 has joined #openstack-dev02:28
*** lorin1 has quit IRC03:06
*** nati has joined #openstack-dev03:26
*** nati has quit IRC03:45
*** martine has quit IRC04:01
*** hbetts has quit IRC04:15
*** lorin1 has joined #openstack-dev04:44
*** lorin1 has quit IRC04:45
*** jeblair has quit IRC04:46
*** jeblair has joined #openstack-dev04:51
*** nati has joined #openstack-dev05:04
*** jeffjapan has quit IRC05:18
*** nati has quit IRC05:41
*** nati has joined #openstack-dev05:52
*** AhmedSoliman has joined #openstack-dev06:23
*** AhmedSoliman has quit IRC06:35
*** nati has quit IRC06:47
*** nati has joined #openstack-dev06:48
*** nati has quit IRC08:40
*** mszilagyi has joined #openstack-dev08:45
*** mszilagyi has quit IRC08:45
*** AhmedSoliman has joined #openstack-dev09:43
*** Binbin has joined #openstack-dev10:33
*** AhmedSoliman has quit IRC10:41
*** lorin1 has joined #openstack-dev11:29
*** AhmedSoliman has joined #openstack-dev11:56
*** lorin1 has quit IRC12:02
*** Binbin has quit IRC12:24
*** ahmed_ has joined #openstack-dev14:12
*** AhmedSoliman has quit IRC14:16
*** ahmed_ has quit IRC14:22
*** nati has joined #openstack-dev14:49
*** doude has quit IRC15:40
*** tryggvil_ has joined #openstack-dev15:48
*** nati has quit IRC15:52
*** ipl31 has quit IRC16:06
*** ipl31 has joined #openstack-dev16:06
vishyblamar, soren: anyone around?16:21
vishywe have a very annoying issue with our log output16:22
openstackjenkinsProject nova build #1,385: SUCCESS in 3 min 48 sec: https://jenkins.openstack.org/job/nova/1385/18:40
openstackjenkinsTarmac: Some Linux systems can also be slow to start the guest agent. This branch extends the windows agent timeout to apply to all systems.18:40
rmkSorry to ask here (you guys can tell me to stop) -- I'm completely lost on how nova auth ties to keystone.  I'm using the api-paste from keystone but it's unclear to me how to associate nova access via keystone so that it functions in the dashboard.18:53
rmkBlew away the nova db and recreated it with the api paste in place and now the dashboard seems to be able to manage nova but I have no idea why/how.19:05
*** jaypipes has quit IRC19:23
*** jaypipes has joined #openstack-dev19:25
openstackjenkinsProject nova-milestone build #52: SUCCESS in 21 sec: https://jenkins.openstack.org/job/nova-milestone/52/19:27
openstackjenkinsTarmac: Fixes libvirt config drive mapping of user and project.19:27
rmkThis is going to confuse a lot of people.19:27
*** novas0x2a|laptop has joined #openstack-dev19:27
openstackjenkinsProject nova build #1,386: SUCCESS in 3 min 48 sec: https://jenkins.openstack.org/job/nova/1386/19:40
openstackjenkins* Tarmac: Remove vestigial db call for fixed_ips.19:40
openstackjenkins* Tarmac: Fixes the user credentials for installing a config-drive from imageRef19:40
sorenvishy: What is it?19:54
openstackjenkinsProject nova build #1,387: SUCCESS in 3 min 48 sec: https://jenkins.openstack.org/job/nova/1387/20:00
vishysoren: if you raise an exception it always displays the message without kwargs20:23
vishysoren: it seems to be because of the nose plugin for logging exceptions20:24
comstudI'm having a fun issue with scheduler tests20:29
comstudnot obeying the scheduler_driver flag20:29
comstudsetting to simple scheduler doesn't override the default of multischeduler in all cases20:29
vishysoren: it tries to turn the message into a string20:31
vishysoren: then when it is reconstructed for display, we have a try_except that eats the message and displays it ass just the format string20:32
vishyso we get an exception like20:32
vishy"Class %(class_name)s Not Found"20:32
vishywhich is pretty freaking worthless20:32
vishycomstud: is it being set with self.flags()?20:33
comstudvishy: Yeah20:33
comstudwhat's interesting is...20:33
vishythat is weird20:33
comstudwhen I run the whole test_scheduler.py tests... when it does SimpleDriverTestCase tests... each test shows the driver flip flopping back and forth.. (via a print I added in scheduler/manager.py)20:34
comstudbut20:34
comstudwhen I run test_scheduler.py:SimpleDriverTestCase.. it does not20:34
comstudand I have no idea what the difference there is20:35
comstudi found this because some new code I've added requires stubbing something in the tests20:35
comstudso I stub out driver.<some_call>20:35
comstudand it's stubbing out MultiScheduler vs SImpleScheduler20:36
comstudbut it never hits my stub... because the driver switched right after it somehow20:36
comstudalthough20:36
comstudor maybe that's not quite how it is..20:36
comstudin any case...20:37
comstudI decided to make tests change compute_scheduler_driver and volume_scheduler_driver, instead20:37
comstudand leave scheduler_driver be MultiScheduler20:37
comstudso this effectively tests MultiScheduler with the various real schedulers.20:38
comstudwhich is probably a good idea, anyway20:38
sorenvishy: Oh, it's only during testing?21:03
vishyyes21:03
vishybut that is quite annoying when you are fixing tests21:03
sorenvishy: I've seen some weirdness there, too. Removing the constructor of the exception class fixed it, but I couldn't work out why.21:03
vishyit is because the exception constructor doesn't use the normal exception constructor semantics21:04
vishyas in accepting a message21:04
vishynor does it call super21:04
sorenvishy: This was weeks ago. It's been swapped out of working memory a long time ago :)21:05
sorenvishy: Can you call super there?21:05
sorenI wouldn't have thought Exceptions were new-style classes.21:05
vishyyou can call super in new style classes?21:05
sorenErr..21:06
sorenYes?21:06
comstudthey're new style21:06
comstudpretty positive21:06
comstudor at least21:06
comstudsuper definitely works21:06
sorenhttp://docs.python.org/library/functions.html?highlight=super#super21:06
soren"Note super() only works for new-style classes.21:07
soren"21:07
comstudI really want to fix all of the exceptions to use super properly... instead of just setting 'self.message'21:07
soren>>> isinstance(Exception, object)21:07
sorenTrue21:07
sorenClearly.21:07
sorenOh, well.21:07
comstudsetting self.message seems kinda kludgey to me.21:07
sorenI just thought for backwards compat they woulnd't be. Live and learn.21:07
sorenvishy: Anyway, this isn't Diablo critical, so "meh" from me for now.21:09
sorenbbl21:10
vishysoren: agreed, i was just complaining21:10
*** RobertLaptop has quit IRC21:14
*** RobertLaptop has joined #openstack-dev21:18
*** martine has joined #openstack-dev23:06
*** martine has quit IRC23:12
*** jaypipes has quit IRC23:12
*** RobertLaptop has quit IRC23:40
*** asalkeld has quit IRC23:45
*** jeffjapan has joined #openstack-dev23:54
*** asalkeld has joined #openstack-dev23:57

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