*** mahadev_ has quit IRC | 00:06 | |
*** lionel has joined #openstack | 00:06 | |
*** ccustine has quit IRC | 00:20 | |
*** sophiap has quit IRC | 00:21 | |
*** shentonfreude has quit IRC | 00:24 | |
*** reldan has quit IRC | 00:25 | |
*** sophiap has joined #openstack | 00:27 | |
*** joearnold has quit IRC | 00:30 | |
*** reldan has joined #openstack | 00:33 | |
*** RJD22 is now known as RJD22|away | 00:36 | |
*** RJD22|away is now known as RJD22 | 00:40 | |
*** mahadev has joined #openstack | 00:41 | |
*** cw_ has quit IRC | 00:42 | |
*** ke4qqq has quit IRC | 00:42 | |
*** maplebed has quit IRC | 00:42 | |
*** Ryan_Lane|food is now known as Ryan_Lane | 00:44 | |
*** cw has joined #openstack | 00:45 | |
*** ke4qqq has joined #openstack | 00:45 | |
*** mahadev has quit IRC | 00:51 | |
*** mahadev has joined #openstack | 00:58 | |
*** RickB17 has joined #openstack | 01:02 | |
*** adjohn has joined #openstack | 01:05 | |
*** benbenhappy has joined #openstack | 01:05 | |
*** MarkAtwood has quit IRC | 01:09 | |
*** aliguori has quit IRC | 01:15 | |
*** jeffjapan has quit IRC | 01:16 | |
*** ryker has quit IRC | 01:20 | |
*** clauden_ has quit IRC | 01:28 | |
*** j05h has quit IRC | 01:28 | |
*** rchavik has joined #openstack | 01:29 | |
*** drico has quit IRC | 01:32 | |
*** rds__ has quit IRC | 01:32 | |
*** jeffjapan has joined #openstack | 01:33 | |
*** littleidea has quit IRC | 01:40 | |
*** RJD22 is now known as RJD22|away | 01:40 | |
*** RJD22|away is now known as RJD22 | 01:47 | |
*** j05h has joined #openstack | 01:49 | |
*** reldan has quit IRC | 01:50 | |
*** shentonfreude has joined #openstack | 01:55 | |
*** RickB17 has quit IRC | 01:57 | |
*** RickB17 has joined #openstack | 02:02 | |
*** reldan has joined #openstack | 02:05 | |
*** Ryan_Lane has quit IRC | 02:06 | |
*** eskp has quit IRC | 02:17 | |
*** eskp has joined #openstack | 02:17 | |
*** littleidea has joined #openstack | 02:21 | |
*** littleidea has quit IRC | 02:25 | |
*** RickB17 has quit IRC | 02:38 | |
*** chuck_ has joined #openstack | 02:59 | |
*** zul has quit IRC | 02:59 | |
winston-d | Does anyone know how to remove 'network' from Nova database? I mean is there any command to do that rather than altering the database entries manually? | 03:02 |
---|---|---|
*** adjohn_ has joined #openstack | 03:05 | |
*** adjohn has quit IRC | 03:07 | |
*** adjohn_ is now known as adjohn | 03:07 | |
*** mdomsch has joined #openstack | 03:09 | |
*** joearnold has joined #openstack | 03:14 | |
*** littleidea has joined #openstack | 03:16 | |
*** littleidea has quit IRC | 03:19 | |
*** hadrian has quit IRC | 03:20 | |
*** hagarth has quit IRC | 03:26 | |
*** AimanA is now known as HouseAway | 03:34 | |
*** dendrobates is now known as dendro-afk | 03:41 | |
*** lamar has joined #openstack | 03:42 | |
*** dendro-afk is now known as dendrobates | 03:44 | |
*** rohitFreeOSS has joined #openstack | 03:45 | |
rohitFreeOSS | Hi | 03:46 |
rohitFreeOSS | Any openstack developer based in India? | 03:48 |
*** lamar has quit IRC | 03:50 | |
HugoKuo_ | 好似無 | 03:55 |
HugoKuo_ | winston-d : 我總是從database empty 掉 | 03:55 |
*** adjohn has quit IRC | 03:56 | |
HugoKuo_ | winston-d : did you install phpmyadmin ? | 03:56 |
*** adjohn has joined #openstack | 03:56 | |
HugoKuo_ | http://www.openstack-china.org/ | 03:56 |
*** mdomsch has quit IRC | 03:57 | |
*** dendrobates is now known as dendro-afk | 04:02 | |
*** dendro-afk is now known as dendrobates | 04:03 | |
*** maplebed has joined #openstack | 04:07 | |
*** adjohn has quit IRC | 04:09 | |
*** adiantum has quit IRC | 04:09 | |
*** adjohn has joined #openstack | 04:10 | |
*** kashyap has joined #openstack | 04:23 | |
*** miclorb_ has joined #openstack | 04:24 | |
*** adiantum has joined #openstack | 04:26 | |
*** JuanPerez has quit IRC | 04:30 | |
*** smeier00 has joined #openstack | 04:34 | |
*** littleidea has joined #openstack | 04:40 | |
*** maplebed has quit IRC | 04:47 | |
*** f4m8_ is now known as f4m8 | 04:49 | |
*** shentonfreude has quit IRC | 04:51 | |
*** kashyap has quit IRC | 04:51 | |
*** miclorb_ has quit IRC | 04:59 | |
*** mihgen has joined #openstack | 05:01 | |
*** sophiap has quit IRC | 05:07 | |
*** miclorb_ has joined #openstack | 05:07 | |
*** joearnold has quit IRC | 05:10 | |
*** rohitFreeOSS has quit IRC | 05:15 | |
*** oneiropolo has joined #openstack | 05:16 | |
*** mihgen has quit IRC | 05:16 | |
*** rchavik has quit IRC | 05:16 | |
oneiropolo | is there any swift dev? | 05:17 |
oneiropolo | i want to ask about number of worker threads for proxy and storage | 05:17 |
winston-d | oneiropolo : i asked them similar questions. maybe I can help | 05:19 |
oneiropolo | thanks | 05:19 |
oneiropolo | how many worker threads are suitable for proxy server. | 05:20 |
winston-d | HugoKuo_ : glad to see openstack-china community formed. | 05:20 |
oneiropolo | i'm doing some kind of performance test | 05:20 |
winston-d | oneiropolo : the suggestion i got was 2 x the number of cores of your proxy server. | 05:20 |
oneiropolo | okay | 05:21 |
oneiropolo | but | 05:21 |
oneiropolo | the proxy-server process is running on a node | 05:21 |
oneiropolo | and i made a prototype client test program. | 05:21 |
oneiropolo | that program, make many threads concurrently and request swift put or get object | 05:21 |
oneiropolo | the maximum number of threads is 60 at this time. | 05:22 |
oneiropolo | however, what i want to ask is | 05:22 |
oneiropolo | the cpu usage of proxy server is | 05:22 |
oneiropolo | less then 5 % | 05:22 |
oneiropolo | even if i made 60 threads and 120 threads. | 05:22 |
oneiropolo | the cpu usage of proxy server is not going to increase. | 05:23 |
winston-d | oneiropolo : that's possible. in the case that your storage nodes are the bottleneck. | 05:23 |
*** smoser has quit IRC | 05:23 | |
*** mahadev has quit IRC | 05:23 | |
oneiropolo | so i check the cpu usage of storage node too. | 05:24 |
winston-d | oneiropolo : how many storage nodes do you have? | 05:24 |
oneiropolo | and they are same. | 05:24 |
oneiropolo | they just use less then 15 % of cpu usage | 05:24 |
winston-d | oneiropolo : bottleneck on storage nodes doesn't have to be on processors, it could also be your harddisks are reaching their peak throughput. | 05:25 |
oneiropolo | at this time i have 4 storage node and | 05:25 |
oneiropolo | 1 node have many disks. | 05:25 |
oneiropolo | has ; | 05:25 |
winston-d | so how many disks do you have for each node? what type of disk? SATA HDD or SAS or SSD? | 05:25 |
*** ramkrsna has joined #openstack | 05:26 | |
*** dendrobates is now known as dendro-afk | 05:26 | |
winston-d | what kind of tests your client is doing? upload/download/delete objects? | 05:26 |
winston-d | what performance number do you have? | 05:27 |
oneiropolo | upload and download | 05:29 |
oneiropolo | 1 node has SAS disks. | 05:29 |
oneiropolo | 1 node has 12 SAS disks | 05:29 |
winston-d | oneiropolo : sorry for asking that many questions but these information is important to determine bottleneck | 05:29 |
oneiropolo | no, it's ok | 05:30 |
winston-d | so you have altogether 48 SAS disks for storage, right? 10krpm type? how many zones do you have for swift? | 05:30 |
oneiropolo | 4 zones | 05:30 |
oneiropolo | 1 node is 1 zone and 1 zone has 12 disks | 05:31 |
winston-d | and how many replication? 3 by default? | 05:32 |
winston-d | what is size of objects you were testing? | 05:33 |
oneiropolo | yes | 05:33 |
oneiropolo | 512k, 1m, 2m, 5m | 05:33 |
oneiropolo | what is | 05:34 |
oneiropolo | CTCP? | 05:34 |
winston-d | OK | 05:34 |
winston-d | sorry, that doesn't ring a bell to me. any context? | 05:34 |
*** mihgen has joined #openstack | 05:34 | |
oneiropolo | what is CTCP stand for? | 05:35 |
winston-d | client-to-client-protocol, maybe? where do you see it? | 05:36 |
oneiropolo | HTTP v1.0 | 05:36 |
oneiropolo | using java client program i coded | 05:37 |
oneiropolo | i used apache HTTPClient package | 05:37 |
*** littleidea has quit IRC | 05:37 | |
*** JuanPerez has joined #openstack | 05:38 | |
winston-d | how many uploads/downloads can u do for ur setup? take 512k for example. maybe it's also a good idea to try smaller object size to see if disk IOPS is the bottleneck. | 05:38 |
*** smoser has joined #openstack | 05:39 | |
winston-d | did you check 'iostat' data on ur storage nodes? how many IOPS did u have? | 05:39 |
oneiropolo | under 45 M/sec for 512k objects | 05:39 |
oneiropolo | but what i want to know is that cpu is not 100% working . | 05:40 |
oneiropolo | swift proxy doesn't use the cpu fully. | 05:40 |
oneiropolo | so, i guess that if that use the cpu more efficiently the IOPS will goes up. | 05:40 |
winston-d | OK. but i won't blame proxy-server so soon. can you try much smaller object size, say, 512Byte? | 05:44 |
oneiropolo | i can | 05:44 |
oneiropolo | but, it will take some time. | 05:46 |
winston-d | understand | 05:48 |
*** rsaidan has joined #openstack | 05:50 | |
*** rchavik has joined #openstack | 05:52 | |
*** smeier00 has quit IRC | 05:59 | |
*** omidhdl has joined #openstack | 05:59 | |
*** rsaidan has quit IRC | 06:00 | |
JulioBell | I have a meeting the 14, in Madrid with the openstack spanish group | 06:01 |
*** benbenhappy has left #openstack | 06:08 | |
*** guigui1 has joined #openstack | 06:19 | |
*** Gaelfr has joined #openstack | 06:23 | |
*** CloudChris has joined #openstack | 06:26 | |
*** zenmatt has quit IRC | 06:31 | |
*** adiantum has quit IRC | 06:34 | |
*** kashyap has joined #openstack | 06:41 | |
*** lionel has quit IRC | 06:52 | |
*** lionel has joined #openstack | 06:53 | |
*** rsaidan has joined #openstack | 07:00 | |
*** daveiw has joined #openstack | 07:00 | |
*** gregp76 has joined #openstack | 07:00 | |
*** rcc has joined #openstack | 07:01 | |
*** Ryan_Lane has joined #openstack | 07:10 | |
*** antenagora has joined #openstack | 07:23 | |
*** uksysadmin has joined #openstack | 07:26 | |
*** martinr has quit IRC | 07:27 | |
*** Ryan_Lane has quit IRC | 07:29 | |
*** daveiw has quit IRC | 07:34 | |
*** DogWater has quit IRC | 07:41 | |
*** mgoldmann has joined #openstack | 07:42 | |
*** drico has joined #openstack | 07:43 | |
*** bkkrw has joined #openstack | 07:45 | |
*** allsystemsarego has joined #openstack | 07:50 | |
*** nacx has joined #openstack | 07:53 | |
*** ibarrera has joined #openstack | 07:53 | |
*** ibarrera has quit IRC | 07:53 | |
*** mihgen has quit IRC | 07:56 | |
*** nagyz has joined #openstack | 07:58 | |
nagyz | hey there | 07:58 |
nagyz | internally, how can I figure out the instance id used by libvirt, if I have the instance id used by openstack? | 07:59 |
ttx | soren: any chance you could review the two remaining Nova RC BMPs ? | 08:05 |
*** martinr1 has joined #openstack | 08:08 | |
*** martinr1 has left #openstack | 08:09 | |
soren | nagyz: It's that same? | 08:10 |
nagyz | hm | 08:11 |
nagyz | I must have been too tired yesterday then | 08:11 |
nagyz | btw, once someone gets the hang of it, the code is really well structured | 08:11 |
nagyz | it was a piece of cake to extend the existing compute API, and to add a new API to nova-api | 08:12 |
nagyz | so congrats on that | 08:12 |
soren | ttx: I'll try. I've been having trouble jump-starting my brain this morning. | 08:12 |
soren | ttx: Before you cut the RC, we need to toggle the "final" flag in version.py. | 08:13 |
nagyz | oh, right. so compute_api.get_all() returns a list of instances, and instance["id"] there equals to 3, not instance-00000003, but for libvirt I need to pass the second form | 08:13 |
ttx | soren: and the final translations branch. | 08:19 |
ttx | soren: I planned to push those tomorrow morning for Glance/Nova. will you be around ? | 08:20 |
*** CloudChris has left #openstack | 08:21 | |
soren | ttx: Tomorrow? Sure. | 08:24 |
soren | nagyz: Right. | 08:24 |
nagyz | I see that "hostname" is set to that. can I rely on that? | 08:24 |
soren | nagyz: .aka. instance['name']. | 08:25 |
nagyz | ah, okay | 08:27 |
nagyz | ty | 08:27 |
ttx | soren: looking at zero-volumes, we'll need to add "dd" to nova_sudoers | 08:28 |
*** daveiw has joined #openstack | 08:38 | |
openstackjenkins | Project nova build #814: SUCCESS in 2 min 31 sec: http://jenkins.openstack.org/job/nova/814/ | 08:39 |
openstackjenkins | Tarmac: Updates the documentation on creating and using a cloudpipe image. | 08:39 |
rsaidan | hey everyone.. what repository should I be running to test nova? Is trunk stable enough for testing purposes or should i be using bexar? | 08:40 |
jeffjapan | rsaidan: the next release (cactus) is this week, I'd use that instead of bexar | 08:44 |
uvirtbot | New bug: #759572 in swift "get_hashes in objrep should use utils.write_pickle" [Undecided,New] https://launchpad.net/bugs/759572 | 08:46 |
rsaidan | jeffjapan: thx, so would you not recommend using trunk as i am now? | 08:46 |
jeffjapan | the quality of trunk varies widely depending on when exactly you get it, so you may be great, or you may get something that's very broken | 08:47 |
rsaidan | i see.. if i've installed trunk repos, what is the best way to remove all packages and reinstall bexar? | 08:48 |
rsaidan | i'm getting various errors and think i should move to a stable release for testing | 08:49 |
HugoKuo_ | apt-get autoremove --purge | 08:49 |
*** xavicampa has joined #openstack | 08:49 | |
HugoKuo_ | and then del the source | 08:49 |
jeffjapan | and /var/lib/nova | 08:49 |
HugoKuo_ | then add Bexar repos again | 08:50 |
rsaidan | awesome, thanks guys | 08:50 |
rsaidan | another quick question... should I remove the database too? | 08:50 |
*** mihgen has joined #openstack | 08:50 | |
jeffjapan | but I'd wait for the cactus RC if at all possible... | 08:50 |
jeffjapan | I think it's tomorrow | 08:50 |
rsaidan | any idea when that will be available? | 08:50 |
rsaidan | oh great | 08:50 |
HugoKuo_ | no need but you have to drop ....nova table or just empty it | 08:51 |
jeffjapan | bexar is really quite old at this point | 08:51 |
rsaidan | ok, another question regarding db.. if nova is empty I use nova-manage db sync to create tables right? what happens when this is run on a live/worklng system? | 08:51 |
jeffjapan | I've used it to clean out some cruft in the DB before and it worked fine for that. | 08:52 |
jeffjapan | remember that glance has its own db though | 08:52 |
*** omidhdl has quit IRC | 08:52 | |
rsaidan | so you only need to run it is you're experiencing issues with the db or table names etc? | 08:53 |
jeffjapan | or if you hit a bug where something that should be removed from the DB wasn't. | 08:54 |
rsaidan | ok, thanks for the help | 08:55 |
jeffjapan | good luck | 08:55 |
*** jeffjapan has quit IRC | 08:56 | |
HugoKuo_ | rsaidan : don't forget to apt-get autoclean... | 09:02 |
*** dirkx_ has joined #openstack | 09:08 | |
*** dodeeric1 has joined #openstack | 09:11 | |
*** dirkx__ has joined #openstack | 09:12 | |
*** dirkx_ has quit IRC | 09:14 | |
*** dirkx__ has quit IRC | 09:16 | |
*** dirkx_ has joined #openstack | 09:16 | |
*** dirkx_ has quit IRC | 09:20 | |
*** gregp76 has quit IRC | 09:21 | |
*** gregp76 has joined #openstack | 09:22 | |
*** dirkx_ has joined #openstack | 09:22 | |
HugoKuo_ | Need I nfs mount /var/lib/nova/images from nova-objectstore to nova-compute host in the latest trunk ?? | 09:22 |
*** dirkx__ has joined #openstack | 09:25 | |
*** dirkx_ has quit IRC | 09:26 | |
*** adjohn has quit IRC | 09:36 | |
*** zigo-_- has joined #openstack | 09:41 | |
nagyz | if I return an xml thru the API, < gets encoded as <, < as >, and so on, basically like html | 09:42 |
nagyz | is there a way to make it stop doing that? | 09:43 |
nagyz | especially since Content-Type is application/xml in the reply | 09:43 |
*** gregp76_ has joined #openstack | 09:44 | |
*** gregp76 has quit IRC | 09:45 | |
*** gregp76 has joined #openstack | 09:45 | |
*** dirkx__ has quit IRC | 09:48 | |
*** kashyap has quit IRC | 09:55 | |
*** kashyap has joined #openstack | 09:55 | |
*** kashyap has quit IRC | 09:56 | |
*** kashyap has joined #openstack | 09:57 | |
*** guynaor has joined #openstack | 09:58 | |
*** kashyap has joined #openstack | 09:58 | |
*** rds__ has joined #openstack | 10:06 | |
soren | nagyz: What are you trying to do, exactly? | 10:21 |
* soren lunches | 10:27 | |
*** arun_ has quit IRC | 10:28 | |
*** dirkx_ has joined #openstack | 10:35 | |
patri0t | any documents about nova-instancemonitor ? | 10:35 |
patri0t | soren: do you know if there is any? | 10:36 |
nagyz | soren added a new API on a new port, and there I'd like to return an XML as a map value, basically like a string | 10:36 |
nagyz | the problem is that it gets encoded into html | 10:36 |
nagyz | even if I write it out manually :) | 10:36 |
*** smaresca has quit IRC | 10:38 | |
nagyz | lets say I do this: | 10:41 |
nagyz | return dict(servers=[dict(server='<tag>hello</tag>')]) | 10:41 |
nagyz | at index() | 10:41 |
nagyz | then with curl, this is what I get: | 10:41 |
nagyz | <server> | 10:42 |
nagyz | <tag>hello</tag> | 10:42 |
nagyz | </server> | 10:42 |
nagyz | so its an encoding issue, I just don't know where I should specify utf8 | 10:42 |
*** kashyap has quit IRC | 10:43 | |
ccooke | so... what *is* the "CLOUD_SERVERS_USERNAME" openstack-dashboard wants as a configuration value? | 10:45 |
ccooke | I can't find any references to it outside that | 10:45 |
*** lionel has quit IRC | 10:46 | |
*** lionel has joined #openstack | 10:46 | |
n1md4 | ccooke: any user with admin privileges in your nova database (afaik). | 10:47 |
*** dirkx__ has joined #openstack | 10:48 | |
ccooke | n1md4: so it *is* a nova user? good to know. | 10:48 |
ccooke | Shame that doesn't work :-/ | 10:48 |
ccooke | hmm.. | 10:49 |
n1md4 | ccooke: I managed to get it working, mostly. Possibly I used 'root'? | 10:50 |
ccooke | I've tried that | 10:50 |
n1md4 | :( | 10:50 |
ccooke | every user I try gets me a permission denied from nova | 10:50 |
*** smaresca has joined #openstack | 10:50 | |
ccooke | (well, 403 forbidden) | 10:51 |
*** dirkx___ has joined #openstack | 10:51 | |
*** dirkx_ has quit IRC | 10:52 | |
*** daveiw has quit IRC | 10:53 | |
n1md4 | I have a lot of permission errors with nova, throw credentials and keys in the mix, it's a daughting mix for the new user (me). | 10:53 |
*** dirkx__ has quit IRC | 10:53 | |
n1md4 | ccooke: which user's ACCESS and SECRET key did you use, in local_settings.py? | 10:54 |
ccooke | a user I created for the dashboard - called dashboard, in fact :-) | 10:54 |
ccooke | Double and triuple checked the local settings - they work | 11:04 |
n1md4 | With 1 user and 1 project, I definitely had a working dashboard interface. | 11:08 |
ccooke | not here | 11:08 |
ccooke | the user works from the command-line - I can upload images and add them | 11:09 |
ccooke | haven't tried to create an instance yet | 11:09 |
ccooke | ... yes, works from the cli | 11:11 |
*** ctennis has quit IRC | 11:11 | |
soren | patri0t: Not that I know of. | 11:12 |
soren | nagyz: Well, if you're adding a new API, how should I know what you're doing wrong? | 11:13 |
soren | nagyz: You avoid escaping by not applying any. :) | 11:13 |
nagyz | I didn't. :) | 11:15 |
nagyz | even if I modify the openstack API, it does the same thing | 11:15 |
nagyz | if I return an xml as a string somewhere, it gets escaped automatically | 11:15 |
soren | Well, naturally. | 11:15 |
nagyz | why? | 11:16 |
nagyz | the client provides Accept: application/xml, so I don' | 11:16 |
nagyz | t see the need to do the escaping | 11:16 |
soren | And it gets xml. | 11:16 |
ccooke | n1md4: if I have a user called dashboard - which works - with the correct name and keys in the local_settings.py, and a project called "admin" that works and has been able to spawn a VM... then creating the dashboard db with "sudo tools/with_venv.sh dashboard/manage.py syncdb" and specifying my user as "dashboard" should just work, correct? | 11:16 |
soren | You say so yourself. | 11:16 |
nagyz | but wrongly. | 11:16 |
*** arun_ has joined #openstack | 11:16 | |
soren | <server> <-- That's XML. | 11:16 |
nagyz | and? the string is escaped | 11:17 |
soren | Yes! | 11:17 |
soren | And so it should. | 11:17 |
nagyz | why should it be? | 11:17 |
nagyz | I'm trying to get the output of dumpxml from virsh, btw, that's why its so annoying | 11:17 |
ccooke | nagyz: because the XML schema defines the data in there as non-xml | 11:17 |
nagyz | there's no schema anywhere | 11:18 |
ccooke | nagyz: therefore any <> symbols (and a few others) *must* be escaped to preserve them | 11:18 |
soren | If I want to return <sometag>a string</sometag>, I need to escape "a string" to make sure my XML remains valid. | 11:18 |
ccooke | nagyz: there are implicit schemas even if there are no official ones | 11:18 |
soren | XML serialisation happens exactly *once*. | 11:18 |
nagyz | what would be the easiest way then to add virsh's dumpxml into an APi call, then? | 11:19 |
soren | It sounds liek you already have it. | 11:19 |
soren | How do you expect to consume this? | 11:19 |
nagyz | from a java client | 11:19 |
soren | Show me a java client that won't automatically unserialize that stuff. | 11:19 |
*** shentonfreude has joined #openstack | 11:23 | |
*** dirkx_ has joined #openstack | 11:24 | |
*** BK_man has quit IRC | 11:25 | |
*** ctennis has joined #openstack | 11:25 | |
*** dirkx___ has quit IRC | 11:28 | |
n1md4 | ccooke: I'd like to think so. | 11:29 |
ccooke | myself also :-/ | 11:29 |
*** dirkx__ has joined #openstack | 11:29 | |
ccooke | However, I get: DEBUG:boto:403 Forbidden | 11:30 |
ccooke | Time to check the logs, I guess | 11:30 |
nagyz | soren, it might parse it, but still. looks ugly to my eyes. | 11:31 |
*** adjohn has joined #openstack | 11:31 | |
soren | nagyz: I you feel *exceptionally* bored, you could add a CDATA encoding thing, but it sounds like an utter waste of time. | 11:32 |
*** mgoldmann has quit IRC | 11:32 | |
ccooke | Hmm | 11:32 |
ccooke | OperationalError: (OperationalError) database is locked | 11:32 |
ccooke | That doesn't look good | 11:32 |
*** dirkx_ has quit IRC | 11:32 | |
ccooke | ... ah. I think I see | 11:33 |
ccooke | it's ignoring the project specified in the local_settings.py file | 11:33 |
ccooke | and asking for a project called "dashboard" | 11:34 |
*** adiantum has joined #openstack | 11:34 | |
ccooke | yes, that's it | 11:35 |
mihgen | I've connected glance to nova, but it seems to be I'm missing some info on how to add new image to it. I ran: glance -v add name="MyTestTTY" is_public=true container_format='ami' disk_format='ami' < /root/tty.tgz, then made sure it's in 'nova image-list': | 1 | MyTestTTY | ACTIVE | , ran the instance from this image, but can't connect to it. | 11:36 |
mihgen | Does anyone know what I've missed? | 11:36 |
*** mgoldmann has joined #openstack | 11:36 | |
mihgen | qemu process is running, but console.log is empty | 11:37 |
*** shentonfreude has quit IRC | 11:37 | |
*** gaveen has joined #openstack | 11:38 | |
*** gaveen has joined #openstack | 11:38 | |
ccooke | mihgen: 64-bit image on 32-bit host? | 11:38 |
ccooke | (Since that was my issue yesterday :-) | 11:38 |
mihgen | ccooke: well... I don't even know where I specified arch) | 11:39 |
mihgen | it runs under qemu-system-x86_64 command | 11:39 |
ccooke | mihgen: well, is your system 32-bit? | 11:39 |
mihgen | no | 11:39 |
mihgen | host is 64bit | 11:40 |
ccooke | then that's not it :-) | 11:40 |
mihgen | I ran the same image tty.tgz from local storage yesterday, it works fine. Today I tried to add the same image to glance. | 11:40 |
mihgen | ccooke: no problem, will dig into) | 11:41 |
ccooke | mihgen: the kvm output might help | 11:42 |
ccooke | should be in /var/log/libvirt/qemu/ | 11:43 |
*** gaveen has quit IRC | 11:43 | |
*** flopflip has joined #openstack | 11:44 | |
ccooke | ... hmm | 11:45 |
mihgen | ccooke: nothing( It just reports starting up | 11:45 |
*** lynxman has joined #openstack | 11:45 | |
*** dirkx_ has joined #openstack | 11:45 | |
ccooke | Starting VMs now, I'm getting db.NoMoreNetworks raised... | 11:45 |
ccooke | there *is* a network confuigured | 11:46 |
*** drico has quit IRC | 11:46 | |
nagyz | brb | 11:46 |
*** nagyz has quit IRC | 11:46 | |
*** flopflip_ has quit IRC | 11:47 | |
*** dirkx__ has quit IRC | 11:48 | |
*** mgoldmann has quit IRC | 11:52 | |
*** gaveen has joined #openstack | 11:52 | |
*** gaveen has joined #openstack | 11:52 | |
*** mgoldmann has joined #openstack | 11:55 | |
*** BK_man has joined #openstack | 11:55 | |
*** CoreyM-afk is now known as CoreyM | 11:57 | |
*** s1cz has quit IRC | 12:02 | |
*** mihgen has quit IRC | 12:02 | |
*** s1cz has joined #openstack | 12:02 | |
*** dirkx_ has quit IRC | 12:03 | |
*** reldan has quit IRC | 12:05 | |
*** antenagora has quit IRC | 12:05 | |
*** RickB17 has joined #openstack | 12:09 | |
*** dendro-afk is now known as dendrobates | 12:09 | |
*** uksysadmin has quit IRC | 12:11 | |
*** antenagora has joined #openstack | 12:12 | |
*** aliguori has joined #openstack | 12:14 | |
n1md4 | ccooke: when creating creds do you use root or sudo? | 12:18 |
*** dodeeric1 has left #openstack | 12:21 | |
*** daveiw has joined #openstack | 12:21 | |
*** RichiH has joined #openstack | 12:23 | |
*** h0cin has joined #openstack | 12:25 | |
*** armmer has left #openstack | 12:27 | |
*** chuck_ is now known as zul | 12:37 | |
*** zul has joined #openstack | 12:37 | |
*** dspano has joined #openstack | 12:41 | |
*** lynxman has quit IRC | 12:41 | |
*** crago has joined #openstack | 12:46 | |
*** dprince has joined #openstack | 12:49 | |
*** antenagora has quit IRC | 12:50 | |
ttx | annegentle: I did a pass on features in http://wiki.openstack.org/ReleaseNotes/Cactus, feel free to beautify them like you did for Swift. | 12:54 |
uvirtbot | New bug: #759762 in nova "Observing warning in nova-compute logs "WARNING nova.compute.manager [-] Error during instance poll:"" [Undecided,New] https://launchpad.net/bugs/759762 | 12:56 |
*** antenagora has joined #openstack | 12:56 | |
*** ppetraki has joined #openstack | 12:56 | |
*** adjohn has quit IRC | 12:59 | |
*** Shentonfreude has joined #openstack | 12:59 | |
annegentle | ttx: heh, beautification process started... | 12:59 |
*** lionel has quit IRC | 13:02 | |
*** lionel has joined #openstack | 13:02 | |
ccooke | n1md4: sudo | 13:02 |
*** mray has joined #openstack | 13:04 | |
ccooke | n1md4: but if you didn't see, I solved that problem | 13:05 |
*** kashyap has joined #openstack | 13:05 | |
*** icarus901 has joined #openstack | 13:08 | |
*** Gaelfr has quit IRC | 13:09 | |
*** rsaidan has quit IRC | 13:10 | |
n1md4 | ccooke: I've just installed dashboard again. I've noticed that there's no project, even though there's a project table row in mysql. | 13:17 |
ccooke | interesting | 13:17 |
ccooke | the documentation for the dashboard really needs some cleanup, though | 13:18 |
ccooke | I mean, the commands it tells you to run are *correct*, but won't actually work :-) | 13:18 |
annegentle | ccooke: say, go ahead and update the wiki and I'll try to get updates rolled into lp:openstack-manuals as well | 13:20 |
ccooke | annegentle: I was about to ask if the former would be doable. The latter would be even better | 13:21 |
ccooke | however, I do not currently have an account | 13:21 |
ccooke | and so I'm not sure I'd be able to :-) | 13:21 |
*** oneiropolo has quit IRC | 13:21 | |
ccooke | heh. Yeah, thought so. The page is immutable anyway. | 13:22 |
annegentle | ccooke: should be super easy to set up a wiki account, Launchpad and the CLA are for bzr updates | 13:22 |
ccooke | annegentle: I can't edit the page, but I *can* give someone with permissions a patch for it | 13:23 |
annegentle | ccooke: weird, why does it appear immutable to you? | 13:23 |
ccooke | annegentle: http://wiki.openstack.org/OpenStackDashboard | 13:24 |
annegentle | ccooke: and feel free to email me notes for changes at anne@openstack.org, I should be able to update. | 13:24 |
ccooke | Left hand menu under Page, "Immutable Page" | 13:24 |
*** gondoi_ has joined #openstack | 13:24 | |
ccooke | that and the lack of edit functionality gives me a clue :@-) | 13:24 |
ccooke | okay, will do | 13:24 |
annegentle | ccooke: well yeah all pages are immutable when you're not logged in afaik | 13:25 |
ccooke | doh | 13:26 |
annegentle | ccooke: such big words for early morning, though, immutable. :) | 13:26 |
ccooke | it's early afternoon for me :-) | 13:26 |
annegentle | ccooke: fun stuff! I haven't installed the Dashboard since last release so I'm behind the times. | 13:26 |
annegentle | ccooke: yep I figured :) | 13:26 |
ccooke | Well, I can update the page, then - and I can add some natty-specific bits | 13:27 |
annegentle | ccooke: awesomesauce, tahnks | 13:28 |
annegentle | ccooke: thanks even | 13:28 |
*** patcoll has joined #openstack | 13:28 | |
ccooke | first, though, I should submit someone a bug and patch to fix the python2.6 hardcoding | 13:28 |
*** guynaor has left #openstack | 13:28 | |
ccooke | annegentle: I take it bugs go to launchpad? | 13:33 |
*** adjohn has joined #openstack | 13:36 | |
*** reldan has joined #openstack | 13:36 | |
*** dweimer has quit IRC | 13:37 | |
*** Zangetsue has joined #openstack | 13:39 | |
zul | when is the deadline for blueprints? | 13:40 |
*** santhosh has joined #openstack | 13:42 | |
*** mahadev has joined #openstack | 13:46 | |
*** hadrian has joined #openstack | 13:47 | |
*** Nick0la has joined #openstack | 13:47 | |
Nick0la | Hello. I am working on setting up compute. I am trying to set up the database. I type: nova-manage db sync and I it simply says that I need to use "one of the following options.." Annoyingly, 'db' is one of the options. What am I missing> | 13:49 |
Nick0la | ? | 13:49 |
n1md4 | for some reason, i now keep hitting cert, cred, key, permission problems! I've not a clear perspect of what key/cred/cert/perm relates to what part of the stack. I appreciate this is still a developing system, but is there documentation to clearly explain the differences? | 13:50 |
ccooke | n1md4: where are you hitting these problems? | 13:50 |
uvirtbot | New bug: #759814 in openstack-dashboard "python2.6 hardcoding breaks installation on Natty/py2.7 platforms (patch included)" [Undecided,New] https://launchpad.net/bugs/759814 | 13:51 |
*** mahadev has quit IRC | 13:52 | |
n1md4 | firstly, it was publishing an image, I got "Unable to run euca-describe-images. Is euca2ools environment set up?". I'd got over that, by exporting some access and secret keys. | 13:52 |
*** kakella has joined #openstack | 13:52 | |
*** kakella has left #openstack | 13:53 | |
*** dirkx_ has joined #openstack | 13:53 | |
ccooke | n1md4: use the novarc from the project you're working on | 13:53 |
n1md4 | Then, trying to bundle/upload the kernel I got "Invalid certfailed to upload kernel" | 13:53 |
ccooke | yeah, you need the whole set of data | 13:53 |
n1md4 | I did use that novarc, but perhaps I've funked up the environment variables somewhere. | 13:54 |
ccooke | n1md4: note that there are certificates in the file | 13:54 |
n1md4 | What's "the whole set of data"? | 13:54 |
ccooke | in the zipfile | 13:54 |
*** RickB17 has quit IRC | 13:56 | |
* n1md4 scratches head | 13:56 | |
n1md4 | It must be beer oclock soon! | 13:56 |
Nick0la | haha | 13:57 |
*** f4m8 is now known as f4m8_ | 13:59 | |
*** littleidea has joined #openstack | 14:02 | |
*** dirkx_ has quit IRC | 14:02 | |
Nick0la | hmmm...more info for you for the debugging process: | 14:02 |
Nick0la | this is the -exact- error message: "/usr/bin/nova-manage does not match any options:" | 14:03 |
*** littleidea has quit IRC | 14:03 | |
Nick0la | it is looking at it's own executable name...and not the commandline arguments. | 14:04 |
Nick0la | I do not know python well enough to try and fix this... | 14:04 |
ccooke | annegentle: I've made some changes. Once the bug I reported is fixed, I (or anyone else) can mark this as tested and working on Natty under python2.7 | 14:04 |
*** BK_man has quit IRC | 14:04 | |
ccooke | (Mostly I've just added a bit of help for what seem to be common problems, along with cleaning up the commands so they actually run from the right places :-) | 14:05 |
*** zenmatt has joined #openstack | 14:08 | |
annegentle | ccooke: thanks for doing that1 | 14:09 |
annegentle | ccooke: big help | 14:09 |
ccooke | no problem | 14:10 |
*** adjohn has quit IRC | 14:11 | |
*** dirkx_ has joined #openstack | 14:11 | |
*** rsaidan has joined #openstack | 14:16 | |
Nick0la | could this be a python version issue? what version of python is nova intended to run on? | 14:17 |
*** dirkx_ has quit IRC | 14:17 | |
*** mdomsch has joined #openstack | 14:17 | |
Nick0la | I am completely stuck in my installation. :-( | 14:18 |
ccooke | Nick0la: it's tested on 2.6 and it's running fine on natty's 2.7 here | 14:20 |
ccooke | what's the exact command you're using? | 14:20 |
*** dendrobates is now known as dendro-afk | 14:21 | |
Nick0la | http://paste.openstack.org/show/1173/ | 14:22 |
Nick0la | that should have all the info you need. If not, I can provide more. | 14:22 |
*** dirkx_ has joined #openstack | 14:23 | |
*** ryker has joined #openstack | 14:24 | |
*** nagyz has joined #openstack | 14:27 | |
Nick0la | oh...there is a log entry. I will add that to my pastebin...one sec.. | 14:27 |
Nick0la | http://paste.openstack.org/show/1175/ | 14:28 |
ryker | i'm going to the openstack conference on the 26th. Any recommendations for the best way to get from the San Francisco airport to the conference? Should I just take a taxi or public transportation or is renting a car the best option? | 14:29 |
blamar | ryker: From what I understand the conference is much closer to SJC (San Jose), so maybe a shuttle from SFO to SJC and then public transport from there could work if you're looking to save some $ on car rental | 14:35 |
blamar | ryker: Then again, I'm from the east coast and I've never been to Santa Clara! :D | 14:36 |
ryker | :) | 14:36 |
blamar | I'll be renting a car | 14:36 |
*** gondoi_ has quit IRC | 14:36 | |
ryker | yeah, I noticed it was closer to san jose as well and was thinking about that. | 14:36 |
ryker | i didn't know how bad the traffic is around there and if renting a car was just a bad idea. :) | 14:37 |
ryker | I think I'm just going to rent a car as well. It's pretty cheap to rent a car anyway. | 14:37 |
blamar | Yeah, lots to see in the area too if you're in to that | 14:38 |
ryker | true. and it's my first time in cali | 14:38 |
*** uksysadmin has joined #openstack | 14:38 | |
*** littleidea has joined #openstack | 14:39 | |
*** camm_ has quit IRC | 14:40 | |
*** camm has joined #openstack | 14:40 | |
*** rnirmal has joined #openstack | 14:41 | |
markwash | ryker: I believe you can catch the caltrain at SFO which will take you down to SJC | 14:41 |
*** guynaor has joined #openstack | 14:43 | |
*** guynaor has left #openstack | 14:43 | |
gholt | Google maps shows 36-45mins driving and 2.5hrs bussing from SFO to 5101 Great America Parkway, Santa Clara, CA 95054. | 14:45 |
gholt | 10.25hrs walking, if you're into that. :) | 14:46 |
*** dragondm has joined #openstack | 14:46 | |
*** smeier00 has joined #openstack | 14:51 | |
*** dendro-afk is now known as dendrobates | 14:51 | |
*** jmckenty has joined #openstack | 14:51 | |
*** jonkelly has joined #openstack | 14:53 | |
*** jkoelker has joined #openstack | 14:56 | |
*** ramkrsna has quit IRC | 14:59 | |
jmckenty | Mornin | 14:59 |
jmckenty | I'm on reviews for nova today, if there's any critical blockers please ping me | 14:59 |
jmckenty | I'm speaking at a conference as well, of course, so I'll be on and off line | 15:00 |
*** dirkx_ has quit IRC | 15:00 | |
ryker | hmm, looks like I should walk if it's only 10.25 hrs. ;) | 15:01 |
ryker | yeah, seems like a car is definitely the best bet. | 15:01 |
ttx | jmckenty: ack | 15:01 |
glenc | ryker: SJC airport is about 5 minutes from Santa Clara; if you have to come into SFO, you'll need a taxi or shuttle. Caltrain is a real pain, and it doesn't stop anywhere near the Santa Clara convention center/hotel. | 15:01 |
*** gondoi_ has joined #openstack | 15:03 | |
ryker | unfortunately, there are only direct flights from chicago to SFO. All I could find to SJC have at least 1 stop, so I figured I would just drive from SFO. | 15:03 |
*** gondoi_ has joined #openstack | 15:03 | |
glenc | yup | 15:03 |
glenc | pretty straight drive down the peninsula from SFO to Santa Clara | 15:03 |
ryker | thx guys. definitely renting a car now. should be a nice drive anyway since it's my first time. | 15:04 |
jmckenty | If you're renting and driving, would you mind throwing a listing up on the wiki somewhere for carpool? | 15:07 |
jmckenty | ryker: ==^ | 15:08 |
ryker | sure. i'll post a link back here later. my company is paying for everything and they haven't purchased the airplane ticket or car rental yet. | 15:09 |
*** guigui1 has quit IRC | 15:09 | |
ttx | notmyname: around ? | 15:09 |
ryker | probably won't happen until later this evening. | 15:09 |
notmyname | ttx: yup | 15:10 |
nhm_ | At the lustre conference now. Some interesting benchmarks about mapreduce on lustre vs hdfs earlier. | 15:10 |
ttx | notmyname: I think we should push 1.3-dev -> 1.3.0 in swift/__init__.py now | 15:10 |
ttx | notmyname: so that I can cut a release candidate tomorrow morning before the swifties get up. | 15:11 |
ttx | notmyname: want me to propose a branch merge proposal for it ? | 15:11 |
notmyname | sure | 15:11 |
ttx | notmyname: ok, in progress | 15:11 |
*** gondoi__ has joined #openstack | 15:11 | |
*** jmckenty has quit IRC | 15:13 | |
*** gondoi_ has quit IRC | 15:15 | |
ttx | notmyname: https://code.launchpad.net/~ttx/swift/cactus-final-versioning/+merge/57509 | 15:15 |
notmyname | ttx: ya, got the email, but the link (ie LP) seems busted by it | 15:15 |
Nick0la | I uninstalled nova and reinstalled. see here for full details: http://paste.openstack.org/show/1177/ Still can't get nova-manage db sync to work. | 15:16 |
notmyname | ah. working now | 15:16 |
ttx | yes, tere have been a number of transient oopses today | 15:16 |
*** gondoi__ has quit IRC | 15:16 | |
Nick0la | http://paste.openstack.org/show/1178/ <-- now includes contents of my nova.conf file | 15:21 |
*** gondoi_ has joined #openstack | 15:21 | |
*** ccustine has joined #openstack | 15:21 | |
Nick0la | there was an error in my config file! I noticed it when copying. One of my directives in nova.conf was not proceeded with '--' | 15:23 |
Nick0la | May I make a request? Can we have nova check the syntax of the file? | 15:23 |
Nick0la | and error if it's wrong? | 15:23 |
Nick0la | now nova-manage works fine. | 15:24 |
Nick0la | but, ideally, it should warn when starting the service that something isn't right. | 15:24 |
Nick0la | or...not start the service at all. | 15:24 |
notmyname | ttx: since this is a release candidate, it should be marked as 1.3-rc. After that, it can go to 1.3.0 | 15:25 |
*** daveiw has quit IRC | 15:25 | |
*** nagyz has quit IRC | 15:26 | |
uvirtbot | New bug: #759908 in swift "Log Processing Needs Atomic "Commit"" [Undecided,New] https://launchpad.net/bugs/759908 | 15:26 |
ttx | notmyname: in fact, the idea is that the RC tarball can be used directly as the Golden release, that's why I think we should push final versioning at RC time. That's what we do for Glance and Nova. | 15:26 |
termie | pvo: heya, i think we have a meeting in about 30 mins | 15:27 |
termie | wondering what room that is | 15:27 |
termie | or whatnot | 15:27 |
ttx | notmyname: note that there will be a RC and a Final tag in case they differ | 15:27 |
ttx | notmyname: otherwise the release candidate tarball is not really a release candidate. | 15:28 |
pvo | are you still in 2059? | 15:28 |
*** gaveen_ has joined #openstack | 15:29 | |
*** jakedahn has joined #openstack | 15:29 | |
pvo | termie: ^^ | 15:30 |
*** gaveen has quit IRC | 15:32 | |
notmyname | ttx: gotta run to a meeting. I want to talk more about it | 15:32 |
termie | pvo: yup | 15:32 |
*** Zangetsue has quit IRC | 15:32 | |
termie | er no | 15:32 |
termie | 2095 | 15:33 |
termie | boardroom | 15:33 |
pvo | woudl that room work? | 15:33 |
termie | sure | 15:33 |
pvo | k, I'll update | 15:33 |
*** Zangetsue has joined #openstack | 15:33 | |
ttx | notmyname: ok, I'll stop for the evening, but should be back for discussion at around 4pm your time | 15:33 |
*** antenagora has quit IRC | 15:35 | |
*** jakedahn has quit IRC | 15:35 | |
*** jakedahn has joined #openstack | 15:36 | |
*** zykes- has quit IRC | 15:37 | |
creiht | ttx: I think the short story is, if we don't include rc in the version number, how does someone know that they are running the rc or release? | 15:37 |
*** gondoi_ has quit IRC | 15:38 | |
*** smeier00 has left #openstack | 15:38 | |
ttx | creiht: right, the question is, is it worth the risk of regenerating a tarball at the last minute that will therefore be untested. | 15:38 |
* creiht sighs | 15:39 | |
ttx | creiht: both solutions are suboptimal. | 15:40 |
ttx | I tend to prefer the solution that simplifies release management :) | 15:41 |
ttx | creiht, notmyname: that said, I won't fight over it -- we can try to align after this one, discussing it over a beer. | 15:41 |
creiht | every project that I have seen that has release candidates always clearly indicates that the release is a rc (in packaging, etc.) | 15:42 |
ttx | that's because they kinda abuse the meaning of RC, imo. | 15:42 |
* creiht throws up his hands and gets back to work | 15:43 | |
ttx | what they mean is "final beta", not "something that could exactly be the release". | 15:43 |
creiht | and leaves it in the capable hands of the ptl :) | 15:43 |
ttx | creiht: I'll let notmyname decide, in all cases. | 15:43 |
ttx | creiht: just explaining my pov :) | 15:43 |
*** jmckenty has joined #openstack | 15:44 | |
* ttx disappears, back in ~5 hours | 15:45 | |
*** rnirmal has quit IRC | 15:52 | |
*** BK_man has joined #openstack | 15:55 | |
BK_man | http://paste.openstack.org/show/1179/ - any thoughts? | 15:55 |
*** smeier00 has joined #openstack | 15:57 | |
*** dprince has quit IRC | 15:58 | |
*** dirkx_ has joined #openstack | 15:59 | |
*** MarkAtwood has joined #openstack | 15:59 | |
*** rcc has quit IRC | 16:01 | |
jmckenty | justinsb: https://code.launchpad.net/~justin-fathomdb/nova/termie-bot/+merge/55031 is still waiting on another fix, yes? | 16:02 |
*** mdomsch has quit IRC | 16:02 | |
jmckenty | e.g., the "make pythonic" iteration against the checker subclasses | 16:02 |
jmckenty | I just flipped it to wip, let me know if otherwise | 16:03 |
BK_man | question: is euca-upload-bundle working with Glance? I'm getting error with starting instances both on Glance and local | 16:03 |
jaypipes | BK_man: mind helping out the poor fellow on https://answers.launchpad.net/nova/+question/152678? | 16:05 |
jaypipes | BK_man: what are the errors? | 16:05 |
jaypipes | jmckenty: I would check with ttx before sending any merge proposal to tarmac... we're in RC freeze shortly. | 16:06 |
jmckenty | understood | 16:06 |
jmckenty | jaypipes: ==^ | 16:07 |
BK_man | jaypipes: http://paste.openstack.org/show/1179/ | 16:07 |
jmckenty | We should update Soren's "review-day alert" to include release status | 16:07 |
BK_man | jaypipes: it might not be glance-related. | 16:07 |
jaypipes | BK_man: interesting... | 16:08 |
*** jfluhmann has quit IRC | 16:08 | |
*** Gaelfr has joined #openstack | 16:08 | |
BK_man | jaypipes: I'm starting each time from scratch (empty DB, new user / project / network/ etc) | 16:08 |
jaypipes | BK_man: I've not seen that before in bug reports. vishy? have you seen a BadStatusLine come up in the bug reports when running euca-upload-bundle? | 16:08 |
*** ChanServ sets mode: +o jmckenty | 16:09 | |
jaypipes | BK_man: I assume you are on latest trunk, right? | 16:09 |
BK_man | jaypipes: installing glance rev111 and trying to repeat all again | 16:09 |
BK_man | jaypipes: yep | 16:09 |
jaypipes | BK_man: I figured you were, just was checking :) | 16:10 |
*** zykes- has joined #openstack | 16:10 | |
jaypipes | sirp_: quick review on https://code.launchpad.net/~jaypipes/glance/bug759012/+merge/57402 please? | 16:11 |
BK_man | jaypipes: vishy: the same. Still that error during euca-run-instances | 16:11 |
vishy | BK_Man, jaypipes: i would check the key files in your zip | 16:11 |
BK_man | vishy: please explain. What files? Scripts are known to work on early releases and stopped working today's morning | 16:11 |
jaypipes | vishy: just so I understand better, could you explain why you think the key file is the culprit? trying to better understand how to debug these issues... | 16:12 |
* BK_man going to see what stuff was merged last night | 16:13 | |
vishy | BK_man: are you getting fresh creds | 16:13 |
vishy | ? | 16:13 |
BK_man | vishy: yep, indeed | 16:13 |
BK_man | vishy: do u need to review my scripts? | 16:14 |
*** maxamillion has quit IRC | 16:14 | |
*** alekibango has quit IRC | 16:16 | |
*** maxamillion has joined #openstack | 16:16 | |
*** bkkrw has quit IRC | 16:17 | |
*** Gaelfr has quit IRC | 16:18 | |
vishy | BK_man: check pk.pem cert.pem and cacert.pem and make sure that they all have data that looks like keys | 16:18 |
*** alekibango has joined #openstack | 16:18 | |
vishy | perhaps you need to set some flags for CA folder? | 16:19 |
*** nwl has joined #openstack | 16:20 | |
BK_man | vishy: it's set: /var/lib/nova/CA | 16:20 |
vishy | so check those files in your zip | 16:20 |
vishy | and see if anything looks off | 16:20 |
BK_man | vishy: nothing strange - just keys and certs | 16:21 |
uvirtbot | New bug: #759972 in swift "Install trunk debs on Ubuntu 10.10 fails with dup owned file between swift and swift-account" [Undecided,New] https://launchpad.net/bugs/759972 | 16:22 |
* BK_man discovered that CA folder contents in Nova installation was not reaped by cleanup scripts. Let me fix that | 16:22 | |
*** maplebed has joined #openstack | 16:22 | |
*** jmckenty has quit IRC | 16:22 | |
BK_man | is it ok for Nova to start with completely empty CA folder? | 16:22 |
*** ryker has quit IRC | 16:23 | |
BK_man | dumb question | 16:23 |
*** ryker has joined #openstack | 16:23 | |
BK_man | of course there are should be openssl.cnf.tmpl at least | 16:23 |
*** benbenhappy has joined #openstack | 16:25 | |
vishy | BK_man: it does need a few things | 16:25 |
vishy | look at nova/CA from source | 16:25 |
*** max_the_penguin has joined #openstack | 16:26 | |
sirp_ | jaypipes: approved fix, had marked needs review, but turned out issue for me is part of trunk so not related to patch-at-hand | 16:29 |
jaypipes | sirp_: https://bugs.launchpad.net/glance/+bug/759018 | 16:29 |
uvirtbot | Launchpad bug 759018 in glance "When running tests without virtualenv, test_traceback_not_consumed fails" [Critical,In progress] | 16:29 |
sirp_ | jaypipes: yep | 16:29 |
sirp_ | jaypipes: thx | 16:29 |
jaypipes | sirp_: is unrelated to that patch... | 16:29 |
jaypipes | sirp_: has to do with the raising of the eventlet error in _safe_kill(). | 16:30 |
jaypipes | sirp_: if you change _safe_kill() to simply raise the original exception, all tests pass... | 16:30 |
uvirtbot | New bug: #759978 in nova "Openstack API Rate limiting isn't flexible enough" [Wishlist,New] https://launchpad.net/bugs/759978 | 16:31 |
* BK_man started nova-api but does not get CA generated... | 16:31 | |
*** kbringard has joined #openstack | 16:32 | |
*** rchavik has quit IRC | 16:32 | |
kbringard | hey guys, quick ? | 16:33 |
kbringard | I googled around a bit, but couldn't find it... how do I specify multiple security groups when I launch an instance? | 16:33 |
kbringard | I tried using -g multiple times, but it only took the first one | 16:33 |
*** stewart has joined #openstack | 16:33 | |
*** kashyap has quit IRC | 16:34 | |
kbringard | and I tried adding them comma and space separated, but that doesn't work either | 16:34 |
jaypipes | sirp_: the really strange thing is that the failure only occurs when not running in a virtualenv. | 16:34 |
*** tildedave has quit IRC | 16:35 | |
BK_man | it does not even try to create CA... | 16:36 |
*** jmckenty has joined #openstack | 16:37 | |
jaypipes | sirp_: I'm also a little confused why tarmac let the merge go through with a failing test :( | 16:37 |
kbringard | oh, from looking at the API logs it looks like specifying -g or --group multiple times does work, it just only displays default in describe-instances | 16:39 |
kbringard | n/m :-) | 16:39 |
devcamcar | soren: can you clarify why you marked the zero volume patch as needs fixing? | 16:42 |
devcamcar | https://code.launchpad.net/~anotherjesse/nova/zero-volumes/+merge/57025 | 16:42 |
devcamcar | i didn't follow | 16:42 |
*** hagarth has joined #openstack | 16:43 | |
*** tildedave has joined #openstack | 16:45 | |
vishy | devcamcar: added a note to explain | 16:47 |
BK_man | vishy: which version of httplib2 are you using? | 16:48 |
vishy | ii python-httplib2 0.6.0-3build1 | 16:49 |
*** joearnold has joined #openstack | 16:50 | |
jaypipes | sirp_: would you mind branching https://code.launchpad.net/~jaypipes/glance/bug759018 and letting me know if all tests pass for you? they do for me... | 16:50 |
devcamcar | vishy: still don't follow - where is this hack for 0 -> 100M ? | 16:50 |
devcamcar | and what does it have to do with this patch | 16:50 |
*** kashyap has joined #openstack | 16:50 | |
vishy | devcamcar: it was removed | 16:50 |
devcamcar | ok | 16:50 |
devcamcar | vishy: i'm going to approve it then | 16:51 |
BK_man | vishy: same on my side. I finished fixing my scripts - now I cleaning CA folder each time. BadStatusLine still here | 16:51 |
vishy | which version of eucatools? | 16:51 |
BK_man | 1.3.1 with all Ubuntu patches | 16:51 |
* BK_man backported them | 16:52 | |
vishy | and you've had those working? | 16:53 |
vishy | I've only ever used 1.2 | 16:53 |
BK_man | yep. yesterday all was working | 16:53 |
*** jakedahn has quit IRC | 16:54 | |
vishy | BK_man: are you using --use_project_ca=True? | 16:54 |
BK_man | vishy: nope | 16:55 |
vishy | can you put some logging in euca2ools to figure out which keyfile is giving the BadStatusLine? | 16:56 |
vishy | the only change to ca stuff recently was from a few days ago | 16:56 |
*** bcwaldon has joined #openstack | 16:56 | |
*** maplebed has quit IRC | 16:57 | |
*** maplebed has joined #openstack | 16:57 | |
BK_man | vishy: do you think that problem is in keyfile? | 16:58 |
*** j05h has quit IRC | 16:58 | |
*** j05h has joined #openstack | 16:59 | |
vishy | BK_man: wait this is during upload_bundle? | 16:59 |
*** smeier00 has left #openstack | 17:00 | |
BK_man | vishy: no. that's from euca-run-instances | 17:00 |
vishy | gah: jaypipes earlier referenced upload-bundle | 17:00 |
vishy | ok | 17:00 |
BK_man | vishy: fresh pastie: http://paste.openstack.org/show/1181/ | 17:00 |
vishy | haha ok i've been looking in completely the wrong place | 17:01 |
vishy | :) | 17:01 |
jaypipes | vishy: BK_man mentioned upload-bundle, not me :) | 17:02 |
*** smeier00 has joined #openstack | 17:02 | |
vishy | jaypipes: yeah I was thinking the problem was with image registration | 17:02 |
vishy | looks like a problem getting data from glance | 17:02 |
*** jmckenty has quit IRC | 17:02 | |
vishy | I do remember seeing something like this before | 17:02 |
jaypipes | "<BK_man> question: is euca-upload-bundle working with Glance? I'm getting error with starting instances both on Glance and local" | 17:03 |
BK_man | vishy: I can switch to localimage and there will be another error | 17:03 |
*** uksysadmin has quit IRC | 17:03 | |
vishy | oo interesting | 17:03 |
BK_man | jaypipes: yep, but I tried it with LocalImage service also | 17:03 |
vishy | what is the error on local? | 17:03 |
BK_man | let me give you an error on local... | 17:03 |
patri0t | BK_man: I had the exact same error this morning, but I found out republishing images will solve my problem easier | 17:04 |
BK_man | what is correct value for --image_service for local instead of Glance? | 17:06 |
BK_man | patri0t: I'm doing everything from scratch - db, image publishing, CA, user, project, network | 17:07 |
BK_man | patri0t: each time | 17:07 |
vishy | oh yeah | 17:07 |
vishy | old images will not work | 17:07 |
*** nacx has quit IRC | 17:07 | |
vishy | --image_service=nova.image.local.LocalImageService | 17:07 |
BK_man | vishy: old images - what does it mean? Do I need to fix my kernel/initrd/rootfs or just republish image using euca-upload-bundle? | 17:08 |
BK_man | vishy: new pastie for LocalImageService: http://paste.openstack.org/show/1182/ | 17:10 |
*** smeier00 has left #openstack | 17:10 | |
BK_man | vishy: forgot to mention - my rootfs is qcow2 and I have --use_cow_images=true set in /etc/nova/nova.conf | 17:12 |
*** dirkx_ has quit IRC | 17:19 | |
*** deshantm_laptop has joined #openstack | 17:20 | |
openstackjenkins | Project nova build #815: SUCCESS in 2 min 28 sec: http://jenkins.openstack.org/job/nova/815/ | 17:24 |
openstackjenkins | Tarmac: Zero out volumes during deletion to prevent data leaking between users | 17:24 |
*** smeier00 has joined #openstack | 17:26 | |
*** stewart has quit IRC | 17:28 | |
ironcamel | _cerberus_: you around? | 17:29 |
*** deshantm_laptop_ has joined #openstack | 17:31 | |
vishy | BK_man: looks like it is trying to boot with the wrong image | 17:32 |
*** MarkAtwood has quit IRC | 17:32 | |
nhm_ | so how's the release going? | 17:32 |
Nick0la | silly question. Is it possible to make a project have a single IP? /usr/bin/nova-manage network create 192.168.1.2/32 1 1 Will that work, or does Nova require a gateway/broadcast? | 17:32 |
BK_man | vishy: nothing changed on my side. at least by me. let me check it again | 17:33 |
*** gregp76 has quit IRC | 17:33 | |
*** littleidea has left #openstack | 17:33 | |
alekibango | Nick0la: no question is silly... for example i also do not know :) | 17:33 |
Nick0la | in the system I am setting up, I am expecting each project to be confined to a single host, so I was planning on giving each project a single IP address from the pool i was given by the networking dept. | 17:34 |
*** deshantm_laptop has quit IRC | 17:34 | |
*** deshantm_laptop_ is now known as deshantm_laptop | 17:34 | |
Nick0la | sorry...confined to a single guest might be a better way of putting it? | 17:34 |
Nick0la | alekibango: haha | 17:34 |
vishy | need to find out what image id it is passing | 17:34 |
vishy | oh | 17:35 |
vishy | BK_man: is the compute host the same as the api host? | 17:35 |
BK_man | vishy: corrent | 17:35 |
BK_man | vishy: correct. same host, one host - cc | 17:35 |
uvirtbot | New bug: #760037 in nova "os api 1.1 metadata incorrect serialization in json " [Undecided,Invalid] https://launchpad.net/bugs/760037 | 17:36 |
vishy | BK_man: can you check /var/lib/nova/images and make sure that there is an image file? | 17:37 |
vishy | I wonder if your having a failure decrypting | 17:37 |
BK_man | vishy: I can see three dirs in /var/lib/nova/images | 17:37 |
vishy | *you're | 17:37 |
vishy | they should all have an image and an info.json file | 17:37 |
BK_man | vishy: there are an image file inside each dir + json | 17:37 |
*** jfluhmann has joined #openstack | 17:37 | |
vishy | hmm | 17:38 |
BK_man | vishy: # file */image | 17:38 |
BK_man | 036758de/image: ELF 64-bit LSB shared object, x86-64, version 1, statically linked, stripped | 17:38 |
BK_man | 3669705a/image: Qemu Image, Format: Qcow , Version: 2 | 17:38 |
BK_man | 61dcdb93/image: gzip compressed data, from Unix, last modified: Fri Feb 4 14:20:35 2011, max compression | 17:38 |
BK_man | vishy: seems OK from my point of view | 17:38 |
vishy | BK_man: did you reset the image service for the compute host as well? | 17:38 |
BK_man | vishy: what you mean under 'reset'? | 17:38 |
BK_man | vishy: I do stop nova services, drop MySQL db, clean all dirs (including images), logs. and starting from scratch | 17:39 |
vishy | ok | 17:39 |
vishy | so you need to find out why it can't download the image | 17:39 |
vishy | one of the opens in line 110-114 in local.py is raising an exception | 17:40 |
* BK_man wondering is that merge was problematic? https://code.launchpad.net/~soren/nova/metadata-full-instance-objects | 17:40 | |
vishy | Bk_man: i wouldn't think that would cause an issue | 17:40 |
vishy | BK_man: that is just for metadata | 17:40 |
BK_man | vishy: correct. But this is last common string in trace from both Glance and LocalImage | 17:41 |
BK_man | vishy: metadata = image_service.get(elevated, image_id, image_file) | 17:41 |
vishy | yeah, so i'm guessing image_id or image_file is wrong, ut we need logging | 17:42 |
devcamcar | how's gamma looking? we got the volume zeroing approved, so i think we are looking good? | 17:48 |
*** jmckenty has joined #openstack | 17:48 | |
*** xavicampa has quit IRC | 17:49 | |
*** imsplitbit has joined #openstack | 17:50 | |
*** xavicampa has joined #openstack | 17:51 | |
*** Ryan_Lane has joined #openstack | 17:52 | |
BK_man | vishy: path to json is ok | 17:54 |
*** fabiand__ has joined #openstack | 17:55 | |
BK_man | vishy: path to image is also ok | 17:57 |
BK_man | vishy: /var/lib/nova/images/5f542abd/image | 17:57 |
devcamcar | termie: you around? | 17:57 |
termie | devcamcar: yeah brah, watchooneed | 17:58 |
*** drico has joined #openstack | 18:01 | |
*** MarkAtwood has joined #openstack | 18:02 | |
*** _vinay has joined #openstack | 18:03 | |
*** mray has quit IRC | 18:09 | |
zigo-_- | soren: nova-manage should depend on python-amqplib | 18:10 |
zigo-_- | I'm doing a setup from scratch, and just found out ... | 18:10 |
*** zul has quit IRC | 18:14 | |
*** chuck_ has joined #openstack | 18:14 | |
*** santhosh_ has joined #openstack | 18:16 | |
*** santhosh has quit IRC | 18:16 | |
*** santhosh_ is now known as santhosh | 18:16 | |
soren | zigo-_-: nova-manage? Why? | 18:16 |
*** mihgen has joined #openstack | 18:18 | |
zigo-_- | soren: It did a stack-dump on me when I did apt-get install from my repository. | 18:20 |
zigo-_- | Not finding this python module ... | 18:20 |
*** elambert has joined #openstack | 18:21 | |
BK_man | vishy: NotFound: IO error: [Errno 2] No such file or directory: '/var/lib/nova/images/3670df9c/image' | 18:23 |
BK_man | vishy: -rw-r--r-- 1 nova nobody 160383488 Apr 13 22:15 /var/lib/nova/images/3670df9c/image | 18:23 |
BK_man | vishy: don't understand... | 18:23 |
zigo-_- | soren: Not "nova-manage" but "nova-common" sorry. | 18:23 |
zigo-_- | I guess it is the 'nova-manage db sync' in the postinst that failed... | 18:24 |
uvirtbot | New bug: #760072 in openstack-dashboard "Image detail view needs an x button to resume normal view" [Undecided,New] https://launchpad.net/bugs/760072 | 18:26 |
soren | zigo-_-: Well, nova-manage does depend on python-nova, which depends on python-carrot which is what we use to transfer messages. | 18:27 |
soren | zigo-_-: Typically, this is doen over amqp, and python-carrot does recommend python-amqplib. | 18:28 |
soren | s/doen/done/ | 18:28 |
soren | I wonder if Nova would work with another of carrot's transport drivers. | 18:29 |
zigo-_- | recommends != depends | 18:30 |
nhm_ | I enjoy rabbit and carrot as project names btw. | 18:30 |
zigo-_- | I did willingly, to test dependencies, disabled pulling of recommends ... | 18:30 |
soren | zigo-_-: ?!? | 18:31 |
*** smeier00 has quit IRC | 18:31 | |
zigo-_- | So you really DO need to explicitely put it in the depends. | 18:31 |
soren | zigo-_-: I know depends aren't the same as recommonds. | 18:31 |
*** santhosh has quit IRC | 18:31 | |
soren | zigo-_-: Are you even reading what I'm saying? | 18:31 |
zigo-_- | soren: So why do you write "python-carrot does recommend python-amqplib" ? | 18:31 |
*** santhosh has joined #openstack | 18:31 | |
soren | Becuase it's true? | 18:31 |
alekibango | zigo-_-: potentially you do not need amqp | 18:32 |
alekibango | maybe :) | 18:32 |
zigo-_- | I don't care if python-carrot "Recommends:" python-amqplib, we need a stronger dependency here, not a depends ! | 18:32 |
zigo-_- | Not potentially, the postinst of nova-common FAILS!!! | 18:32 |
BK_man | shutil.copyfileobj(image_file, data) failed in image/local.py with Not found error. However, there is a file! | 18:32 |
zigo-_- | :) | 18:32 |
alekibango | you meant prolly "not a recommend" | 18:32 |
alekibango | :) | 18:32 |
soren | zigo-_-: Arguably, a bunch of stuff fails by default because we don't pull in rabbitmq either. | 18:33 |
zigo-_- | soren: Please don't digress... It would fail puiparts test ... | 18:34 |
zigo-_- | That's it. | 18:34 |
soren | That's the "uninstalls properly" test, right? | 18:34 |
zigo-_- | Either remove "nova-manage db sync" call from postinst, either add the dependency. | 18:35 |
zigo-_- | Nop, that's the "install properly without pulling recommends by default" test ... :) | 18:35 |
soren | I don't understand at all why python-amqp is needed for nova-manage db sync, though. That seems odd to me. | 18:35 |
alekibango | soren: :) | 18:35 |
zigo-_- | Maybe simply because there's an import that shouldn't be there? | 18:35 |
alekibango | there is so many odd things with nova... | 18:35 |
alekibango | :) | 18:35 |
zigo-_- | soren: Maybe you are simply right, and the issue is in the code rather than in the depends... | 18:36 |
zigo-_- | But right now, it's impossible to install with stricts dependencies without recommends. | 18:36 |
mihgen | BK_man: may be the process doesn't have access to the directory where file is located? I would try strace anyway.. | 18:37 |
zigo-_- | soren: Also, what is the reason the nova doc asks the admin to create the nova group by hand? | 18:37 |
zigo-_- | Shouldn't we just put that in the postinst or something? | 18:38 |
soren | A nova group? | 18:38 |
soren | Where does it say that? | 18:38 |
zigo-_- | http://docs.openstack.org/openstack-compute/admin/content/ch03s03.html | 18:38 |
* soren gave up keeping up with the docs a long time ago. | 18:38 | |
BK_man | mihgen: it fails on 3rd operation, not first! so, it's definitely have access rights to that dir and file: http://paste.openstack.org/show/1183/ | 18:38 |
zigo-_- | :D | 18:38 |
soren | zigo-_-: No idea. | 18:39 |
zigo-_- | soren: So, I should NOT use a "nova" group? | 18:39 |
soren | zigo-_-: I can't imagine what for. | 18:39 |
*** elambert has quit IRC | 18:39 | |
zigo-_- | I can try without, and see how it goes htne, thanks. | 18:39 |
zigo-_- | then | 18:39 |
*** elambert has joined #openstack | 18:40 | |
alekibango | annegentle: ^^ | 18:40 |
soren | Look, these packages work. if there's something they don't do, it can't possibly be needed. | 18:40 |
zigo-_- | The doc also writes "chown -R root:nova /etc/nova" | 18:40 |
soren | don't believe everything you read. | 18:40 |
zigo-_- | I suppose that I should do chown -R nova /etc/nova ? | 18:40 |
*** xavicampa has quit IRC | 18:40 | |
zigo-_- | Eheh! :) | 18:41 |
alekibango | :) | 18:41 |
zigo-_- | I don't believe anything now!:P | 18:41 |
soren | Good! | 18:41 |
soren | Especially anything I say. | 18:41 |
zigo-_- | :D | 18:41 |
alekibango | source is the source, sadly | 18:41 |
zigo-_- | soren: That's exactly WHY I ask you, you know ... | 18:41 |
zigo-_- | :D | 18:41 |
zigo-_- | By default, the /etc/nova/nova.conf is left world readable, and it contains passwords... | 18:42 |
zigo-_- | I'd be for chown nova /etc/nova/nova.conf then chmod to some more restrictive rights. | 18:43 |
zigo-_- | soren: Don't you think? | 18:43 |
soren | Yeah, that makes sense. | 18:43 |
alekibango | sounds good | 18:43 |
zigo-_- | Maybe we'd better mess-up with unix right AFTER cactus ... :P | 18:44 |
*** imsplitbit has quit IRC | 18:46 | |
zigo-_- | http://paste.openstack.org/show/1184/ | 18:48 |
zigo-_- | Same type of dependency issue with nova-compute, I guess ... | 18:49 |
soren | No, that's a different problem, I think. | 18:49 |
soren | Is this with trunk= | 18:49 |
soren | ? | 18:49 |
soren | Fresh? | 18:49 |
*** thor has joined #openstack | 18:50 | |
zigo-_- | This is my own Debian package, bzr925. | 18:50 |
zigo-_- | It did work before with more python modules. | 18:50 |
BK_man | soren: could you please look on http://paste.openstack.org/show/1183/ ? | 18:50 |
zigo-_- | soren: Could it be that it needs python-software-properties? | 18:51 |
BK_man | soren: I don't really understand what's wrong. strace show same thing - open("/var/lib/nova/images/717f3c22/image", O_RDONLY) = -1 ENOENT (No such file or directory) | 18:51 |
*** MarkAtwood has quit IRC | 18:51 | |
*** santhosh has quit IRC | 18:52 | |
zigo-_- | No, that's not the one... | 18:52 |
zigo-_- | alekibango: Can you please do a grep in /usr/lib/python2.6 and search for "MessagePlugin" ? | 18:54 |
*** santhosh has joined #openstack | 18:55 | |
*** dysinger` has joined #openstack | 18:55 | |
soren | BK_man: No clue. | 18:55 |
jaypipes | sirp_: heya, around? wondering about your opinion on bug 759018... | 18:56 |
uvirtbot | Launchpad bug 759018 in glance "When running tests without virtualenv, test_traceback_not_consumed fails" [Critical,In progress] https://launchpad.net/bugs/759018 | 18:56 |
*** imsplitbit has joined #openstack | 18:56 | |
sirp_ | jaypipes: yep looking now | 18:56 |
jaypipes | sirp_: thx man. | 18:56 |
alekibango | zigo-_-: will | 18:56 |
*** stewart has joined #openstack | 18:56 | |
sirp_ | jaypipes: want me to review the branch you have for it? or have a question? | 18:57 |
soren | zigo-_-: That problem was fixed in rev 934. | 18:57 |
zigo-_- | alekibango: Skip that, it wont be relevant, IMHO. | 18:57 |
zigo-_- | Oh, thanks. | 18:57 |
jaypipes | sirp_: review would be good. :) | 18:57 |
sirp_ | jaypipes: cool, ill give it a test-drive right now | 18:58 |
jaypipes | sirp_: goes back to that dang eventlet/GreenThread exception thing... the patch fixes the bug, but I want to get your opinion since you've had strong opinions about that particular little block of code in the past! :) | 18:58 |
*** mray has joined #openstack | 18:58 | |
* zigo-_- wonder how it could have one day work then... | 18:58 | |
soren | zigo-_-: Maybe you had python-suds installed. | 18:59 |
jaypipes | ttx: request exception for https://bugs.launchpad.net/glance/+bug/759018. It's a blocker/critical IMHO, as it's preventing packaging from building due to a test case failure. | 18:59 |
uvirtbot | Launchpad bug 759018 in glance "When running tests without virtualenv, test_traceback_not_consumed fails" [Critical,In progress] | 18:59 |
*** stewart has quit IRC | 19:00 | |
zigo-_- | soren: Why doesn't it depends on it then? | 19:00 |
*** mramige has joined #openstack | 19:00 | |
zigo-_- | Not needed as well? | 19:00 |
soren | zigo-_-: 18:57 <+soren> zigo-_-: That problem was fixed in rev 934. | 19:00 |
zigo-_- | k | 19:00 |
zigo-_- | :) | 19:00 |
soren | :) | 19:00 |
jaypipes | sirp_: I *really* am confused why the test passes with virtualenv and doesn't without one, though. :( | 19:00 |
zigo-_- | Sure. | 19:00 |
zigo-_- | soren: So, we never need python-suds anymore or what? | 19:01 |
zigo-_- | Just asking to know if I need to check its packaging in Debian... | 19:01 |
soren | Only if you want to use VMWare. | 19:01 |
zigo-_- | Oh ok, thanks. | 19:01 |
*** dirkx_ has joined #openstack | 19:01 | |
* zigo-_- don't care non-free software... | 19:01 | |
soren | Excactly. | 19:01 |
zigo-_- | :) | 19:01 |
*** dirkx_ has quit IRC | 19:01 | |
soren | zigo-_-: It would probably be a good idea to forget all about r925. We're in bug fixing mode, and we're at 985. That's ~60 bugs fixed. | 19:02 |
soren | Why waste time experiencing 60 known and fixed bugs? | 19:02 |
zigo-_- | soren: I'm just trying to reinstall from scratch, and pulled from what I've put in my repo a week ago. | 19:03 |
zigo-_- | I'll of course upgrade right now. | 19:03 |
* soren has to run an errand. | 19:03 | |
sirp_ | jaypipes: looks like we're only killing the image in very specific cases; shouldn't we be killing it for any exception that isn't explicitly caught? | 19:04 |
sirp_ | jaypipes: for example mysql gone away errors and such should probably cause the image to be killed | 19:04 |
*** mgoldmann has quit IRC | 19:05 | |
jaypipes | sirp_: not sure. if you can find a way to fix the bug using the existing code, I'm all for it. I'm *really* confused why running the code in a virtualenv makes a difference. :( | 19:05 |
sirp_ | jaypipes: yeah that is *really* strange | 19:05 |
*** Ryan_Lane is now known as Ryan_Lane|food | 19:06 | |
*** MarkAtwood has joined #openstack | 19:06 | |
jaypipes | sirp_: but, as it is, we don't have much time :( I propose either a) sticking with this, since it does fix the test failure or b) adding a except Exception: block at the end of just the _upload function there and calling _safe_kill() (though to be honest, I'd almost rather *leave it out* to give us a heads up when non-Duplicate exceptions occur... | 19:07 |
*** lvaughn has quit IRC | 19:07 | |
*** lvaughn has joined #openstack | 19:08 | |
jaypipes | sirp_: I think maybe that except: block is hiding something somewhere (as they have a tendency to do...) unfortunately, I haven't been able to figure out what's being hidden! :( | 19:08 |
jaypipes | sirp_: ^^ refers to pre-patched code... | 19:08 |
sirp_ | jaypipes: im all for re-raising exceptions, so that we get a heads up, but i think we should still kill the image to keep the data consistent | 19:08 |
jaypipes | sirp_: k, so you're suggesting adding an except: block at the end of _upload() that calls safe_kill() then? | 19:09 |
jaypipes | sirp_: the b) option above? | 19:09 |
sirp_ | jaypipes: yeah, as long as it doesn't somehow break the test | 19:09 |
sirp_ | jaypipes: the original code seemed right to me in spirit, even though some evenlet wonkiness seems to be messing that up | 19:10 |
jaypipes | sirp_: hey, I hear you... I'm still puzzled over this one. | 19:10 |
*** javidiaz has joined #openstack | 19:10 | |
sirp_ | jaypipes: ill go ahead and fiddle with this for a bit and see if anything jumps out but, since we're pressed for time, ill defer to you for the best stop-gap approach | 19:11 |
jaypipes | sirp_: k | 19:13 |
*** smeier00 has joined #openstack | 19:15 | |
vishy | BK_Man: permissions issue? Is the stuff owned by root instead of nova? | 19:17 |
*** mramige has quit IRC | 19:19 | |
*** dendrobates is now known as dendro-afk | 19:22 | |
jaypipes | sirp_: k, I added an except: catch-all at the bottom of _upload() and pushed it to that branch. | 19:23 |
*** imsplitbit has quit IRC | 19:23 | |
sirp_ | jaypipes: k repulling | 19:23 |
*** neogenix has joined #openstack | 19:23 | |
jaypipes | k | 19:23 |
devcamcar | ttx: FFE request for https://code.launchpad.net/~jk0/nova/lp754983/+merge/57566 ? | 19:25 |
*** lvaughn_ has joined #openstack | 19:26 | |
*** koolhead17 has quit IRC | 19:26 | |
*** zigo-_- has quit IRC | 19:27 | |
notmyname | ttx: my thought on the swift release versioning is that we should use 1.3-rc for the release candidate and 1.3.0 for the release. this prevents a possible 2 versions of the code/packages at 1.3.0. If there are no differences from rc to final, bumping the version and making the tarball should be straightforward | 19:27 |
*** neogenix_ has joined #openstack | 19:28 | |
notmyname | ttx: ultimately, I don't think this whole process is the best, and we should all talk about it at the summit, but for now, I think it should be as close as possible to the previous swift releases (eg 1.2-rc and 1.2.0) | 19:28 |
*** neogenix has quit IRC | 19:29 | |
*** neogenix_ is now known as neogenix | 19:29 | |
*** lvaughn has quit IRC | 19:29 | |
*** joearnold has quit IRC | 19:31 | |
*** dendro-afk is now known as dendrobates | 19:31 | |
*** joearnold has joined #openstack | 19:31 | |
*** fabiand__ has quit IRC | 19:36 | |
*** rds__ has quit IRC | 19:36 | |
*** HouseAway is now known as AimanA | 19:38 | |
*** MarkAtwood has quit IRC | 19:39 | |
*** koolhead17 has joined #openstack | 19:41 | |
*** Ryan_Lane|food is now known as Ryan_Lane | 19:43 | |
markwash | jaypipes: quick question about your preferred use of the instance_metadata table | 19:44 |
*** benbenhappy has left #openstack | 19:44 | |
markwash | jaypipes: would we want to make sure there was some mechanism to distinguish between user-provided metadata and system-provided metadata? | 19:45 |
*** adiantum has quit IRC | 19:45 | |
*** fabiand__ has joined #openstack | 19:45 | |
kbringard | markwash and jaypipes: that reminds me... should "type" be a core property in the images table... as it stands it's required for the ec2 api to work | 19:46 |
jmckenty | vishy: are we thinking two separate NaaS sessions - one for the Cisco proposal, and one for dendrobates rollup? Or just one? | 19:51 |
vishy | jmckenty: I'm analyzing NaaS now, there are 3+ groups | 19:51 |
jmckenty | right, was going to suggest that https://blueprints.launchpad.net/nova/+spec/instance-migration happen AFTER that session | 19:52 |
vishy | jmckenty: ok | 19:52 |
jmckenty | and I just wanted to make sure I was subscribed to the right one :) | 19:52 |
*** dragondm has quit IRC | 19:55 | |
*** nelson has quit IRC | 20:03 | |
*** nelson has joined #openstack | 20:03 | |
*** jmckenty has quit IRC | 20:04 | |
*** chuck_ is now known as zul | 20:07 | |
*** dragondm has joined #openstack | 20:13 | |
*** deshantm_laptop has quit IRC | 20:13 | |
*** antenagora has joined #openstack | 20:16 | |
*** clauden_ has joined #openstack | 20:16 | |
Ryan_Lane | I'm having an issue launching instances since upgrading to trunk from bexar release | 20:20 |
Ryan_Lane | instances launch, but don't seem to do anything. nothing shows up in the console log, for instance | 20:21 |
Ryan_Lane | and I can't ping them | 20:21 |
Ryan_Lane | I switched to glance, as this seems to be required now | 20:21 |
Ryan_Lane | could it be the way I'm adding the images into glance? | 20:21 |
kbringard | Ryan_Lane: can you euca-describe-instances? | 20:21 |
Ryan_Lane | yep | 20:22 |
Ryan_Lane | it shows it running | 20:22 |
kbringard | sorry, I meant describe-images | 20:22 |
Ryan_Lane | IMAGE ami-00000001 None (Ubuntu 10.04 Server LTS (2011-03-22)) available public machine | 20:22 |
kbringard | and, are the ramdisk and kernel properly referenced (if they're not included in the base image) | 20:22 |
Ryan_Lane | that's the thing. no | 20:22 |
kbringard | ah, ok | 20:22 |
kbringard | one sec | 20:22 |
Ryan_Lane | I can't seem to use uec-public-tarball either | 20:22 |
kbringard | yea, that uses the ec2 stuff | 20:23 |
Ryan_Lane | glance marks them as queued, and I have no way to make them active | 20:23 |
kbringard | in my experience, you need to use the glance-updloader tool | 20:23 |
Ryan_Lane | I did use glance-upload for this | 20:23 |
kbringard | oh, hrmm | 20:23 |
Ryan_Lane | wait… did i? | 20:23 |
Ryan_Lane | I remember trying it and still having this problem | 20:23 |
Ryan_Lane | let me try using it again | 20:23 |
kbringard | http://paste.openstack.org/show/1185/ | 20:24 |
kbringard | that's how my properties look for an image and corresponding kernel | 20:24 |
Ryan_Lane | hmm. it seems glance is all screwed up now too | 20:24 |
kbringard | the kernel id and type are the important bits | 20:25 |
Ryan_Lane | ah. i see | 20:25 |
Ryan_Lane | how did you upload this? | 20:25 |
kbringard | here | 20:25 |
kbringard | I'll show you | 20:25 |
kbringard | http://paste.openstack.org/show/1186/ | 20:26 |
kbringard | I wrote this little wrapper | 20:26 |
Ryan_Lane | oh. sweet. that's really helpful | 20:26 |
kbringard | it works most of the time | 20:26 |
kbringard | I'm going to commit it to my github once I tst it throughly enough to feel safe | 20:26 |
kbringard | haha | 20:26 |
kbringard | it *should* work | 20:27 |
Ryan_Lane | for a normal uec image, what's the normal usage? | 20:27 |
kbringard | put the kernel, ramdisk and image all in the same base dir | 20:27 |
kbringard | then do | 20:27 |
kbringard | ./glance-uploader.bash -i ttylinux-uec-amd64-12.1_2.6.35-22_1.img -k ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz -r ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd -v 1.0 -d ttylinux -e 2.6.35 -a amd64 | 20:27 |
kbringard | the, -d, -d -e, and -a are whatever you want | 20:28 |
kbringard | but they're required by the script | 20:28 |
kbringard | mostly because it's info we want every image to have in our environment | 20:28 |
Ryan_Lane | cool | 20:29 |
kbringard | it also generates some other info, like, it pulls the username and hostname of the machine that did the uploading | 20:29 |
kbringard | and puts that in there | 20:29 |
kbringard | if you just run it with no options it'll output a usage menu | 20:29 |
Ryan_Lane | great. let me see if this will fix my instances-not-booting issue :) | 20:30 |
kbringard | hehe, good luck :-) | 20:30 |
kbringard | it's kind of a stop gap, I'm working on adding post support to ogle (https://github.com/kevinbringard/ogle) so you can just do it straight from ruby | 20:30 |
*** joearnold has quit IRC | 20:31 | |
*** joearnold has joined #openstack | 20:31 | |
Ryan_Lane | heh. ruby :) | 20:31 |
Ryan_Lane | no python support? :) | 20:31 |
kbringard | eh, Ruby is what we use where I work | 20:31 |
Ryan_Lane | I should add php support to my web interface | 20:31 |
Ryan_Lane | err | 20:32 |
kbringard | so it's what I write out utils in :-) | 20:32 |
Ryan_Lane | glance support to my php web interface | 20:32 |
*** reldan has quit IRC | 20:32 | |
Ryan_Lane | yeah, makes sense | 20:32 |
Ryan_Lane | I'm using php for a similar reason | 20:32 |
*** antenagora has quit IRC | 20:33 | |
*** reldan has joined #openstack | 20:34 | |
*** neogenix has quit IRC | 20:36 | |
*** fabiand__ has quit IRC | 20:36 | |
Ryan_Lane | \o/ | 20:37 |
kbringard | any luck? | 20:37 |
Ryan_Lane | yep | 20:37 |
Ryan_Lane | you solved my problem | 20:37 |
kbringard | nice | 20:37 |
kbringard | glad I could help | 20:37 |
Ryan_Lane | though I need to rework how I display images to users | 20:37 |
Ryan_Lane | since users can select either the kernel or the machine image, which is strange | 20:37 |
*** fabiand__ has joined #openstack | 20:38 | |
kbringard | you should be able to filter by | 20:38 |
*** mihgen has quit IRC | 20:38 | |
kbringard | disk_format | 20:38 |
kbringard | aki is kernel | 20:38 |
kbringard | ari is ramdisk | 20:38 |
kbringard | and ami is machine | 20:38 |
kbringard | {"name"=>"maverick-server-uec-amd64-vmlinuz-virtual", "container_format"=>"aki", "disk_format"=>"aki", "checksum"=>"73152adae523a52d481f5150deb30356", "id"=>1, "size"=>4408912}, {"name"=>"maverick-server-uec-amd64.img", "container_format"=>"ami", "disk_format"=>"ami", "checksum"=>"d2d3b3049f897dff2f86295d5a9e879e", "id"=>2, "size"=>1476395008} | 20:39 |
kbringard | that's what the glance api returns (for a non detailed image list) | 20:39 |
*** fabiand__ has left #openstack | 20:39 | |
Ryan_Lane | yeah. I need to check how nova is returning them via the api :) | 20:39 |
kbringard | if you read ruby, it's all extracted out in ogle, perhaps you can port it to php and be all pimpin' | 20:39 |
Ryan_Lane | well, I'm trying to use the ec2-api solely right now | 20:40 |
kbringard | ah, got it | 20:40 |
Ryan_Lane | since it's the only thing that actually supports everything | 20:40 |
Ryan_Lane | and of course it reports both of them as "machine" type | 20:40 |
Ryan_Lane | which is wrong | 20:40 |
Ryan_Lane | and should be fixed in nova | 20:40 |
*** mihgen has joined #openstack | 20:45 | |
*** allsystemsarego has quit IRC | 20:45 | |
*** iammartian has joined #openstack | 20:50 | |
kbringard | yea, that's frustrating | 20:50 |
*** iammartian has left #openstack | 20:50 | |
kbringard | we've written our portal to use the glance API for images | 20:51 |
kbringard | since I don't imagine the ec2 api is ever going to support glance meta data | 20:51 |
kbringard | anyway, I started a new repo for tools I've written here: https://github.com/kevinbringard/OpenStack-tools | 20:52 |
kbringard | it's got the uploader in there | 20:52 |
Ryan_Lane | yeah, I'd imagine the ec2 api won't support it either | 20:52 |
Ryan_Lane | I plan on moving to the openstack api, when it has support for everything | 20:52 |
kbringard | yea, likewise | 20:53 |
*** reldan has quit IRC | 20:53 | |
jaypipes | markwash: sorry, stepped away for a bit... | 20:55 |
jaypipes | markwash, kbringard: we used to have "type" as a base image attribute. We split that out into disk_format and container_format in Cactus, to make Glance more flexible for storing non-Amazon-specific stuff. | 20:56 |
*** reldan has joined #openstack | 20:56 | |
kbringard | jaypipes: ah, makes sense | 20:56 |
jaypipes | markwash: as for the instance_metadata table, I'm not sure I have a good answer for you on that. I think it's worth discussing, though. | 20:57 |
_vinay | Hi | 20:57 |
_vinay | I am looking at smoketests | 20:57 |
_vinay | in base.py (class SmokeTestCase) | 20:58 |
_vinay | in def connection_for_env() we do | 20:58 |
*** arun_ has quit IRC | 20:58 | |
_vinay | return boto.connect_ec2() | 20:58 |
_vinay | My question is this has nothing to do with ec2 right? | 20:59 |
_vinay | I mean it doesnt connect to EC2 .. am I right? | 20:59 |
kbringard | _vinay: you mean like, amazon's actual webservice? | 20:59 |
kpepple | _vinay: no, you should read that as "connect using EC2 API" | 21:00 |
kbringard | kpepple: beat me to it :-) | 21:00 |
_vinay | yep thats what I am confused about | 21:00 |
_vinay | although I do see the connection to the api server I started | 21:00 |
_vinay | nova server I mean? | 21:00 |
_vinay | nova server I mean | 21:00 |
_vinay | ok cool :-) | 21:00 |
_vinay | so its named _ec2 because it uses ec2 apis .. cool | 21:01 |
uvirtbot | New bug: #760239 in openstack-dashboard "Permission denied page is not styled" [Undecided,New] https://launchpad.net/bugs/760239 | 21:02 |
*** h0cin has quit IRC | 21:05 | |
*** bkkrw has joined #openstack | 21:06 | |
*** ChamSys has joined #openstack | 21:06 | |
jaypipes | sirp_: fix pushed to that _upload branch. | 21:10 |
sirp_ | jaypipes: cool | 21:10 |
*** Shentonfreude has quit IRC | 21:11 | |
kpepple | jaypipes: have a second for a quick glance question ? | 21:14 |
*** ctennis has quit IRC | 21:15 | |
*** patcoll has quit IRC | 21:16 | |
ttx | devcamcar: looking | 21:17 |
*** mihgen has quit IRC | 21:18 | |
*** mihgen has joined #openstack | 21:18 | |
ttx | devcamcar: ok, let's pull it | 21:19 |
jaypipes | kpepple: shoot. | 21:19 |
ttx | jaypipes: looking | 21:19 |
kpepple | jaypipes: does nova-compute need access to glances' image store directly (local or swift) or does it go through glance api to get the actual image ? | 21:20 |
ttx | jaypipes: I'm a bit unconfortable with it, but not enough to veto it. | 21:22 |
ttx | jaypipes: if you are confortable with it, I'll take it. | 21:22 |
jaypipes | kpepple: it uses the glance client to retrieve images. the XenServer plugin, in addition, uses the glance-upload tool to do snapshotting. | 21:22 |
jaypipes | ttx: pls check with sirp_ too. | 21:23 |
*** bcwaldon has quit IRC | 21:23 | |
*** patcoll has joined #openstack | 21:23 | |
ttx | jaypipes: I'll mark it RC. If you can get it in by the RCFreeze deadline, it's ok. | 21:24 |
jaypipes | ttx: it's in final review from sirp_ now. | 21:24 |
kpepple | jaypipes: thx | 21:25 |
sirp_ | jaypipes: ttx just marked it as approved, lgtm | 21:25 |
* ttx looks into what blocks refresh of http://wiki.openstack.org/reviewslist/ | 21:25 | |
ttx | notmyname: agreed. That means I'll need you around early on Friday. | 21:26 |
notmyname | ttx: np | 21:26 |
ttx | or any swift-core dude to push the versioning branch. | 21:26 |
*** j05h has quit IRC | 21:27 | |
*** j05h has joined #openstack | 21:28 | |
notmyname | ttx: by "early friday", when did you have in mind? like 5 or 6 am? or like 8 or 9 am? | 21:29 |
notmyname | either are good for me, just want to know :-) | 21:29 |
*** ctennis has joined #openstack | 21:29 | |
ttx | I promised the release to Lauren by 10am. So 8am should be alright. | 21:29 |
notmyname | ok, np | 21:29 |
ttx | i'll have the branch merge proposal ready for you. | 21:29 |
notmyname | ok, I'll reject the one you sent earlier | 21:30 |
*** gaveen_ is now known as gaveen | 21:30 | |
ttx | notmyname: ideally we'd have a jenkins-powered job that I can trigger that would bypass swift-core review and limit the risk of fumbling | 21:30 |
ttx | like the one I use for tagging | 21:30 |
*** clauden_ has quit IRC | 21:30 | |
notmyname | indeed | 21:31 |
*** clauden_ has joined #openstack | 21:31 | |
*** ppetraki has quit IRC | 21:31 | |
* ttx makes mental note | 21:31 | |
ttx | arh, someone put unicode in their branch name ? | 21:32 |
*** dweimer has joined #openstack | 21:32 | |
ttx | jaypipes, devcamcar, soren; any of you can accept jk0's https://code.launchpad.net/~jk0/nova/lp754983/+merge/57566 ? I just granted rc exception | 21:35 |
ttx | arh, Jason Kölker | 21:36 |
ChamSys | anyone use zend framework with the openstack api, does it work fairly well using the simple cloud api yet? | 21:36 |
ttx | someone put non-ascii in their name :) | 21:36 |
ttx | breaking my crappy reviewslist code :) | 21:36 |
Ryan_Lane | I'm tracking down a bug in either the glance client, or in the ec2 api, and am having trouble finding the root cause | 21:40 |
Ryan_Lane | all images are being returned as 'machine' type, even if they are not | 21:40 |
Ryan_Lane | the header being returned by glance, for a kernel image is: X-Image-Meta-Container_format: aki | 21:40 |
*** bcwaldon has joined #openstack | 21:41 | |
Ryan_Lane | glance utils. get_image_meta_from_headers() should be returning result['container_format'] = aki | 21:41 |
Ryan_Lane | but it seems it is returning None | 21:41 |
*** dspano has quit IRC | 21:42 | |
ttx | jaypipes: so you have 1-2 branches left to land in Glance, and nova-core has one more branch to land in Nova. Feeling confident ? | 21:45 |
*** smeier00 has quit IRC | 21:45 | |
jaypipes | ttx: on one of the branches, not sure about the doc one... | 21:45 |
Ryan_Lane | hmm, in fact, it seems it isn't even being returned by the glance client | 21:45 |
ttx | jaypipes: i don't really care about that one. If it's ready it can go in, if not, too bad. | 21:46 |
jaypipes | ttx: k | 21:46 |
jaypipes | Ryan_Lane: can you reproduce this with just glance, no nova? | 21:46 |
ttx | jaypipes: going to bed soon, any question for me ? | 21:47 |
jaypipes | ttx: nope | 21:47 |
Ryan_Lane | glance shows the images properly | 21:47 |
ttx | jaypipes: cool. | 21:47 |
Ryan_Lane | Container format: aki <- from glance show | 21:47 |
*** dendrobates is now known as dendro-afk | 21:47 | |
*** dendro-afk is now known as dendrobates | 21:47 | |
ttx | jaypipes: if any issue is raised while I sleep, I'll defer to your guidance. | 21:48 |
jaypipes | ttx: k | 21:48 |
* ttx disappears | 21:48 | |
jaypipes | Ryan_Lane: k, so must be in the ImageService adapter layer in Nova. | 21:49 |
Ryan_Lane | thinking so | 21:49 |
Ryan_Lane | trying to track it down :) | 21:49 |
sirp_ | Ryan_Lane: yeah, just tried glance.client, seemed to work | 21:49 |
Ryan_Lane | ah. I think I found the problem | 21:49 |
Ryan_Lane | container_format is returned in image['properties'], not in image | 21:50 |
tr3buchet | came across an oddity in network/manager.py. most times db is referred to as self.db.function() but there are occurrences of db.fucntion() as well. shouldn't it one way or the other? | 21:50 |
Ryan_Lane | that's it | 21:50 |
Ryan_Lane | I don't know how that will affect non-glance services though | 21:51 |
Ryan_Lane | let me open a bug | 21:51 |
*** smeier00 has joined #openstack | 21:53 | |
*** rds__ has joined #openstack | 21:55 | |
*** pothos_ has joined #openstack | 21:56 | |
vishy | tr3buchet: should be using self.db everywhere | 21:57 |
*** keekz_ has joined #openstack | 21:57 | |
*** openstackjenkins has quit IRC | 21:58 | |
*** laurensell has quit IRC | 21:58 | |
*** pothos has quit IRC | 21:58 | |
*** keekz has quit IRC | 21:58 | |
*** Ryan_Lane1 has joined #openstack | 21:58 | |
*** Ryan_Lane1 has joined #openstack | 21:58 | |
*** pothos_ is now known as pothos | 21:58 | |
*** Ryan_Lane has quit IRC | 21:58 | |
*** Ryan_Lane1 is now known as Ryan_Lane | 21:58 | |
*** laurensell has joined #openstack | 21:59 | |
tr3buchet | alright i'll fix it in multi-nic | 21:59 |
*** clauden_ has quit IRC | 21:59 | |
*** clauden__ has joined #openstack | 21:59 | |
tr3buchet | unless it's big enough to have it's own bug report | 22:00 |
*** openstackjenkins has joined #openstack | 22:00 | |
uvirtbot | New bug: #760289 in nova "All image types return as 'machine' when using glance client in ec2 api" [Undecided,New] https://launchpad.net/bugs/760289 | 22:01 |
*** patcoll has quit IRC | 22:02 | |
*** bcwaldon has quit IRC | 22:02 | |
*** smeier00 has quit IRC | 22:03 | |
jaypipes | Ryan_Lane: from that bug "The glance client returns the container_format in image['properties']". It does? | 22:05 |
mihgen | page_up | 22:06 |
Ryan_Lane | jaypipes: correct | 22:07 |
Ryan_Lane | I traced it down to that | 22:07 |
jaypipes | Ryan_Lane: the Glance client or the GlanceImageService? | 22:07 |
Ryan_Lane | so, should I fix this by changing glance client, or how the ec2 api checks it? | 22:07 |
Ryan_Lane | glance image service | 22:07 |
Ryan_Lane | wait | 22:07 |
Ryan_Lane | let me be sure | 22:07 |
Ryan_Lane | sec | 22:07 |
mihgen | uit | 22:08 |
*** mihgen has quit IRC | 22:08 | |
*** mihgen has joined #openstack | 22:09 | |
Ryan_Lane | jaypipes: glance image service | 22:09 |
openstackjenkins | Project nova build #816: SUCCESS in 2 min 30 sec: http://jenkins.openstack.org/job/nova/816/ | 22:09 |
openstackjenkins | Tarmac: Try to be nicer to the DB when destroying a libvirt instance. | 22:09 |
jaypipes | Ryan_Lane: ok. (that's not quite the same as the glance client.) There is a glance.client.Client class, which is why I was confused. | 22:09 |
Ryan_Lane | in /usr/share/pyshared/glance/utils.py def get_image_meta_from_headers(response) | 22:09 |
Ryan_Lane | sorry :) | 22:10 |
Ryan_Lane | I was going to fix this by changing the ec2 api | 22:10 |
Ryan_Lane | to check in image, and in image['properties'] | 22:10 |
Ryan_Lane | the local image service returns this in image, I believe | 22:11 |
_vinay | Hello | 22:11 |
jaypipes | Ryan_Lane: I'm looking at nova/image/glance.py, line 42-43. container_format is shown as a base image attribute, not a part of the properties collectio. | 22:11 |
_vinay | in the smoketests I am trying to use xenapi_conn (instead of ec2 conn) | 22:12 |
*** smeier00 has joined #openstack | 22:12 | |
Ryan_Lane | I printed the keys of image, and image['properties'] in the ec2 api | 22:12 |
_vinay | what should the url for xenapi_conn look like? | 22:12 |
Ryan_Lane | container_format shows up in image['properties'] | 22:12 |
_vinay | I am guessing its somewhere in some config of my nova installation | 22:13 |
Ryan_Lane | jamiec: so I'd imagine that it's incorrect there as well | 22:13 |
Ryan_Lane | err | 22:13 |
Ryan_Lane | wrong page :) | 22:13 |
Ryan_Lane | jaypipes: so I'd imagine that it's incorrect there as well | 22:14 |
jaypipes | Ryan_Lane: if container_format is showing up in properties, that means someone is manually adding a container_format property I believe... | 22:15 |
Ryan_Lane | hmm. lemme see | 22:15 |
*** adiantum has joined #openstack | 22:15 | |
jaypipes | Ryan_Lane: doh. | 22:16 |
Ryan_Lane | ? | 22:16 |
Ryan_Lane | jaypipes: looking at glance show container format isn't showing up in the "Property" list | 22:18 |
jaypipes | Ryan_Lane: I think I see the issue. This is exactly why I don't like using @classmethods... | 22:18 |
Ryan_Lane | heh | 22:18 |
jaypipes | Ryan_Lane: assign the bug to me. | 22:20 |
Ryan_Lane | jaypipes: I don't think I have permissions to do so | 22:20 |
jaypipes | Ryan_Lane: ah, ok, sorry, I'll do it. | 22:20 |
*** mihgen has quit IRC | 22:21 | |
Ryan_Lane | I should have used "driver" instead of "client" in that bug report :) | 22:21 |
*** mihgen_ has joined #openstack | 22:22 | |
*** mihgen has joined #openstack | 22:23 | |
vishy | wait | 22:23 |
vishy | looks like it should happen with local image service and not with glance | 22:23 |
*** jonkelly has quit IRC | 22:24 | |
*** dysinger` has quit IRC | 22:25 | |
*** rsaidan has quit IRC | 22:26 | |
vishy | something is definitely wrong with the glance service translate to base stuff | 22:27 |
*** JuanPerez has quit IRC | 22:28 | |
* tr3buchet pulls out hair | 22:29 | |
tr3buchet | (nova): TRACE: RemoteError: AttributeError 'dict' object has no attribute '__dict__' | 22:29 |
vishy | haha | 22:29 |
alekibango | tr3buchet: so its not a dictionary | 22:29 |
alekibango | maybe wrong config option, or a bug :) | 22:29 |
vishy | no it is not an object | 22:29 |
tr3buchet | that's probably my favorite error so far | 22:29 |
vishy | __dict__ belongs to instance | 22:30 |
alekibango | better was ERROR: operation ended successfully | 22:30 |
alekibango | :) | 22:30 |
tr3buchet | yeah that's pretty good i suppose | 22:30 |
*** joearnold has quit IRC | 22:31 | |
*** joearnold has joined #openstack | 22:31 | |
*** clauden has joined #openstack | 22:33 | |
jaypipes | Ryan_Lane: try merging lp:~jaypipes/nova/bug760289 and lemme know if that fixes it for ya. | 22:33 |
jaypipes | vishy: see my revision in lp:~jaypipes/nova/bug760289. | 22:34 |
*** joearnold has quit IRC | 22:34 | |
jaypipes | vishy: this is partly why I despise using @classmethods with inheritance. | 22:34 |
*** joearnold has joined #openstack | 22:35 | |
*** dendrobates is now known as dendro-afk | 22:35 | |
*** clauden__ has quit IRC | 22:36 | |
*** stewart has joined #openstack | 22:36 | |
Ryan_Lane | jaypipes: works for me | 22:36 |
vishy | where does glance log? | 22:37 |
vishy | by default | 22:37 |
vishy | i was using glance combined so it was stdout. with glance-control i need logs | 22:38 |
Ryan_Lane | using the packages, it logs to /var/log/glance | 22:39 |
Ryan_Lane | otherwise it logs however you have it set in glance.conf | 22:39 |
*** ivan has quit IRC | 22:40 | |
jaypipes | vishy, Ryan_Lane: k, I will propose for merging... not sure whether this should go into RC, but it seems pretty critical... | 22:40 |
*** hadrian has quit IRC | 22:40 | |
*** ivan has joined #openstack | 22:40 | |
Ryan_Lane | well, this is pretty problematic for web clients | 22:40 |
Ryan_Lane | I filter based on machine type | 22:40 |
Ryan_Lane | if this isn't working I'll have users launching instances with kernel images | 22:40 |
vishy | jaypipes...i'd say it is critical | 22:41 |
jaypipes | vishy: I would agree. | 22:41 |
jaypipes | vishy: https://code.launchpad.net/~jaypipes/nova/bug760289/+merge/57609 | 22:41 |
*** zul has quit IRC | 22:42 | |
jaypipes | vishy: I'm going to target it to cactus-rc. ok with you>? | 22:42 |
Ryan_Lane | I'm glad I started testing before release :D | 22:43 |
jaypipes | heh | 22:43 |
*** clauden__ has joined #openstack | 22:43 | |
*** clauden has quit IRC | 22:43 | |
*** clauden__ is now known as clauden | 22:43 | |
jaypipes | kinda concerned that testing didn't pick this up, but from what I can tell, everything is so stubbed out in the unit tests, I'm not surprised. | 22:44 |
mirrorbox | mihgen: hey there | 22:45 |
vishy | yes | 22:47 |
vishy | still having no luck with logging | 22:47 |
vishy | apparently i'm missing some important setup | 22:48 |
kbringard | aiight peoples | 22:48 |
kbringard | it's time for beer | 22:48 |
kbringard | have a good night | 22:48 |
*** kbringard has quit IRC | 22:48 | |
*** ChamSys has quit IRC | 22:50 | |
vishy | ok i can run the workers separately, but glance-control does nothin | 22:51 |
Ryan_Lane | is glance going to ship with a daemon in the packages at some point? | 22:52 |
jaypipes | vishy: what are you trying to do? you can put log_file in [app:glance-api] and [app:glance-registry] sections in glance.conf. | 22:52 |
jaypipes | Ryan_Lane: you mean besides glance-control? | 22:52 |
Ryan_Lane | s/daemon/init or upstart script/ | 22:52 |
jaypipes | Ryan_Lane: unlikely. | 22:52 |
jaypipes | Ryan_Lane: maybe upstart script if soren's not already worked on one. | 22:53 |
Ryan_Lane | cool | 22:53 |
jaypipes | vishy: can I help with logging? are you not seeing any log output at all? | 22:55 |
vishy | jaypipes: that is a nasty one | 22:58 |
*** Gaelfr has joined #openstack | 22:58 | |
vishy | jaypipes: not sure if it is logging related, but workers just immediately crash with glance-control | 22:58 |
*** Gaelfr has quit IRC | 22:58 | |
jaypipes | vishy: error messages? any output at all? | 22:59 |
vishy | jaypipes: no output | 22:59 |
vishy | jaypipes: this is from a trunk checkout | 22:59 |
jaypipes | vishy: can you show me exactly what you are doing? | 22:59 |
vishy | and i can run the workers fine individually | 22:59 |
vishy | ./bin/glance-control all start | 22:59 |
jaypipes | and what is in your glance.conf? | 23:00 |
vishy | jaypipes: it tells me that they start | 23:00 |
vishy | but they aren't running | 23:00 |
jaypipes | vishy: could you paste your glance.conf? | 23:00 |
vishy | only change is image dir | 23:00 |
vishy | otherwise it is default | 23:01 |
jaypipes | vishy: so no log_file, then? | 23:01 |
*** dysinger` has joined #openstack | 23:01 | |
vishy | not unless it is in the default config | 23:01 |
*** elambert has quit IRC | 23:01 | |
*** Gaelfr has joined #openstack | 23:01 | |
*** elambert has joined #openstack | 23:02 | |
vishy | jaypipes: curiosity question, is there a way to call a base class method but pass the current class? | 23:02 |
jaypipes | vishy: not with @classmethods. That's what normal instance methods in an object hierarchy are for. | 23:03 |
vishy | jaypipes: you can't use super? | 23:03 |
*** nelson has quit IRC | 23:04 | |
jaypipes | vishy: hmm, I see what you're getting at... not sure, haven't tried it. seems hacky to me. | 23:04 |
jaypipes | vishy: as does the existing code... | 23:04 |
vishy | jaypipes: i think it was sirp | 23:04 |
vishy | but i think super will work, lemme try it | 23:04 |
jaypipes | wtf.. launchpad seems to be down. :( | 23:04 |
*** stewart has quit IRC | 23:06 | |
*** mihgen has quit IRC | 23:08 | |
*** Zangetsue has quit IRC | 23:11 | |
jaypipes | vishy: gah, not sure what's going on with glance-control all start... it's only starting up glance-api for me for some reason. I'll file a bug. | 23:11 |
*** santhosh has quit IRC | 23:11 | |
vishy | jaypipes: cool, I just tried super, no dice so i guess your patch is good for now | 23:11 |
*** elambert has quit IRC | 23:13 | |
jaypipes | vishy: ah, so glance-control is indeed working... it's just that by default, it does what swift does and tries to write the pidfiles to /var/run/. This obviously won't work if you don't run it as sudo. You can run glance-control api start --pid-file=api.pid and it works fine. | 23:14 |
jaypipes | vishy: ack on the super thing. | 23:14 |
jaypipes | vishy: I'll still file a bug about the /var/run/ bug. Really, if not run as root, it should probably try to write the pidfiles to the current dir, don't ya think? ;) | 23:15 |
medberry | is registration closed for the Diablo Design Summit? | 23:16 |
jaypipes | medberry: check with spectorclan whenever he pops up on IRC :) | 23:18 |
medberry | jaypipes, nod, tx. | 23:19 |
jaypipes | np | 23:19 |
vishy | jaypipes: i was sudoed and pids created in var run | 23:19 |
*** Ryan_Lane has quit IRC | 23:22 | |
*** elambert has joined #openstack | 23:25 | |
*** elambert_ has joined #openstack | 23:32 | |
*** elambert has quit IRC | 23:32 | |
*** elambert_ is now known as elambert | 23:32 | |
*** dovetaildan has quit IRC | 23:36 | |
*** JuanPerez has joined #openstack | 23:36 | |
*** dovetaildan has joined #openstack | 23:37 | |
*** zedas has quit IRC | 23:42 | |
uvirtbot | New bug: #760342 in nova "API returning Error after running a number of builds" [Undecided,New] https://launchpad.net/bugs/760342 | 23:42 |
*** joearnold has quit IRC | 23:42 | |
*** santhosh has joined #openstack | 23:45 | |
*** joearnold has joined #openstack | 23:45 | |
*** smeier00 has quit IRC | 23:45 | |
*** clauden has quit IRC | 23:47 | |
*** nelson has joined #openstack | 23:48 | |
*** santhosh has quit IRC | 23:51 | |
*** elambert has quit IRC | 23:52 | |
*** elambert has joined #openstack | 23:52 | |
*** RobertLaptop has quit IRC | 23:52 | |
*** lvaughn_ has quit IRC | 23:53 | |
*** icarus901 has quit IRC | 23:54 | |
*** bkkrw has quit IRC | 23:55 | |
*** jeffjapan has joined #openstack | 23:57 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!