Friday, 2011-01-21

nelsonbwalk7125: easiest if you paste the URL: http://paste.openstack.org/show/531/00:07
*** pvo is now known as pvo_away00:08
*** greenisus has joined #openstack00:08
nelsonbwalk7125: what are you doing with the value of c? and what are you doing with response_headers? printing them out?00:10
bwalk7125nelson: c is probably not necessary, but yes, I print out the response headers00:11
nelsonI'm not an expert on pycurl (at all) , but I'm wondering where you're telling it what to write as part of the PUT ?00:11
*** adiantum has quit IRC00:13
bwalk7125let me check the response with curl again00:13
nelsonpycurl isn't very pythonic.00:13
nelsonor are you using it because you have working curl calls and are trying to put them into Python?00:13
*** Tushar has joined #openstack00:14
anticwhow do i update a merge proposal00:14
anticwor will a push do that automagically?00:15
anticwi can never tell with lp as it seems to be quite laggy from place to place00:15
*** Tushar has quit IRC00:15
*** Tushar has joined #openstack00:15
*** kashyapc has quit IRC00:16
bwalk7125just using pycurl as it was recommended by a friend00:17
bwalk7125but you're right about how it's not very pythonic00:17
*** adiantum has joined #openstack00:17
*** kashyapc has joined #openstack00:18
TusharI have push a branch on LP, but I see Author as root. How do change from root to my name?00:18
*** dubsquared has quit IRC00:27
*** adiantum has quit IRC00:27
Ryan_LaneTushar: "bzr whoami", I believe00:29
TusharYes, I tried bzr whoami and Do I need to update Authors file also?00:30
*** jimbaker has quit IRC00:31
Ryan_LaneI'm pretty sure I needed to00:31
*** adiantum has joined #openstack00:31
Ryan_LaneI think you need to add yourself to the contributor's page on the wiki too: http://wiki.openstack.org/Contributors00:31
TusharRyan: I did that couple of hours back..00:32
*** kashyapc has quit IRC00:34
*** troytoman has quit IRC00:36
termiesoren: db version should tell you the version00:40
termiesoren: btw, related to my packaging merge, i am trying to make sure which branch i should be trying to merge to00:40
termiesoren: what is the main packaging branch we are using?00:40
*** littleidea has quit IRC00:43
termiesoren: db version doesn't tell you you need to sync, but we could add that probabl00:44
termiesoren: and db sync is idempotent00:44
*** kashyapc has joined #openstack00:46
*** adiantum has quit IRC00:47
edaytermie: any better idea on if you guys will be in town on the 31?00:47
termieeday: yup, i think we leave in the evening00:49
termieeday: but we hsould be there during the day00:49
termieeday: if you want to chill, hang or hack00:50
termies/there/here/00:50
*** littleidea has joined #openstack00:51
*** adiantum has joined #openstack00:52
*** dragondm has quit IRC00:55
*** pharkmillups has quit IRC00:55
*** Tushar has quit IRC00:57
edaytermie: ok, cool. I'll come down in the morning then00:58
*** koji-iida has joined #openstack00:58
*** adiantum has quit IRC01:01
*** adiantum has joined #openstack01:02
vishycreiht: are you here?01:08
*** greenisus has quit IRC01:14
*** Pentheus has joined #openstack01:19
*** saicologic has joined #openstack01:19
*** ccustine has quit IRC01:23
*** dendro-afk is now known as dendrobates01:30
*** gaveen_ has quit IRC01:36
*** adiantum has quit IRC01:41
*** dirakx has joined #openstack01:42
*** saicologic has quit IRC01:44
*** adiantum has joined #openstack01:46
*** reldan has joined #openstack01:51
*** Ryan_Lane has quit IRC01:51
*** sophiap has quit IRC01:53
*** aimon has quit IRC01:55
*** maplebed has quit IRC01:55
*** joearnold has quit IRC01:59
*** jimbaker has joined #openstack02:00
*** greenisus has joined #openstack02:02
*** bwalk7125 has quit IRC02:04
*** ChrisAM1 is now known as ChrisAM02:05
*** hansode has joined #openstack02:05
*** adiantum has quit IRC02:10
*** aimon has joined #openstack02:12
*** littleidea has quit IRC02:14
*** adiantum has joined #openstack02:15
anticwany swift rackers about right now?02:16
*** westmaas has joined #openstack02:21
*** burris has joined #openstack02:22
*** greenisus has quit IRC02:23
*** reldan has quit IRC02:26
*** dendrobates is now known as dendro-afk02:27
*** jdurgin has quit IRC02:27
*** adiantum has quit IRC02:31
*** MarkAt2od has quit IRC02:33
*** MarkAt2od has joined #openstack02:38
*** aimon has quit IRC02:40
notmynameanticw: what's up?02:46
*** littleidea has joined #openstack02:47
anticwnotmyname: x-auth-groups ... that's new in austin02:50
anticwwhat does that typically look like?02:50
anticwact:usr ?02:50
notmynamegood question02:51
notmynamelet me check02:51
*** zul has joined #openstack02:52
notmynameanticw: seems to be details on http://swift.openstack.org/development_auth.html02:53
*** retr0h has quit IRC02:54
notmynameit's for ACLs and allows users to grant read/write permissions to other users02:54
anticwyeah, i get that much ... it's newish in austin02:54
anticwand something we tinkered with. both good & bad02:55
*** aimon_ has joined #openstack02:56
*** littleidea has quit IRC02:56
notmynameanticw: how do you mean newish? wasn't everything equally new in austin? that was the first official release02:57
anticwthere was code before that02:58
anticwthat lacked the groups02:58
notmynameI guess I'm not understanding your question03:02
anticwnotmyname: i must be retarded, but im really not parsing the details on that page very well at all03:02
anticwwe have a diff auth server03:02
anticwthat never did x-auth-groups03:02
anticwi need to contruct that in a way that works correctly03:02
anticwit seems   x-auth-groups:  user,,token03:03
anticwmight work03:03
anticwnot sure about the middle option03:03
anticwactually, no,  user,, might be all that's needed03:04
anticwnotmyname: so if i put foobar into a group option ... what parses/proceses that?03:04
*** pvo_away is now known as pvo03:05
*** pvo is now known as pvo_away03:05
*** pvo_away is now known as pvo03:06
notmynameanticw: you are trying to make your auth system compatible with swift's devauth?03:06
anticwyes03:07
notmynamelet me look around to see what I can do to help. but the better person to talk to is gholt since he wrote the code03:09
notmynamein bexar we are including a swauth auth system that is production-ready as opposed to devauth which we recommend for dev use only03:10
notmynameanticw: ah. I see it now03:14
*** littleidea has joined #openstack03:14
notmynameanticw: looks like all you should need to do is return "account:user,account" at the bare minimum03:16
notmynameyou could optionally return "account:user,account,another_account" for more ACL support03:17
anticwaccount is what they passed in X-Auth-User ?03:18
anticwor what swift uses internally?03:18
notmynameneither :-)03:18
anticwk03:18
notmynameX-Auth-User is "account:user"03:18
anticwyou mean literally that?03:18
anticwok03:18
notmynamedevauth has the concept of auth accounts, each with one to many users03:19
notmynamethe accounts are mapped to the swift accounts (eg AUTH_12423449j34234234)03:19
notmynamebut the user auths wth "account:user"03:19
notmynameso if I had a user on your system, I would do something like "curl -i -H "X-Auth-User: someaccount:notmyname" -H "X-Auth-Key: mypassword" https://your.auth.system.com/v1.003:21
notmynamemake sense?03:21
anticwsorry, im having parsing issues03:25
anticwwe had something similar but different, and my brain isn't bridging the dots right this second03:26
notmynamehow can I help you connect the dots?03:26
anticwhonestly, seeing example byte streams works great right now03:27
anticwi just had someone setup an austin auth server03:27
anticwand got a token from it03:27
anticwso now im going to see what /token/ says for that03:27
anticwthe resller prefix stuff i just dont see why it is the way it is03:28
anticwwhen you could demux in an auth layer03:28
anticwand avoid magic string prefixes03:28
anticwnotmyname: ok, i partly see what's needed03:30
notmynamethe reseller concept allows you to shard the account namespace across multiple non-interacting auth systems03:30
anticwwrt to the last argument, i see some token there03:30
anticwthat's optional right?03:30
notmynameyes03:31
anticwseems it returns the auth acct string03:32
anticwwell, cf acct name03:32
anticwah, only for admin t03:33
anticwnotmyname: why is env[...] used to pass state?03:35
notmynamewhere? in the wsgi middleware?03:36
anticwyeah03:36
anticwis that a wsgi thang?03:36
notmyname'cause that's the way you do it with middleware.03:37
notmynamethe env gets passed down the wsgi stack, so each layer's job is to modify the state by updating the env03:37
anticwwhy env though?03:37
anticwit's all the same process isn't it?03:38
*** ksteward has quit IRC03:39
*** kashyapc has quit IRC03:41
*** kashyapc has joined #openstack03:42
notmynameyes, but you don't have access to some controlling object. well, actually, I guess you do. it's the env03:42
*** DubLo7 has joined #openstack03:45
anticwyeah, all you have is env03:47
anticwand you need to do a get /token/xxx03:47
anticwbecause you dont actually know at that stage who/what you are talking to03:47
*** DubLo7 has left #openstack03:50
*** kashyapc has quit IRC03:54
*** pvo is now known as pvo_away03:59
*** joearnol_ has joined #openstack04:01
*** MarkAt2od has quit IRC04:07
*** retr0h has joined #openstack04:17
*** MarkAt2od has joined #openstack04:17
*** maplebed has joined #openstack04:32
anticwnotmyname: still up?04:32
notmynameyes, but was actually just about to shut down for the night. what's up?04:33
anticwit can probably waut04:35
anticwwait04:35
anticwwrt to the groups04:35
anticwthere is a,b,c04:35
anticwa is typically the acct04:35
anticwsorry, acct:user04:35
anticwb is the acct04:35
anticwand so depending on the container may or may not have access right?04:35
notmynameya, I think that's the way it's supposed to work. perhaps gholt can enlighten us in the morning04:36
anticwok04:37
notmynameanticw: all that being said, I didn't press you much about making something compatible with devauth04:37
notmynameI don't think that's a good idea04:37
notmynamedevauth will probably go away in cactus04:37
anticwnotmyname: what should middleware be compatible with?04:37
notmynamethe plan is to completely replace it with swauth04:37
anticwnot possible04:37
notmynameswauth and devauth are both in bexar04:37
anticwi know04:38
anticwbut we can't use either04:38
anticwuam is external, that's something we can't avoid04:38
notmynameuam?04:38
anticwso if we move user knowledge deeply into swauth04:38
anticwuser account management04:38
notmynameah04:38
anticwif we move that into swift of sorts, we have sync/skew04:38
anticwso we have something that proxies devauth to their middleware04:38
notmynameno, the idea is that you should bring your own auth system. but there is no need to make it api compatible with anything else04:39
anticwwhat's the interface then?04:39
notmynamedevauth is for example purposes. swauth is much better (prod ready), but not a requirement04:39
anticwthis isn't devauth04:39
anticwit's just using the same rest interface04:39
notmynameyour auth middleware needs to implement an authorize method that's it04:40
anticwthis is gonna sound dumb04:40
anticwhow does the state get into the auth middleware?04:40
notmynameeach piece of middleware is given the environment dictionary (per the wsgi spec)04:41
anticwso middleware then has to be wsgi?04:41
anticwi would just put in a shim that proxies to a rest interface then04:41
anticwit still dont really grok the wsgi stuff .... it's the same process as everything else?04:42
notmynamei think you are getting the 2 pieces confused04:42
notmynamethere are 2 parts04:42
anticwlikely04:42
anticwthe nouns & metaphores are causing buffer overflows in my head04:43
notmyname1 is the middleware that implements an authorize method. the middleware takes the env. see swift/common/middleware/auth.py for the devauth example04:43
anticwok ... that im somewhat familar with, but only in isolation ... exactly how the proxies communicate with it im vague on04:44
notmynamethe other part is some service that handles account management (creation deletion etc). the middleware's authorize method could call out to this04:44
anticwright, so the first part04:44
anticwdoes it end up being it's own service?04:45
notmynameno04:45
anticwrecall, i know nothing about web-frameworks and wsgi and what not, other than in large doeses it causes brain cancer04:45
notmynamethink of it as a swift plugin04:45
anticwok04:45
anticwplugin means what04:45
anticwin c you have shared libraries04:45
notmynamenot like that04:45
anticwin python it can be but typically you import something04:46
anticwor it's something you talk to over a socket/pipe04:46
notmynamemiddleware is something that goes between the client and the server that examines and/or modifies the request and/or response04:46
anticwsure, i get that much04:46
anticwbut i dont understand HOW the data flows04:46
notmynamethe first piece of middleware calls the second which calls the third etc until the server is called04:47
anticwcalls how04:47
anticwthis seems to imply the middleware is python04:47
anticwalways04:47
notmynameswift/common/middleware/catch_errors.py is a very simple example04:48
notmynameyes, it is. but it can call out to anything04:48
notmynamevia whatever method you want04:48
*** kashyapc has joined #openstack04:49
notmynamecatch_errors is designed to be the outer-most middleware to catch any uncaught errors anywhere else04:49
*** EdwinGrubbs has joined #openstack04:49
*** EdwinGrubbs has joined #openstack04:49
anticwnotmyname: you mean replace __call__ with something that marshals data over a socket for example?04:49
creihtvishy: what's up?04:52
notmynameanticw: replace the __call__ body04:53
anticwright, so in that case we can shim it to something that talks to whatever ReST interface we like04:53
anticwand make it pretty thin04:53
notmynameanticw: swift/common/middleware/memcache.py is another simple one to look at. it adds a memcache client to the env so it's available to the other middleware or the server itself04:54
notmynameyes, exactly04:54
notmynameanticw: the healthcheck middleware looks for a specific path and short-circuits the response04:57
*** littleidea has quit IRC04:57
notmynamethe domain remap middleware takes elements from the host header and puts it in the URL path04:57
anticwim going to get angry turn green and rewrite all this is vax assembly04:58
notmynameso your auth middleware should look at the env variables you care about (headers or REMOTE_USER if using basic auth) and call your identity management service to return true or falsh04:58
notmynamesean connery python? true and falsh04:59
notmynameanticw: is it making any more sense?05:02
anticwyeah, up to a point05:02
notmynamegood. I hope that point is not where you were a few hours ago :-)05:03
anticwno, im not doing too badly, i'm trying to figure out how to work around some code someone else did right now :-)05:03
anticwthat is part of this maze of issues05:03
notmynameheh. we've all been there05:04
notmynameanticw: the only other important piece I can think of is that the "pipeline" config option is what defines the middleware and what order it's called in05:04
*** burris has quit IRC05:05
notmynamefor the proxy, notice that catch_errors is first and proxy_server is last. the config sections at the bottom of the config file define how those pieces of middleware are called and what options they get05:06
*** burris has joined #openstack05:08
*** littleidea has joined #openstack05:09
*** hadrian has quit IRC05:14
*** opengeard has quit IRC05:17
*** burris has quit IRC05:34
*** notmyname_ has joined #openstack05:36
*** notmyname has quit IRC05:36
*** notmyname_ is now known as notmyname05:36
*** ChanServ sets mode: +v notmyname05:36
*** notmyname has quit IRC05:38
*** notmyname has joined #openstack05:39
*** ChanServ sets mode: +v notmyname05:39
*** f4m8_ is now known as f4m805:41
*** f4m8 is now known as f4m8_05:41
*** f4m8_ is now known as f4m805:41
*** notmyname has quit IRC05:45
*** notmyname has joined #openstack05:45
*** ChanServ sets mode: +v notmyname05:45
*** anticw has quit IRC05:47
*** anticw has joined #openstack05:47
*** littleidea has quit IRC06:01
*** damon__ has quit IRC06:12
*** EdwinGrubbs has quit IRC06:22
*** joearnol_ has quit IRC06:23
*** laurensell has quit IRC06:31
*** laurensell has joined #openstack06:32
*** alii_ has joined #openstack06:43
*** thimble has joined #openstack06:54
*** omidhdl has joined #openstack07:01
* JordanRinke yawns07:04
*** drico_ has quit IRC07:10
*** drico_ has joined #openstack07:11
*** arreyder has quit IRC07:14
*** nate_h has quit IRC07:14
*** tsharju has quit IRC07:14
*** befreax has joined #openstack07:20
*** nate_h has joined #openstack07:27
*** dendro-afk is now known as dendrobates07:31
*** dstromberg has quit IRC07:31
*** HugoKuo has joined #openstack07:34
*** brd_from_italy has quit IRC07:35
*** guigui1 has joined #openstack07:38
*** dstromberg has joined #openstack07:43
*** zenmatt_ has quit IRC07:47
*** maplebed has joined #openstack07:54
*** BK_man has quit IRC07:58
*** maplebed has quit IRC07:59
*** brd_from_italy has joined #openstack08:03
*** sandywalsh has quit IRC08:04
*** sandywalsh has joined #openstack08:05
*** herki has quit IRC08:06
*** herki has joined #openstack08:06
*** brd_from_italy has quit IRC08:12
ttxsoren: I closed the "create DB" bug and opened an "upgrade DB" bug to track remaining work (bug 705758)08:14
uvirtbotLaunchpad bug 705758 in nova "Ubuntu packaging should handle (some) DB upgrades cases" [Wishlist,Confirmed] https://launchpad.net/bugs/70575808:14
*** miclorb_ has quit IRC08:14
*** herki has quit IRC08:15
*** greenisus has joined #openstack08:17
*** retr0h has quit IRC08:17
uvirtbotNew bug: #705758 in nova "Ubuntu packaging should handle (some) DB upgrades cases" [Wishlist,Confirmed] https://launchpad.net/bugs/70575808:21
*** dendrobates is now known as dendro-afk08:25
*** fabiand_ has joined #openstack08:27
*** allsystemsarego has joined #openstack08:29
*** calavera has joined #openstack08:30
*** fabiand_ has left #openstack08:31
*** fabiand_ has joined #openstack08:31
*** brd_from_italy has joined #openstack08:37
*** ibarrera has joined #openstack08:39
fabiand_soren: there is now something like timetable for fosdem ..08:41
*** aimon_ has quit IRC08:50
*** brd_from_italy has quit IRC08:50
*** MarkAt2od has quit IRC08:51
uvirtbotNew bug: #705769 in nova "Error in injecting SSH public key during the creation of the VM" [Undecided,New] https://launchpad.net/bugs/70576909:01
*** MarkAt2od has joined #openstack09:12
*** ramkrsna has joined #openstack09:13
*** ramkrsna has joined #openstack09:13
*** brd_from_italy has joined #openstack09:20
sorenttx: Awesome, I was just about to do that.09:21
sorenttx: Thanks!09:21
sorenfabiand_: Yes, so people say. Thanks, though!09:21
ttxsoren: i'm tagging "ubuntu" all the bugs that affect the packaging. I'm tired of crossfiling to ubuntu/nova while it does not affect distributed packages09:26
ttxif that makes sense09:26
*** BK_man has joined #openstack09:38
*** fitzdsl has quit IRC09:42
*** pyros_xx has quit IRC09:47
*** jaypipes has quit IRC09:48
*** thimble has quit IRC09:49
*** thimble has joined #openstack09:50
*** jaypipes has joined #openstack10:02
uvirtbotNew bug: #705790 in nova "Parted cannot find device when using glance images in xenapi" [Undecided,New] https://launchpad.net/bugs/70579010:11
*** adiantum has joined #openstack10:20
*** reldan has joined #openstack10:33
*** thimble has quit IRC10:34
*** ramkrsna has quit IRC10:35
sorenttx: Perhaps only file it against ubuntu/nova?10:36
*** adiantum has quit IRC10:37
ttxsoren: we tend to lose track of it, and it doesn't really affect ubuntu packages in any release10:37
sorenttx: That's only because someone is failing to upload fresh nova's to Natty.10:38
sorenttx: That was supposed to happen (very) regularly.10:38
ttxsoren: oh, then10:38
* ttx fears adding another buglist to regularly scrub10:38
ttxbut makes sense, if it's in Natty.10:39
*** thimble has joined #openstack10:42
*** adiantum has joined #openstack10:42
*** ramkrsna has joined #openstack10:49
*** ramkrsna has joined #openstack10:49
*** adiantum has quit IRC10:50
*** adiantum has joined #openstack10:51
uvirtbotNew bug: #705811 in nova "Cannot boot instances under use_ipv6=true and with FlatManager/FlatDHCPManager" [Undecided,In progress] https://launchpad.net/bugs/70581111:06
*** koji-iida has quit IRC11:12
*** reldan has quit IRC11:21
*** adiantum has quit IRC11:26
*** adiantum has joined #openstack11:26
* soren lunchesw11:31
sorenlunches, even.11:31
sorensoeren: Do you play golf?11:31
*** hansode has quit IRC11:33
*** adiantum has quit IRC11:33
*** adiantum has joined #openstack11:38
*** tsharju has joined #openstack11:53
*** reldan has joined #openstack11:53
*** arreyder has joined #openstack11:53
rcchi guys, i get in the volume session:11:55
rccnova.exception.Error: volume group nova-volumes doesn't exist11:55
rcci guess i need to manually create a logical volume11:56
sorenDo you have a volume group by that name?11:56
rccwhere's the doc for that?11:56
sorenNot a logical volume. A volume group.11:56
sorenI'm not sure.11:56
rccerm, yeah, a vg11:56
* soren hasn't really kept up with the docs11:56
*** adiantum has quit IRC11:56
rccheh11:56
rccgoogle doesn't help much either :/11:57
sorenLook for vgcreate on nova.openstack.org.11:57
fraggelnsoren: lvm2? :)11:57
sorenfraggeln: ?11:57
fraggelnvgcreate is a command in lvm2 :)11:57
sorenYes.11:57
fraggelndoes nova use lvm?11:58
sorenIt's the default for nova-volume, yes.11:58
fraggelncheck.11:58
rcc"Your search query "vgcreate" didn't return any results" QQ11:58
rccoh wait, i searched on wiki.openstack.org11:58
rcclet me check11:59
rccahh11:59
rccnow11:59
rcck, thx11:59
*** omidhdl has left #openstack12:01
*** adiantum has joined #openstack12:03
rccup and running, thx again soren12:05
rccit'd be nice if nova.sh checked for nova-volume vg existance and create if not. you think is a valid RFE ?12:06
*** adiantum has quit IRC12:11
*** HugoKuo has quit IRC12:14
*** adiantum has joined #openstack12:18
*** ctennis has quit IRC12:23
*** hisaharu has quit IRC12:25
*** adiantum has quit IRC12:27
*** adiantum has joined #openstack12:32
*** ctennis has joined #openstack12:38
*** ctennis has joined #openstack12:38
*** blakeyeager has joined #openstack12:38
*** piezo has quit IRC12:41
*** piezo has joined #openstack12:47
*** calavera has quit IRC13:01
sorenrcc: It's kind of hard to just create a volume group.13:03
sorenrcc: You need block storage available to do so.13:03
*** westmaas has quit IRC13:04
*** MarkAt2od has quit IRC13:05
*** dendro-afk is now known as dendrobates13:06
Adri2000hi everyone13:06
Adri2000I'm trying to understand how network should work with nova13:07
Adri2000are compute nodes supposed to be in a separate private network?13:07
*** arthurc has joined #openstack13:16
*** DubLo7 has joined #openstack13:20
*** adiantum has quit IRC13:23
sorenAlright, I'm all Nattyed up.13:27
*** adiantum has joined #openstack13:27
*** kashyapc has quit IRC13:28
*** drico_ has quit IRC13:36
*** aliguori has joined #openstack13:41
rackerhackersoren: nattyed up? does that involve this? http://ciceronito.files.wordpress.com/2008/11/495.jpg13:42
*** drico has joined #openstack13:42
BK_manppl, SHOULD I ping one instance from another? My network is VlanManager and these two instances are in the same project (==VLAN).13:43
*** hadrian has joined #openstack13:44
*** arthurc has quit IRC13:45
*** arthurc has joined #openstack13:45
*** westmaas has joined #openstack13:49
*** zul has quit IRC13:52
*** zul has joined #openstack13:53
sorenrackerhacker: Please tell me that isn't a real product.13:53
rackerhackersoren: it is a real product13:53
sorenrackerhacker: Light mineral water? srsly?13:53
rackerhackersoren: nah, it's beer. awful beer that happens to be very cheap.13:54
sorenAh.13:56
*** DubLo7 has quit IRC13:57
daborackerhacker: it's a stretch to call that stuff 'beer'13:58
rackerhackeryou make a valid point13:58
*** befreax has quit IRC13:59
zulsoren: im going to do an upload today?14:01
zulsoren: er...im going to do an upload today14:02
sorenzul: GREAT.14:02
sorenMY CAPS LOCK KEY IS BROKEN...14:02
zulheh14:02
sorenYay! Fixed.14:04
*** ramkrsna has quit IRC14:06
rccsoren, do you know if there's an issue on lucid euca2ools ? no matter what command I run , i get xml parser errors14:07
rcchttp://paste.openstack.org/show/533/14:09
*** ppetraki has joined #openstack14:10
sorenrcc: "EC2_URL not specified. Trying http://localhost:8773/services/Eucalyptus" doesn't look promising.14:10
rccit defaults to that URL14:11
rccand I can indeed access it via a browser14:11
*** fitzdsl has joined #openstack14:11
sorenWhuh?14:11
sorenAre you running eucalyptus, too?14:11
jaypipesttx: "Doing a morning stand-up meeting with a team of 60 in widely different timezones is a bit difficult." Heh, how true. :)14:12
*** blakeyeager has quit IRC14:12
rccno, i'm not, nova is...14:12
ttxjaypipes: heh14:13
*** befreax has joined #openstack14:13
sorenrcc: Hmm.. You're right, that does work. I'm surprised.14:14
sorenrcc: I'm not sure what could cause that.14:15
rccerm14:17
rcco-k14:17
rccso14:17
rcci was running euca2ools outside the virtualenv, getting that error14:17
rccbut now, I copied euca2ools site-packages within the virtualenv and commands work14:18
rccdamn, there are a few steps that are missing the wiki quickstart guide for newbies like me :/14:18
rcci'll add a note to the wiki page14:18
*** dirakx has quit IRC14:25
*** thimble has quit IRC14:27
ttxnova-core: please give https://code.launchpad.net/~ttx/nova/lp704896/+merge/46892 a review, if we change the log format better do it early than late14:33
*** littleidea has joined #openstack14:34
*** littleidea has quit IRC14:42
*** littleidea has joined #openstack14:44
*** littleidea has quit IRC14:46
uvirtbotNew bug: #705914 in nova "nova-network should stop dnsmasq when it stops" [Undecided,New] https://launchpad.net/bugs/70591414:46
*** aliguori has quit IRC14:47
*** arthurc has quit IRC14:48
*** arthurc has joined #openstack14:48
*** omidhdl has joined #openstack14:48
*** littleidea has joined #openstack14:52
*** adiantum has quit IRC14:57
* Adri2000 still trying to setup network correctly14:58
Adri2000the br100 on my compute node doesn't have an IP address, I guess there's something wrong?14:59
Adri2000br100 interface*14:59
*** aliguori has joined #openstack15:01
*** kashyapc has joined #openstack15:03
*** EdwinGrubbs has joined #openstack15:05
*** EdwinGrubbs has joined #openstack15:05
*** littleidea has quit IRC15:05
*** adiantum has joined #openstack15:11
*** littleidea has joined #openstack15:11
*** dprince has joined #openstack15:15
*** adiantum has quit IRC15:19
openstackhudsonProject nova-tarmac build #54,393: FAILURE in 24 sec: http://hudson.openstack.org/job/nova-tarmac/54393/15:21
sorenLP codehosting seems to be down.15:22
annegentlesoren:  heh. I was just gonna ask if anyone else saw it15:24
openstackhudsonProject nova-tarmac build #54,394: STILL FAILING in 12 sec: http://hudson.openstack.org/job/nova-tarmac/54394/15:25
*** reldan has quit IRC15:26
*** gondoi has joined #openstack15:26
annegentleAdri2000: I think you have to integrate the br100 interface into your network - check the bottom of this page: http://wiki.openstack.org/InstallFromSource as well as the Network Configuration section on this page: http://wiki.openstack.org/NovaInstall/MultipleServer and let me know how it goes.15:27
*** reldan has joined #openstack15:30
*** omidhdl has quit IRC15:30
openstackhudsonProject nova-tarmac build #54,395: STILL FAILING in 26 sec: http://hudson.openstack.org/job/nova-tarmac/54395/15:31
*** adiantum has joined #openstack15:32
*** ibarrera has quit IRC15:33
openstackhudsonProject nova-tarmac build #54,396: STILL FAILING in 13 sec: http://hudson.openstack.org/job/nova-tarmac/54396/15:35
openstackhudsonProject nova-tarmac build #54,397: STILL FAILING in 26 sec: http://hudson.openstack.org/job/nova-tarmac/54397/15:41
*** daleolds has joined #openstack15:43
*** zenmatt has joined #openstack15:45
*** dirakx has joined #openstack15:45
openstackhudsonProject nova-tarmac build #54,398: STILL FAILING in 25 sec: http://hudson.openstack.org/job/nova-tarmac/54398/15:46
*** pvo_away is now known as pvo15:46
*** johnpur has joined #openstack15:47
*** ChanServ sets mode: +v johnpur15:47
*** omidhdl has joined #openstack15:49
*** dirakx has quit IRC15:51
openstackhudsonProject nova-tarmac build #54,399: STILL FAILING in 27 sec: http://hudson.openstack.org/job/nova-tarmac/54399/15:51
*** drico has quit IRC15:51
*** drico has joined #openstack15:51
*** rnirmal has joined #openstack15:52
openstackhudsonProject nova-tarmac build #54,400: STILL FAILING in 24 sec: http://hudson.openstack.org/job/nova-tarmac/54400/15:56
*** dragondm has joined #openstack15:57
*** fabiand_ has quit IRC15:57
*** j05h1 has joined #openstack15:58
*** j05h has quit IRC15:58
openstackhudsonProject nova-tarmac build #54,401: STILL FAILING in 25 sec: http://hudson.openstack.org/job/nova-tarmac/54401/16:01
jaypipesthank you openstackhudson for your nagging.16:02
*** iRTermite has joined #openstack16:02
sorenjaypipes: I've disabled the tarmac job.16:04
jaypipessoren: ah, thx :)16:05
creihtyay lp16:05
creiht:/16:05
*** littleidea has quit IRC16:09
*** pharkmillups has joined #openstack16:11
*** retr0h has joined #openstack16:15
*** retr0h has joined #openstack16:15
BK_manlp is back online16:15
*** joearnold has joined #openstack16:16
*** joearnold has quit IRC16:18
ttxsoren: you can reenable tarmac16:18
sorenYay.16:19
sorenDone.16:19
*** aimon has joined #openstack16:19
* soren heads dinnerwards16:21
*** guigui1 has quit IRC16:22
openstackhudsonYippie, build fixed!16:24
openstackhudsonProject nova-tarmac build #54,402: FIXED in 4 min 12 sec: http://hudson.openstack.org/job/nova-tarmac/54402/16:24
*** littleidea has joined #openstack16:26
openstackhudsonProject nova build #438: SUCCESS in 1 min 28 sec: http://hudson.openstack.org/job/nova/438/16:28
openstackhudsonTarmac: Change default log formats so that:16:28
openstackhudson?* they include a timestamp (necessary to correlate logs)16:28
openstackhudson?* no longer display version on every line (shorter lines)16:28
openstackhudson?* use [-] instead of [N/A] (shorter lines, less scary-looking)16:28
openstackhudson?* show level before logger name (better human-readability)16:28
openstackhudsonDisplay version once at node startup time instead.16:28
openstackhudsonFix description of the log format flags.16:28
openstackhudsonProject swift build #170: SUCCESS in 27 sec: http://hudson.openstack.org/job/swift/170/16:31
openstackhudsonTarmac: During a CNAME lookup, exception NXDOMAIN isn't caught by the check for DNSException, so need to also check for it.16:31
*** aimon has quit IRC16:32
*** kashyapc has quit IRC16:34
*** MarkAtwood has joined #openstack16:34
jaypipessirp_: ping16:35
sirp_jaypipes:  hey16:36
jaypipessirp_: heyo. mind pulling lp:~jaypipes/glance/bug700162 again and verifying the upload of ubuntu-lucid now works without a MemoryError?16:36
colinnichcreiht: woohoo16:37
creiht:)16:37
sirp_jaypipes: sure will do16:38
jaypipessirp_: cheers!16:38
* jk0 can't wait for these changes to make it to trunk :D16:38
jaypipescreiht: so, yes, looks like just doing chunked transfer encoding has solved our 2G limit issues in Glance...16:38
*** ascovel has joined #openstack16:38
jaypipesjk0: the glance ones? :)16:38
jk0yeah16:39
jaypipeskoo.16:39
ascovelquick question for any devs out there16:39
jaypipesascovel: shoot.16:39
creihtjaypipes: woot!16:39
jk0I just upped my domU to 4GB to bypass the memory issue, so I'm mostly looking forward to the other fixes :)16:39
ascovelwhat is your take on the stability of the nightly builds?16:39
jaypipesascovel: of Nova, Swift, or Glance?16:39
ascovelnova16:39
jaypipesascovel: and I assume you mean "bzr branch lp:nova" as "nightly builds" :) We don't tarball nightly...16:40
ascovelyes16:40
*** dendrobates is now known as dendro-afk16:40
jaypipesascovel: ok. so, I would say the stability right now is not the greatest. There have been a crap-ton (technical term) of features added in Bexar, so we're in heavy bug-fixing mode right now. I think in Cactus (next release), the nighly builds should be a bit more stable.16:41
jaypipesascovel: the above applies to Glance as well, but not really for Swift, which is much more mature than either Nova or Glance.16:41
jaypipesascovel: of course, it behooves you to get the opinions of others in the channel other than me, too :)16:42
ascovelcool, thanks man16:42
jaypipesnp16:42
jaypipessirp_: so, with that bug fixed, it looks like we're pretty good with Glance for Bexar, right?16:43
*** dendro-afk is now known as dendrobates16:44
jaypipesjk0: what's our opinion about Glance? Stabilizing OK for Bexar?16:44
jk0yeah, I think so, especially after these merges hit16:44
jk0it seems to have been holding up pretty well over the past few days16:45
jaypipesjk0: cool. I'm working on beefing up the docs today and tomorrow, including a few nice little diagrams to explain the architecture.16:46
jk0I can think of more than one person who would love to look those over :)16:46
*** mray has joined #openstack16:46
jaypipesjk0: well, only a couple weeks ago, Glance had no docs at all. Now we've got a decent start at http://glance.openstack.org :)16:49
*** kashyapc has joined #openstack16:51
sirp_jaypipes: yeah, other than that bug, glance has been working really pretty well for me16:51
zuli noticed you guys added glance to the debian packaging does that mean its actually usable now?16:52
jaypipeszul: hehe, yes :)16:52
jaypipeszul: it's in PyPI now, too... easy_install or pip install it..16:52
zuljaypipes: blah i rather use apt ;)16:53
jaypipeszul: that said, the next tarball (today or tomorrow) will be REALLY usable. :)16:53
* jaypipes notes that there really shouldn't have degrees of usability...16:54
*** mdomsch has joined #openstack16:54
BK_manjaypipes: hi! Does glance need a special setup? We tried it today and it failed. http://paste.openstack.org/show/535/16:57
BK_manjaypipes: after failback to default image_service we got api working again16:57
jaypipesBK_man: one sec, looking..16:58
jaypipesBK_man: what revno are you on? That looks like a bug that was fixed this last couple days...16:59
sirp_jaypipes: looks like in unit-tests it needs to be req.body and functionally it needs to be req.body_file16:59
sirp_jaypipes: may be a try/except fallback is in order16:59
BK_manjaypipes: glance is 0.1.216:59
jaypipessirp_: :( grr...16:59
mtaylorsoren: morning16:59
BK_manjaypipes: nova was bzr59716:59
*** brd_from_italy has quit IRC16:59
jaypipesBK_man: so you are using glance from packaging and not bzr?17:00
BK_manjaypipes: you can ask adiantum for details17:00
jaypipesBK_man: forget that, I see you are from the paste output :)17:00
BK_manjaypipes: corrent17:00
jaypipesBK_man: there is a fix for that bug in glance's trunk.  Or you can wait ~2-3 hours until we cut a new tarball and upload to PyPI and LP...17:01
jaypipesBK_man: think you can wait?17:01
BK_manjaypipes: sure. will wait and than build it again from trunk17:01
jaypipesBK_man: sounds good. thx mate!17:01
jaypipessirp_: try/catch is a bit messy, but if it works...17:02
jaypipessirp_: that's the problem with Webob.Request != httplib.HTTPResponse :)17:02
sirp_jaypipes: yeah, makes me wonder if we're using the wrong WebOb method, does it have a better read() abstraction17:02
sirp_yeah17:02
mtaylorsoeren: I was just looking through the ppa_script on the hudson box and noticed that it sets name and email to Soren and soren@openstack.org - can I suggest changing those to "OpenStack Hudson" and "hudson@openstack.org"?17:02
sirp_jaypipes: there should be a WebOb.safe_read which always returns a file-like, or something *grumble grumble*17:03
*** aimon has joined #openstack17:04
sirp_ clarify ^ that doesn't exist, though, to my knowledge17:04
jaypipescreiht: any insight from your vast wealth of webob experience? :) we're having issues that in testing, webob.Request.body is used, while in normal running, httplib.HTTPRequest.body_file is used...17:06
jaypipesannegentle: you're all set. should be merging docs as we speak..17:07
*** Pentheus has quit IRC17:09
*** maplebed has joined #openstack17:10
*** dfg has joined #openstack17:10
creihtjaypipes: ok, so what is the problem that you run into?17:10
annegentlejaypipes: thanks! you have mad bzr skillz17:10
johnpurmtaylor: sounds good17:11
mtaylorhey johnpur !17:11
johnpurhey!17:12
openstackhudsonProject nova build #439: SUCCESS in 1 min 29 sec: http://hudson.openstack.org/job/nova/439/17:12
openstackhudsonTarmac: Updated docs for db sync requirements; merged with Vish's similar doc updates17:12
jaypipescreiht: so, in the Glance server we read from request.body_file and pass that body_file object to the backend store, which iterates over it, writing chunks from the request.body_file object.17:12
creihtk17:12
jaypipescreiht: unfortunately, in testing, we use webob.Request, which has no body_file attribute...17:12
jaypipescreiht: so we're stuck trying to figure out a way that we can accurately test body_file when webob.Request has no such attribute...17:13
creihtjaypipes: can you point me to some code?17:13
jaypipescreiht: sure, one sec.17:13
jaypipescreiht: http://bazaar.launchpad.net/~rconradharris/glance/bug700162/revision/4517:14
jaypipescreiht: expand the glance/server.py diff there...17:14
creihtand to make sure I understand correctly, you are pretty sure that the code works, but you aren't sure how to test it17:14
jaypipescreiht: one sec, here's the test stubout code of relevance: http://bazaar.launchpad.net/~rconradharris/glance/bug700162/view/head:/tests/stubs.py (lines 252-29517:15
jaypipescreiht: so, when rick changes that code in glance/server.py from if req.body: to if req.body_file:, then functionally, Glance works perfectly. But the tests break. When it's if req.body and not if req.body_file, the tests work and the server fails functionally..17:16
jaypipessirp_: is that a good description of the problem?17:17
creihtahh17:17
*** kbringard has joined #openstack17:17
sirp_the issue jay i think is that body_file always exists17:17
openstackhudsonProject nova build #440: SUCCESS in 1 min 31 sec: http://hudson.openstack.org/job/nova/440/17:17
sirp_its just an empty cStringIO17:17
openstackhudsonTarmac: No longer chmod 0777 instance directories, since nova works just fine without them.17:17
sirp_but that still evaulates to truthy17:17
sirp_which causes the logic to break17:17
jaypipescreiht: I'm thinking we either need to hack the stubs more, or switch to an alternate way of testing?17:18
jaypipesmmmm, truthiness.17:18
creihthrm17:18
sirp_i think this is a problem in code not tests17:18
*** mray has quit IRC17:19
sirp_since body_file always has an object… maybe we should test content-lenght to determine if an entity body is present17:19
sirp_Content-Length: 0 or Transfer-Encoding: chunked would indicate17:19
jaypipessirp_: hmm, that might work.17:20
creihtyeah I agree with checking the content_length17:21
jaypipessirp_: wanna try that approach and let me know if that works please?17:22
sirp_yep, working on it right now :)17:22
jaypipescoolio :)17:22
creihtjaypipes: if it is the test failure, then setting the body on your request in the test, should make body_file available17:24
creihtjaypipes: also another interesting possibility for testing is someting like:17:24
creihthttp://code.google.com/p/wsgi-intercept/17:24
jaypipescreiht: that's how I read the docs, too, but for some reason I was running into issues.  Prolly was PEBCAK, though ;)17:24
jaypipesintersting, I'll check that out.17:25
creihtIt creates fake wsgi apps, and patches httplib, so that you make calls to it like you normally would rather than just faking webob requests17:25
jaypipescreiht: ooooh, that sounds nice.17:25
creihtjaypipes: I tested the body thing in a shell, and it seems to work well17:25
jaypipescreiht: w00t.17:26
creihtI've used wsgi-intercept on another project, and it worked nicely17:26
creihtthough it adds an extra dependency17:26
sirp_jaypipes: this seems to work in all cases: http://paste.openstack.org/show/536/17:28
creihtsirp_: Why pull that out to has_body?17:31
creihtor why not just put all that in the if statement?17:31
*** joearnold has joined #openstack17:31
sirp_creiht: just thought it read a little clearer (not a line-miser ;) )17:32
*** EdwinGrubbs has quit IRC17:32
jaypipescreiht: nothing wrong with using an extra line for clarity :)17:33
jaypipessirp_: cool, I will use that code and push to the merge proposal branch of mine...17:33
creihtjaypipes: true17:33
creiht:)17:33
*** mray has joined #openstack17:33
*** adamsih300u has joined #openstack17:40
*** dirakx has joined #openstack17:40
*** reldan has quit IRC17:43
*** adiantum has quit IRC17:44
*** retr0h has quit IRC17:50
*** blueadept has joined #openstack17:52
jarrodman, just ordered 3 more dell r610s for compute nodes17:54
jarrodim impressed with openstack17:54
*** aimon has quit IRC17:56
blueadepti heard InterNAP just released a new storage cloud using open stack17:57
*** jdurgin has joined #openstack17:57
*** adiantum has joined #openstack17:58
PiotrSikorablueadept: yeah, announcement is here: http://www.internap.com/2011/01/18/internap-expands-it-infrastructure-services-offering-with-enterprise-cloud-storage/17:58
blueadeptcool, so this openstack is all written in python, correct?18:00
jarrodyes18:00
vishysoren: http://jaggermafia.com/?p=835918:00
jarrodinternap is using cloudfiles18:00
blueadeptso what how does InternNAP's product integrate with the storage system? has internap built their own control panel for the underlying logic?18:01
jarrodyea, they implemented cloudfiles and wrote their own wrapper, interface around it using the API18:02
PiotrSikorajarrod: cloudfiles as in they are reselling rackspace?18:02
PiotrSikorajarrod: or did you mean swift?18:02
jarrodswift18:02
PiotrSikoraok, you've got me confused for a moment :P18:02
blueadeptrackspace opensourced the core server and distribution logic for the nodes, but you still have to write a CRUD for the services it runs18:03
blueadeptthats my basic understanding18:03
blueadeptim going to get swift running on my servers tonight and see what i can do with it18:03
blueadepti have so many projects going, but this really interests me18:03
*** aimon has joined #openstack18:07
*** westmaas has quit IRC18:07
*** mray has joined #openstack18:10
*** adiantum has quit IRC18:10
*** Ryan_Lane has joined #openstack18:12
*** dudeman has joined #openstack18:13
dudemani tried testing, http://www.ansolabs.com/articles/hacking-nova, and ssh fails with no route to host 10.0.0.318:14
dudemaneverything looks good except that18:15
dudemanreinstalled and get same error18:16
dudemanany pointers from anyone on this?18:17
dudemanI watched vish install this with no issue last night, has anyone fixed this error before?18:21
dudemanquiet in here, is this irc client working?18:21
dudemanhello?18:22
*** arthurc has quit IRC18:23
dudemansyn18:23
dudemanack18:23
*** retr0h has joined #openstack18:23
*** adiantum has joined #openstack18:24
dudemani tried testing, http://www.ansolabs.com/articles/hacking-nova, and ssh fails with no route to host 10.0.0.318:24
dudemanreinstalled and get same error18:25
dudemanhas anyone seen this before?18:25
*** BK_man has quit IRC18:26
dudemananyone?18:26
dudemanbueller?18:26
kbringardsorry dudeman, I've not seen that before18:27
annegentledudeman: hm. I'm not sure SSH is installed on the image that the nova.sh script downloads.18:28
vishyredbo: here?18:28
kbringardcan you ping 10.0.0.3?18:29
dudemanno cant ping, its a routing error, but route -n shows the 10.0.0.0 route18:29
johnpurvishy: redbo is afk18:30
kbringardif you do an ifconfig, do you see the vnet adapter?18:30
kbringarddoes brctl show it attached to the bridge?18:30
vishyredbo: it seems that you are responsible for the patch that fixes eventlet / ipv6? Or is that a different redbo? redbo = Mike Barton?18:30
vishyjohnpur: ^^ is redbo Mike Barton?18:31
dudemankbringard: it does seem to be attached18:31
annegentlevishy: yep, that's right. They're probably at lunch now, is my guess.18:31
retr0hjohnpur: /who redbo agrees it is ;)18:31
vishyok I'll wait for him to return then18:32
retr0hhowdy kbringard :)18:32
kbringardhai retr0h18:32
kbringardoh, dudeman... I seem to recall having network issues due to ipv6 stuff18:33
kbringardalthough I think it worked when I used nova.sh, it was only when I was running it from init that I had problems18:33
dudemanI'mnot using v6 on this system18:34
*** nelson has quit IRC18:34
kbringardright, that was the problem I had18:34
kbringardit was something about writing out iptables ipv6 rules18:34
kbringardI had to set --use_ipv6=false in my nova.conf18:34
annegentlekbringard: ah there you go18:35
kbringardno idea if that's your issue18:35
dudemani'll try that18:35
dudemanthanks!18:35
retr0hdudeman: u have an epic handle!18:35
kbringardno problem, hopefully it works :-D18:35
kbringardso, I have a question about the FlatManager18:37
*** tonywolf has joined #openstack18:37
kbringardin the docs, it says18:37
kbringardCreating multiple networks for for one manager is currently not supported18:37
*** kpepple has joined #openstack18:38
kbringardso, does that mean, that I couldn't create 10.1.100.0/24 vlan tagged as 100 through br_100 and 10.1.101.0/24 vlan tagged as 101 through br_101?18:39
kbringardI want to break my network up into /24s, and map a bridge device to each network... then have the network manager attach to the appropriate bridge based on the IP it assigned to the VM18:40
*** blamar has joined #openstack18:42
*** adiantum has quit IRC18:44
*** EdwinGrubbs has joined #openstack18:44
retr0hyeah18:46
*** morfeas has quit IRC18:48
*** adiantum has joined #openstack18:48
*** morfeas has joined #openstack18:49
*** pharkmillups has quit IRC18:49
retr0halong the lines of what kbringard said, we 802.1Q tag our vnets (in OpenNebula) so we can bring up a guest on any host in our DC.. trying to tackle that in openstack18:49
retr0hour neteng likes to assign us /24 vnets vs one large netblock18:50
kbringarddudeman: disabling ipv6 solve your problem?18:51
kbringardI think I tumbleweeded the room18:55
redbovishy: that's me18:56
vishyredbo: cool, nova needs the ipv6 fix  to fully support ipv6.  Any idea how we can get it into eventlet proper?  In the meantime we probably need to build a custom deb package with the fix and get it into the ppa18:57
retr0hkbringard: <whistle>ooo wa ooo wa oooo - da da daaaaaaa!</whistle>18:57
*** spectorclan has joined #openstack18:57
*** pvo is now known as pvo_away18:57
vishydudeman: hey18:58
vishydudeman: check the output in nova-network and see if it is reporting the ip getting leased18:58
vishydudeman: also verify that euca-get-console-output i-1 isn't showing any strange errors18:59
*** pvo_away is now known as pvo18:59
jaypipessirp_: alrighty, just waiting for the final docs/man page merge to go into trunk and then let's cut a new tarball...18:59
redbovishy: it's already in the eventlet trunk, he just hasn't done a release since then.  I don't know what it'd take to do a ppa .deb from their trunk, mtaylor has been handling those.19:00
dudemanthanks retr0h19:00
dudemankringard: disabling v6 did not fix it19:00
kbringardbummer19:00
kbringardvishy is the man, if you do what he tells you, it'll likely get fixed :-)19:01
vishydudeman: is your host 64 bit?19:01
vishyredbo: ok, hopefully mtaylor or soren can give us a trunk eventlet then.  I think they will be much faster than I :)19:02
creihtblueadept: cool... feel free to let me know if you run into any issues, or have any questions19:02
vishys/I/me19:02
dudemanvish: euca-get-console-output  looks ok19:03
dudemanchecking for lease19:03
dudemanusing 32bit maverick19:03
dudemanis 64 required?19:03
creihtvishy: did you still have a question from last night?19:03
vishycreiht: I can't remember why I was pinging you, let me see if anotherjesse can jog my memory19:04
creihthehe19:04
vishydudeman: should be19:04
vishydudeman: the image is 64 bit19:04
vishydudeman: does get console output show any output at all?19:05
vishydudeman: generally when you try to run 64 bit on 32 bit host it just doesn't actually run19:05
dudemanvish: ok, using pae kernel. will reinstall 6419:06
dudemanvish: no lease for 10.0.0.3 in network screen window19:06
vishydudeman: that will be easier.  I was going to say you could try grabbing a 32 bit ttylinux image19:06
kbringardvishy: if you have a moment, I have a question about the network manager19:07
vishykbringard: sure19:07
dudemanvish: thanks!19:07
*** westmaas has joined #openstack19:08
vishydudeman: np19:08
dudemanoff to grab a new maverick...19:08
kbringardour netops guys don't like to give out more than a /24 or /23 to control broadcast, so what I'm wanting to do is19:08
*** dudeman has left #openstack19:08
kbringardcreate lets say 4 networks, each a /2419:08
kbringardand assign them to 4 different bridges19:09
kbringardeach bridge will VLAN tag for the network it's physically connected to19:09
kbringardthe ideally, using FlatManager or FlatDHCPManager19:09
kbringardwhen a VM gets assigned an IP, it'll attach to the appropriate bridge (as defined in the network config in the DB)19:10
kbringardthen the vlan trunking on the switches will allow everything to talk to each other19:10
kbringardso, my question is, in the docs, it says something about only one network being supported in the network manager19:10
kbringarddoes that mean I can't do what I want to do?19:11
*** EdwinGrubbs has quit IRC19:11
vishykbringard: so each rack has its own vlan?19:11
kbringardyea19:11
vishykbringard: easier might be to just stick one network-manager on each rack19:12
kbringardI have OpenNebula setup this way now, and it works fine... so I know I can tag at the bridge level... from an OS perspective19:12
vishykbringard: s/network-manager/nova-network19:12
kbringardwell, actually, sorry, I misspoke19:12
kbringardeach rack will be configured for all of the VLANs19:13
vishykbringard: then run all of the computes in the rack with --network_host=<this racks compute>19:13
kbringardso any random host machine will have a br_100 br_101, br_102...19:13
kbringardand the VM will attach to the correct bridge depending on the /24 it's IP was pulled from19:14
vishykbringard: ah ok but the bridge it needs to go into is dependent on the ip it gets?19:14
* vishy thinks for a second19:14
kbringardhehe19:14
kbringardbasically, I'm working around a netops restriction19:15
kbringardlogically, it's the same thing as a giant /16 or whatever19:15
kbringardbut they want to keep broadcast domains limited19:15
kbringardso they trunk VLANs19:15
uvirtbotNew bug: #706029 in nova "pluginlib_nova needs gettext" [Undecided,Fix committed] https://launchpad.net/bugs/70602919:16
*** reldan has joined #openstack19:16
vishykbringard: the only reason multiple networks aren't supported is get_network_host19:16
kbringardyea, I saw that in the nova.network.manager module documentation19:16
kbringardCreating multiple networks for for one manager is currently not supported, but could be added by modifying allocate_fixed_ip and get_network to get the a network with new logic instead of network_get_by_bridge.19:17
kbringardso I guess that is still the case then :-)19:17
vishykbringard: yes i believe I thought of this use case, I just didn't know the best way to implement it19:17
kbringardcool, makes sense19:18
kbringardwell, I'll ponder on it as well19:18
kbringardand hopefully we can come up with something :-)19:18
vishykbringarrd: i think if you just change the logic to get the least full network19:18
vishyinstead of get_by_bridge19:18
kbringardmakes sense19:19
vishyi can't see any reason why that wouldn't work, although you would probably need some supporting functions to create networks with different vlans without hacking the db directly19:19
kbringardI've not delved into the code much yet... but it sounds like the way it works now is it just looks at the bridge and assigns an IP based on that?19:20
vishykbringard: in vlan mode, each project has its own bridge19:20
kbringardyea, I was hoping to get away from that because I don't necessarily want to create projects for everything... that's why I was looking at FlatManager19:21
vishykbringard: in the other modes there is one network for the manager, so it always returns the only network19:21
kbringardgot it19:21
kbringardcool, thanks for the info, I'll dig into it and see what I come up with :-)19:21
vishykbringard: FlatDhcpManager is a little easier to set up as it handles routing and such, but it does have a couple gotchas19:22
*** nelson has joined #openstack19:22
nelsonLet me guess: the pseudo-directory scheme in swift is VERY much like using a prefix=, correct?19:23
nelsonExcept that there's a file which has the same name as the prefix.19:24
kbringardvishy: OK, thanks for the info!19:25
creihtnelson: are you asking from the user API perspective?19:26
jaypipessirp_, jk0: OK, going to cut 0.1.3pre2 tarball for Glance. last chance for objections :)19:26
creihtIf so, if you include your directory structure in the object names, you can do pretty effective directory like queries19:26
jk0jaypipes: I'm game19:26
vishykbringard: np, we are testing different networking scenarios as well, so we might run into some of the same pain points and hopefully we have good docs and fixes soon19:27
nelsonwell yes, I'm reading the API, but Im guessing that the implementation is pretty transparent to the existance of these directory names.19:27
sirp_jaypipes: can't think of any off hand, but really haven't had a chance to dig in yet, really fighting hard to get nova working in DomU19:27
creihtthe prefix= queries are just translated to queries in the listing database19:28
*** adiantum has quit IRC19:29
*** kpepple has left #openstack19:29
jaypipessirp_: is this something you want me to hold off the tarball for?19:29
mtaylorredbo: I thought we already had a trunk eventlet package somewhere19:30
jk0jaypipes: this is the only problem I've been seeing: http://paste.openstack.org/show/537/19:31
mtaylorredbo: and could someone kick the eventlet guy in the pants to do a new release?19:31
jk0jaypipes: but I don't think it's related19:31
redbordw: do a release19:31
creihthehe19:32
creihtrdw: you have full permission to kick mtaylor back :)19:32
*** pharkmillups has joined #openstack19:33
mtaylorrdw: kick19:33
*** mdomsch has quit IRC19:34
*** pharkmillups has quit IRC19:34
jk0jaypipes: also, fwiw http://paste.openstack.org/show/538/19:34
*** adiantum has joined #openstack19:34
jaypipessirp_: hmm, that's odd. anyone have any ideas on why that is happening? this only happens when nova is running in dom0?19:34
sirp_jaypipes: off hand i don't, maybe i could jump in a screen session with jk0 and dig in, jk0 up for that?19:35
jk0yeah, definitely19:35
kbringardhow do I delete networks created with nova-manage network create?19:35
kbringarddo I need to just blast it from the DB?19:35
sirp_jk0: ok im gonna grab a quick bite, one do that in 30 min or so19:35
*** GasbaKid has joined #openstack19:35
sirp_*wanna19:36
jk0sirp_: sounds good19:36
*** rossi_j has quit IRC19:36
*** rossij has joined #openstack19:36
jaypipesjk0: everything looks fine on that second paste...19:37
jk0jaypipes: the funny part is curling the image directly works fine, too19:37
jk0I'm thinking it's likely a problem somewhere else, not in glance19:37
jaypipesjk0: hmm, ok.19:38
*** littleidea has quit IRC19:38
*** retr0h has quit IRC19:39
*** GasbaKid has quit IRC19:41
nelsonHmmmmm .... I'm thinking that whomever made the Swift API didn't consider the diff between PUT and POST in the REST paradigm.19:42
creihtheh... here goes this discussion again :)19:42
kbringardlol19:43
redbooh good god...19:43
*** adiantum has quit IRC19:43
*** greenisus has quit IRC19:44
johnpurredbo: dirty laundry being aired!19:44
creihtpsh19:44
creiht:)19:44
*** greenisus has joined #openstack19:45
*** retr0h has joined #openstack19:45
nelsonNot criticizing ... just noting.19:45
creihthehe19:46
redboNow someone needs to say that having the API version in the URL isn't restful.19:46
nelsonOh, well fuck that idea. API version NEEDS to be in the URL or lossage ensues.19:46
creihtmaybe there is some script that tests the restfulness of apis that we could have hudson run against our code at each checkin19:46
creiht:)19:46
jaypipescreiht: lol.19:47
*** elasticdog has quit IRC19:47
creiht>:)19:47
openstackhudsonProject nova build #441: SUCCESS in 1 min 32 sec: http://hudson.openstack.org/job/nova/441/19:47
openstackhudsonTarmac: Adds gettext to pluginlib_nova.py. Fixes #706029.19:47
jaypipescreiht: I still think replacing that Chuck Norris plugin with a Chuck Thier plugin is a good idea.19:47
nelsonand anyway, I always thought that the idea of REST was that all sorts of crap was supposed to go into the URL. That's how you know exactly what service you'[re accessing.19:47
*** omidhdl has left #openstack19:48
creihtjaypipes: :)19:48
redboI think swift's API is very restful.19:48
nelsonanyway ... back to reading....19:48
*** mdomsch has joined #openstack19:48
creihtnelson: if you are curious, feel free to ask away19:48
*** BK_man has joined #openstack19:48
nelsonredbo: except that REST expects PUT for writes, and POST for creates. PUT fails if it doesn't exist; POST fails if it does.19:49
creihtsorry about the sirly remarks, but some of the same questions come up all the time :)19:49
*** adiantum has joined #openstack19:50
redboI think you're making up rest concepts.19:50
creihtlol19:50
redbo"To create or modify a resource, the client sends a PUT request that usually includes an entity-body."19:50
creihtnelson: read this book: http://oreilly.com/catalog/978059652926019:51
creiht:)19:51
nelsonOh, it's possible that I'm wrong, but I read that somewhere on the Internet.19:51
*** elasticdog has joined #openstack19:51
nelsonAnd as we all know, someone on the Internet is wrong.19:51
creihthehe19:51
spectorclantr3buchet: Trey, who do you work for? thanks19:51
jk0if it's on the Internet, it has to be true ;)19:51
creihtwe base most of our RESTful ideas from that book19:51
creihtand it is a very good book19:51
nelsonhttp://xkcd.com/386/19:51
jk0spectorclan: tr3buchet is in Rackspace Ozone19:51
spectorclanjk0: Thanks! Much appreciated19:52
jk0np19:52
jk0spectorclan: he likes to go by "Sprinkles", though19:52
*** EdwinGrubbs has joined #openstack19:52
spectorclanjk0: I am not even going to touch that at all19:52
jk0;)19:52
redboyes, I identify with characters in XKCD comics far too often19:53
mtaylorredbo: which PPA do we need new eventlet in?19:53
redboI don't know, it was vishy's request.19:53
mtaylorI'm gonna guess nova then19:54
vishymtaylor: nova19:55
mtaylork19:55
*** dprince has quit IRC19:56
mtaylorvishy: and you do need trunk and not just 0.9.13?19:58
vishymtaylor: yes or 9.13 with redbo's patch19:59
spectorclanlooking for michael rodriguez -> company??19:59
mtaylorredbo: do you have a patch location?19:59
vishymtaylor: here - https://bitbucket.org/which_linden/eventlet/changeset/a8b25917702419:59
redboThe tricky part you have to fix *both* lines of code.20:00
creihtnelson: and to answer your question, POST and PUT can both be used when you want to create something, POST is usually used when you are creating something that you don't know what the final URL endpoint of that object is going to be, PUT is for when you do know what the final URL is going to be20:00
vishyredbo: *chuckle*20:00
BK_manjaypipes: did you committed fix into glance's trunk20:04
BK_manjaypipes: ?20:04
spectorclanKnightHacker: company you work for? Thanks20:04
creihtspectorclan: KnightHacker is a cloud architect20:05
creihtfor RS20:05
spectorclancreiht: thanks20:05
*** pvo is now known as pvo_away20:07
*** Pentheus has joined #openstack20:09
*** ctennis has quit IRC20:11
*** dubsquared has joined #openstack20:16
*** gondoi has quit IRC20:19
*** gondoi has joined #openstack20:19
JordanRinkeohai20:24
jk0hiya20:25
dabo JordanRinke: ohaiurself20:26
*** littleidea has joined #openstack20:26
*** aimon has quit IRC20:31
*** gondoi has quit IRC20:35
*** adiantum has quit IRC20:37
*** gondoi has joined #openstack20:37
*** aimon has joined #openstack20:37
*** mdomsch has quit IRC20:39
*** adiantum has joined #openstack20:43
*** pvo_away is now known as pvo20:47
notmynamecolinnich: I haven't forgotten about he domain_remap code. I'm working on it now. I think we want to change it a little20:48
jk0jaypipes: turns out that conn refused problem is caused by an issue in compute20:49
colinnichnotmyname: I've just come back after dinner.... so I'll be here for a few hours. Change what you like, I'm no expert :-)20:50
*** reldan has quit IRC20:50
*** pvo is now known as pvo_away20:51
notmynamecolinnich: pretty simple really. I think the thought is to restrict what will be written to the list of explicit prefixes in the config. IOW, if you define reseller_prefixes, only remap those and fail for others20:51
uvirtbotNew bug: #706072 in nova "Instance NotFound error : Instance Id is not correct from user perspective" [Undecided,New] https://launchpad.net/bugs/70607220:51
*** adiantum has quit IRC20:53
*** j05h1 has quit IRC20:54
colinnichnotmyname: after I'd pushed the branch, I also wondered if there would be any merit in taking a lowercase copy of account before the loop20:54
*** pvo_away is now known as pvo20:54
colinnichnotmyname: or maybe one would not have enough reseller prefixes for it to matter much...?20:55
notmynamecolinnich: ya, I'm adding some docs on that too. it's the same with container names. if you use domain_remap, be dns compatible20:56
*** adiantum has joined #openstack20:57
*** j05h has joined #openstack20:58
*** greenisus has quit IRC20:58
*** greenisus has joined #openstack20:59
*** dfg has quit IRC20:59
*** greenisus has quit IRC20:59
*** greenisus has joined #openstack21:00
openstackhudsonProject swift build #171: SUCCESS in 29 sec: http://hudson.openstack.org/job/swift/171/21:01
openstackhudsonTarmac: Fixes to get audit to run cleanly over datasets where people have i18n strings (ie. bit 7 set utf-8 bytes) in container and object names.21:01
openstackhudsonArguably these fixes aren't the most elegant or complete, but for now it suffices to get things working until we re-factor things later.21:01
openstackhudsonAlso tweak output from  foo... to "foo" (so cut & paste works a little better).21:01
*** pharkmillups has joined #openstack21:02
*** adiantum has quit IRC21:03
*** Cybodog has joined #openstack21:04
*** adamsih300u has quit IRC21:07
*** adiantum has joined #openstack21:08
*** dirakx has quit IRC21:10
*** tonywolf has quit IRC21:14
*** dfg has joined #openstack21:15
*** pvo is now known as pvo_away21:17
*** pvo_away is now known as pvo21:18
*** reldan has joined #openstack21:18
*** ctennis has joined #openstack21:18
*** reldan has quit IRC21:19
*** pharkmillups has quit IRC21:20
*** westmaas has quit IRC21:22
*** adiantum has quit IRC21:23
*** pvo is now known as pvo_away21:30
*** kbringard has quit IRC21:32
*** dendrobates is now known as dendro-afk21:37
*** dendro-afk is now known as dendrobates21:38
*** pvo_away is now known as pvo21:39
*** MarkAtwood has quit IRC21:40
*** adiantum has joined #openstack21:45
sirp_Proposed https://code.launchpad.net/~rconradharris/nova/bug705790/+merge/47116  would love comments21:47
blueadeptis openstack POSIX compatible?21:52
*** miclorb_ has joined #openstack21:53
*** bradshaw has joined #openstack21:55
jerowhat do you mean by posix compatible blueadept ?21:55
*** westmaas has joined #openstack21:55
*** jschopp-- has joined #openstack21:55
sirp_jaypipes: if you get a sec, could you give https://code.launchpad.net/~rconradharris/nova/bug705790/+merge/47116 a once over21:57
dabosirp_: lines 49-50 should be mappings, e.g.: LOG.debug(_('VBD %(vbd)s plugged into wrong dev, remapping to %(dev)s') % locals())21:58
sirp_dabo: is that an official coding standard, seems rather inconsistent with the rest of nova22:00
dabosirp_: yes, it's a standard22:01
*** MarkAtwood has joined #openstack22:01
daboIt will be consistent once my merge prop is merged22:01
dabohttps://code.launchpad.net/~ed-leafe/nova/lp703041/+merge/4682322:01
blueadeptjero: can you mount it as a file system and perform operations on it?22:01
daboI need one more core dev to ok that one (hint, hint!)22:02
sirp_dabo: ah, ok, it *will* be standard, gotcha22:02
dabosirp_: and it isn't an arbitrary standard. Translations can't always work when positions are fixed.22:03
sirp_dabo: not arguing whether its good or bad, its just not standard in current trunk22:03
sirp_dabo: when you're stuff hits, then it becomes the best practice22:03
daboIt's been noted as a bug in current trunk22:03
daboNo sense writing even more bugs22:04
Xenithblueadept: No, that is not what openstack does.22:09
jeroblueadept: well, I guess you ask about swift, so it provides an rest api (think http) to access the storage elements.22:10
jero-n*22:10
mtayloranybody in here a bit rabbitmq person?22:10
mtaylors/bit/big/22:12
blueadeptjero: right, ok, yeah i've gone over some of the documentation that talks about the REST setup, so i get it now22:15
edaymtaylor: I might be able to help22:15
mtayloreday: I'm trying to figure out how to launch and then stop a rabbitmq in a sandbox not as root22:16
mtayloreday: I've got launching down - but there doesn't seem to be any way to inform rabbitmqctl about having launched rabbit on a different port22:16
*** opengeard has joined #openstack22:16
*** westmaas has quit IRC22:16
edaymtaylor: so, you may want to address it using the erlang node, -n <node>22:17
tr3buchetspectorclan: i do not like to go by sprinkles22:18
edaymtaylor: and each port you start can have testX@blah nodename22:18
edaymtaylor: you can use RABBITMQ_NODENAME env var too22:18
mtayloryeah. I set RABBITMQ_NODENAME22:18
jaypipessirp_: looking now mate :)22:19
jaypipessirp_: oops, too late!22:19
sirp_heh22:19
mtayloreday: http://paste.drizzle.org/show/312/22:19
sirp_i pushed a new fix for the logging, wonders whether that will make it into the merge22:19
mtayloreday: rabbitmqlctl seems to not grok I'm not talking about the main rabbitmq node22:20
edaymtaylor: remove the @camelot on the command line arg22:20
*** adiantum has quit IRC22:21
mtayloreday: same thing22:21
edayhm22:21
mtayloreday: I did this: http://paste.drizzle.org/show/313/22:22
jeroblueadept: it's possible to implement user-space filesystems that provide a posix set of features in the frontend, and talk http with the swift backend accordingly22:22
edaymtaylor: ahh, might be because it's out of a diff dir, and the .erlang_cookie file doesn't match22:23
mtayloreday: that makes sense - so I guess it's just a bug that rabbitmqctl doesn't also respect those env vars22:23
edaymtaylor: actually, try appending @camelot onto the env var before starting (nodename)22:23
mtayloreday: k22:24
edayerlang is picky about short vs long names22:24
jk0sirp_: yeah, didn't make it22:24
sirp_ah well22:25
mtayloreday: nope. I think the telling thing is:22:25
mtaylor- current node home dir: /var/lib/rabbitmq22:25
jk0sirp_: flipped back to needs review22:25
mtaylorwhich is very much the wrong node home dir22:25
edaymtaylor: that's fine, the mnesia and log files don't need to be in there22:25
sirp_jaypipes: could you glance at the little logging change, and if looks good, flip it back to 'Approved'?22:25
mtaylorbut I'm wondering if it's finding the wrong cookie because it's looking in there22:26
edaymtaylor: the only thing that needs to be shared is .erlang_cookie, which looks like it is22:26
jaypipessirp_: done22:26
mtayloreday: ok. well that's good at least22:26
sirp_jaypipes: thanks!22:27
edaymtaylor: did you restart the server with the new nodename?22:27
mtayloreday: yes22:27
mtayloreday: and tried both short and long versions to -n to rabbitmqctl22:27
mtaylor(of course, I won't even get started with the fact that it won't let me run that command as not-root or not rabbitmq-user)22:27
*** adiantum has joined #openstack22:28
nelsoncreiht: okay, this is annoying. I have a container whose contents I can GET (it's empty), and yet I can't PUT it to re-create it. I get a "404 Not Found".22:28
*** ppetraki has quit IRC22:28
mtayloreday: I may be back to "capture the pid and kill it"22:29
nelsonAPI documentation doesn't list that as one of the possible error returns.22:29
*** te has joined #openstack22:30
edaymtaylor: are you starting/stopping as the same user?22:30
edaymtaylor: because it may be looking in your home dir for the cookie22:30
edaymtaylor: rather than /var/lib22:31
edayI just tested and I have diff cookies22:31
*** rpedde has joined #openstack22:31
mtayloreday: ah. that's probably it - it won't let me run the command as me. lemme see if fakeroot fakes it out22:31
*** aimon has quit IRC22:32
*** tonywolf has joined #openstack22:33
mtayloreday: AHA!22:33
mtayloreday: /usr/sbin/rabbitmqctl is just a stupid-ass wrapper shell script22:34
*** allsystemsarego has quit IRC22:34
edaymtaylor: fixed?22:34
mtayloreday: which blocks use by not root ... if I skip it and call /usr/lib/rabbitmq/bin/rabbitmqctl directly, it works22:34
edaycool :)22:34
mtayloreday: sweet. thanks man.22:36
edaynp22:36
*** blueadept has quit IRC22:37
openstackhudsonProject nova build #442: SUCCESS in 1 min 30 sec: http://hudson.openstack.org/job/nova/442/22:37
openstackhudsonTarmac: This patch adds two flags:22:37
openstackhudson--xenapi_remap_vbd_dev22:37
openstackhudson--xenapi_remap_vbd_dev_prefix22:37
openstackhudsonIf the plugged-in VBD dev is wrong, these configs let your remap it on the fly. This works around a bug in Ubuntu Maverick: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/68487522:37
uvirtbotLaunchpad bug 684875 in linux "Patch to Natty 2.6.37-virtual breaks non-EC2 users" [High,Fix released]22:37
ascovelhey guys, got a question about user roles regarding starting instances without beign an admin22:45
uvirtbotNew bug: #706115 in nova "XenServer destroy error on halted instance" [Undecided,New] https://launchpad.net/bugs/70611522:47
*** maplebed has quit IRC22:48
*** adiantum has quit IRC22:50
*** rnirmal has quit IRC22:51
*** dfg has quit IRC22:51
*** maplebed has joined #openstack22:51
*** rcc has quit IRC22:56
*** adiantum has joined #openstack22:56
*** spectorclan has quit IRC22:59
*** littleidea_ has joined #openstack22:59
uvirtbotNew bug: #706122 in nova "openstack api should filter image types" [Undecided,New] https://launchpad.net/bugs/70612223:01
anticwgholt: where is the container acl checking done?23:03
*** littleidea has quit IRC23:03
*** littleidea_ is now known as littleidea23:03
*** adiantum has quit IRC23:05
*** daleolds has quit IRC23:05
*** bradshaw has quit IRC23:06
*** dfg has joined #openstack23:07
*** ascovel has quit IRC23:09
*** adiantum has joined #openstack23:12
*** tonywolf has left #openstack23:12
*** pvo is now known as pvo_away23:16
*** dubsquared has quit IRC23:22
*** ferdy has joined #openstack23:22
*** ferdy has quit IRC23:23
*** adiantum has quit IRC23:24
*** jschopp-- has quit IRC23:27
*** cyonyx has joined #openstack23:27
*** dendrobates is now known as dendro-afk23:28
*** adiantum has joined #openstack23:30
*** retr0h has quit IRC23:30
*** gondoi has quit IRC23:33
*** cynb has quit IRC23:36
*** mray has quit IRC23:45
*** EdwinGrubbs has quit IRC23:47
*** MarkAtwood has quit IRC23:47
*** MarkAtwood has joined #openstack23:48
*** johnpur has quit IRC23:54
gholtanticw: Via the swift.authorize callback to middleware. The webob.Request passed back will have an acl attr on it. For a bit of example code sww swift/common/middleware/auth.py line 183 or so.23:57
*** rpedde has quit IRC23:58

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