Thursday, 2010-11-18

*** rlucio has left #openstack00:02
*** miclorb has joined #openstack00:04
*** pvo has joined #openstack00:08
*** ChanServ sets mode: +v pvo00:08
*** daleolds has joined #openstack00:10
*** Cromulent has quit IRC00:13
*** schisamo has quit IRC00:14
vishyfixed flat dhcp00:14
vishylp:~vishvananda/nova/fix-flatdhcp if anyone wants to try it00:14
vishyfound out you have to be very careful attaching bridges to interfaces that already have an ip00:15
vishyit also includes a new nova.sh which allows you to specify the switch easily00:19
*** maplebed has joined #openstack00:22
*** jc_smith has quit IRC00:33
*** miclorb has quit IRC00:33
*** londo has quit IRC00:33
*** londo has joined #openstack00:33
*** pvo has quit IRC00:43
*** michaeldreamhost has joined #openstack00:46
*** joearnold has quit IRC00:52
*** Ryan_Lane is now known as Ryan_Lane|away00:52
*** miclorb_ has joined #openstack00:59
*** abecc has quit IRC01:09
*** abecc has joined #openstack01:11
*** abecc has joined #openstack01:11
*** londo has quit IRC01:14
*** londo__ has joined #openstack01:14
*** maplebed has quit IRC01:24
*** dragondm has quit IRC01:35
*** stewart has quit IRC01:46
michaeldreamhostI've set my blueprints to pending approval. should I be having them reviewed by someone other than rick before I set them to that?01:52
*** littleidea has quit IRC02:12
*** littleidea has joined #openstack02:12
*** littleidea has quit IRC02:17
*** littleidea has joined #openstack02:24
*** BK_man has quit IRC02:27
*** daleolds has quit IRC02:37
*** littleidea has quit IRC02:40
*** littleidea_ has joined #openstack02:59
creihtfor the nasa peoples: http://askaninja.com/taxonomy/term/90903:05
*** annegentle-web has quit IRC03:11
*** littleidea_ has quit IRC03:17
*** littleidea has joined #openstack03:17
vishycreiht: laff03:18
*** littleidea has quit IRC03:21
*** joearnold has joined #openstack03:28
*** schisamo has joined #openstack03:30
*** localhost2 has quit IRC03:34
*** localhost2 has joined #openstack03:38
*** joearnold has quit IRC03:38
*** abecc has quit IRC03:49
*** AimanA has quit IRC03:54
*** AimanA has joined #openstack03:54
*** mdomsch has joined #openstack04:11
*** littleidea has joined #openstack04:16
*** kashyapc has quit IRC04:20
*** kashyapc_ has joined #openstack04:20
*** schisamo_ has joined #openstack04:26
*** schisamo has quit IRC04:26
*** schisamo_ is now known as schisamo04:26
*** ar1 has quit IRC04:28
*** ar1 has joined #openstack04:28
*** BK_man has joined #openstack04:32
*** localhost2 has quit IRC04:34
*** omidhdl has joined #openstack04:35
*** localhost2 has joined #openstack04:36
*** omidhdl1 has joined #openstack04:36
*** omidhdl has quit IRC04:37
*** kashyapc_ has quit IRC04:42
*** stewart has joined #openstack04:47
*** AimanA is now known as HouseAway04:48
*** joearnold has joined #openstack04:55
*** hazmat has quit IRC05:01
*** stewart has quit IRC05:08
*** joearnold has quit IRC05:14
*** omidhdl1 has quit IRC05:19
*** kashyapc has joined #openstack05:19
*** ramkrsna has joined #openstack05:19
*** ramkrsna has joined #openstack05:19
*** ArdRigh has joined #openstack05:20
*** littleidea has quit IRC05:22
*** omidhdl has joined #openstack05:25
*** littleidea has joined #openstack05:28
*** mdomsch has quit IRC05:38
*** schisamo has quit IRC05:44
*** f4m8_ is now known as f4m805:46
*** sirp2 has quit IRC05:51
*** hazmat has joined #openstack06:13
*** stewart has joined #openstack06:13
*** randybias has joined #openstack06:18
*** littleidea has quit IRC06:20
*** arthurc has joined #openstack06:26
dubsquaredanyone home :O06:30
*** randybias has quit IRC06:32
*** zaitcev has quit IRC06:33
*** joearnold has joined #openstack06:40
*** littleidea has joined #openstack06:42
*** miclorb_ has quit IRC06:43
*** JordanRinke_ has joined #openstack06:46
*** JordanRinke has quit IRC06:49
*** dfg_ has quit IRC06:50
*** dfg_ has joined #openstack06:51
*** joearnold has quit IRC06:52
*** joearnold has joined #openstack07:01
*** ibarrera has joined #openstack07:02
*** jcannava has joined #openstack07:04
*** larissa has quit IRC07:07
*** larissa has joined #openstack07:08
*** alekibango has quit IRC07:08
*** jcannava has quit IRC07:08
*** alekibango has joined #openstack07:08
*** chmouel has quit IRC07:11
*** jc_smith has joined #openstack07:13
*** littleidea has quit IRC07:42
*** allsystemsarego has joined #openstack07:43
*** allsystemsarego has joined #openstack07:43
*** littleidea has joined #openstack07:43
*** littleidea has quit IRC07:47
*** almaisan-away is now known as al-maisan07:54
*** littleidea has joined #openstack07:55
*** sandywalsh has quit IRC08:03
*** BK_man has quit IRC08:04
*** chmouel has joined #openstack08:04
*** perestrelka has quit IRC08:04
*** perestrelka has joined #openstack08:07
*** BK_man has joined #openstack08:09
ttxmichaeldreamhost: you don't need to.08:13
ttxmichaeldreamhost: only if you need some other people's input on them.08:14
*** sandywalsh has joined #openstack08:16
*** addu has joined #openstack08:18
*** joearnold has quit IRC08:18
adduhello08:18
*** addu has left #openstack08:20
*** miclorb has joined #openstack08:21
*** calavera has joined #openstack08:23
*** BK_man has quit IRC08:26
*** sandywalsh has quit IRC08:35
*** sandywalsh has joined #openstack08:36
*** perestrelka has quit IRC08:41
*** matiu has quit IRC08:41
*** perestrelka has joined #openstack08:41
*** littleidea has quit IRC09:07
*** iammartian_ has quit IRC09:12
*** JordanRinke_ has quit IRC09:17
*** colinnich has joined #openstack09:20
*** jc_smith has quit IRC09:37
*** patri0t_ has joined #openstack09:38
*** doude has joined #openstack09:42
[CnC]ping09:44
*** BK_man has joined #openstack09:47
*** shahid_ has joined #openstack09:50
shahid_hi09:50
shahid_I want to know whether there is any option for taking instance backup and restoring09:52
*** ptremblett has quit IRC09:52
joshuamckentythat would be snapshotting09:54
joshuamckentyit's a proposed blueprint, it's not started yet09:54
*** patri0t_ has quit IRC09:56
*** patri0t_ has joined #openstack09:58
doudeHi all, is it possible to use the VLAN network mode on multiple server installation ?09:58
doudeOr the flat network mode is the only way actually ?09:58
sorenVLAN mode is very likely what you'd be using on any proper, multi-server installation.10:09
sorendoude: *10:09
sorenannegentle: I've fixed your man page builds.10:12
*** shahid_ has quit IRC10:12
sorenannegentle: http://bazaar.launchpad.net/~soren/nova/novaman/revision/40410:14
sorenannegentle: If you're cool with that change, you can merge it into your tree ("bzr merge lp:~soren/nova/novaman" followed by "bzr commit").10:15
doudesoren: In the doc manual http://wiki.openstack.org/NovaInstall/MultipleServer, the config network is flat network and I saw on the doc http://etherpad.openstack.org/NovaMultinodeInstall, only one nova-network should run in the cloud.10:18
doudeHow the netwok configuration (bridge, VLAN) is set on the slave node ?10:19
doudesoren: The admin shiould set it ?10:20
*** miclorb has quit IRC10:21
sorendoude: Yeah, this is configuration of the physical network topology.10:21
sorendoude: It is not something the consumers of the cloud service should worry about.10:21
joshuamckentywhen he's awake, you can bug vishy for details10:24
sorendoude: The fact that http://wiki.openstack.org/NovaInstall/MultipleServer uses flat networking doesn't mean that you have to. It's just an example.10:25
doudesoren: ok, it's what I'm thinking. But if I want use VLAN mode, I set only one instance of nova-network ?10:27
sorendoude: I'm not completely sure, to be honest. :(10:27
sorendoude: In my test environment, I can't really use VLAN.s10:28
*** shahid_ has joined #openstack10:29
*** miclorb_ has joined #openstack10:31
doudesoren: ok, and do you use the flatDHCP mode ?10:32
*** dizz|away is now known as dizz10:42
*** ptremblett has joined #openstack10:53
*** ArdRigh has quit IRC10:53
*** ramkrsna has quit IRC10:55
*** doude has quit IRC10:56
*** GasbaKid has joined #openstack11:06
*** kashyapc has quit IRC11:20
*** miclorb_ has quit IRC11:25
*** ramkrsna has joined #openstack11:35
*** ramkrsna has joined #openstack11:35
*** doude has joined #openstack11:41
*** littleidea has joined #openstack11:41
*** littleidea_ has joined #openstack11:41
*** littleidea has quit IRC11:45
*** littleidea_ is now known as littleidea11:45
*** iammartian_ has joined #openstack12:23
*** joshuamckenty has left #openstack12:26
*** aryko has quit IRC12:28
*** ctennis has quit IRC12:33
*** localhost2 has quit IRC12:34
*** localhost2 has joined #openstack12:35
*** nijaba has quit IRC12:47
*** doude has quit IRC12:52
sandywalshg/day!12:53
sandywalshg'day even12:54
*** ctennis has joined #openstack12:57
sorensandywalsh: o/12:59
sandywalshsoren, what's your timezone vs. GMT?12:59
sandywalsh+1 hr?13:00
sorensandywalsh: Yup.13:02
sorenIt's 14:02 here.13:02
soren(That means 2:02PM)13:02
sandywalsh:) well, it's nice to have someone else online when I get in. I'm -4 gmt (9am)13:03
sorenOh. I somehow thought you were in SAT.13:03
sandywalshnova scotia13:04
_0x44All of the best people are in CET right now. :)13:04
ttx_0x44: isn't that always the case ?13:05
sandywalshhipsters13:05
sandywalsh;)13:05
_0x44ttx: No, not always. Sometimes the best people are in other time zones.13:06
_0x44:)13:06
sorensandywalsh: Ah, not even in the US. Imagine that :)13:07
ttx_0x44: we'll all agree that last week, that was the case. :P13:07
_0x44Nah, last week all the best people were still in CET. :D13:09
sandywalshhaha13:09
dendrobatesjaypipes: Was the teller-api blueprint completed in Austin, or is there still work to do?13:10
*** smoser has joined #openstack13:14
*** nijaba has joined #openstack13:35
*** nijaba has joined #openstack13:35
*** kashyapc has joined #openstack13:36
*** kashyapc has quit IRC13:38
*** kashyapc has joined #openstack13:38
*** doude has joined #openstack13:39
*** westmaas has joined #openstack13:40
*** ar1 has quit IRC13:42
*** littleidea has quit IRC13:47
*** littleidea has joined #openstack13:47
*** littleidea has quit IRC13:52
*** hggdh has quit IRC13:52
*** hggdh has joined #openstack14:01
*** littleidea has joined #openstack14:04
*** annegentle_ has joined #openstack14:05
*** iammartian_ has quit IRC14:10
jaypipesdendrobates: still work to do14:14
dendrobatesjaypipes: thanks14:15
*** jcannava has joined #openstack14:15
*** schisamo has joined #openstack14:17
*** omidhdl has left #openstack14:18
dendrobatesgholt: is the https://blueprints.launchpad.net/swift/+spec/client-side-chunking targeted at bexar or cactus?14:19
*** schisamo has quit IRC14:20
*** aliguori has quit IRC14:21
dendrobatesjaypipes: will you be working on the teller api? and if so bexar or cactus?  I would prefer bexar.14:22
*** jcannava has quit IRC14:23
gholtdendrobates: bexar, definitely14:23
dendrobatesgholt: thanks14:23
*** Podilarius has joined #openstack14:24
*** nijaba has quit IRC14:27
*** nijaba has joined #openstack14:31
*** nijaba has joined #openstack14:31
*** abecc has joined #openstack14:33
*** littleidea has quit IRC14:34
*** littleidea has joined #openstack14:34
*** abecc has joined #openstack14:34
*** jdarcy has joined #openstack14:34
*** piken_ is now known as piken14:34
*** sirp1 has joined #openstack14:35
*** gundlach has joined #openstack14:42
*** annegentle_ has quit IRC14:48
ttxFor those using Google calendar or such, I created a .ics link for the Openstack release schedule, see http://wiki.openstack.org/BexarReleaseSchedule14:48
ttxLet me know if it works for you.14:48
jaypipesdendrobates: that's not really up to me :)  I'll work on whatever is higher priority...14:49
* ttx pauses14:50
*** littleidea has quit IRC14:51
*** f4m8 is now known as f4m8_14:51
dendrobatesjaypipes: ok, bexar it is.14:53
*** littleidea has joined #openstack14:54
*** blamar has quit IRC14:58
sandywalshwith bzr/lp if I'm working on a blueprint, there is no lp### associated correct? I should branch with a human-readable name, like "admin-only-api" ?15:03
*** damon__ has joined #openstack15:04
sandywalshI also assume this means I can't use --fixes when commiting?15:05
*** dubsquared1 has joined #openstack15:06
*** dizz has quit IRC15:11
alekibangottx: ics work is korganizer15:12
alekibangogj15:12
*** pvo has joined #openstack15:13
*** ChanServ sets mode: +v pvo15:13
*** deshantm has quit IRC15:16
*** deshantm has joined #openstack15:18
ttxsandywalsh: correct. Though you could create one one more bugs and link them to the blueprint... if you really want to :)15:18
* ttx is awaiting the Great Revelation, when Launchpad will merge bugs and blueprints.15:19
sandywalshcool, thanks ttx15:19
sandywalsh ... are they any notes on creating a nova dev environment (separate from my running nova env)?15:20
sandywalshcouldn't see any on the wiki15:20
sandywalshspecifically the virtual env stuff in run_tests15:20
ttxsandywalsh: annegentle plans to add one doc about "getting from the branching the code to testing your feature/fix"15:20
sandywalshexcellent ... perhaps I can work with her on that since I'm going through it now15:21
*** JordanRinke has joined #openstack15:21
ttxalekibango: thanks for the feedback. I'll add Cactus dates to that ics feed soon.15:22
dabosandywalsh: keep me in the loop - I just connected to my dev box that ant set up in the lab15:23
sandywalshdabo, will do15:23
*** ctennis has quit IRC15:25
*** ramkrsna has quit IRC15:25
*** dendrobates is now known as dendro-afk15:34
*** theron has quit IRC15:35
spywhere do you specifiy what connection nova uses?  i want to flip to xenapi and play around with that15:36
*** Ryan_Lane|away has quit IRC15:36
annegentlesoren: thank you very very much. Went well beyond my knowledge so I needed the help. :) Man page now building, can someone merge https://code.launchpad.net/~annegentle/nova/novaman?15:36
*** deshantm has quit IRC15:36
sorenspy: --connection_type=xenapi15:37
annegentlemtaylor: Nova now contains a man page that's built from rst, when I build locally it appears in build/man. It's pending a merge, but wanted to give you a heads up to look for it.15:37
spyah, thanks, does that get added to nova-manage.conf?15:38
*** deshantm has joined #openstack15:38
*** littleidea has quit IRC15:38
sandywalshannegentle, I'm just setting up a dev env for myself (separate from my working nova vm) is there a doc in-progress on this?15:39
sandywalshI can add my notes15:39
*** schisamo has joined #openstack15:41
gundlachspy: that would work15:41
gundlachspy: anybody who doesn't need that flag would ignore it15:41
*** ctennis has joined #openstack15:42
spygotcha15:42
spythanks15:42
*** doude has quit IRC15:42
annegentlesandywalsh: you know, I don't think we have one yet. It's on the list for ttx and I to write, but I hadn't started it yet. How about http://wiki.openstack.org/PythonDevelopmentEnvironment for starters?15:42
*** doude has joined #openstack15:43
*** littleidea has joined #openstack15:43
spywell that exceptioned heh15:43
annegentlesandywalsh: Also, see http://wiki.openstack.org/GettingTheCode15:43
sandywalshannegentle, works for me, I'll add some notes there. thx15:43
sandywalshannegentle, the pythondevelopmentenvironment page is exactly up the right alley15:44
annegentlesandywalsh: good, my first guess was my gut :)15:47
pikenI would vote that the pythondevelopmentenvironment page should link of a pythondevelopment page which embed's pep8 instilling that it is the standard used in the project.15:47
sandywalshpiken, +115:47
*** littleidea has quit IRC15:49
gundlachspy: paste?15:51
gundlachspy: are you ant?15:51
pikenI would even go as far as suggesting we provide in the source tree a predefined project file for at least one major python ide allowing people that have never worked with development using vi.15:52
sandywalshpiken, perhaps not in the source tree, but a separate project. The #vim comments in the source code irk me currently15:53
sandywalshbut I like the idea15:53
sorengundlach: I've at least been working under the assumption that "spy" == "ant". Otherwise, there are a few conversations I need to reread to make sense of them :)15:53
gundlachsoren: in my half-paying-attention haze i was answering spy as if he were someone new to the project, and then i thought "wait, i've seen that name before" and then "wait, didn't ant rename himself to spy one day?" and decided i couldn't leave it unresolved :)15:54
gundlachit's bad enough that everybody has random irc handles, now we've got different handles on different IRC servers :)15:55
sorengundlach: IRC is meant to be confusing. It's ok.15:55
gundlachgood, i'll just go with the flow.15:55
spyspy: yeah, i'm ant, looks like it was looking for the XenApi python bindings, i snagged it, just need to figure out where it's looking for it15:57
spyi should just flip back to my other nick heh15:57
spytried dropping it into site-packages but it doesn't appear to be picking it up there15:58
*** littleidea has joined #openstack15:58
sandywalshSPY!15:58
sandywalshvirtual_env is pretty cool15:59
spyant was taken and i like three letter nicks15:59
creihtdendro-afk: so which mailing list is supposed to be the one list to rule them all?15:59
sandywalshspy, god taken too? that would be fitting.15:59
spymaybe dog hah16:00
sandywalshhah16:00
dabospy: yeah, I like 'hah'16:01
*** damon__ has quit IRC16:04
*** littleidea has quit IRC16:05
pikensoren: you have time to take a look at a new libvirt log. I think I got it further along, but now see an ebtables error that I am not sure of.16:07
*** Ryan_Lane has joined #openstack16:07
pikenhttp://paste.openstack.org/show/164/ if you have time16:08
sorenpiken: Not right now. Am cooking :)16:09
*** littleidea has joined #openstack16:09
*** dubsquared1 has quit IRC16:10
*** ibarrera has quit IRC16:11
*** littleidea_ has joined #openstack16:12
*** dubsquared1 has joined #openstack16:15
*** littleidea has quit IRC16:15
*** damon__ has joined #openstack16:16
*** littleidea_ is now known as littleidea16:29
*** dendro-afk is now known as dendrobates16:34
hazmatcreiht, i get the sense that mailing lists aren't much used in the openstack projects16:36
dendrobatescreiht: the main openstack one.16:36
dendrobateswe need to use the ml more.16:37
hazmatdendrobates, +116:37
creihtdendrobates: ok16:37
heckjwhich is the main openstack one? (sorry - not trying to be a jerk)16:37
hazmati heard about lots of activity at the summit with lots of attendees, but actual communication of what happened is pretty minimal on the lists16:37
creihthazmat: It was decided at the conference that we would consolidate all the mailinglists to one16:38
annegentleheckj: no worries, I couldn't find it either16:38
creihtheckj: the one pointed to here: https://launchpad.net/~openstack16:38
hazmatheckj, openstack@lists.launchpad.net afaik16:38
edaywho was it that was saying we shouldn't be putting code in __init__.py? And was the reason due to something around recursive dependencies?16:39
*** jcannava has joined #openstack16:39
hazmatannegentle, that should be mailing list should be prominent on https://launchpad.net/openstack fwiw16:39
heckjThanks - at least I am subscribed to that one.16:39
gundlacheday: me16:39
hazmatcreiht, sounds good to me, if only they said it on the same on the ml ;-)16:39
creihtlol16:39
gundlacheday: part of the argument is so that if you want to import a module to look at it, you don't want side effects.16:39
annegentlehazmat: agreed. dendrobates, can you give me permissions to edit that front page for the Launchpad page?16:39
gholtThat's anne, always wanting more power. ;)16:40
creihtIf only we had someone who's job it was to communitcate with the community.... :)16:40
gundlacheday: but there's weird stuff with importing in a thread as well -- paramiko tends to barf when you import it under certain conditions because you get deadlocks -- can't remember the details.16:40
edaygundlach: hmm, ok16:40
annegentleheh16:41
gundlacheday: esp. as we have eventlet breaking that rule -- 'import eventlet' has side effects -- putting code into __init__ that requires eventlet means that any subpackages being imported will run eventlet's side effects16:41
jaypipesdendrobates, ttx, heckj: https://blueprints.launchpad.net/openstack-ci/+spec/basic-build-automation16:41
gundlacheday: to clarify: i think somebody else originally said "let's not put code in __init__", but i dunno if they meant not even including classes and methods.  i'm talking about *running* code in __init__.16:42
* creiht likes minimal code in __init__16:42
gundlachcreiht: reason?16:42
gholtYeah, I think more generally: __init__.py should not have side-effects or circular dependency problems. :)16:43
gholtPast that, whatever goes goes. Hehe16:43
creihtgundlach: what gholt said, and also a lot is just personal preference16:43
* jaypipes puts stuff in __init__.py for module configuration stuff (like module-level constants that apply to a number of files in the module directory) and when there are name shadowing concerns (like naming a module "json" or something...)16:44
creihtNot sure why it bugs me when someone creates a module, and puts all the code for the module in __init__.py16:44
vishyeday: that was me16:44
gundlachcreiht, gholt: can you get circular dependency problems if you don't use the 'from module import word' syntax and don't have side effects?16:45
jaypipescreiht: lots of stuff bothers you.  I just assume something bothers you, and I am surprised if you don't get bothered by something. :)16:45
creihthah16:45
gholtlol16:45
jaypipes:)16:45
edayvishy: any more reasons to add?16:46
edaycreiht: well, in that case you should just make name.py, not name/__init__.py   so it would bug me too :)16:47
creihthah16:47
creihtMaybe we should define a process for determining if something bugs me or not16:48
creiht;)16:48
edayif (True) ?16:48
creihtlol16:48
gundlachcreiht is bugged by the unneeded parens16:48
creihthahaha16:48
gholtgundlach: Dunno, lotsa folks use from _ import _. Never really fiddled with with all the permutations personally. I just tend to not put anything in __init__.py Heh16:48
creihtbut to __init__.py it doesn't bother me enough to really say someone *must* or *should* do things a certain way16:49
edayin any event, I think it's a good rule we should enforce more in nova16:49
gundlachgholt: from package import module is fine, but from module import name can barf (because if that module hasn't been imported all the way down to the definition of that name, you're in trouble).  leaving __init__ empty will certainly help avoid problems, but i think it's OK to do when it makes the package structure make sense.16:49
sandywalshgot the tests running in my dev env ... wiki updated http://wiki.openstack.org/PythonDevelopmentEnvironment16:49
gundlacheday: i would argue that we continue putting methods or classes in __init__ when they make sense there in the package structure.  e.g. nova.api.openstack.ApiRouter needs to live in .../openstack/__init__.py, lest we have to import nova.api.openstack.router.ApiRouter or something dumb16:50
annegentlesandywalsh: thanks for updating the wiki, I'll add testing stuff once I know more16:51
gholtgundlach: Yeah, I mean doing a from eventlet import sleep is better than trying to remember that it's really from eventlet.greenthread.sleep.16:51
jaypipescreiht: don't you mean making a process to see if something *doesn't* bother you? ;P16:52
creihthah16:52
pikenwith all the talk about people making modules that irk you someone answer this one.16:53
* jaypipes has a feeling if creiht ever read the source code for MySQL he would explode into little pieces...16:53
sandywalshannegentle, hmm, I made changes to testing, but it's not showing up for me ... odd caching going on. sec16:53
gundlachsandywalsh: there's a useful trick with virtualenvs that i use to avoid having to install the virtualenv every time i branch: move your newly-created virtualenv one directory up, and it'll work for all your branches16:53
* heckj chuckles16:53
creihtjaypipes: well C is meant to be like that :)16:53
pikenDo you rather see a module used with imports the norm with import mod.name or where the morons put from name import * in __init__.py and do just import mod in the main.16:53
jaypipescreiht: lol16:53
sandywalshgundlach, good point!16:53
jaypipesheckj: feel free to add to that spec page on the CI stuff...16:54
gundlachsandywalsh: and then i made a bash function called 'venv' that searches up the directory tree to turn on the virtualenv no matter what dir i'm currently in... i'll paste to the wiki16:54
jaypipesheckj: here too, since it's mostly just placeholders right now: http://wiki.openstack.org/ContinuousIntegration#preview16:54
sandywalshgundlach, that would be excellent!16:54
heckjjaypipes - will do. getting my head around paramiko & paste right now - and writing doc pages based on reading the code outlined to date16:55
gundlachheckj: careful when you import paramiko ;)16:55
jaypipesheckj: awesomeness.16:55
*** calavera has quit IRC16:55
heckjAlso trying to wrangle a set of servers at my office to replicate the openstack-ci work into - want to run a functional test lab with my team here if we can16:55
jaypipesvishy: what was the word that we decided to bring out of 1980s retirement? was it "rad"?16:56
heckjgunlach: do I start immediately floating to the ceiling or something?16:56
sandywalshgundlach, shouldn't nova.sh be in trunk if it's taking on such an important role in dev?16:56
jaypipesheckj: nice16:56
gholtno, .... rad16:56
jaypipes:)16:58
annegentlesandywalsh: Ah, I see it now, I was looking under "Running Tests" heading. I'll remove that section.16:59
gundlachsandywalsh: that's a q for vishy16:59
gundlachi'd say "yes" -- let's get it productionized16:59
comstudjaypipes- bodacious?16:59
gundlachso you can say "nova.sh install --network=flat" and have it Do The Right Thing16:59
sandywalshcomstud, jaypipes "most savory" ?16:59
sandywalshgundlach, +116:59
*** mdomsch has joined #openstack17:00
sandywalshvishy, can we get nova.sh in trunk? seems to be the defacto tool for install17:00
gundlachsandywalsh: you could paste it into trunk and propose for merge and then it'd be in trunk and we could all start hacking on it :)17:00
gundlachor rather, it would be more visible and we *would* all start hacking on it.17:00
hazmatis anyone else bothered by the half sync/async code mixing.. ie sometimes using twisted but with sync communications, or sometimes using eventlet, it makes things very hard to audit cleanly.17:00
pikengundlach: That would be nice in the nova.sh scripts for now, but I am working on the unified-installer that will handle a direct install on the system. I was also thinking of adding a config option to it that will allow you to have it auto config things like flat networking based on options you pass.17:01
gundlachhazmat: yes.  we're getting rid of Twisted, as decided at the recent summit.17:01
gundlachhazmat: all sync-looking code is the goal17:01
gundlach(though some of it is async under the covers)17:02
gundlachpiken: cool!17:02
hazmatgundlach, good to know, thanks, are there any blog posts regarding the summit decisions?17:02
pikensandywalsh: putting nova.sh into trunk is actually counter productive as it is limited to ubuntu only, reason I opened the unified-install blueprint and have been working on a POC17:02
gundlachhazmat: no idea.  annegentle: ^^ ?17:02
*** doude has quit IRC17:02
gundlachpiken: i must have missed the blueprint.  did it get approved for bexar?17:02
pikengundlach: not as of yet.17:02
annegentlehazmat: thinking, looking, just a sec.17:03
pikenIt most likely will be post bexar due to the holiday season17:03
pikengundlach: take a look at the spec so far. https://github.com/piken/unified-install/wiki/Nova-Unified-Install-System17:03
sandywalshpiken, gotcha ... that's great that a universal installer will be in place. Could we bring the python setup portion from tools/install_venv.py into it as well?17:03
dabopiken: coming in late on your question about: from _ import *17:03
daboIMO, that pollutes the current namespace so that the dev can save typing a few keystrokes; e.g., mymethod() instead of myclass.mymethod()17:03
sandywalshpiken, for dev environments17:04
dabofrom _ import * should be avoided17:04
pikensandywalsh: that is a possibility, I am working to handle dependencies and such first, then want to work other things like that into the spec.17:04
sandywalshpiken, great ... thanks for the heads up!17:04
pikendabo: I agree, was curious what others though.17:05
piken*thought17:05
pikensandywalsh: also  the start of the POC code is in that github repo that the current spec wiki is on.17:05
gundlachpiken: you may wish to talk w/ jaypipes about config format, as he's working on a replacement for gflags that uses .ini configs.  we probably don't want a JSON manifest that specifies all the same options as our .ini configs do.17:05
*** maplebed has joined #openstack17:06
pikenthe JSON manifest is for the install process only. dependencies, configuration of the dependencies, and such17:06
annegentlehazmat: I don't see a "summary decisions" post/page anywhere. It's a good idea. Thinking.... not sure if I can write it but I could attempt it.17:06
pikenThe config portion would be seperate.17:06
gundlachdabo: in a package, from _ import * can be useful, because you're saying "I defined all my foo-related stuff in a foo submodule for ease of development, but for my users, i want all those names available in the top-level package."17:06
*** piken is now known as piken_lunch17:06
gundlachpiken_lunch: my apologies for scanning your blueprint too quickly :)17:07
dabogundlach: true, but that's not namespace pollution, as you are doing that in your module, and you control the namespace.17:07
gundlachdabo: right.  i thought that was piken's original q -- about package authors doing that.  of course 'from _ import *' is deprecated in user code -- didn't the BDFL even proclaim that somewhere?17:07
comstudtotally tubular, dude17:08
dabogundlach: don't know if it's officially deprecated, but strongly frowned upon, yes.17:08
daboI thought that piken_lunch's question was at the nova level, not the individual packages. If not, my mistake.17:09
hazmatannegentle, maybe send a draft around to the list for others to offer input17:10
uvirtbotNew bug: #677093 in swift "stats system won't process the last hour's stats" [Low,New] https://launchpad.net/bugs/67709317:11
*** maplebed has quit IRC17:11
*** maplebed has joined #openstack17:12
jaypipesgundlach: FYI, dendrobates placed the common options processing as a Low priority, so I will be focusing on Glance Teller API and continuous integration, not openstack-common at least for Bexar...17:13
annegentlehazmat: an excellent idea. Adding to my "todo" and will collaborate with ttx (since I don't know all the decisions but he just might)17:13
hazmatannegentle, awesome17:14
dendrobatesjaypipes: I am waiting for stakeholder feedback on priorities.  they could change, and you could influence them.17:14
gundlachjaypipes: right then.  hey, how's the unit tests branch?  have you touched it since presummit?  i haven't.17:16
jaypipesdendrobates: like I said, I'm happy to work on anything...doesn't matter :)17:16
jaypipesgundlach: no I haven't...need to look again at it.17:16
gundlachjaypipes: there's a stack of RS blueprints that need doing.  would you be crushed if i didn't return to unit test work?17:17
vishysandywalsh: it is in trunk17:17
gundlachjaypipes: i wouldn't want to crush you, is all.17:17
vishysandywalsh: contrib/nova.sh17:17
vishysandywalsh: the newest version is in my fix-flatdhcp branch, which will hopefully get merged as soon as people test it17:18
dendrobatesjaypipes: so, you have no opinion about what is more important to the project?17:18
vishyjaypipes: yup17:18
dendrobatesjaypipes: we should talk about how much work each of these things are.17:18
vishysecondarily it was to flip the meaning of grody to something good17:18
jaypipesgundlach: :) I'm cool with that, brutha. :)17:21
gundlachjaypipes: v00t.  maybe by the time we return to that branch Twisted will have disappeared and the tests will get yet simpler.17:22
jaypipesdendrobates: my personal opinion is that CI is top priority, then Teller API, then openstack-common stuff, simply because of impact to devs and users.17:22
*** colinnich has quit IRC17:22
gundlachjaypipes: my brutha from anotha mutha17:22
jaypipesgundlach: :)17:22
*** littleidea has quit IRC17:23
jaypipesdendrobates: the reason I rank CI over all others is that without CI, we are going to be implementing features and not have a clue before we release those features whether they have impacted system performance..17:23
creihtjaypipes: While I agree that CI is a good thing, can we really do enough at that level to ensure that we don't impact system performance at scale?17:24
creihtWell there are some things that could be detected17:25
creihtI just wouldn't want people to think that since we have CI, that they don't need to still test the stuff at scale17:25
edaydendrobates: https://blueprints.edge.launchpad.net/nova/+spec/unified-service-architecture   want to make sure this doesn't get missed. termie is traveling at the moment, but I think this is pretty high to get things cleaned up (makes other work easier, less code that needs to be changed later). I'd actually like to see this before I get too deep in the distributed scheduler since it simplifies that work, and I might even work on it if termie doesn't have time17:28
jaypipescreiht: the CI system *is* going to be testing things at scale...17:29
creihtjaypipes: ahh... awesome then! :)17:30
jaypipescreiht: on a 200-node cluster eventually.17:30
creihtnice17:30
creihtjaypipes: then I say rock on my friend, rock on!17:30
creiht:)17:30
jaypipescreiht: we're starting smaller, of course, but the goal is to have *real* deployment huddles doing the testing.17:30
creihtcool17:30
jaypipescreiht: and not just RS.17:30
jaypipescreiht: that isn't yet in scope for Bexar, but I think it's do-able for Cactus.17:31
jaypipescreiht: but that might be a prickly goal to meet ;)17:31
creihtindeed :)17:31
gundlach<groan/>17:31
jaypipesgundlach: hehe17:32
jaypipesgundlach: I'm slowly becoming my father... ugh.17:32
*** kashyapc has quit IRC17:32
gundlachsame here.  so far one of my legs and some of my internal organs have fully converted.  i kind of wish the transformation was purely mental.17:32
*** joearnold has joined #openstack17:45
*** littleidea has joined #openstack17:48
*** GasbaKid has quit IRC17:52
*** heckj has quit IRC17:53
*** littleidea has quit IRC17:57
edayvishy: are you fmailiar with the ec2/s3 image wrapper you guys are using? curious if you actually use 'update_image', since this is not part of the ec2 api18:02
*** al-maisan is now known as almaisan-away18:05
*** daleolds has joined #openstack18:06
vishyyeah we use it18:06
vishyfrom dashboard18:06
edayvishy: hmm, ok. does it just update metadata? any reason you don't use ModifyImageAttribute' ?18:09
*** piken_lunch is now known as piken18:09
*** Ryan_Lane has quit IRC18:10
*** filler has joined #openstack18:14
*** johnpur has joined #openstack18:16
*** ChanServ sets mode: +v johnpur18:16
vishyeday: it updates metadata that doesn't exist in amazon world18:22
vishylike description18:22
pikenSoren: you still here or done for the evening?18:23
vishyxtoddx did it, I'm not sure why he didn't hack up ModifyImageAttribute.  Perhaps just to keep a clean distinction between existing aws commands and extensions18:23
edayahh, ok18:24
xtoddxeucatools issues18:24
xtoddxwhy name it the same if eucatools/boto won't support it18:24
edaymakes sense18:25
*** zaitcev has joined #openstack18:27
creihtzaitcev: I'm finally nailing down what should be done for the first pass of the s3 emulation layer here: http://etherpad.openstack.org/swift318:28
creihtIf you are interested :)18:28
zaitcevcreiht: I am interested, but I may not be in a position to offer any constructive help for now. Being boggled down with iwhd at work...18:29
creihtzaitcev: no worries, and I understand :)18:29
sandywalshvishy, well, look at that!18:29
zaitcevHow long do Etherpads live?18:29
creihtI think pretty much as long as we want them to :)18:30
zaitcev"Some tools only use SOAP, for example amazon api tools" -- what?18:30
zaitcevI need to look into that. I don't think it's true, but could be.18:31
creihtzaitcev: I think that was from the discussion at the conference18:31
edayxtoddx: any reason you didn't just use the S3 api directly for those other attributes?18:32
*** rlucio has joined #openstack18:33
xtoddxeday: boto choked on doing anything outside of modifying privacy attribute18:34
edayxtoddx: yeah, but instead of routing through ec2 with new method, why not just POST directly to the s3 clone?18:35
xtoddxeday: i dunnow.  i guess i was following the existing pattern.18:36
edayok, just trying to understand the image stuff, trying to consolidate it with the other image service APIs that were added18:36
xtoddxplus, this could work with glance as well18:36
jdarcyWill the S3 middleware as-is pass through ETags and If-None-Match, or would code have to be added for that?18:36
*** gondoi has joined #openstack18:38
vishystill would love people to test lp:~vishvananda/nova/fix-flatdhcp/ especially on the rack cloud and maybe even with multiple servers18:41
creihtjdarcy: good question... I believe that everything will be passed on through18:41
*** arthurc has quit IRC18:42
vishywe have a little hack to make metadata work with HAProxy and multiple apis.  Is that something that we should add in?18:43
vishyto trunk?18:43
zaitcevDoes anyone know how much the cheapest Rackspace VMs go for? Ditto for CF. I was kinda thinking about running a developer's cloud out of pocket, but the non-permanency of EC2s scares me.18:48
zaitcevMaybe if I have an instance of CLD up and running, everyone will love it and adopt it into OpenStack :-)18:49
dabovishy: I'm setting up my lab env, but when that's done, I'm planning on checking out your flat fix18:49
*** GasbaKid has joined #openstack18:49
vishydabo: cool, let me know how it goes18:50
dabowill do18:50
*** GasbaKid has joined #openstack18:50
jdarcyI've been running one of the smallest RSC instances for several months.  About $10/month.18:53
zaitcevThat sounds manageable.18:53
jdarcyIt's handy so that people don't look in logs and see "someone from Red Hat" visiting their site, in addition to occasional cloud experiments.18:54
*** mdomsch has quit IRC18:55
zaitcevI use ani-nouto.animeblogger.net for that18:55
jdarcyYeah, if you already have a solution (or just work from home) it's probably not an issue.  I was surprised how much people tended to notice, though.18:56
zaitcevBut I'm not supposed to use that one to run Swift or other cloud stuff on that, obviously.18:56
jdarcyProbably an issue for anyone who works at a big company nowadays.18:56
uvirtbotNew bug: #677138 in nova "Error messages from api that include unicode fail to display" [Undecided,New] https://launchpad.net/bugs/67713818:56
*** ptremblett has quit IRC18:57
*** ptremblett has joined #openstack18:57
*** mdomsch has joined #openstack19:00
*** pvo_ has joined #openstack19:05
*** ChanServ sets mode: +v pvo_19:05
*** pvo has quit IRC19:07
*** pvo_ is now known as pvo19:07
zaitcevApparently, no IPv6. Oh well, tunnelbroker.net to the rescue.19:07
*** Ryan_Lane has joined #openstack19:08
*** BK_man has quit IRC19:18
*** cbuben has joined #openstack19:20
*** damon__ has quit IRC19:31
*** damon__ has joined #openstack19:32
sandywalshgundlach, with your .bash script for virtual env, do you have to do run_tests -N ?19:33
sandywalshgundlach, actually that won't work either. Does run_tests.sh work with .nova-venv moved?19:35
openstackhudsonProject nova build #247: SUCCESS in 1 min 2 sec: http://173.203.104.204:8080/job/nova/247/19:35
sorenpiken: I'm back for a little bit right now.19:36
sorenpiken: Exact same error: 11:37:13.800: debug : virRunWithHook:836 : Command stderr: iptables v1.4.10: unknown option `--ctdir'19:36
*** ctennis has quit IRC19:38
gundlachsandywalsh: no, i just always say No19:39
gundlachsandywalsh: and yes, it does.  whaterror are you getting?19:39
*** dendrobates is now known as dendro-afk19:44
gundlachanotherjesse, annegentle: http://paste.openstack.org/show/165/ is my first draft of a tutorial for extending the openstack API.  i'm sure it's terribly formatted.  what should i change?19:45
gundlach[that q was for annegentle, i threw anotherjesse in there just to get your attn in case you wanted an early peek anotherjesse]19:45
_cerberus_Question for the room: https://code.launchpad.net/~jk0/nova/improve-pylint-scores/+merge/41094 failed to merge because of a random test failure. All pass locally, and for what it's worth, I merged the branch into trunk locally and they all passed. Should we just re-attempt the merge?19:46
gundlachyes.19:46
gundlachif it fails 2 or 3 times, shout at the author of the test19:47
_cerberus_gundlach: thanks19:47
*** dendro-afk is now known as dendrobates19:49
annegentlegundlach: reading now19:50
sorenvishy: ^ (see _cerberus_' comment)19:50
soren_cerberus_: It's all vishy's fault.19:50
soren:)19:50
jk0:)19:50
_cerberus_soren: I can get behind that idea19:51
soren_cerberus_: I saw the same failure yesterday, but it didn't reproduce. Another one did, and vishy fixed it. We just need more of his magic.19:51
_cerberus_Can we change the topic to represent it? :-)19:51
openstackhudsonProject nova-tarmac build #36,147: FAILURE in 3 min 8 sec: http://173.203.104.204:8080/job/nova-tarmac/36147/19:51
_cerberus_hah, ok19:52
sorenjk0: You need to set a commit message or a description.19:52
sorenjk0: The commit message is what will end up in the ChangeLog file.19:52
jk0hm, thought I did that19:52
jk0oh, I see, it must not pick it up from the bzr commit message?19:52
sorenNo.19:53
*** gundlach has quit IRC19:53
sorenTypically, there are many commits in a single merge.19:53
_cerberus_jk0: think of it as a git squash-merge19:53
dendrobatesjk0: and it breaks the build, if you leave it off19:53
jk0I smell what'cher cookin19:53
sorenBut now at least openstackhudson will tell us about it, instead of someone having to go and look at hudson every once in a while.19:54
soren(Just enabled that 10 minutes ago)19:54
*** ChanServ sets mode: +v _cerberus_19:55
*** Gibby_away has quit IRC19:56
* JordanRinke waves at jk019:56
jk0heya champ19:56
openstackhudsonProject nova-tarmac build #36,148: STILL FAILING in 2 min 59 sec: http://173.203.104.204:8080/job/nova-tarmac/36148/19:56
jk0^ that should go away now that I've added a commit message19:58
uvirtbotjk0: Error: "that" is not a valid command.19:58
_cerberus_hah19:58
creihtheh19:58
creihthow many bots do we have in this room? :)19:58
dendrobateso/19:58
creihtheh19:59
* soren takes a break19:59
openstackhudsonYippie, build fixed!20:02
openstackhudsonProject nova-tarmac build #36,149: FIXED in 3 min 28 sec: http://173.203.104.204:8080/job/nova-tarmac/36149/20:02
jk0\o/20:02
openstackhudsonProject nova build #248: SUCCESS in 56 sec: http://173.203.104.204:8080/job/nova/248/20:05
*** pvo has quit IRC20:05
*** gundlach has joined #openstack20:06
*** sirp1 has quit IRC20:10
*** sirp1 has joined #openstack20:10
*** pvo has joined #openstack20:17
*** ChanServ sets mode: +v pvo20:17
*** Gibby_away has joined #openstack20:18
*** dendrobates is now known as dendro-afk20:21
*** dendro-afk is now known as dendrobates20:22
*** rsampaio has joined #openstack20:22
*** ArdRigh has joined #openstack20:23
*** iammartian has left #openstack20:26
*** pvo has quit IRC20:27
*** pvo has joined #openstack20:30
*** ChanServ sets mode: +v pvo20:30
*** brd_from_italy has joined #openstack20:32
*** iammartian has joined #openstack20:33
vishy_cerebus_, soren: annoying20:34
vishyguess we need a longer wait20:35
vishyjust rerunning the tests should work though20:35
vishys/tests/merge20:35
vishyah looks like you already reran it20:36
*** rlucio has quit IRC20:42
*** gundlach has quit IRC20:47
*** ctennis has joined #openstack20:50
*** ctennis has joined #openstack20:50
*** dendrobates is now known as dendro-afk20:54
*** littleidea has joined #openstack21:04
*** pvo has quit IRC21:10
jaypipes_0x44, sirp1: around?  I'm wondering if you would be opposed to getting rid of the Parallax/Teller split and consolidating to just a single Glance API?21:11
*** pvo has joined #openstack21:11
*** ChanServ sets mode: +v pvo21:11
JordanRinkeinteresting21:13
sirp1jaypipes: hmm, *thinking*21:14
*** gundlach has joined #openstack21:14
*** rlucio has joined #openstack21:15
*** dragondm has joined #openstack21:19
*** spectorclan has joined #openstack21:20
sirp1jaypipes: so GlanceAPI would just be the union of the two APIs? I guess some operations wouldn't make sense if we're only talking to Parallax outside of the context of a specific OpenStack installation (e.g. no Teller)21:20
*** ptremblett_ has joined #openstack21:26
*** BK_man has joined #openstack21:28
*** pvo has quit IRC21:28
*** ptremblett has quit IRC21:29
spectorclanDesign Summit Feedback - If you attended, please take 10 minutes and provide your thoughts at http://www.surveymonkey.com/s/openstackdesignsummit201021:31
spectorclanAlso, if you want to chat 1:1 please let me know and I can setup a call to get your thoughts. Early thinking on 2011 Design Summits undreway21:31
alekibangospectorclan: do you think you would like to look on my spec etherpad page now for few minutes ? i would like to get some comments21:34
alekibangospectorclan: use my diagrams in any way you please if you want them, please help to improve them if you can:   http://alekiba.dyndns.org/nova/21:35
*** pothos_ has joined #openstack21:35
alekibango my spec  etherpad page (resource partitioning)  is http://etherpad.openstack.org/M9RemacWog   -- comments welcome21:36
annegentlealekibango: I've got a merge request to get the diagrams into nova now, we all like them muchly. Next I need to place them in the .rst files, working on that now.21:36
alekibangoannegentle: seen the request, will look on that later  tonight21:37
*** pothos has quit IRC21:37
*** jc_smith has joined #openstack21:38
*** pothos_ has quit IRC21:38
*** pothos has joined #openstack21:38
annegentlealekibango: thanks for the review21:38
alekibangothanks for award :)  was glad to help in my small way...21:39
*** HouseAway is now known as AimanA21:40
*** dendro-afk is now known as dendrobates21:40
*** piken is now known as pikenAFK21:40
gundlacheday: re side-effects in __init__: jaypipes provides a nice example of why you don't want them, in https://code.launchpad.net/~jaypipes/openstack-common/options/+merge/40985 .  To generate --help output, he imports every module he can find, to read their config options.21:43
alekibangoannegentle: i would like someone to improve my C1/C2 diagrams to include more deails...21:44
hazmatgundlach, how is that avoidable outside of centralizing gflag usage?21:44
gundlachhazmat: no, my point is that if any modules had side effects, his approach wouldn't work.  it's normal to expect, as jaypipes does, that you can import classes and not have crazy side effects.21:45
hazmatah21:45
edaygundlach: yeah, def agree to avoid those side effects. but in this case I don think importing every module you can find for --help a good idea :)21:46
hazmati find randomly importing everything in site, also worthy of something not to do21:46
gundlacheday: like hazmat said, how else might we do it, if we're defining config options in various modules?21:46
edaygundlach: as you ask for those modules to be loaded, you see the --help21:46
jaypipesgundlach: one sec, on phone with sirp121:47
edaygundlach: this is a user preference really, and mine is to only see the help relevant to what I'm doing, not everything under the sun (like bin/nova-* tools are now)21:47
jaypipesgundlach: thx for putting me on the spot :P21:55
gundlachjaypipes: glad to help!21:55
jaypipeshehe21:55
hazmatalso as the codebase gets bigger it means waiting, proportionally longer waits on --help options, tools like bzr for example ended up having to optimize lazyloads so they could get output out faster to the user, by not loading everything in sight.21:56
*** spectorclan has quit IRC21:56
*** spectorclan has joined #openstack21:57
*** pvo has joined #openstack22:00
*** ChanServ sets mode: +v pvo22:00
*** rsampaio has quit IRC22:00
*** johnpur has quit IRC22:02
annegentleshould --help be replaced by a man page? Or do you generally expect --help to be sort of Oregontrail-adventure-text-like? (That's what it seems like to me now)22:02
gundlachlol22:03
annegentleit's an honest question, I really don't know :)22:03
gundlachthat's what eday is advocating -- that we make --help more terse by default.  i think it should still exist, as many people will try --help to learn about a binary22:03
gundlachi'm waiting for jaypipes to hang up the phone and start arguing with hazmat and eday about it22:03
pvoas long as I don't die of dysentery22:04
gundlachtoo late22:04
*** miclorb has joined #openstack22:04
jaypipesgundlach: sorry, I'm off phone now :)22:05
annegentleokay, yeah all the options made for a really lonnng man page22:05
creihtperhaps it now brings up to question weather it is worth having a command line option for *every* single configurable item in a config file?22:06
jk0would it be acceptable/ideal to sys.exit(1) a nova-* process if rabbit isn't running upon startup?22:08
jaypipescreiht: I think it makes sense to allow any option you can put in a configuration file to be specified on the command line...but maybe I'm in the minority.22:08
jk0or do we want to keep it running and polling for rabbit?22:08
dendrobatesjk0: how would you know rabbit isn't running?22:08
*** Ryan_Lane has quit IRC22:08
hazmatjaypipes, at some point though the sheer number of options that are useful in the cli vs. in a config file, means that the cli ux suffers22:09
jk0dendrobates: right now I'm leaning towards a try/except when the connection is initiated22:09
gundlachjaypipes: maybe we could have --help print out the 'common' options, and man page/--help can point people to the config options and say 'oh yeah you can specify any of these via -- too.'22:09
creihtyup22:09
sandywalshis the plan that the nova api will always support both openstack *and* ec2 commands? Or will it be a configuration switch (--api=openstack)?22:09
gundlachcreiht: yup to me or hazmat?22:09
jk0I'm not seeing a way to handle it more gracefully using carrot22:09
gundlachsandywalsh: there are two separate APIs.22:10
jaypipeshazmat: true enough, yes.  I'm on the fence, really...22:10
creihtgundlach: to hazmat sorry :)22:10
gundlachsandywalsh: i think the current idea is that they could run on different ports.22:10
sandywalshgundlach, yes, but it seems that api answers to both, but openstack prefixes with /1.0/...22:10
sandywalshgundlach,  so the api is chosen by the uri22:11
jaypipeshazmat: it's pretty easy to adapt the work I've already done to make options visible or not visible in --help... and have a --help-extended kind of thing (like MySQL does)22:11
* annegentle gets ready to edit the man page, it doesn't indicate that config options can be set in files. 22:11
jaypipeshazmat: I don't want to force my opinion on anyone (if I did, I wouldn't have come up with this solution ;) )22:11
dendrobatesjk0: rabbit could be on another box, and the network cold hicup22:11
dendrobatesyou should not create a dependency on a service starting.22:12
hazmatjaypipes, true, but i have some other comments earlier re load time to display help.. i don't really see other options besides centralizing flag usage though, or instituting additional lazyloading.. or at least localizing flags within a package to a known module to reduce the imports at cli startup22:12
* jaypipes thinks my pug is signaling a desire for dinner...22:12
creihtif you have to use map reduce to display your --help, you are doing it wrong :)22:12
jk0dendrobates: that's what I'm trying to decide, would it be better to just stop the process from starting if it can't find rabbit, or just continue to retry the connection22:13
dendrobatesjk0: continue22:13
hazmatcreiht, :-)22:13
dendrobatesand log it occasionally22:13
jk0excellent, thanks22:13
JordanRinkeit would be nice if the connection refused errors from the nova services, said what ip/port they were trying.22:14
JordanRinkejk0's comment just made me think of that22:14
jk0that's what I have in my branch now22:14
jk0more detailed error22:14
JordanRinkeI <3 you22:14
gundlachsandywalsh: erm, i do believe there's a flag that lets you set which subdomains serve which APIs -- e.g. you can say that requests coming in on ec2.yourdomain.com only serve the ec2 API.  i wrote that, but eday followed behind me to clean some stuff up.22:15
jaypipescrisis averted...pug has been fed.22:16
sandywalshgundlach, ah yes, I saw the subdomain stuff ... will need to see how that's enforced. thx22:16
gundlachsandywalsh: nova.openstack.api.__init__.ApiRouter.__init__'s mapper conditions.22:16
gundlachwhoops, sorry, s/openstack//22:17
sandywalshgundlach, cool. thx22:18
hazmatalso i wonder if folks now that carrot has been deprecated22:21
edayhazmat: in favor of what? celery?22:22
creihtI heard it was broccoli22:22
hazmateday, kombu is the name i think, fix all the design flaws in celery22:22
gundlachta ta all, see you monday22:23
hazmati never really understood the value of celery vs. raw amqp.. but that's a different story22:23
*** gundlach has quit IRC22:24
sorenjk0: Awesome, I've wanted to add that for a while.22:24
hazmateday, http://groups.google.com/group/carrot-users/browse_thread/thread/8c7dc50d4f0a082222:24
edayhazmat: interesting, thanks22:29
*** littleidea has quit IRC22:33
*** jimbaker has joined #openstack22:34
*** localhost2 has quit IRC22:34
JordanRinkeAny Rackers in here want to weigh in on the linux distro email on SAFun in re to development for OpenStack ? Curious to see if anyone suggests anything but Ubuntu22:37
*** littleidea has joined #openstack22:37
spectorclanJordanRinke: I saw someone say they use Mac OSX22:37
JordanRinkeyeah, talking to him about that right now22:37
* jk0 votes Windows22:37
jk0:D22:38
JordanRinkejk0: well I am a windows engineer, but I have my RHCE so I feel obligated to dual boot something lol22:38
alekibangoJordanRinke: i use debian22:39
dubsquared1I've OSX as my primary OS for the last 12 months or so here, and have had great success with custom tools and general dev/admin work22:39
dubsquared1used^22:39
dubsquared1and helpdesk is buying licenses for the good stuff now, so you get that all for free :D22:39
alekibangoi dont use windows for 12 years now22:39
alekibangobut i am not racker22:40
alekibango;)22:40
*** localhost2 has joined #openstack22:40
vishyi was developing on osx for a while, but now I do it all in an ubuntu vm22:40
vishylack of libvirt / kvm on osx makes it tough22:40
creihtJordanRinke: I've used linux as my primary desktop for about 5 years now (and Ubuntu for many of those)22:41
*** littleidea has quit IRC22:41
vishydeveloping on a vm seems a lot safer in general when dealing with network configs and stuff that can hose your system22:41
hazmatnot a racker, but ubuntu ftw..  (minorly biased though)22:41
spectorclanI ran Fedora for 2 years in a previous life22:42
jk0Ubuntu seems to be working pretty well so far for nova dev22:43
hazmatvishy, good point, it found it helpful as well if i'm not on a vm but playing with network for vm routing, to only use the eth devices, and save the wireless for sanity, vms in vms.. turtles all the way down ;-)22:43
jk0I like how all of the python modules are available in 10.10, no need to compule gflags22:43
creihtJordanRinke: and yeah I do most of my swift dev in a vm (local and on a slice)22:43
JordanRinkeI am expecting to do primary dev on box and kick it in to a VM for testing22:43
*** brd_from_italy has quit IRC22:44
jk0*compile22:44
vishyhazmat: yo, dawg, I heard you like vms...22:44
hazmat:-) bring back the vax22:44
creihthah22:44
*** GasbaKid has quit IRC22:46
*** littleidea has joined #openstack22:46
*** jimbaker has quit IRC22:47
*** jimbaker has joined #openstack22:47
*** littleidea has quit IRC22:51
*** spectorclan has quit IRC22:51
*** jimbaker has quit IRC22:52
*** allsystemsarego has quit IRC22:55
*** perestrelka has quit IRC22:56
*** westmaas has quit IRC22:56
*** gondoi has quit IRC22:56
*** perestrelka has joined #openstack22:56
JordanRinkeOK so... best IDE (or whatever you use) for Python dev on a *nix platform?22:57
creihtvim22:57
creihtand ipython in another shell22:58
creiht:)22:58
JordanRinkereally just going the editor with syntax highlighting route?22:58
JordanRinkeinteresting22:58
creihtyeah22:58
creihtI've tried the ide route several times, and always end up back with vim22:58
JordanRinkeI am used to .Net /heavy IDE dev22:58
jk0vim ftw22:59
creihtIf I am doing a lot of HTML/JS then I use Komodo Edit22:59
pvoJordanRinke: yea, vim with some good syntax highlighting is pretty nice23:01
*** damon__ has quit IRC23:02
creihtJordanRinke: have you ever played with ipython?23:02
creihthttp://ipython.scipy.org/moin/23:02
*** mdomsch has quit IRC23:02
creihtIt is a must have for python dev :)23:02
mtaylorvim23:03
JordanRinkepython will be a new venture for me23:03
JordanRinke(don't worry, I won't be contributing for a while lol)23:03
JordanRinkemostly I want to learn it, to be able to read the source for nova/swift to be able to figure out integration/direction etc while it is still in such rapid development23:04
vishycreiht: s/ipython/bpython23:05
creihtor that as well23:05
creiht:)23:05
creihtI like that I can run shell commands in ipython and easily mess with the results in python23:07
creihtwell with python code23:07
vishyi like that bpython pops up docstrings and params for bultin methods23:07
creihtI like that ipython gives me that when I ask it :)23:08
vishyvery helpful when i can't remember if it is .strip() or .trim()23:08
vishycreiht: is there a way to pop up stuff like that in ipython?23:09
creihthitting tab will auto complete23:09
creihtit doesn't pop up, but you can get doc strings by appending ? to the method23:10
vishycool.  No help on args though :(23:10
creihtyeah it shows you args as well with ?23:10
creihtthough they don't pop up23:10
vishy? is cool23:10
creihtI get annoyed with things always popping up, but I like to have it when I do need it23:11
*** jimbaker has joined #openstack23:11
creihtbut don't get me wrong, bpython is pretty cool too :)23:14
*** cbuben has left #openstack23:18
*** spike has left #openstack23:18
*** ptremblett has joined #openstack23:22
*** burris has quit IRC23:24
hazmati'm a big fan of rlcompleter2 its a bit more minimal than bpython or ipython.. but it does nice tab completion on attrs/methods without the bloat23:27
*** jcannava has quit IRC23:31
*** Podilarius has left #openstack23:38
*** schisamo has quit IRC23:48
*** maplebed has quit IRC23:54
*** jaypipes has quit IRC23:56

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