Wednesday, 2010-10-06

*** pvo has joined #openstack00:02
*** ChanServ sets mode: +v pvo00:02
*** aliguori has joined #openstack00:06
*** zooko has quit IRC00:10
*** joschi has quit IRC00:20
*** joschi has joined #openstack00:21
*** zul has quit IRC00:23
*** hisaki has joined #openstack00:25
*** aliguori has quit IRC00:25
*** maplebed has quit IRC00:31
*** joearnold has quit IRC00:33
*** xfaf has joined #openstack00:33
*** hazmat has quit IRC00:37
*** hisaki has quit IRC00:43
*** jc_smith has quit IRC00:45
*** ArdRigh has joined #openstack01:16
*** DubLo7 has joined #openstack01:19
*** pvo has quit IRC01:20
*** kevnfx has joined #openstack01:35
*** dagger has quit IRC01:36
*** dagger has joined #openstack01:38
*** pharkmillups has quit IRC01:47
*** sevenseeker has joined #openstack01:54
*** iammartian_ has joined #openstack02:05
*** pvo has joined #openstack02:11
*** ChanServ sets mode: +v pvo02:11
*** pvo has quit IRC02:15
*** mmalgeri has joined #openstack02:17
jpipesphew, well, at least some of the bugs are cleaned up...02:25
*** hazmat has joined #openstack02:31
edayjpipes: cool :)02:32
jpipeseday: :)02:33
*** cloudmeat has joined #openstack02:54
*** DubLo7 has quit IRC02:56
*** joearnold has joined #openstack03:17
*** hazmat has quit IRC03:19
*** DubLo7 has joined #openstack03:23
*** kashyapc has joined #openstack03:23
*** mmalgeri has quit IRC03:30
*** pvo has joined #openstack03:31
*** ChanServ sets mode: +v pvo03:31
*** joearnold has quit IRC03:33
*** littleidea has quit IRC03:37
*** ArdRigh has quit IRC03:37
*** viewlogic_ has joined #openstack03:39
*** DubLo7 has quit IRC03:41
*** viewlogic has quit IRC03:42
*** viewlogic_ is now known as viewlogic03:42
*** viewlogic has joined #openstack03:42
*** Cybodog has quit IRC03:43
*** littleidea has joined #openstack03:58
*** kashyapc has quit IRC04:03
*** DubLo7 has joined #openstack04:15
*** fayce has joined #openstack04:19
*** pvo has quit IRC04:31
*** kashyapc has joined #openstack04:33
*** kevnfx has quit IRC05:01
*** DubLo7 has quit IRC05:11
*** dizz is now known as dizz|away05:20
*** dizz|away has quit IRC05:38
*** perestrelka has joined #openstack05:45
*** iammartian_ has quit IRC05:52
*** ibarrera has joined #openstack05:53
*** skippyish has quit IRC06:00
*** arcane has quit IRC06:13
*** arcane has joined #openstack06:18
*** kainam has joined #openstack06:18
*** guigui has joined #openstack06:37
*** allsystemsarego has joined #openstack06:43
*** joschi has quit IRC06:44
*** mtaylor has joined #openstack06:44
*** ChanServ sets mode: +v mtaylor06:44
*** joschi has joined #openstack06:50
*** joschi has quit IRC06:54
*** befreax has joined #openstack06:58
*** brd_from_italy has joined #openstack07:00
*** littleidea has quit IRC07:02
*** littleidea has joined #openstack07:05
*** joschi has joined #openstack07:10
*** befreax has quit IRC07:23
*** littleidea has quit IRC07:25
*** befreax has joined #openstack07:25
*** befreax has quit IRC07:31
*** befreax has joined #openstack07:31
*** befreax has quit IRC07:41
*** befreax has joined #openstack07:42
*** calavera has joined #openstack07:46
*** ArdRigh has joined #openstack07:56
*** sirp1 has quit IRC07:59
*** suchitp has joined #openstack08:01
*** suchitp has left #openstack08:01
*** sirp1 has joined #openstack08:05
*** sirp1 has quit IRC08:34
*** sevenseeker has quit IRC08:42
*** ptremblett has quit IRC08:56
*** miclorb_ has joined #openstack08:59
*** jonwood has joined #openstack09:16
*** suchitp has joined #openstack09:27
*** suchitp has left #openstack09:27
*** hisaki has joined #openstack09:36
*** miclorb_ has quit IRC09:38
*** f4m8_ is now known as f4m809:39
*** miclorb_ has joined #openstack09:45
*** ptremblett has joined #openstack09:58
*** ArdRigh has quit IRC10:10
*** ptremblett has quit IRC10:22
*** befreax has quit IRC10:31
*** zwned has joined #openstack10:42
*** miclorb_ has quit IRC10:42
*** befreax has joined #openstack10:59
*** Podilarius has left #openstack11:04
*** fayce has quit IRC11:19
*** ttx has joined #openstack11:20
*** ttx has joined #openstack11:20
sorenvishy: I think I've found the problem in libvirt.. Now I just need to think about how to fix it.11:21
*** zwned has quit IRC11:38
*** kashyapc has quit IRC12:14
*** kashyapc has joined #openstack12:15
*** abecc has joined #openstack12:19
*** xfaf is now known as zul12:20
*** zul has joined #openstack12:20
*** abecc has joined #openstack12:20
*** DubLo7 has joined #openstack12:27
chmouelwhat sqlalchemy version you guys using ?12:27
chmouelI am getting those :12:27
chmouel    from nova.db.sqlalchemy import models12:27
chmouelImportError: cannot import name models12:27
chmouelwell i'm retarded that's come from nova cannot importing the module due of that IMPL.user_get_by_access_key12:29
chmoueli guess i'll report a bug12:29
*** faccenda has joined #openstack12:33
*** pvo has joined #openstack12:39
*** ChanServ sets mode: +v pvo12:39
sorenchmouel: Eh?12:40
chmouelsoren: yeah I was not clear, should be better on here https://bugs.launchpad.net/bugs/65569912:41
uvirtbotLaunchpad bug 655699 in nova "Cannot import nova.db.sqlalchemy.models" [Undecided,New]12:41
uvirtbotNew bug: #655699 in nova "Cannot import nova.db.sqlalchemy.models" [Undecided,New] https://launchpad.net/bugs/65569912:41
sorenchmouel: Does /usr/lib/pymodules/python2.6/nova/db/sqlalchemy/models.py exist?12:42
chmouelyeah i checked that, it's the import magic that does not work12:43
chmouelcf: exception in the bug12:44
hisakiin my case, python-sqlalchemy 0.5.x in ubuntu10.04.1 does not work. I needed to download the latest one 0.6.412:44
sorenhisaki: Yup, at least 0.6.3 is required.12:44
chmouelsweet i get 0.6.412:44
sorenchmouel: What "import magic" are you referring to?12:45
sorenchmouel: That's a plain "from nova.db.sqlalchemy import models" right there.12:45
*** alekibango has quit IRC12:47
*** alekibango_ has joined #openstack12:47
chmouelwell I am sure nova.db.sqlalchemy.models is on the filesystem :12:49
chmouelchmouel@chmoutest:~$ python -m nova.db.sqlalchemy.models12:49
chmouelchmouel@chmoutest:~$12:49
chmouelI am assuming the nova.utils.import_class() is doing some processing before importing a module which cause the exception12:50
sorenI can only repeat what I said yesterday: You have the weirdest environemnt. You can create backtraces noone else can :)12:54
sorenWhich rev is this?12:54
chmouelah I have a completely blank testing server12:54
sorenRunning which OS?12:55
chmouelthat's the package 0.9.1~r331-0ubuntu0ppa1~lucid1 ubuntu lucid12:55
chmouelwith all updates installed12:55
* soren goes downstairs to his lucid box12:56
chmoueland I have nothing picked up from /usr/local or others :12:56
chmouel>>> import nova.db.sqlalchemy.models12:56
chmouel>>> print nova.db.sqlalchemy.models.__file__12:56
chmouel/usr/lib/pymodules/python2.6/nova/db/sqlalchemy/models.pyc12:56
*** hazmat has joined #openstack12:56
chmouelI don't mind using maverick if that's what you guys using12:57
sorenLucid should work as well. I've put quite a bit of effort into that.12:57
*** jdarcy has joined #openstack12:59
chmouelif you don't have anything from the top of your head i'll dig into it a bit more...13:00
sorenFiring up my lucid box right now.13:01
*** pvo has quit IRC13:03
* soren waits patiently for apt-get upgrade to finish.13:04
*** Podilarius has joined #openstack13:08
chmouelok men nevermind13:08
chmoueli think it's because nova.db.sqlalchemy.api is missing from the package13:08
chmouelpackages13:08
chmouelso the LazyPluggable is trying to import it before module get inserted13:08
soren$ dpkg -L python-nova | grep sqlalchemy13:09
soren/usr/share/pyshared/nova/db/sqlalchemy13:09
soren/usr/share/pyshared/nova/db/sqlalchemy/__init__.py13:09
soren/usr/share/pyshared/nova/db/sqlalchemy/models.py13:09
soren/usr/share/pyshared/nova/db/sqlalchemy/session.py13:09
soren/usr/share/pyshared/nova/db/sqlalchemy/api.py13:09
sorenIt's right there, dude.13:09
soren...and I can't reproduce.13:10
chmouelah that's because I run the api server as user and not as root13:11
chmouelso could not import nova.db.sqlalchemy.api since database was not accecible13:11
chmoueland locked13:11
chmouelthen fail13:11
chmoueland I think I messed around too much to try to figure out what's going on and my api.py was not there at 1st13:12
chmoueli'll set that bug as invalid again...13:13
sorenAlright.13:14
* soren needs to run13:14
*** Cybodog has joined #openstack13:19
*** pvo has joined #openstack13:22
*** pvo has joined #openstack13:22
*** ChanServ sets mode: +v pvo13:22
jpipessoren: afternoon :)13:25
*** aliguori has joined #openstack13:25
*** dendro-afk is now known as dendrobates13:25
jpipesannegentle: heya, assigned this bug to you: https://bugs.launchpad.net/nova/+bug/615518 (it's a documentation fix for Nova) ok with you?13:29
uvirtbotLaunchpad bug 615518 in nova "unit test nova.tests.auth_unittest.AuthTestCase.test_209_can_generate_x509  failing on Mac OS X" [Low,Confirmed]13:29
*** cloudmeat has quit IRC13:31
*** sevenseeker has joined #openstack13:35
*** ___mattf is now known as mattf13:36
alekibango_annegentle: ping (hello, are u here?)13:42
faccendahi people, is there any mailing list where swift users exchange experiences?13:43
alekibango_faccenda: see https://launchpad.net/~swift   (for team members) and http://wiki.openstack.org/MailingLists13:45
pvofaccenda: there is a list. https://launchpad.net/~swift13:45
faccendayeah, pvo, but this one is for team members only... doest it can be used for users?13:46
faccendaalekibango_: thanks ;)13:46
*** xfaf has joined #openstack13:46
alekibango_faccenda: this one: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-users13:46
pvoalekibango_ is right, thats the more appropriate one.13:47
alekibango_np13:47
*** zul has quit IRC13:47
*** xfaf is now known as zul13:47
*** alekibango_ is now known as alekibango13:47
*** zul has quit IRC13:47
*** zul has joined #openstack13:47
*** littleidea has joined #openstack13:51
faccendabut since i am here... i'd like to ask you if you don't mind... i am interested on running a large S3 compliant storage service13:52
faccendaand i think swift would fit it really well... i already have it running on a setup with 5 machines just for some functional validation...13:54
*** kevnfx has joined #openstack13:54
*** kevnfx has left #openstack13:55
alekibangofaccenda: i didnt study swift much, but (unlike nova) swift is already used in production... and is useable13:55
chmouelso I am trying to run euca-run-instances and it seems to get stuck  after doing a :13:55
chmouelsendto(3, "POST /services/Cloud/ HTTP/1.1\r\n"..., 331, 0, NULL, 0) = 33113:55
chmouelsendto(3, "AWSAccessKeyId=b7714b98-479e-470"..., 347, 0, NULL, 0) = 34713:55
alekibangofaccenda: openstack is targeted to size up to 10^6 machines13:56
faccendait can sound really dumb, but i just cant say it is really working because i don't know how to create a bucket, upload a file and then download it13:56
chmoueli can't see anything in the debug13:56
chmouelwhere this is suppoed to go to ?13:56
faccendai tryied some 's3 clients'13:56
chmouelfaccenda: some s3 clients with swift ?13:56
faccendachmouel: is it supposed to work?13:57
chmouelfaccenda: no13:57
alekibangofaccenda: user documentation on openstack is really not there yet. i think we should improve this.13:57
chmouelfaccenda: aside if someone had coded a wrapper for s3 api to rackspace api13:57
chmouelfaccenda: but i doubt it13:57
alekibangoi am willing to help with nova docs - but i feel a bit incompetent too13:57
chmouelfaccenda: there is a command line tool you can use in swift to help you test13:57
faccendachmouel: are you talking about the st command?13:58
chmouelfaccenda: yes13:58
alekibangofaccenda: there are some tools that can abstrack rackspace api13:58
alekibangobut i never used them13:58
faccendachmouel: so the swift interface isnt really s3 compliant?13:58
chmouelfaccenda: no13:58
alekibangowill it be? why ?13:58
faccendachmouel: i guess i misunderstood that13:59
*** ppetraki has joined #openstack13:59
*** f4m8 is now known as f4m8_14:00
chmoueli guess there is some legal reason but prob creith can tell more abou tit14:00
chmouel^^ creiht14:00
uvirtbotchmouel: Error: "^" is not a valid command.14:00
faccendaalekibango: can you point me someone?14:02
alekibangofaccenda: maybe try asking few hours later14:06
alekibangothis is the place to ask, but they are busy/away14:06
alekibangoor use the mailing list14:07
faccendaalekibango: fine. thanks ;) thank you chmouel too14:09
alekibangonp14:09
*** hisaki has quit IRC14:13
*** adjohn has quit IRC14:17
*** mdomsch has joined #openstack14:19
*** iammartian has quit IRC14:26
*** befreax has quit IRC14:30
*** jonwood_ has joined #openstack14:40
*** jonwood has quit IRC14:41
*** jonwood_ is now known as jonwood14:42
*** gondoi has joined #openstack14:43
*** gundlach has joined #openstack14:45
*** rnirmal has joined #openstack14:47
*** Ryan_Lane has joined #openstack14:51
*** pharkmillups has joined #openstack14:57
*** viewlogic has quit IRC14:58
*** sirp1 has joined #openstack15:00
*** sevenseeker has quit IRC15:05
*** littleidea has quit IRC15:05
*** befreax has joined #openstack15:05
*** kashyapc has quit IRC15:12
*** pharkmillups has quit IRC15:18
*** calavera has quit IRC15:20
*** pharkmillups has joined #openstack15:21
creihtfaccenda: howdy15:25
*** kevnfx has joined #openstack15:25
creihtfaccenda: The swift api is the same as the Rackspace cloudfiles api15:25
creihtso anything that works with the cloudfiles api can work with swift, if the tool allows you to set which auth server to use15:26
creihtif you are on a mac, cyberduck is a good tool to try15:26
creihtswift includes a commandline tool called st that can interface with swfit15:27
creihtrunning st with no options will print out the options15:27
chmoueli think he was looking specifically S3 compatibility with swift15:27
creihtchmouel: I'm getting there :)15:27
creihtas to S3 compatibility, we (the RS swift team) have no plans to add one, but are not against someone adding an S3 compatibility layer15:28
creihtif someone were to add such a feature, I'm sure they would get muc <3 from the community15:29
creihtmuch15:29
*** dendrobates is now known as dendro-afk15:29
chmoueli think s3 should add  a swift compat layer :)15:29
creihtand if somone were to want to add such a feature, we can point you in the right direction15:29
creihthah15:29
*** blpiatt has quit IRC15:33
*** dendro-afk is now known as dendrobates15:39
*** ctennis has quit IRC15:43
*** maplebed has joined #openstack15:45
*** odyi has quit IRC15:50
*** jbarratt has quit IRC15:50
*** odyi has joined #openstack15:50
*** jbarratt has joined #openstack15:50
*** Xenith has quit IRC15:50
*** Xenith has joined #openstack15:50
*** jero has quit IRC15:51
*** jero has joined #openstack15:51
*** ibarrera has quit IRC15:52
*** ibarrera has joined #openstack15:52
*** ctennis has joined #openstack15:55
*** brd_from_italy has quit IRC16:03
edayhmm, our pylint and pep8 numbers have been going back up :(16:03
*** iammartian has joined #openstack16:06
mtayloreday: did we never get those to zero?16:10
sorenmtaylor: HAHAHHA!16:10
sorenmtaylor: I mean.. No.16:10
mtaylorsoren: :)16:10
*** mdomsch has quit IRC16:11
faccendacreiht: i am on a mac and i tryied cyberduck, but it seems to not allow me to change the hostname when i choose 'rackspace cloud files'. do i need to put something on my /etc/hosts file?16:14
*** guigui has quit IRC16:15
faccendaand yeah, i do need something really scalable that offers a S3 interface specifically as chmouel said.16:16
faccendareading more carefully my guess is that Nova (http://nova.openstack.org/) can do the job16:17
edaymtaylor: heh, we were doing pretty well, but not recently16:18
creihtfaccenda: I don't have a mac, and thus haven't tried cyberduck, but as I understand, there is supposed to be an option to set the auth server16:19
faccendabut it seems to be incipient and a overkill since i only need the storage layer16:19
creihtare you running the latest version?16:19
*** Ryan_Lane is now known as Ryan_Lane|food16:19
notmynamefaccenda: there are some instructions on at swift.openstack.org for making cyberduck work16:19
creihtand the nova s3 like storage is mainly meant just for dev (as I understand)16:19
creihtah yes... http://swift.openstack.org/howto_cyberduck.html16:20
creihtnotmyname: thanks for reminding me :)16:20
notmynamefaccenda: http://swift.openstack.org/howto_cyberduck.html16:20
faccendacreiht and notmyname: thanks ;)16:20
*** Ryan_Lane|food has quit IRC16:20
creihtlunch time :)16:21
*** joearnold has joined #openstack16:27
*** littleidea has joined #openstack16:30
jdarcyIs there an OpenStack page describing the Swift API, or should I continue using http://www.rackspacecloud.com/cloud_hosting_products/files/api?16:43
*** ibarrera has quit IRC16:44
*** joearnold has quit IRC16:47
*** burris has quit IRC16:47
*** joearnold has joined #openstack16:51
*** kashyapc has joined #openstack16:54
*** littleidea has quit IRC16:58
*** Abd4llA has joined #openstack16:58
*** littleidea has joined #openstack16:59
*** joearnold has quit IRC17:02
*** cloudmeat has joined #openstack17:05
alekibangodendrobates: i have seen your interview on floss weekly 128 - and it really resonated with me :)  thank you  for the good work you are doing...17:07
*** kevnfx has quit IRC17:09
*** kevnfx has joined #openstack17:11
*** cloudmeat has quit IRC17:11
*** mdomsch has joined #openstack17:15
*** burris has joined #openstack17:15
*** kevnfx has quit IRC17:15
*** jakedahn has joined #openstack17:15
*** cloudmeat has joined #openstack17:15
*** jakedahn has joined #openstack17:16
*** kevnfx_ has joined #openstack17:17
vishysoren: any luck fixing?17:18
*** cloudmeat has quit IRC17:19
*** joearnold has joined #openstack17:22
*** Ryan_Lane has joined #openstack17:28
*** burris has quit IRC17:30
*** joearnold has quit IRC17:30
*** burris has joined #openstack17:32
*** joearnold has joined #openstack17:34
*** jc_smith has joined #openstack17:34
creihtjdarcy: yeah that is the best source for the moment17:35
*** ttx has quit IRC17:35
*** pharkmillups has quit IRC17:35
creihtWe are planning on making a doc for swift, but haven't gotten to it yet17:35
jpipesw00t. http://paste.openstack.org/show/49/17:36
jdarcyOK, thanks creiht.17:37
*** kashyapc has quit IRC17:40
*** sevenseeker has joined #openstack17:44
*** jpipes is now known as jpipes-afk17:44
annegentlejpipes: thanks for the heads-up Jay, I'm in Rookie-O this week but should be able to take the bug on headfirst17:50
*** johnbergoon has joined #openstack17:58
*** joearnold has quit IRC17:59
*** Abd4llA has quit IRC18:01
*** joearnold has joined #openstack18:02
*** pharkmillups has joined #openstack18:04
*** ppetraki is now known as ppetraki-lunch18:05
*** rlucio has joined #openstack18:11
rluciojust wondering, has anyone noticed some funkiness in the way nova-manage is working right now?18:13
rluciousers are being created in redis, but project creation is looking for users in sqllite and then barfs (since they are in redis)18:14
*** Abd4llA has joined #openstack18:16
rluciohas anyone else seen this issue?  I'm wondering if i have some sort of config issue18:16
*** jakedahn has quit IRC18:19
*** jakedahn has joined #openstack18:20
*** gondoi_ has joined #openstack18:22
*** sagi_ has joined #openstack18:22
*** rlucio has quit IRC18:23
edayrlucio: the auth DB and instance datastore were separate, but the 'redisectomy' branch just went in which removed redis support entirely18:24
edaydoh18:24
*** gondoi__ has joined #openstack18:25
zulgood thing i havent merged yet :)18:25
*** gondoi has quit IRC18:25
*** gondoi__ is now known as gondoi18:25
*** gondoi_ has quit IRC18:26
*** jakedahn has quit IRC18:26
*** rlucio has joined #openstack18:34
rlucioeday: so then if i update to HOL then the redis issue should go away?18:34
*** kevnfx_ has quit IRC18:39
*** Podilarius has quit IRC18:40
edayrlucio: redis will go away, hopefully other issues too :)18:41
*** rlucio_ has joined #openstack18:42
*** jonwood has quit IRC18:42
*** rlucio has quit IRC18:43
*** jonwood has joined #openstack18:44
*** rlucio_ is now known as rlucio18:44
*** Podilarius has joined #openstack18:46
Abd4llAhi guys18:47
Abd4llAIs this page up to date ? http://wiki.openstack.org/InstallFromSource18:47
*** cloudmeat has joined #openstack18:52
*** gaveen has joined #openstack18:54
*** gaveen has joined #openstack18:54
sorenvishy: I succesfully identified the cause, chatted with upstream about a solution, and rumour has it there might be a patch in my inbox. Gimme 20 minutes to test.18:55
gundlachi've been playing with APIRequestContext for the last few hours, and have been thinking.  Would it make sense to have two different Contexts?  One for use in the API and in rabbit -- a plain dict containing minimal info -- and a richer one for use in workers who need to check details of projects etc.18:55
gundlachthe code that pulled the request out of rabbit would turn it into a full-fledged context object.18:56
gundlachright now, we have backend code import api in order to instantiate context objects, which seems badly coupled18:56
alekibangoAbd4llA: novascript (from vishy) works on ubuntu and debian, if you dont use USE_VENV...  and contains usefull and readable code - which might help you18:57
gundlachI had started down the path of making all contexts a plain dict, but then there are several places that use methods on context.project18:57
alekibangoAbd4llA: nova documentation is really not good at the moment, but it will improve soon (i hope)18:58
alekibangoannegentle: are u here? :)18:58
notmynamealekibango: she's in new hire orientation all week19:00
alekibangoha, she pvntmsged me19:02
alekibangonotmyname: i know, thanks :)19:02
Abd4llAalekibango, and is it possible to install inside a VirtualBox VM ? Or it should be  on bare metal ?19:02
alekibangoAbd4llA: nova can run inside Vbox if you use QEMU or UML virtualisation19:02
alekibangobut vbox is not that great :)19:02
alekibangoand qemu is slow like hell19:03
Abd4llAalekibango, do u suggest any alternative ?19:03
*** ppetraki-lunch is now known as ppetraki19:04
*** littleidea has quit IRC19:04
alekibangoAbd4llA: KVM or XEN19:05
alekibangoKVM is easier to work with (needs hw virt support), xen is a bit faster one19:05
alekibangoi would like vbox if it had all parts open -- including the seamless window integration...19:06
*** sophiap has quit IRC19:07
*** joearnold has quit IRC19:07
*** londo_ has quit IRC19:08
*** londo_ has joined #openstack19:08
alekibangoAbd4llA: http://github.com/vishvananda/novascript19:11
alekibangoAbd4llA: that script will help you get running19:12
alekibangou should user root user for running it19:12
alekibangoand dont use USE_VENV19:12
gundlachjpipes-afk, devcamca-: i must have missed something.  Does Devin's code in trunk really fix https://bugs.launchpad.net/nova/+bug/644092 ?  I still see empty contexts passed all over the place in trunk.19:13
uvirtbotLaunchpad bug 644092 in nova "authorization not checked in ec2 api" [High,Fix committed]19:13
*** cloudmeat1 has joined #openstack19:13
gundlachmaybe the DeprecationWarnings are what this is referring to?19:13
*** jakedahn has joined #openstack19:15
*** cloudmeat has quit IRC19:15
*** gundlach has quit IRC19:18
Abd4llAalekibango, thnx alot19:20
*** cloudmeat has joined #openstack19:20
*** cloudmeat1 has quit IRC19:21
sorenvishy: /win 9919:21
sorenWhoops.19:21
* creiht wonders if soren actually has 99 irssi tabs19:22
soren133.19:23
sorenSorry, 131.19:23
creihtwhoa19:24
sorenvishy: I understand the problem well enough now to work around it, though.19:24
sorenvishy: So, the problem occurs if you're firing up a new vm that references a filter that your are updating at roughly the same time.19:27
sorenvishy: "roughly" because the window of opportunity is pretty large. The time from issuing the virDomainCreateXML until it actually starts is the critical section.19:28
sorenvishy: So, as you suggested, making sure only one API call happens at the same time should do it.19:29
*** cloudmeat has quit IRC19:30
*** cloudmeat has joined #openstack19:34
*** pharkmillups has quit IRC19:36
vishysoren: weird, i changed the process pool to one and it still seemed to be hanging19:41
sorenvishy: You sure nothing is using virsh on the side anymore?19:42
sorenvishy: I honestly don't remember.19:42
vishysoren: nothing is using virsh when we launch19:42
vishysoren: attach volumes does, but it was hanging without volumes in the mix19:43
vishysoren: maybe there is some ovelap even with process pool = 119:43
sorenvishy: I /think/ all the calls involved are blocking (seen from the API side).19:43
sorenvishy: ..but perhaps not.19:43
sorenvishy: The filter updates may async.19:44
* soren checks19:44
vishysoren: there must be a place we can stick in a simple locking mechanism19:45
faccendadoes anyone can tell if it is possible to have a 'S3-like only' setup with Nova on which i can add storage nodes dynamically?19:49
creihtfaccenda: you can only do that with swift19:51
*** befreax has joined #openstack19:52
faccendacreiht: yeah, but I need a S3 interface... i thought maybe Nova could use Swift as a backend somehow...19:53
creihtNova will use the swift backend, but will use the swift apis19:53
faccendabut right now i uses the native filesystem, right?19:54
faccenda*it19:54
creihtnova or swift?19:54
faccendanova19:54
creihtthat I do not know19:54
faccendathank you anyway19:55
*** johnpur has joined #openstack19:57
*** ChanServ sets mode: +v johnpur19:57
*** cloudmeat has quit IRC20:01
*** sophiapmobile has joined #openstack20:02
*** cloudmeat has joined #openstack20:03
*** sophiapmobile has quit IRC20:06
*** cloudmeat has joined #openstack20:07
*** rlucio has quit IRC20:14
*** burris has quit IRC20:14
*** jonwood has quit IRC20:20
sorenvishy: I'm afraid the patch from upstream was a dud.20:25
vishy:(20:25
vishyyou tried a patch and it didn't fix?20:26
sorenIt made it worse.20:26
sorenWay, way, way worse.20:26
sorenSo, not today.20:26
sorenI think adding a delay after defining filters would help.20:26
soren...but that really sucks.20:27
sorenvishy: https://www.redhat.com/archives/libvir-list/2010-October/msg00139.html <--- Analysis and (useless) patch, if you're interested.20:28
*** joearnold has joined #openstack20:28
*** jpipes-afk is now known as jaypipes20:28
vishyhmm20:28
vishydo you see an easy way we can lock from python code?20:29
sorenNot right now, no.20:29
sorenI haven't really been focused on that sort of thing, though. There may be something we can do that I just haven't thought of yet.20:30
vishywe really need a workaround20:30
vishyright now it is disable security groups20:31
vishywhich probably won't fly20:31
sorenvishy: I really want to help you out (I've spent the entire day on this!), but I really just don't have any magic tricks up my sleeve right now.20:33
sorenvishy: Other than arbitrary sleeps in between libvirt calls.20:33
*** cloudmeat has quit IRC20:33
sorenHmm... No gundlach?20:33
*** cloudmeat has joined #openstack20:34
*** mattf is now known as ___mattf20:35
*** littleidea has joined #openstack20:37
*** littleidea has quit IRC20:40
*** burris has joined #openstack20:41
*** allsystemsarego_ has joined #openstack20:48
*** littleidea has joined #openstack20:48
vishysoren: arbitrary sleeps sounds good right now!20:48
vishy:)20:49
*** allsystemsarego_ has quit IRC20:50
*** allsystemsarego_ has joined #openstack20:50
*** ctennis has quit IRC20:50
*** allsystemsarego has quit IRC20:50
*** allsystemsarego has joined #openstack20:53
*** allsystemsarego has joined #openstack20:53
*** allsystemsarego_ has quit IRC20:55
sorenvishy: lol20:55
*** sophiap has joined #openstack20:59
*** kevnfx has joined #openstack21:02
*** ctennis has joined #openstack21:03
*** pharkmillups has joined #openstack21:13
*** ArdRigh has joined #openstack21:22
*** dendrobates is now known as dendro-afk21:24
*** faccenda has quit IRC21:24
*** dendro-afk is now known as dendrobates21:27
*** kevnfx has quit IRC21:28
*** rlucio has joined #openstack21:31
Abd4llAI need help :)21:33
*** cloudmeat1 has joined #openstack21:33
Abd4llAI installed openstack from the novascript21:33
Abd4llAand when I try euca-run-instances -k test -t m1.tiny ami-tiny21:33
Abd4llAcompute throughs and exception21:33
*** cloudmeat has quit IRC21:34
Abd4llA2010-10-06 23:32:08+0200 [-]   File "/root/novascript/nova/nova/compute/manager.py", line 86, in run_instance21:34
Abd4llA2010-10-06 23:32:08+0200 [-]     yield self.driver.spawn(instance_ref)21:34
Abd4llA2010-10-06 23:32:08+0200 [-] AttributeError: 'int' object has no attribute 'startswith'21:34
*** miclorb_ has joined #openstack21:36
*** jdarcy has quit IRC21:38
*** MrKohonen has joined #openstack21:41
*** jakedahn has quit IRC21:42
MrKohonenHi, I have a problem deploying my first image...21:43
MrKohonenxceptions.TypeError: virDomainLookupByName() argument 2 must be string or None, not long21:44
MrKohonenI'm using the default branch of the novascript, so I don't know if it's my fault or not21:45
MrKohonenany ideas?21:45
MrKohonenI'm installing inside VBox and it's failing libvirt + qemu: http://pastebin.com/eLBpWVHd21:49
*** cloudmeat1 has quit IRC21:54
*** kevnfx has joined #openstack21:56
*** kevnfx has left #openstack21:56
*** MrKohonen has quit IRC21:58
*** cloudmeat has joined #openstack21:59
*** allsystemsarego has quit IRC22:01
*** littleidea has quit IRC22:03
*** mdomsch has quit IRC22:05
uvirtbotNew bug: #656012 in nova "euca-run-instances fails running sample novascript in VBox with qemu" [Undecided,New] https://launchpad.net/bugs/65601222:06
*** ppetraki has quit IRC22:11
*** cloudmeat has quit IRC22:14
*** gondoi has quit IRC22:16
alekibangoAbd4llA maybe you should try with sqlite first22:21
Abd4llAalekibango, I'm having that same bug that was just posted22:21
Abd4llAhttps://launchpad.net/bugs/65601222:21
uvirtbotLaunchpad bug 656012 in nova "euca-run-instances fails running sample novascript in VBox with qemu" [Undecided,New]22:21
alekibangovishy: please look there22:21
*** jakedahn has joined #openstack22:24
alekibangoAbd4llA: it fails in line 86 of nova/compute/manage.py  ... might be some new bug :)22:27
alekibangoAbd4llA: if you will try nova version from yesterday, it might work :)22:28
Abd4llAok, gonna try :)22:28
vishyalekibango:22:28
vishycan one of you change the logging.exception on line 91 of nova/network/manager.py to logging.error22:29
alekibangoAbd4llA: please do22:29
vishyand add a raise below the self.db.instance_set_state(22:29
vishyon line 9622:29
alekibangovishy: ok i will try to upgrade to todays version and see it waht it does22:29
vishythen you'll actually get a real traceback22:30
vishyi don't see anywhere we are using startswith, so it may be bad data passed into a library22:30
alekibangobtw where are u wishy?22:30
vishySF22:30
alekibangoaha, its late here in eu22:30
*** jakedahn has quit IRC22:31
vishysorry i can't do extensive debugging right now, working on some heavy deadline stuff22:31
*** littleidea has joined #openstack22:31
alekibangoAbd4llA: i am trying to get into it too, but try doing what vishy said...22:38
Abd4llAalekibango, ok22:39
Abd4llAsure22:39
alekibangoon my machine:  euca-run-instances -k test -t m1.tiny ami-tiny   -> ValueError: String too long22:39
alekibango:D22:40
vishywhat got merged recently?22:40
vishyhmm22:41
vishyi blame ec2_id22:41
alekibangomight be...22:41
Abd4llAvishy, I can't find logging.exception on line 9122:41
vishyin nova/compute/manager.py?22:42
alekibangowhen i runned the same command again - it takes time, still working :)22:42
vishyin the run-instances22:42
Abd4llA        for network in self.db.host_get_networks(None, self.host):22:42
Abd4llAthat's my 91 line22:42
Abd4llAnova/network/manager.py22:42
vishys/run-instances/run_instance22:42
vishynova/compute/manager.py22:42
Abd4llAthat's the 1st line of the     def init_host(self): method22:42
alekibangovishy:  https://bugs.launchpad.net/nova/+bug/65601222:42
uvirtbotLaunchpad bug 656012 in nova "euca-run-instances fails running sample novascript in VBox with qemu" [Undecided,New]22:42
Abd4llAopps22:43
vishy:)22:43
*** pvo has quit IRC22:45
alekibangoAbd4llA: did you run tests sucessfully?22:46
* alekibango starts tests22:47
*** Ryan_Lane has quit IRC22:48
*** adjohn has joined #openstack22:48
Abd4llAalekibango, nop. This is my first go @ nova22:48
*** adjohn has quit IRC22:48
*** Podilarius has left #openstack22:48
alekibangoAbd4llA: cd nova;  ./run_tests.sh22:49
Abd4llAyeah I tried that idd22:49
Abd4llAredis.exceptions.ConnectionError: Error 111 connecting 127.0.0.1:6379. ECONNREFUSED.22:49
Abd4llAit seems redis is not running22:49
Abd4llAshould I run anything previously?22:50
alekibangorestart redis (screen1)22:50
Abd4llAok22:50
alekibangoAbd4llA: its best to configure screen so you see screen names22:50
Abd4llAyeah, I've a nice colorish screenrc22:50
*** Ryan_Lane has joined #openstack22:50
alekibangoi love byobu :)22:51
alekibangobut hardstatus option is nice too22:51
Abd4llAshould I create a virtual enviroment ?22:51
alekibangohardstatus alwayslastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%< %= MyComp"  -- thats what i use22:51
Abd4llAy/n22:51
alekibangodo it22:51
alekibangoit will not harm22:51
alekibango(for tests)22:52
Abd4llAdamn, I feel I've tons of stuff to read about22:52
alekibangoAbd4llA: unfortunatelly, there is not much stuff to read about nova administering and using22:52
alekibangobut i hope we can change that tomorrow22:52
Abd4llAthen I've lots of code to read :)22:52
alekibangoyes, code is readable, mostly - its python :)22:53
Abd4llAalekibango, what do u think the best "fastest" way to get involved ?22:53
alekibangoAbd4llA: to help me write the deployment manual and admin manual and enduser manual for nova22:53
Abd4llAu wish :D22:53
alekibangoehm, no i really believe that22:54
alekibangowe can together identify what pieces of info are missing22:54
*** cloudmeat has joined #openstack22:54
alekibangoand press some important people  to get it explained22:54
Abd4llAhmm, interesting22:54
Abd4llAok, test suite passed22:55
*** DubLo7 has quit IRC22:55
Abd4llARan 132 tests in 148.591s22:55
alekibangoi am not paid to write docs, but i believe we can make it togther, there is bunch of newbies here who are desperate -- and need docs22:55
alekibangoits in ours best interests to cooperate22:56
alekibangoAbd4llA: start by writing in your vim -- what information you are missing -- key areas22:56
alekibangothat WILL hellp us to move forward22:57
alekibangoif we will not participate, Anne Gentle will not be able to write all docs by herself22:58
Abd4llAalekibango, Can you give me some estimate on the ammount of needed effort?22:58
alekibangonope, but i will give few days to it22:58
alekibangoyou know, its voluntary22:59
Abd4llAalekibango, that can idd benifit me on getting a good look into it22:59
alekibangoyes thats what i talk about22:59
*** rnirmal has quit IRC22:59
alekibangothere are some people who told me they will help22:59
alekibangoi mean people who will explain topics etc... they just need some help to get it all started23:00
Abd4llAalekibango, did you discuss that with someone b4?23:01
alekibangoi was talking to Anne G tonight23:01
alekibangoand on last meeting yesterday23:01
alekibangosee meeting logs23:02
Abd4llAOk, I'm interested23:02
Abd4llABut I'm very new to this community :)23:02
alekibangoshe told me that she needs help and will be glad if we start some work in the area - i already started by planning structure23:02
alekibangoAbd4llA: i am here for a month, but i am still a total newbie, dont worry23:02
alekibangoAbd4llA: go find how to participate  doc  on wiki - and sign that document23:03
Abd4llAyeah, signed the contributor agreement already23:03
alekibangoi have one test failure :)23:03
alekibangobut that failure is false negative23:04
alekibangoi will provide patch for it soon  :)23:04
alekibangowhen i will become more confident with Launchpad :)23:04
*** Ryan_Lane has quit IRC23:05
Abd4llAhehe23:05
Abd4llAalekibango, ok. So how do you think I should start?23:08
*** abecc has quit IRC23:08
alekibangoAbd4llA: maybe it would be good to write our notes on etherpad  -  please bookmark http://etherpad.openstack.org/NovaDocsNotes23:08
alekibangoand  you can start writing :)23:08
alekibangogive yourself a name23:09
Abd4llAalekibango, so your test suite is failing, yet nova is working. And mine is not failing, yet nova is not working :D23:11
alekibangoAbd4llA: i can make them OK, those tests23:11
alekibangoAbd4llA: i have 2 instances now working23:12
alekibangowell not working... shutdown and scheduling23:12
alekibangoahm compute has some exception :(23:13
*** cloudmeat has quit IRC23:13
Abd4llAis it the same ?23:13
alekibangoFile "/srv/cloud/nova/nova/compute/manager.py", line 86, in run_instance yield self.driver.spawn(instance_ref)23:14
Abd4llAyep23:14
alekibangoyes23:14
Abd4llAwelcome on board :)23:14
alekibango exceptions.TypeError: virDomainLookupByName() argument 2 must be string or None, not long23:14
* alekibango blames all those merges23:14
alekibangoand glance will not be merged into austin :(23:15
*** pharkmillups has quit IRC23:15
alekibangohttp://pastebin.com/gVy89kyc - thats error in my console23:16
alekibangothe same as yours23:16
alekibangobtw best is to start the novascript  from /srv/cloud directory, as there is one handwritten path leading to nova/tools there :)23:17
Abd4llAyeah, I modified that path already, the scrub ha?23:18
*** zaitcev has joined #openstack23:19
alekibangoAbd4llA: you can remove the virtualbox and qemu part from your bug tittle, as its miss-leading23:20
Abd4llAahh, btw, I didn't that that bug23:20
Abd4llAthat was MrKohonen23:20
Abd4llAhe logged in a while ago stating his problem, I talked to him and found out we have the same problem23:21
Abd4llAthen he created the bug and left :)23:21
Abd4llA*I didn't create that bug23:22
alekibango:)23:22
alekibangoAbd4llA: in nova/compute/manage.py23:25
Abd4llAvishy, did as told23:25
Abd4llAhttp://pastebin.com/2UvXUL6R23:25
Abd4llAseems in File "/usr/lib/python2.6/posixpath.py", line 6523:25
Abd4llAseems it's sending some wrong arg23:26
alekibangoproblem is -- there is integer treated like string23:26
Abd4llAyeah23:26
Abd4llAinstance['name']23:26
alekibangomaybe it should be coverted to string23:26
vishyyeah23:27
vishywhy is instance name returning an int23:27
vishybleh23:27
Abd4llAsurrounded with str, testing23:28
vishy         return self.internal_id23:28
vishyin nova/db/sqlalchemy/models.py23:29
vishyshould probably be return str(self.internal_id)23:29
vishybecause name is assumed to be a string everywhere23:29
alekibangovishy: ok, please correct that one for us23:30
alekibangoor should i do? :)23:30
alekibangoi would like to practice launchpad usage23:30
alekibango:)23:30
vishywell let him test it first23:31
vishyif that works, seems like a reasonable fix23:31
vishyand yeah you're welcome to do it23:31
Abd4llAok testing23:31
alekibangoso if that will make it ok, i should branch nova, using name of the bug -- pull it, edit it, push, request merge?23:33
alekibango(i am asking because i am new to lp)23:33
alekibangoi was using git for some time, but bzr is also new to me23:34
vishyyes23:34
vishywhen you commit you can do a --fixes lp:XXXXX23:34
vishywhere x is bug number23:34
vishyand when you push it will automatically link for you23:34
alekibangook23:34
alekibangoty23:35
vishynp23:35
*** befreax has quit IRC23:35
Abd4llAnew error23:37
Abd4llAhttp://pastebin.com/ar0x8XN623:37
alekibangoi somehow begin to thing that those unittests are nice, but not enough... :) we need also some automated functional tests23:39
alekibangoand no merging without passing!23:39
alekibangoi mean tests which will test whole setups - using nova as users would...23:40
*** pvo has joined #openstack23:40
*** ChanServ sets mode: +v pvo23:40
Abd4llAalekibango, well actually , me and some bunch of guys were considering taking the first steps here by working on the test suite23:40
alekibangowow :) great idea23:40
vishytest suite definitely needs some help23:41
alekibangoAbd4llA: at least single machine - functional test would be great23:41
*** rlucio has quit IRC23:42
alekibangolater you can add automated tests using web browser :)23:42
alekibangoand desktop apps23:42
Abd4llAvishy, any idea with the new error?23:44
alekibango  nova/nova/virt/libvirt_conn.py keps popping up in those errors..23:45
vishysorry which error?23:46
alekibango http://pastebin.com/ar0x8XN623:46
alekibangonew error from Abd4llA23:46
vishyye23:46
vishythat is using the wrong version of boto23:46
vishyuse boto==1.9b23:46
Abd4llAunfortunatly me have to leave now, it's getting late here :)23:47
alekibangoi will test it23:48
alekibangoAbd4llA: also late here, see you tomorrow23:48
alekibango(bookmark the etherpad)23:48
Abd4llAalekibango, yep, did23:49
*** pvo has quit IRC23:54

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