Thursday, 2011-03-10

*** jheiss has joined #openstack00:00
*** littleidea has quit IRC00:01
*** JordanRinke_ has joined #openstack00:01
JordanRinke_Any swift ninjas around to give me a quick assist?00:01
letterjJordanRinke_: What's up?00:05
JordanRinke_doing a 3 node install - 2 of the boxes work fine00:08
JordanRinke_the 3rd object replicator fails, but I can't figure out how to track it down / get debugging info out of it00:09
letterjreplicator fails?  To start? To run?  Did you check to see if rsync is enabled?00:09
letterjAlso, double check the *.conf files are the same on all 3 servers?00:10
*** rnirmal has quit IRC00:12
*** enigma has quit IRC00:13
JordanRinke_yeah, confirmed the config files are the same one all the boxes00:13
JordanRinke_and rsync is configured the same too00:13
JordanRinke_when I try to start object-replicator it says it makes a pass, and then I never see anything from it again and the process is no longer running00:13
JordanRinke_is there any way to make these services spit out verbose debugging? that would be a huge help and I cant find anything on how to configure that00:14
JordanRinke_the last line I get right now is "Starting replication pass." and then nothing, it dies right after startup00:15
letterjWhat do you see when you run the swift-object-replicator /etc/swift/object-server.conf00:15
JordanRinke_on console, nothing00:16
JordanRinke_in /var/log/messages00:16
JordanRinke_the last line is it starting the replication pass, and that is it00:17
JordanRinke_is there a flag in the conf that I can throw for super verbose or debug logging?00:17
letterjIn the default section of the config file you can set LOG_LEVEL=DEBUG00:18
*** Ryan_Lane has quit IRC00:19
letterjSo you aren't redirecting log messages anywhere special00:19
letterjSorry, LOG_LEVEL=debug00:19
*** dendrobates is now known as dendro-afk00:19
JordanRinke_uh, same results00:20
JordanRinke_no additional output anywhere that I could tell00:21
*** Ryan_Lane has joined #openstack00:21
letterjAny rsync errors?00:21
JordanRinke_I don't see any in /var/log/messages00:22
JordanRinke_I am a little concerned that setting the logging level to debug did nothing for me00:22
*** clauden has quit IRC00:24
letterjPost the config file so I can take a look at it.00:26
gholtI'm not sure it'd run any different, but you can also try: swift-object-replicator /etc/swift/object-server.conf once00:29
JordanRinke_trying that, getting the same failure scenario00:30
JordanRinke_http://paste.openstack.org/show/843/00:30
vishyJordanRinke: might want to check to make sure there aren't any spurious iptables rules on that host00:31
JordanRinke_vishy: checked, exact same rules on working and non working box00:32
gholtIf you ls /etc/swift you've got rings and /etc/swift/swift.conf with the hash in it?00:33
*** winston-d has joined #openstack00:33
* gholt is stabbing wildly00:33
*** kashyap has quit IRC00:34
winston-dgholt: Hi there.  Can we continue the investigation on weird object-server activity?00:34
letterjAlso, check the permissions on the /srv/node/<blah> directories.  Make sure they are owned by swift00:35
JordanRinke_letterj: they are00:35
JordanRinke_if we could at least figure out how to increase the logging level, I would have something to go on... I can't believe I can't find anything to do verbose/debug level logging00:35
winston-dgholt: we were talking about python and eventlet version...00:36
letterjJordanRinke_: Can you paste the config from a working box?00:37
gholtwinston-d: I asked some of guys here and everyone is at a complete loss as to why the code would get stuck in a 'system' read loop. It makes no sense.00:37
JordanRinke_letterj: it is literally the exact same00:37
*** bkkrw has quit IRC00:38
gholtI'm out for the night guys, I'm past my work hours already and I have a lot of stuff to get done tomorrow.00:38
winston-dgholt: well... object-server was stucking in writing 'system' to tmp...00:38
winston-dgholt: ok, have a nice night and see u tomorrow00:39
letterjJust to be clear. when you run swift-object-server <config>, it runs for a time, writes something to the log that says it makes a replication pass and then exits with now error.00:40
letterjnow/no00:41
JordanRinke_runs for a time, being like a half a second, yes00:41
letterjCan you paste what is written in the log?00:41
JordanRinke_ar  9 19:29:10 cybera2 object-replicator Starting object replicator in daemon mode. Mar  9 19:29:10 cybera2 object-replicator Starting object replication pass.00:41
JordanRinke_and that is it00:41
winston-dany chance redbo and creiht still around?00:42
letterjwinston-d: No they are gone for the day00:43
winston-d...bad luck00:43
letterjJordanRinke_: Anything in dmseg?00:44
JordanRinke_One moment... I rebooted it... windows roots showing through ;)00:45
*** reldan has quit IRC00:46
*** hadrian has quit IRC00:47
JordanRinke_nope00:47
JordanRinke_no new messages in dmesg when I try to run it00:47
*** rchavik has joined #openstack00:48
letterjIf the configs are the same it has to be something wrong with that box.  I'm at a loss.  Sorry00:48
*** kashyap has joined #openstack00:50
letterjI'm going to head out for some dinner.00:52
*** retr0h has quit IRC00:53
kpeppleJordanRinke_:  based on your log, it appears to be dying either on replicator.py line 526 (stats = eventlet.spawn(self.heartbeat)) or 527 (lockup_detector = eventlet.spawn(self.detect_lockups)) .... or the log is getting eaten somewhere else. you might want to make sure you have the correct eventlet version on that machine00:57
JordanRinke_nice, do you have any idea how to increase the debugging on the service?00:57
JordanRinke_nice dude, eventlet 9.12, upgraded to 9.13... works00:59
*** dendro-afk is now known as dendrobates01:00
*** reldan has joined #openstack01:00
kpeppleJordanRinke_: good (because you were at the lowest level of debugging anyway :) )01:00
*** lamar has joined #openstack01:01
* kpepple takes a victory lap01:01
*** dragondm has quit IRC01:01
dabogood detective work, kpepple!01:02
kpeppledabo: blaming eventlet is always a sound debugging strategy :)01:02
*** littleidea has joined #openstack01:08
*** azneita has quit IRC01:14
*** azneita has joined #openstack01:15
*** azneita has joined #openstack01:15
*** paltman has quit IRC01:18
*** reldan has quit IRC01:22
*** MarkAtwood has quit IRC01:29
*** mahadev has quit IRC01:32
winston-dkpepple: could you help me with my case?01:34
winston-dkpepple: some strange Swift issue01:35
kpepplewinston-d: i can't say i'm a swift expert, but what's the problem ?01:35
*** ericrw has quit IRC01:36
winston-dkpepple: well, I tried to switch from Devauth to swauth.  swauth-add-user always failed because object-server is stucking at writing massive 'system' to tmp.01:38
kpepplekpepple: sorry, what does "writing massive 'system' to tmp" mean ? it just keeps writing the same thing to the log ?01:39
kpepplewinston-d: sorry, see above ^^^^01:39
kpepplewinston-d: got a paste of the log ?01:39
*** DSpair has joined #openstack01:39
winston-dkpepple: well, that was long story, do you mind looking at IRC log http://eavesdrop.openstack.org/irclogs/%23openstack.2011-03-09.log starting from 2011-03-09T15:3801:42
* kpepple pulls up eavesdrop 01:43
kpepplewinston-d: are you dillon-w there ?01:44
winston-dkpepple: yup, that's my another secret identity01:45
kpepplewinston-d: so http://paste.openstack.org/show/819/ is the log ?01:45
winston-dkpepple: yes.01:45
winston-dkepple: that's the log on proxy-server, for 'swauth-add-user'.01:46
winston-dkepple: I stopped all server.  and start only object-server, then do 'swauth-add-user', proxy-server complained it cannot connect to accout server.  then i start account-server & container-server. then do 'swauth-add-user' again, it still failed, (saying no final status of PUT from object-server), BUT once the 'swauth-add-user' executed, object-server started to write to tmp, with the word 'system' repeatly!01:48
kpepplewinston-d: what happens when you just start object-server without any of the other services ? same thing ?01:50
winston-dkpepple: if only object-server, 'swauth-add-user' will fail (of course), and object-server won't write to tmp.01:51
winston-dkpepple: i think the problem is, proxy-server asks object-server to do PUT, but somehow, object-server starts to write to tmp, and doesn't stop.01:53
*** dendrobates is now known as dendro-afk01:53
gholtHome now. Best we can tell, swift/obj/server.py gets stuck in a loop reading (and therefore writing) 'system' on the line for chunk in iter(lambda: request.body_file.read(01:54
*** gregp76 has quit IRC01:54
gholtUhm, I think we were going to check the webob version next.01:54
kpepplegholt: server.py:386 ?01:54
*** MarkAtwood has joined #openstack01:55
gholtYeah, though I guess that depends exactly which version he's running, but yeah.01:55
gholtNever seen this odd behaviour before01:55
winston-dthe version of webob?01:55
winston-dlet me check01:55
winston-dWebOb-1.0.3-py2.6.egg01:56
gholtI think we verified the correct version of eventlet. And we now you're on RHEL, which we haven't tested though.01:56
gholtHmm. I've got 1.0-1~lucid2 of webob, but newer should be better, right? :)01:57
*** mahadev has joined #openstack01:58
gholtI'm giving the newer version of webob a whirl here...01:58
gholtYep, that's it. Finally. :)01:58
gholtMine's going into a crazy loop now.01:58
kpepplegholt: funny ... Jordan's problem earlier was his version of eventlet01:59
gholtSheesh, dependencies suck. Heh01:59
gholtLet me see if I can figure out "why?!"02:00
winston-dgholt: great, finally we found the root cause.02:03
*** joearnold has quit IRC02:05
*** Code_Bleu2 has joined #openstack02:05
Code_Bleu2I am testing creating volumes...and the status is stuck at "creating"  I have checked the objectstore log and i dont see anything there.  Is there some other way i can find out why it is stuck on "creating"?02:06
*** dirakx has joined #openstack02:09
Ryan_LaneCode_Bleu2: check the nova-compute log02:10
Ryan_LaneI think this is where I noticed an issue last time02:10
Ryan_Lanewhich driver are you trying to use?02:11
Code_Bleu2ryan_lane: i know nothing about a driver..sorry...im a n00b02:11
Ryan_Lanewell, if you didn't define a driver in the config file, you are using the default one ;)02:12
Ryan_LaneCode_Bleu2: is the nova-objectstore daemon running?02:12
winston-dgholt: if i downgrade the version of webob, is it possible to get the problem fix?02:12
Code_Bleu2Ryan_Lane: as far as i know02:13
Ryan_LaneCode_Bleu2: ps -ef | grep objectstore02:13
gholtwinston-d: Very probably. The version I had worked 1.0-1~lucid2, but that's an Ubuntu thing.02:13
Code_Bleu2Ryan_Lane: yes its there02:13
winston-dgholt: let me try 1.0.102:13
Ryan_LaneCode_Bleu2: you just have one node, or multiple?02:14
Code_Bleu2Ryan_Lane: one02:14
Ryan_Laneok. any issues in either the nova-objectstore log, or the nova-compute log?02:14
Ryan_Laneany in the scheduler log?02:14
Code_Bleu2Ryan_Lane: havent checked the scheduler log yet02:15
Ryan_Lanewhat's the output of "nova-manage service list"?02:15
Code_Bleu2Ryan_Lane: nothing has stood out yet in any of the other logs02:15
Ryan_Lanedoes it show the objectstore as up?02:15
Ryan_Lane:-) means up XXX means down02:16
Code_Bleu2Ryan_Lane: compute, sched, network02:16
Ryan_Laneno objectstore?02:16
Code_Bleu2Ryan_Lane: nope02:16
Ryan_Lanegah02:17
Code_Bleu2Ryan_Lane: did service nova-objectstore restart..and it still isnt listed02:17
Ryan_LaneI should be saying nova-volume02:17
Ryan_Lanethe service you need is nova-volume02:17
Ryan_Lanethe objectstore only hands out images. it doesn't do volumes02:18
Ryan_Lane(I haven't worked on nova in a few weeks. heh)02:18
Ryan_LaneI don't think the objectstore shows up in the service list02:18
Code_Bleu2Ryan_Lane: i dont think i have nova-volume02:18
Ryan_LaneCode_Bleu2: you'll need to install nova-volume02:18
Ryan_Laneif it isn't already installed02:19
winston-dgholt: good news, webob 1.0.1 works...02:19
Ryan_Laneyou'll also need to make sure it runs. it's kind of a PITA to set up02:19
Code_Bleu2Ryan_Lane: doing it now02:19
*** littleidea has quit IRC02:19
winston-dgholt: god, this was killing me.  it cost me 3 days02:19
winston-dkepple: changing webob version from 1.0.3 to 1.0.1 fix the issue.02:20
Code_Bleu2Ryan_Lane: apt-get installed it...but still no service nova-volume02:20
winston-dgholt: so, guess i can safely delete those very LARGE tmp files?02:20
Ryan_LaneCode_Bleu2: check the log file, it'll likely have an error in it02:21
Ryan_LaneCode_Bleu2: I believe the default driver wants you to set up LVM02:21
Ryan_Laneand set it up in a pretty specific way02:21
gholtwinston-d: Oh yeah. Sheesh. webob seems to have changed what they convert their wsgi input to.02:21
Code_Bleu2Ryan_Lane: which log?02:21
Ryan_LaneCode_Bleu2: nova-volume02:22
Code_Bleu2Ryan_Lane: doesnt exist02:22
winston-dgholt: it'd be great if the swift doc could clear specify the python package version.02:22
Ryan_LaneCode_Bleu2: which distro are you using, and are you using the packages?02:22
Code_Bleu2Ryan_Lane: getting this trying to apt-get Err http://ppa.launchpad.net/nova-core/trunk/ubuntu/ maverick/main nova-volume all 2011.2~bzr760-0ubuntu0ppa1~maverick102:23
Code_Bleu2  404  Not Found02:23
Code_Bleu2ubuntu 10.10 64bit02:23
Ryan_Laneoh. odd02:24
Ryan_LaneCode_Bleu2: that happens when you run "apt-get install nova-volume" as root?02:24
Code_Bleu2Ryan_Lane: yes02:24
*** DSpair has quit IRC02:24
Ryan_LaneCode_Bleu2: run "apt-get update", then try again02:25
Ryan_Laneif that doesn't work, maybe it is missing in trunk...02:26
Code_Bleu2Ryan_Lane: working02:26
Code_Bleu2Ryan_Lane: now what..its still in "creating" state02:27
Ryan_Lanewell, those volumes will likely stay that way02:27
Ryan_LaneI don't know how to get them out of that state02:27
Ryan_LaneCode_Bleu2: check to make sure volume is actually running, and that the log file has no errors though02:27
Ryan_LaneI just started using volume recently, so I can't answer all of your questions ;)02:28
Code_Bleu2Ryan_Lane: volume group nova-volumes doesn't exist02:28
Ryan_Laneright02:28
Ryan_Laneso it wants a volume group called nova-volume to exist02:28
Ryan_Laneyou need to make an LVM volume for it02:28
Ryan_Lanespecifically called nova-volume02:28
Ryan_Laneyou can use a physical device, a partition, or a disk image for this02:29
Code_Bleu2Ryan_Lane: Can i use any other name...or it has to be that one?02:29
Ryan_LaneI think you can use a different name, if you modify the configuration (/etc/nova/nova.conf)02:29
Ryan_Lanelet me see if I can find the flag02:30
gholtwinston-d: We'd never keep up with the versioning to be honest. And newer versions that claim backwards compat shouldn't be broken. :/02:30
Code_Bleu2Ryan_Lane: so you dont know how i cant get rid of the volume that is stuck in "creating"?02:30
Ryan_LaneCode_Bleu2: the volume group flag is "--volume_group=<volumegroupname>". The default is nova-volumes02:31
Ryan_LaneCode_Bleu2: nope.02:31
winston-dgholt: is rackspace using Ubuntu for production?02:32
gholtwinston-d: Yeppers, and just apt-get to install. 1.0.3 hasn't hit, or we would've seen this breakage.02:32
Ryan_LaneCode_Bleu2: but once you get the service operating properly, you can create new ones that won't be stuck in that state02:32
winston-dgholt: Ubuntu with KVM or Xen?  I'm sticking to RHEL because KVM.02:33
Code_Bleu2Ryan_Lane: My current VG is using all my storage space..I guess i will need to shrink my VG to create another one02:34
gholtwinston-d: Well, Cloud Files and Cloud Servers are separate clusters, so Cloud Files has no virtualization going on.02:34
Ryan_LaneCode_Bleu2: is this just for testing?02:34
Ryan_LaneCode_Bleu2: if so, make a disk image, make a physical volume using it, and make a new VG02:35
winston-dgholt: i see.  I guess Cloud Servers are based on xen.02:35
Ryan_Laneyou can do that inside of your current VG, if you want. it's inefficient, but it works for testing02:35
Code_Bleu2Ryan_Lane: true...didnt think of that02:35
gholtwinston-d: Yeah, webob 1.0.3 is busted. If you make a webob.Request.blank('/', body='stuff') and then do req.body_file.read() over and over, you get the same 'stuff' over and over.02:36
Ryan_Laneok. gotta go02:36
Ryan_LaneCode_Bleu2: good luck :)02:36
*** Ryan_Lane is now known as Ryan_Lane|away02:36
gholtwinston-d: I'm guessing they do a bg = req.body_file and then read from the bf or something.02:36
winston-dgholt: great. so for now, swift will have to stay with webob < 1.0.3.02:37
notmyname*sigh* looks like time for another webob patch02:37
*** bcwaldon has joined #openstack02:37
*** Code_Bleu2 has quit IRC02:38
*** ccustine has quit IRC02:38
gholtnotmyname: Where do I post bugs to them?02:39
notmynamegood question. it's always been hard to find. let me dig up the links02:41
gholtI found their google group, maybe something will surface there02:41
notmynamegholt: http://groups.google.com/group/paste-users/topics02:41
notmynameya.02:41
*** bcwaldon has quit IRC02:42
notmynamegholt: also http://trac.pythonpaste.org/pythonpaste/query?status=assigned&status=new&status=reopened&component=webob&order=priority&col=id&col=summary&col=status&col=type&col=priority&col=milestone&col=component&report=1002:43
*** ericrw has joined #openstack02:44
*** matiu_ has joined #openstack02:47
*** matiu_ has joined #openstack02:47
winston-dgholt: Is there any way I can shorten swauth- commands by omitting '-A https://XXX/auth/'?02:49
redboalias myswauth='swauth -A https://...'   :)02:50
*** matiu has quit IRC02:51
*** matiu_ is now known as matiu02:51
notmynameA=https://...; swauth -A $A02:51
gholtSomeday we should add SWAUTH_ env vars like st has ST_ env vars. :)02:52
winston-dwell, alias it is.02:52
redbooh wait it's swauth-*.  hard to alias that.02:52
winston-d.... then ENV it is.02:53
* gholt adds something else to his ever growing todo list :)02:53
redboon my todo list, each item ends in "gholt's mom"02:53
gholtI really can't believe this webob stuff sometimes. It seems that now, even if I grab the body_file ahead of time and just use that, webob doesn't fully read the request and causes a broken pipe on the remote end. :/02:54
gholtAnd I love that easy_install has no easy_uninstall still, hehe.02:55
creihtgholt: maybe you should try pip02:56
creihtit has an uninstall02:56
gholtYeah, keep meaning to; habits...02:56
* creiht understands02:57
*** mahadev has quit IRC02:57
winston-dI saw a lot logs for replicator, does that mean they are replicating too frequently?02:58
gholtApparently my pip doesn't have uninstall or something.03:00
*** zul has quit IRC03:03
gholtLol, and the newest pip has uninstall but doesn't seem to do anything.03:03
*** zul has joined #openstack03:05
gholtwinston-d: It's probably just running so fast because the cluster is empty right now. It should run no faster than once every 30 seconds (by default).03:08
winston-dgholt: is that configurable?03:09
gholtThere's a run_pause setting03:10
winston-dlet me check. anyway, using default value should be fine right?03:11
gholtIf you put run_pause = 300 under your [object-replicator] section for instance it'll pause for five minutes between runs.03:11
gholtYeah, defaults should be fine.03:12
gholtWe rotate storage logs out pretty frequently on the storage nodes themselves, though we keep them for a pretty long time in archive. proxy logs are the ones that really matter for billing and user auditing.03:15
gholtAnd I expect the replicators will get less noisy in the future as we optimize them further.03:15
winston-d'noisy', that's a good word to describe them. :)03:16
*** ak4d7 has joined #openstack03:26
*** mahadev has joined #openstack03:26
*** tlehman has joined #openstack03:28
*** tlehman has left #openstack03:28
*** mahadev has quit IRC03:30
gholtwinston-d: This webob thing is annoying; I'm sorry you had to be the one to surface it. :/03:35
*** MarkAtwood has quit IRC03:36
winston-dgholt: :)03:36
*** dillon-w has joined #openstack03:37
* dillon-w test03:37
* winston-d test against dillon-w03:37
*** mahadev has joined #openstack03:37
* dillon-w is trying new IRC clients03:37
gholtlol03:38
*** dillon-w has quit IRC03:47
*** ericrw has quit IRC03:47
*** dillon-w has joined #openstack03:48
*** pvo has joined #openstack03:49
dillon-wwinston-d: test03:51
winston-ddillon-w: test03:51
winston-dtest03:52
* winston-d leaving for lunch...03:53
* dillon-w leaving for lunch03:53
uvirtbotNew bug: #732403 in nova "ensure_bridge fails when using FlatDHCPManager" [Undecided,New] https://launchpad.net/bugs/73240303:57
*** ovidwu has quit IRC03:57
*** magglass1 has quit IRC03:57
*** ovidwu has joined #openstack03:57
*** pvo has quit IRC04:00
uvirtbotNew bug: #732405 in nova "RunInstance stopped at networking" [Undecided,New] https://launchpad.net/bugs/73240504:06
*** zenflyfishing has joined #openstack04:12
zenflyfishinghello04:12
HugoKuomorning04:12
HugoKuodid someone tell me anything in pass 12 hours04:12
zenflyfishingI figured it would be good to join the openstack initiative and see if I could lend a hand...04:13
*** lamar has quit IRC04:16
HugoKuowhat's the real meaning of flat_network_dhcp_start flag ?  it means dnsmasq assign IP for instance from which ip ?04:20
HugoKuoassume this project network is 192.168.2.0/24   so if I ser fla_network_dhcp_start=30   ,  does dnsmasq start assign ip from 192.168.2.30  ?04:21
*** adjohn has joined #openstack04:22
zenflyfishingflat dhcp - PCs are in same broadcast domain as server04:25
zenflyfishingfrom what I can tell the flag is set to tell the server that PCs are in same broadcast domain as server04:26
*** ak4d7 has quit IRC04:27
zenflyfishingCheck this HugoKuo  https://code.arc.nasa.gov/nova/devref/network.html04:27
HugoKuozenflyfishing : thx04:28
HugoKuoflat_network_dhcp_start:04:30
HugoKuo Dhcp start for FlatDhcp  .................. I'm not sure what it menas :<   bcz I set it to 30  but dhcp still assin from 192.168.2.2 :<04:30
*** mahadev has quit IRC04:53
Ryan_Lane|awayHugoKuo: I believe the start for that is based on how you created the network using nova-manage04:57
*** Ryan_Lane|away is now known as Ryan_Lane04:57
HugoKuoRyan_Lane : nova-manage network $project network create 172.16.2.0/24   1 256   so it write dhcp_start 172.16.2.204:59
Ryan_Laneyeah 172.16.2.1 is the gateway04:59
HugoKuoso that --flat_network_dhcp_start is does work in nova.conf ?04:59
Ryan_LaneI'm guessing not (though I haven't actually tried it)05:00
Ryan_LaneI'd have to drill down through the source to see what it's supposed to do05:00
HugoKuogot it , I'm going to change it in database05:01
HugoKuobtw , due to I want instance ip combine with my coporate network .05:01
*** Manikandan1 has joined #openstack05:02
HugoKuoif I let the gateway to 172.16.2.1 which is my coporate network gateway...05:03
Manikandan1hi while registering images in openstack using euca2ools05:03
HugoKuoIt cause me can not get metadata05:03
Ryan_Lanewell, FlatDHCP does things that you probably don't want05:03
Manikandan1for all ramdisk, kernal and image i got ami--05:03
Manikandan1its correct05:03
Ryan_Laneit assumes the gateway can set NAT rules05:03
HugoKuogot it05:03
Ryan_Lanethe gateway is the nova-network service05:04
HugoKuoI'll set it to 127.0.0.1......05:04
HugoKuooh thanks , I have a last question....05:04
Ryan_Laneso, you should likely set the gateway to the nova-network node, use a backend IP range, and use floating IPs for the corporate network IPs05:04
*** gregp76 has joined #openstack05:05
Ryan_Lane127.0.0.1 likely won't work05:05
HugoKuothanks ..... try it now05:05
Ryan_Lanethe network node will set NAT rules for the floating IPs05:05
Ryan_Lanethey'll map to the private range05:05
HugoKuothank u so much ....05:06
Ryan_Laneyou're welcome05:07
openstackhudsonProject nova build #618: SUCCESS in 1 min 52 sec: http://hudson.openstack.org/job/nova/618/05:08
openstackhudsonTarmac: Fixes nova.sh to run properly the first time.  We have to get the zip file after nova-api is running.05:08
*** magglass1 has joined #openstack05:23
*** mahadev has joined #openstack05:33
*** f4m8_ is now known as f4m805:41
*** f4m8 is now known as f4m8_05:41
*** f4m8_ is now known as f4m805:42
*** mahadev has quit IRC05:42
Code_BleuWas working on nova-volumes and for whatever reason when i went to restart everything..my networking isnt working.  Anyone know what this error is? http://paste.openstack.org/show/844/05:43
HugoKuoRyan_Lane : thanks u so much ......you figure out alomost my problem05:43
HugoKuoRyan_Lane : thanks u so much ......you figure out all of my problem05:44
*** naehring has joined #openstack05:44
Ryan_Laneglad to hear it's working for you05:44
HugoKuoI'm going to spilt network and scheduler to other machine05:44
HugoKuois there has any docs talk about what should be installed or setup ?05:45
Ryan_LaneI think the official docs do, but they don't mention so using the packages05:45
HugoKuoI'm not sure which package should be installed for network and scheduler05:45
HugoKuook...05:45
Ryan_Lanenova-network, and nova-scheduler05:46
Ryan_Laneit'll install the rest05:46
HugoKuothere's a dirty way....I'm going to install all stuff then disable other service :>05:46
HugoKuothanks05:46
Ryan_Laneyw05:46
HugoKuouse same nova.conf file which is on CC ?05:47
Ryan_LaneI use the same nova.conf on all systems05:47
openstackhudsonProject nova build #619: SUCCESS in 1 min 50 sec: http://hudson.openstack.org/job/nova/619/05:48
openstackhudsonTarmac: Modifies S3ImageService to wrap LocalImageService or GlanceImageService.  It now pulls the parts out of s3, decrypts them locally, and sends them to the underlying service.  It includes various fixes for image/glance.py, image/local.py and the tests.05:48
openstackhudsonI also uncovered a bug in glance so for the glance backend to work properly, it requires the patch to glance here lp:~vishvananda/glance/fix-update or Glance's Cactus trunk r80.05:48
*** guynaor has joined #openstack05:50
*** guynaor has left #openstack05:50
*** cascone has joined #openstack05:53
Code_Bleu Was working on nova-volumes and for whatever reason when i went to restart everything..my networking isnt working.  Anyone know what this error is? http://paste.openstack.org/show/844/05:55
*** MarkAtwood has joined #openstack05:55
*** hub_cap has joined #openstack06:09
*** mahadev has joined #openstack06:10
*** nRy has joined #openstack06:18
*** zenmatt has quit IRC06:26
*** bluetux has joined #openstack06:30
*** mRy has joined #openstack06:36
*** ramkrsna has joined #openstack06:36
*** mRy is now known as Guest8516206:36
*** nRy has quit IRC06:39
HugoKuoI added a new compute node , and it works fine . so I want to disable the nova-compute service on CC. I use "service nova-manage stop"06:40
*** gregp76 has quit IRC06:40
HugoKuoBut when I use nova-manage service list06:41
HugoKuothe compute service is still Enabled :<06:41
HugoKuoJack       nova-compute enabled  XXX 2011-03-10 06:37:3106:41
HugoKuoDewars     nova-compute enabled  XXX 2011-03-10 06:41:4406:42
HugoKuobtw , what is  XXX  ?  is that normal ~?   thanks06:42
kpeppleHugoKuo: use "$  service nova-compute stop" not nova-manage. the XXX means that it is not running06:46
HugoKuooh sorry just wrong type06:47
HugoKuoI use service nova-compute stop :>06:47
HugoKuoit's ok , eventhough the service status is Enabled06:47
HugoKuowhile I run up instance , shceduler do not use the resources on CC06:48
HugoKuokpepple: looks good ................thanks06:48
HugoKuowait " the XXX means that it is not running " ...........but Dewars node is running well ~   how come :<06:51
*** matiu_ has joined #openstack06:52
*** matiu_ has joined #openstack06:52
*** mgoldmann has joined #openstack06:53
*** nerens has joined #openstack06:54
kpeppleHugoKuo: the XXX is printed if the service status hasn't been updated within 15 seconds in the DB. enabled is printed if the service is marked enabled in the database. see /usr/bin/nova-manage:566 for the python code.06:54
HugoKuothanks ~06:55
*** matiu has quit IRC06:55
*** matiu_ is now known as matiu06:55
*** j05h has quit IRC07:14
Manikandan1when i run a instance in openstack it show in scheduling state wt to do any one help me reg this07:15
*** miclorb_ has quit IRC07:15
*** j05h has joined #openstack07:21
*** photron has joined #openstack07:29
*** allsystemsarego has joined #openstack07:30
*** allsystemsarego has joined #openstack07:30
*** rchavik has quit IRC07:30
*** matiu has quit IRC07:31
*** rchavik has joined #openstack07:32
*** miclorb_ has joined #openstack07:34
winston-dManikandan1: scheduling usually takes a while, but if everything is fine, the VM will eventually be scheduled to certain node and the state is changed to running07:36
*** mRy has joined #openstack07:36
*** mRy is now known as Guest2229907:36
*** guigui has joined #openstack07:37
*** Guest85162 has quit IRC07:40
*** MarcMorata has joined #openstack07:55
*** lionel has quit IRC07:59
*** lionel has joined #openstack07:59
*** reldan has joined #openstack08:13
*** azneita has quit IRC08:14
*** allsystemsarego has quit IRC08:15
*** rcc has joined #openstack08:16
*** ianweller has quit IRC08:17
*** allsystemsarego has joined #openstack08:17
*** localhost has quit IRC08:21
*** skiold has joined #openstack08:25
ttxmtaylor, soren: did one of you push novaclient to Hudson ?08:26
mtaylorttx: yeah08:26
ttxmtaylor: ok, cool.08:26
*** mahadev has quit IRC08:26
HugoKuoI seperate network & scheduler from all in one08:27
HugoKuoafter that  I stop network & scheduler service  on that all in one machine08:28
sorenmtaylor: From packages?08:28
sorenOr something else?08:28
sorenttx: What's missing before we can upload it to Ubuntu?08:29
ttxsoren: a sanity check.08:29
HugoKuothen start network & scheduler service on (172.16.2.79)            API & ObjectStore & mysql on 172.16.2.78 .........08:29
ttxsoren: though I can't find novaclient in the PPA08:29
*** CloudChris has joined #openstack08:30
ttxmtaylor: something went wrong in the PPA copy ?08:30
HugoKuoinstance status pending on networking ........ should I modify any IP address in nova.conf which I copy from 172.16.2.78(all in one)08:30
ttxmtaylor: oh, you copied them to nova-core/ppa... probably should have been nova-core/trunk ?08:31
sorennova-core is what we use for stuff that gets installed on Hudson.08:32
sorenNothing gets put there automatically.08:32
sorenI'm not sure that's the ideal approach, but that's how we do it right now.08:32
sorenerr..08:32
sorens/nova-core/nova-core\/ppa/g08:32
ttxhm08:33
sorenAnd s/Hudson/Jenkins/08:33
* soren hasn't committed that one to muscle memory yet.08:33
ttxsoren: we'll need novaclient in the trunk PPA as well, if we want the ubuntu PPA builds to work, right ?08:33
sorenCertainly.08:33
sorenWe also want it auto-built and whatnot.08:34
ttxsoren: ok, please copy them then, so that zones2 landing doesn't break PA builds08:34
*** kashyap has quit IRC08:34
ttx(hopefully)08:34
ttxs/PA/PPA08:34
sorenHm...08:35
sorenYeah,ok.08:35
ttxOnce we have builds that show that novaclient is OK for what we need, I'll push to natty NEW08:35
ttxjust in case we uncover some issue08:36
*** mRy has joined #openstack08:36
*** mRy is now known as Guest3683408:37
*** DigitalFlux has joined #openstack08:37
*** MarcMorata has quit IRC08:38
sorenttx: You could file the FFe now, just for good measure.08:39
*** Nacx has joined #openstack08:39
*** Guest22299 has quit IRC08:40
ttxack.08:41
Manikandan1i have installed in one machine only08:43
*** miclorb_ has quit IRC08:44
Manikandan1how to add nodes in node to nova08:44
*** reldan has quit IRC08:44
sorennodes in node?08:44
sorenI'm not sure what that means08:44
*** eikke has joined #openstack08:45
HugoKuoManikandanl :08:46
HugoKuodid you means you want a archi like eucalyptus CC and NC ?08:47
*** cascone has quit IRC08:48
*** kashyap has joined #openstack08:51
*** bkkrw has joined #openstack08:51
Manikandan1yes08:55
*** burris has quit IRC08:55
*** burris has joined #openstack08:56
HugoKuoI think yes08:59
HugoKuoset  bridge in compute node09:00
HugoKuothen connect to network node09:00
HugoKuoset iptables on network node09:00
*** daveiw has joined #openstack09:01
openstackhudsonProject dashboard-tarmac build #10,396: FAILURE in 1 min 52 sec: http://hudson.openstack.org/job/dashboard-tarmac/10396/09:02
openstackhudsonProject nova-bexar-tarmc build #6,208: FAILURE in 35 sec: http://hudson.openstack.org/job/nova-bexar-tarmc/6208/09:03
openstackhudsonProject nova-tarmac build #68,007: FAILURE in 35 sec: http://hudson.openstack.org/job/nova-tarmac/68007/09:03
ttxsoren: LP downtime: ^^09:04
openstackhudsonProject dashboard-tarmac build #10,397: STILL FAILING in 35 sec: http://hudson.openstack.org/job/dashboard-tarmac/10397/09:06
openstackhudsonProject nova-bexar-tarmc build #6,209: STILL FAILING in 35 sec: http://hudson.openstack.org/job/nova-bexar-tarmc/6209/09:07
openstackhudsonProject nova-tarmac build #68,008: STILL FAILING in 35 sec: http://hudson.openstack.org/job/nova-tarmac/68008/09:07
openstackhudsonProject dashboard-tarmac build #10,398: STILL FAILING in 35 sec: http://hudson.openstack.org/job/dashboard-tarmac/10398/09:11
*** gaveen has joined #openstack09:11
openstackhudsonProject nova-bexar-tarmc build #6,210: STILL FAILING in 35 sec: http://hudson.openstack.org/job/nova-bexar-tarmc/6210/09:12
HugoKuocan not start up nova-api http://pastebin.com/AipyZu7R09:12
openstackhudsonProject nova-tarmac build #68,009: STILL FAILING in 35 sec: http://hudson.openstack.org/job/nova-tarmac/68009/09:12
*** ramkrsna has quit IRC09:13
HugoKuoI did disable nova-compute nova-network nova-scheduler and empty networks , fixed_ips  in mysqlDB09:14
ttxHugoKuo: looks like you haven't set a --state_path, it looks for keys in the /usr/lib/pymodules directory09:14
* ttx fetches some coffee09:14
HugoKuoyou r right .......09:15
HugoKuotrying ~09:15
sorenttx: Yeah, looks like it's coffee break time.09:16
openstackhudsonProject dashboard-tarmac build #10,399: STILL FAILING in 35 sec: http://hudson.openstack.org/job/dashboard-tarmac/10399/09:16
* soren disables a bunch of jenkins jobs09:16
openstackhudsonProject nova-bexar-tarmc build #6,211: STILL FAILING in 35 sec: http://hudson.openstack.org/job/nova-bexar-tarmc/6211/09:17
openstackhudsonProject nova-tarmac build #68,010: STILL FAILING in 35 sec: http://hudson.openstack.org/job/nova-tarmac/68010/09:17
* soren sobs09:17
HugoKuottx : thanks .....it resolved my problem09:18
*** irahgel has joined #openstack09:20
*** drico has joined #openstack09:21
*** gaveen has quit IRC09:22
HugoKuoadditional question ......while I isolated netowkr+scheduler  from Cloud Controller(API+mysql+objectstore)  ...09:26
*** ramkrsna has joined #openstack09:26
HugoKuoshould I set bridge in this machine ?09:26
*** hadrian has joined #openstack09:27
*** gasbakid has joined #openstack09:29
rcclaunchpad offline QQ09:30
sorenrcc: Indeed.09:30
*** ChanServ sets mode: +o soren09:30
*** miclorb has joined #openstack09:30
*** soren changes topic to "Launchpad in read-only mode. Expected back at 10:30 UTC | Wiki: http://wiki.openstack.org/ | Nova Docs: nova.openstack.org | Swift Docs: swift.openstack.org | Logs: http://eavesdrop.openstack.org/irclogs/ | http://paste.openstack.org/"09:30
*** soren sets mode: -o soren09:31
*** gaveen has joined #openstack09:35
*** adjohn has quit IRC09:36
*** mRy has joined #openstack09:36
*** mRy is now known as Guest9284109:37
*** Guest36834 has quit IRC09:40
*** ChanServ sets mode: +o soren09:40
*** soren changes topic to "Wiki: http://wiki.openstack.org/ | Nova Docs: nova.openstack.org | Swift Docs: swift.openstack.org | Logs: http://eavesdrop.openstack.org/irclogs/ | http://paste.openstack.org/"09:40
openstackhudsonYippie, build fixed!09:40
openstackhudsonProject dashboard-tarmac build #10,400: FIXED in 2.1 sec: http://hudson.openstack.org/job/dashboard-tarmac/10400/09:40
openstackhudsonYippie, build fixed!09:41
openstackhudsonProject nova-bexar-tarmc build #6,212: FIXED in 1.9 sec: http://hudson.openstack.org/job/nova-bexar-tarmc/6212/09:41
openstackhudsonYippie, build fixed!09:46
openstackhudsonProject nova-tarmac build #68,011: FIXED in 2.9 sec: http://hudson.openstack.org/job/nova-tarmac/68011/09:46
sorenttx: Copied python-novaclient to the trunk ppa.09:50
*** MarcMorata has joined #openstack09:53
*** zul_ has joined #openstack09:54
ttxsoren: cool. Filed FFe.09:55
sorenttx: bug no?09:55
ttxbug 73246109:55
uvirtbotLaunchpad bug 732461 in ubuntu "[FFe] Please add python-novaclient to universe" [Wishlist,Confirmed] https://launchpad.net/bugs/73246109:55
HugoKuoalmost done :>10:00
HugoKuoI think my last  problem is iptables configuration10:01
Manikandan1i run nova-compute i got CRITICAL nova [-] Class get_connection cannot be found10:13
*** hazmat has quit IRC10:17
HugoKuolog file ?10:23
*** zul has quit IRC10:24
*** zul_ is now known as zul10:24
*** zul has joined #openstack10:24
*** zul_ has joined #openstack10:25
* soren misses vishy 10:27
sorenAHA!10:31
*** zul_ has quit IRC10:34
*** mRy has joined #openstack10:36
*** mRy is now known as Guest2418010:37
*** soren sets mode: -o soren10:38
*** Guest92841 has quit IRC10:40
HugoKuodoes anyone know which iptables is correct ?      http://pastebin.com/2Y1bZ6Uz10:41
sorenHugoKuo: The former.10:46
sorenHugoKuo: It's the API server that can actually act as the metadata server.10:46
HugoKuothanks10:46
uvirtbotNew bug: #732493 in openstack-dashboard "Unable to change the project manager of a project" [Undecided,New] https://launchpad.net/bugs/73249310:47
*** burris has quit IRC10:54
*** burris has joined #openstack10:59
*** miclorb has quit IRC11:01
*** kashyap has quit IRC11:03
*** reldan has joined #openstack11:06
*** fayce has quit IRC11:09
HugoKuohow to del  -A PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination 172.16.2.79:877311:17
HugoKuoI use iptables -D  it shows me bad rule :<11:17
HugoKuoeverytime I restart nova-network  ,  it always write wrong iptables :<11:18
*** kashyap has joined #openstack11:21
*** mRy has joined #openstack11:37
*** mRy is now known as Guest2133511:37
*** Guest24180 has quit IRC11:40
*** h0cin has joined #openstack11:54
*** h0cin has joined #openstack11:54
*** daveiw has left #openstack11:58
*** reldan has quit IRC12:10
*** ctennis has quit IRC12:13
sorenHugoKuo: Wrong how?12:16
HugoKuowait a moment12:17
Code_BleuWas working on nova-volumes and for whatever reason when i went to restart everything..my networking isnt working.  Anyone know what this error is? http://paste.openstack.org/show/844/12:23
*** colinnich_ has quit IRC12:25
*** colinnich has joined #openstack12:26
*** mjmac_ is now known as mjmac12:32
sorenCode_Bleu: Yes. Not your fault.12:33
sorenCode_Bleu: It's a bug. I've filed a patch, but it needs to be reviewed first.12:33
HugoKuomy network component's iptables auto writed by nova-network12:36
*** daveiw has joined #openstack12:36
*** ctennis has joined #openstack12:36
*** ctennis has joined #openstack12:36
HugoKuoit's weired      http://pastebin.com/KQ1vaHE512:36
HugoKuoafter nova-network start it auto write my iptable like this12:37
*** mRy has joined #openstack12:37
*** mRy is now known as Guest4530912:37
HugoKuoand it cause my host can not ping outside  for example  "google.com"12:37
HugoKuoI know linux_net.py do this , is there anything wrong ?12:38
HugoKuosoren :12:38
*** Guest21335 has quit IRC12:40
*** Manikandan1 has quit IRC12:42
*** photron has quit IRC12:42
Code_Bleusoren: do you have a link to the bug, so i can follow it?12:42
sorenCode_Bleu: I didn't file a bug. I can, though.12:44
sorenCode_Bleu: bug 73254912:46
uvirtbotLaunchpad bug 732549 in nova "execvp fallout" [Undecided,New] https://launchpad.net/bugs/73254912:46
sorenHugoKuo: I don't immediately see how any ff those rules would cause your host to not ping the outside.12:47
sorenAt all.12:47
*** schegi has joined #openstack12:52
* soren screams a little12:52
HugoKuothanks12:53
HugoKuoI try to reinstall it12:53
*** reldan has joined #openstack12:54
*** zul has quit IRC12:56
HugoKuo-A PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination 172.16.2.79:877313:00
HugoKuonova-networl auto write this wrong address13:00
*** schegi has quit IRC13:00
HugoKuoi should be 172.16.2.7813:01
zykes-the openstack panel13:03
zykes-is that the one by nasa ?13:03
*** zul has joined #openstack13:05
uvirtbotNew bug: #732549 in nova "execvp fallout" [Undecided,New] https://launchpad.net/bugs/73254913:07
*** dovetaildan has quit IRC13:09
sorenHugoKuo: Well, is your cc_host flag configured correctly?13:11
*** dovetaildan has joined #openstack13:11
HugoKuoCC_host must assign to which machine ?13:11
HugoKuoI assign to CC instead of network13:12
HugoKuoI assign to CC instead of nova-network box13:12
sorenI don't understand what you're saying.13:12
sorenbut cc_host should point to an api server.13:12
HugoKuoyes I did...13:12
HugoKuothat's weired13:13
HugoKuoit set that iptables , depends on gateway ip address13:13
*** fayce has joined #openstack13:13
*** ppetraki has joined #openstack13:22
sorenMan, so many things broke since yesterday, it's not even funny.13:32
ttxthat was an intense merge day.13:32
sorenI'm almost done repairing everything.13:33
sorenThis is a crappy timezone.13:33
czajkowskisoren: where are you now ?13:33
sorenczajkowski: At home.13:34
czajkowskisoren: yer very strange13:34
sorenczajkowski: Indeed.13:34
czajkowskiyou'd think you'd be happy with that timezone13:34
sorenczajkowski: It's crappy because I'm pretty much alone, so if things break at the end of everybody else's day, they pass out, meaning to fix it the next day, except the next day, I can't get anything done because all this stuff is acting up.13:35
*** guynaor has joined #openstack13:35
*** bcwaldon has joined #openstack13:35
czajkowskisoren: short straw, before you log off tonight break everyhing so folks in USa have to fix it13:35
czajkowski:)13:35
czajkowskisomeone has gone and broken my email connection, cant send any mail which makes sending invites out extremely hard :s13:36
*** justinsb has quit IRC13:36
uvirtbotNew bug: #732570 in nova "Meta-data service broken if ramdisk or kernel is missing (which is valid!)" [Undecided,New] https://launchpad.net/bugs/73257013:36
sorenczajkowski: I thought e-mail was dead. Replaced by facebook and twitter.13:36
czajkowskisoren: not for clients, when I want to invite them to a BBQ13:36
*** mRy has joined #openstack13:37
*** mRy is now known as Guest6322613:37
*** Guest45309 has quit IRC13:40
sorenczajkowski: Ah. No.13:44
*** guigui3 has joined #openstack13:44
sorenIt looks like my iptables manager thingamajig will be merged shortly.13:46
*** guigui has quit IRC13:46
czajkowskiyay for thingamjiggys13:46
*** ctennis has quit IRC13:46
*** gasbakid has quit IRC13:48
*** guigui3 has quit IRC13:49
*** ctennis has joined #openstack13:49
*** ctennis has joined #openstack13:49
*** bcwaldon has quit IRC13:49
*** pvo has joined #openstack13:52
*** justinsb has joined #openstack13:52
*** dprince has joined #openstack13:54
faycehey guys, we are trying a 3 boxes config ("Jack": nova-compute+nova-api+nova-objectstore   "Absolut":nova-network+nova-scheduler  "Dewars":nova-compute)...  do you have suggestion regarding the network topology for that ?13:57
*** matclayton has joined #openstack13:58
fayceshould I put Dewars on the same private network as Absolut (NIC1), and have Absolut connected to the corp network (NIC2) , and have Jack in the corp network13:59
fayce?13:59
fayceor should I just all connect them to the same network ?13:59
*** mustfeed has joined #openstack14:00
dweimerThe swift deployment guide mentions that RAID 5 or 6 configurations are not recommended for performance reasons. Is there a document that goes into more specifics as to why?14:01
*** bcwaldon has joined #openstack14:01
*** HugoKuo has quit IRC14:01
*** hadrian has quit IRC14:02
creihtdweimer: The swift use case is the pahological worst use case for parity based RAID14:02
creihtrandom small reads and writes, with emphasis on writes14:03
*** pvo has quit IRC14:04
creihtIn our testing with a 24 drive RAID 5/6, performance quickly dropped to below the performance of a single drive14:04
creihtplus add 2+ week rebuilds when a drive goes bad14:04
creihtit was a nostarter for us14:05
creihtso swift stores 3 replicas, and works around failure14:05
creihtno need for extra redundancy14:05
creihtembrace it :)14:05
creihtIf you absolutely need the extra redundancy, then something like raid 10 would be fine14:06
dweimercreiht: The raid 10 option could work. That would theoretically imrpove upload speeds as well right?14:07
creihtdweimer: if you have the network for it, then possibly14:07
creihtthough with raid 10, you are using a lot of disk for each object (effectively 6 replicas)14:08
dweimercreiht: If we raid 10 could we reduce the application level replicas to 2 or would that not be recommended?14:09
creihtswift isn't optimized for the single stream, but for horizontal scalability14:09
*** guigui has joined #openstack14:09
creihtdweimer: relica counts other than 3 *should* work, but haven't been thoroughly tested14:09
creihtbut I wouldn't recommend it :)14:10
creihtwhile on disk you still have the extra replicas, you have only 2 nodes with data14:10
creihtso in failure scenarios, you still have data durability, but you will not have the same availability14:11
sorensirp_: Around, by any chance?14:12
*** hggdh has quit IRC14:13
*** pvo has joined #openstack14:13
*** hggdh has joined #openstack14:13
*** hggdh has joined #openstack14:13
dweimerThanks, that helps. I'll give the raid 10 a test on the performance side, but 6 replicas is likely beyond our budget. We're looking at replacing our archive system and still have a few user who need fast writes.14:13
creihtHow fast?14:14
dweimerNothing blazing 70-80MB/s. We don't have money for anything but SATA drives though.14:15
creihtHave you tested throughput with swift as is yet?14:16
dweimerMy current tests are in the 30MB/s range. I haven't spent any time optimizing beyond the multi-node deployment guide though.14:17
creihtk14:17
creihtdweimer: have you tried the latest trunk?14:17
dweimercreiht: Nope, we're running bexar right now.14:17
creihtIt has a patch that tries to better parallelize the uploads14:17
creihtit would be interesting to see if it helps14:18
*** HugoKuo has joined #openstack14:18
dweimerAlright, I'll give it a shot.14:18
dweimerI need to finish getting our configuration management stuff setup first though. Pushing out updates to the nodes manually is frustrating.14:19
sorenvishy, xtoddx: Any particular reason why none of you set the iptables branch to approved?14:20
* creiht starts getting ready to head to pycon14:21
mustfeedhi can someone help me ? nova-network seems to have problems finding / accessing the database.14:21
HugoKuoall service will startup after boot OS , is there any way to disable forever?14:26
sorenHugoKuo: Destroy the machine.14:26
HugoKuo:>14:26
HugoKuothat's a perfect way14:27
soren"forever" is a long time.14:27
sorenIt's the only way I can think of to prevent someone from accidentally enabling them again. Even.14:27
sorens/Even/Ever/14:27
HugoKuosorry  I just want to stop network and scheduler service on CC14:27
sorenWhat's CC?14:28
HugoKuoAPI + SQL+objetstore14:28
sorenJust remove the network and scheduler packages.14:28
HugoKuo!!!!14:28
openstackHugoKuo: Error: "!!!" is not a valid command.14:28
HugoKuook!14:28
*** fayce has quit IRC14:32
jaypipesjk0: heh, I thought yesterday was my review day, but it was yours... :)14:36
ttxjaypipes: that resulted in a good day for merges, we should do that every day.14:37
jaypipesjk0: spent all day doing reviews and my review day is *next* Wednesday, not yestrerday :)14:37
jaypipesttx: ha14:37
*** mRy has joined #openstack14:37
jaypipes_0x44: around? just a heads up, it's your review day today: http://wiki.openstack.org/Nova/ReviewDays14:37
*** mRy is now known as Guest1106914:37
sorenjaypipes: He gets an e-mail, actually.14:37
jaypipessoren: I didn't.14:37
sorenjaypipes: I failed to document that.14:37
sorenjaypipes: No...14:37
sorenjaypipes: Because your review day is *next week*14:38
jaypipessoren: is _0x44 special? :P14:38
westmaas_lol14:38
jaypipessoren: oh, dug.14:38
jaypipesduhg.14:38
jaypipesgah!14:38
jaypipesduh.14:38
ttxjaypipes: pwnd14:38
jaypipessoren: poop on your logical reason.14:38
jaypipessoren: BTW, are you going to bring your debugging hat to the summit. debugging hat++14:39
mustfeednova-network seems to have problems finding / accessing the database... would be pleased if someone could help me on this14:39
sorenYeah, I have a cron job that sends an e-mail. If it can't resolve the name on the schedule to an e-mail, it e-mails me instead letting me know that something's up. Being in this timezone, I can probably fix things up before most other people wake up.14:39
ttxwe could do a challenge of the best hat.14:39
jaypipesmustfeed: got an error?14:40
*** mrsrikanth has joined #openstack14:40
sorenjaypipes: It folds easily, so yes. I just don't think it'll work as well.14:40
*** jaypipes has left #openstack14:40
*** jaypipes has joined #openstack14:40
sorenjaypipes: When I used to be in an office, people knew that if I had the hat on, it had better be important before they bothered me. At an event like our summits, I'm sure I'd be bothered *more* if I wore it.14:41
*** Guest63226 has quit IRC14:41
jaypipessoren: why? doesn't work in PST timezone? ;)14:41
sorenIt's never been tested in that environment, actually.14:41
sorenNor PDT (which I suppose it will be at the time of the summit).14:42
sorenOr is it PDST?14:42
jaypipessandywalsh: zones2 heading off to the Tarmac pit.14:42
jaypipessoren: not sure :)14:42
sorenNope, PDT seems to be accurte.14:42
sorenaccurate, even.14:43
jaypipessoren: prolly PDT14:43
*** pvo has quit IRC14:43
*** mustfeed has quit IRC14:43
jaypipessoren, ttx, sirp_: if nobody has any objections, I'd like to push live-migrations to Tarmac as well. https://code.launchpad.net/~nttdata/nova/live-migration/+merge/4969914:44
sorenjaypipes: I suppose.14:44
sorenjaypipes: I wish trunk worked before we put more new stuff in it, though.14:45
*** DigitalFlux has quit IRC14:45
jaypipessoren: what is broken in trunk?14:45
sorenjaypipes: That said, I think all of the breakage is known and has bmp's, so..14:45
ttxjaypipes: most of it.14:45
sorenjaypipes: A bunch of stuff.14:45
sorenjaypipes: Let me find links.14:45
sorenhttps://bugs.launchpad.net/nova/+bug/73257014:45
uvirtbotLaunchpad bug 732570 in nova "Meta-data service broken if ramdisk or kernel is missing (which is valid!)" [High,In progress]14:45
ttxsoren: see my comment on execvp-fallout14:45
sorenhttps://bugs.launchpad.net/nova/+bug/73254914:46
uvirtbotLaunchpad bug 732549 in nova "execvp fallout" [Critical,In progress]14:46
sorenttx: Oh, good catch.14:46
ttxsoren: coming from a dupe14:47
jaypipesttx, soren: sorry, how is the above "most of trunk is broken"?14:47
ttxjaypipes: I guess that's for some definition of "most". Like you can't run instances from it.14:47
HugoKuocrazy ing XD14:47
sorenjaypipes: Few things are broken, but they're rather integral and you can't really do anything useful with trunk right now.14:48
*** f4m8 is now known as f4m8_14:48
dprinceYou can't. I haven't been able to spawn an instance since the execvp changes.14:48
jaypipesttx, soren: sure. this is why we need REAL functional tests..14:48
ttxjaypipes: you don't need to convince me of that.14:48
jaypipesttx, soren: and we need them linked to hudson. now.14:48
sorenjaypipes: I agree.14:48
sorenjaypipes: That's what I've been working towards.14:48
ttxjaypipes: yesterday would have been better, even :)14:48
jaypipesttx: I was only working with what I had to work with.14:49
dprincettx: If you want to close my bug as a dup and fix everything inside of Soren's execvp branch I'm fine with that.14:49
sorenjaypipes: It's just taht until my iptables branch lands, I can't test a bloody thing because everything is unstable.14:49
*** CloudChris has left #openstack14:49
ttxdprince: which one ?14:49
jaypipessoren: can we push the execvp branch through to fix a lot of it?14:49
*** JordanRinke_ has quit IRC14:49
sorenjaypipes: You can start by approving it.14:49
dprincettx: 73240314:49
ttxjaypipes: it wasn't meant as a criticism of your review. Such breakage will continue to occur until we have those tests in.14:50
sorenjaypipes: and if we're feeling particularly ninja about it, we can approve it and ask forgiveness if it breaks.14:50
soreni.e. breaks more than it's already broken.14:50
sorenjaypipes: As soon as my iptables branch lands, I can actually start to test things and trust that if it fails, it's not because of a race somewhere, but actually because something new is broken.14:51
ttxdprince: oh, you proposed it already. I missed that14:51
ttxsoren: dprince has a branch for the "up" thing, so you don't *need to* fix that in your branch14:51
sorenI alrady did.14:52
ttxyou can alternatively approve his branch.14:52
jaypipessoren, ttx: ninja'd it.14:52
ttxah.14:52
sorenjaypipes: *hugs*14:52
dprincettx: Yes. I'm hitting a slew of issues in the linux_net code ever since the execvp.14:52
ttxsoren: reject https://code.launchpad.net/~dan-prince/nova/nova_fix_bridge_interface_create/+merge/5283914:52
jaypipessoren:  and the metadata service one?14:52
ttxsoren: I'll handle the bug14:52
sorenMy tests will still fail, because they use the Ubuntu images which don't have a ramdisk, which no longer works.14:52
dprinceThat 'up' issue seems to be the tip of the iceburg.14:52
jaypipesdprince: 15 minutes. re-pull trunk...14:53
openstackhudsonProject nova build #620: SUCCESS in 1 min 55 sec: http://hudson.openstack.org/job/nova/620/14:53
openstackhudsonTarmac: Introduces the ZoneManager to the Scheduler which polls the child zones and caches their availability and capabilities.14:53
jaypipesdprince: the fix is off to the tarmac pit.14:53
sorendprince: I believe I've fixed everything else.14:53
dprinceCool. Thanks.14:53
sorenI'm happily running instances, at least.14:53
*** dendro-afk is now known as dendrobates14:54
sorenttx: Done, by the way.14:55
*** guynaor has quit IRC14:55
*** bkkrw has quit IRC14:55
*** guigui has quit IRC14:55
sorenI wonder how long it'll be before I get sufficiently annoyed that the Twisted help test case fails due to locale issues.14:56
*** scaleup has joined #openstack14:56
ttxjaypipes: about live-migration, maybe we should give termie a chance to approve it -- though it now has the required approvals so there is no real reason to.14:57
*** scaleup has quit IRC14:57
_0x44jaypipes: I am around, but not yet up. I'm in PST right now14:58
*** gunga has joined #openstack15:00
jaypipes_0x44: ah, welcome back :)15:00
jaypipesttx: ya, sure, I pinged termie above about it... no worries.15:00
_0x44jaypipes: Grazie :)15:01
*** bkkrw has joined #openstack15:02
openstackhudsonProject nova build #621: SUCCESS in 2 min 4 sec: http://hudson.openstack.org/job/nova/621/15:03
openstackhudsonTarmac: Fix a few things that were either missed in the execvp conversion or stuff that was merged after it, but wasn't updated accordingly.15:03
*** Tino has joined #openstack15:04
TinoHi there15:04
*** pvo has joined #openstack15:06
TinoI need help with openstack...15:07
TinoI can install and run nova und some node on a virtual box on my macbook but not on a real server15:07
*** ianweller has joined #openstack15:07
*** ianweller is now known as Guest1753415:08
Tinoubuntu 10.04 ist installed on both systems and I used the nova.sh script ant the instructions from here ... https://github.com/vishvananda/novascript15:09
Tinoon the real server I can not start an instance.. "unknown error occured"15:11
*** Guest17534 is now known as ianweller15:12
*** ianweller has joined #openstack15:12
sorenTino: There's usually some useful information in the log files..15:15
vishysoren: there was only one core approve before todd.  I don't know why todd didn't mark it15:15
sorenvishy: It's cool, I guess. It wouldn't have worked (due to the execvp branch)15:15
sorenvishy: ..but if someone would approve it now, that would by all sorts of awesome.15:16
sorenI just didn't feel like doing it myself since there might be some reason why you guys didn't.15:16
*** ctennis has quit IRC15:16
*** Ryan_Lane has quit IRC15:18
vishysoren: sounds good... I noticed a couuple of bugs in disk.resize15:21
jaypipesdprince, soren: k, execvp in trunk.15:22
vishy1) there is a typo in it from execvp15:22
sorenvishy: I fixed that.15:22
soren15:03 < openstackhudson> Project nova build #621: SUCCESS in 2 min 4 sec: http://hudson.openstack.org/job/nova/621/15:22
soren15:03 < openstackhudson> Tarmac: Fix a few things that were either missed in the execvp conversion or stuff that was merged after it, but wasn't  updated accordingly.15:22
sorenvishy: Try to keep up :)15:22
sorenAt least I think I did.15:22
vishysoren: cool, the other thing is that it doesn't seem to resize properly15:23
Tino+soren there is nothing in the logs15:23
*** Ryan_Lane has joined #openstack15:23
vishyhaven't been able to debug it yet, because I'm doing training15:23
sorenvishy: Let me just make sure that I actually did fix that resize execvp thing...15:24
vishysoren: no worries, I won't have time to do anything until sunday15:24
*** matclayton has quit IRC15:24
sorenErk.15:24
sorenNo.15:24
vishy:(15:24
sorenPushed to my lp:~soren/nova/execvp-fallout/ branch15:25
Tino+soren is ther any special logfile for nove which is not at /var/log15:26
* vishy heads away :(15:26
sorenTino: They're in /var/log/nova, usually.15:26
Tinodamn.. there no /var/log/nova15:27
annegentlewhat does state_path do, exactly? "Maintaining nova's state" - starting/stopping all services?15:27
sorenIt's a directory that holds some state.15:27
*** mgoldmann has quit IRC15:28
sorenLike instances data, network data, CA data... Stuff.15:28
* annegentle needs to understand "state"15:28
sorenannegentle: ^15:28
sorenannegentle: All the stuff we need to remember, but isn't in the database.15:28
sorenannegentle: Disk images, for instance.15:28
annegentlesoren: ah, ok. do other services store "state" in one location typically? Like is this a best practice?15:29
sorenannegentle: Yes.15:29
annegentlesoren: ok, thanks a bunch15:29
sorenannegentle: Sure thing.15:29
*** dragondm has joined #openstack15:31
sorenjaypipes: Can you apply your ninja skills to this one, too? https://code.launchpad.net/~soren/nova/execvp-fallout/+merge/5287015:32
*** hazmat has joined #openstack15:33
*** rchavik has quit IRC15:34
*** rnirmal has joined #openstack15:34
sorenPerhaps we should have a standing exception for the two-core-dev-approvals for small fixes for regressions.15:37
*** mRy has joined #openstack15:37
sorenThese are pretty obvious, simple regressions.15:37
*** ddumitriu has joined #openstack15:37
*** mRy is now known as Guest6950015:37
*** msassak has joined #openstack15:37
Tino+soren I could find any logs except the normal logs from ubuntu. /vat/log/nova does not exist. I have checked all screens15:38
soren"all screens"?15:38
sorenWhat does that mean?15:38
jaypipessoren: done.15:39
Tinoone for the ubuntu und when i start nove (like in the script i used) there will be another screen open to start the instances15:39
*** zenmatt has joined #openstack15:40
sorenjaypipes: ta very much.15:40
*** Guest11069 has quit IRC15:40
*** guigui has joined #openstack15:41
*** hadrian has joined #openstack15:44
jk0jaypipes: and here I thought you were just helping a guy out ;)15:44
Tino+soren do you know any other working complete installation manual? the wiki and docs from openstack wont work. only the nova.sh script worked https://github.com/vishvananda/novascript but only on a virtual box not on a real server...15:46
annegentleTino: there are many install methods, what is your pupose in installing?15:47
*** MarkAtwood has quit IRC15:47
annegentleTino: see http://docs.openstack.org/openstack-compute/admin/content/ch03s02.html for a list of methods15:47
*** MarkAtwood has joined #openstack15:47
openstackhudsonProject nova build #622: SUCCESS in 1 min 53 sec: http://hudson.openstack.org/job/nova/622/15:48
openstackhudsonTarmac: Another little bit of fallout from the execvp branch.15:48
annegentleTino: it's possible you're installing trunk and trunk itself is not working. We've had a lot of code merged in the last day or so.15:48
sandywalshjaypipes, ttx thanks for getting zones2 through ... that's a huge relief!15:49
ttxI hope zones3 will be a much smoother ride :)15:49
jaypipessandywalsh: now on to zones3 :)15:49
annegentleTino: an alternative package installation is ppa:nova-core/release rather than ppa:nova-core/rtrunk15:49
Tinoi tried the last 2 weeks all of this methods there... but nothing wirked.. some time an instance could not start, sometime an error occured before the start... so i tried the script i found in a video15:49
sandywalshjaypipes, exactly!15:49
annegentleTino: sub trunk for rtrunk I mean15:49
annegentleTino: might be a problem with your instance, might be a problem with networking, what troubleshooting have you tried?15:50
Tinoah i tried the scirpt shown in the video on youtube.. and you told how to do it easy..15:50
* soren twiddles thumbs, waiting for a race condition go "the other way"15:51
Tinoi just tried to find any log files without success15:51
sorenHow would you phrase that? I can't say "waiting for a race condition to happen", since the race condition is always there. It just usually ends well, but occasionally it works out differently.15:52
sorenTino: Well, if you're using the nova.sh script, your logs are in the various screens.15:52
annegentleTino: right - which screen where you on when you tried to look in var/log/nova?15:53
Tinoi treid both.. i only have 215:53
soren/var/log/nova will always show the same.15:53
*** lvaughn_ has quit IRC15:54
sorenI mean... It won't show you different stuff depending on the screen you're looking at. It's a filesystem. It's orthogonal to the tty to which you're connected.15:54
Tinobut there is no /var/log/nova15:54
sorenOk. I'm just saying that if there's no /var/log/nova, there won't be a /var/log/nova either if you look at it from another screen.15:55
Tinoyepp i know15:55
annegentleTino: well when I have installed wiht nova.sh I have something like 5-7 screens, what are missing?15:56
Tinoi got more screens starting the instances... but after nova.sh run i only have 215:56
annegentleTino: ok I"m going to run nova.sh and see what I get15:57
Tinothats great.. thanks15:57
*** nidO has joined #openstack16:03
dprincesandywalsh: I'm getting a Class SchedulerManager cannot be found exception.16:07
dprincesandywalsh: Any chance that is related to 782?16:08
dprinceI've been unable to create instances for a couple days now.16:08
dprince:(16:08
sandywalshdprince, did you just pull trunk?16:08
dprincesandywalsh: Yep. Using PPA packages just got this.16:09
*** mahadev has joined #openstack16:09
sandywalshdprince, hmm, looking16:09
sandywalshdprince, can you paste trace?16:09
dprincesandywalsh: I'm using packages. So is there perhaps a missing dependency or something?16:10
dprincenovaclient?16:10
*** guigui has quit IRC16:10
sandywalshdprince, shouldn't be for SchedulerManager16:11
*** lvaughn has joined #openstack16:11
sandywalshdprince, I assume you have novaclient installed?16:11
dprincesandywalsh: http://paste.openstack.org/show/846/16:11
dprincesandywalsh: There isn't a package for 'novaclient' is there?16:12
dprincesandywalsh: package i.e. Deb, etc.16:13
sorenthere is.16:13
sorenpython-novaclient or something.16:13
dprincesoren: roger that16:14
*** mahadev has quit IRC16:14
JordanRi1keword16:14
sandywalshdprince, there should be now. ttx added it to ppa yesterday16:14
sandywalshdprince,  Exception: No module named novaclient16:14
dprinceYep. That did the trick. Can we add a dependency to nova-network so that it installs python-novaclient?16:15
dprinceShould I create a ticket for that or is it something you just take care of?16:15
dprinceWhere is the source for the Deb packages BTW? In launchpad?16:15
sorenYes.16:15
dprincesoren: Sorry. Yes to the ticket? (I asked to many questions)16:16
JordanRi1keanyone know how to set the logging level of swauth-add-user ?16:16
sorendprince: Count to 10.16:16
JordanRi1keI run it and it just hangs, debug output could be nice16:16
*** bkkrw has quit IRC16:17
sorendprince: There. Added.16:17
dprinceSweet. Thanks you sir.16:18
sorenIt'll be included next time we build a package.16:18
Tinoannegentle could you find anything?16:19
*** johnpur has joined #openstack16:19
*** ChanServ sets mode: +v johnpur16:19
annegentleTino: still running ./nova.sh install...16:19
Tinoah ok16:20
*** mahadev has joined #openstack16:20
annegentleTino: it's interesting that it's picking up an image now, it didn't used to do that. Convenient.16:20
*** naehring has quit IRC16:20
dprinceHmmm. Still getting some errors after the execpv changes:16:21
dprincehttp://paste.openstack.org/show/847/16:21
jaypipessoren: were you planning on putting a test case on this: https://code.launchpad.net/~soren/nova/dnsmasq-leasesfile-init/+merge/52421 as sirp_ suggested? Or is it a case of the whole thing is stubbed out in the unit tests anyway, so no point.16:21
annegentleTino: ok, taking a VirtualBox snapshot prior to running, standby...16:21
Tinook16:22
dprinceI can chase this. Just wanted to put it out there in case anybody else is having similar issues.16:23
sorenjaypipes: I guess I could. It'll be a couple of hours, though.16:23
*** cber2001 has joined #openstack16:24
jaypipesmark: is this Mark Washenberger?16:25
jaypipessoren: up to you.16:25
*** ramkrsna has quit IRC16:26
*** markwash has joined #openstack16:28
*** dprince has quit IRC16:28
bcwaldonjaypipes: markwash == Mark Washenberger16:28
annegentleTino: ok, I have 9 screens running, and I've checked for /var/log/nova in 2 of them (test and nova)16:28
annegentleTino: and didn't find it yet16:28
annegentleTino: but in the test screen (number 8) I can run nova-manage service list16:29
jaypipesbcwaldon: ah, k :)16:29
Tinohmm okay.. i will chekc again my installation16:29
annegentleTino: heh, that's 816:29
jaypipesbcwaldon: on this MP: https://code.launchpad.net/~markwash/nova/lp727225/+merge/52754, should nova-core be reviewing it? Mark's set the reviewer to "Titan" and I don't know who that is?16:29
annegentleTino: and nova-manage service list tells me that nova-network is running, nova-compute is running, but there's a DEBUG message from sql-alchemy16:29
markwashjaypipes: I wasn't sure what to do with that field16:30
bcwaldonjaypipes: Titan is a Rackspace team (of which I am a member)16:30
markwashjaypipes: initially I tried to set up multiple requestors16:30
markwashjaypipes: but I might have mixed things up16:30
annegentleTino: so, it looks like trunk isn't quite running today, the nice thing with nova.sh is that you can do ./nova.sh branch lp:~username/nova/branchname16:30
annegentleTino: which gives you the option of installing another branch16:31
jaypipesmarkwash: oh, hi :)16:31
Tinook.. i will try another branch... release instead of trunk?16:31
jaypipesmarkwash: no worries :) Just do a Request another Review, type in nova-core, and select the top group there..16:31
markwashjaypipes: thanks, will do16:31
annegentleTino: ok, now I'm trying to remember how to get the release branch :)16:31
bcwaldonjaypipes: should we always add nova-core to merge props?16:32
jaypipesmarkwash: looks like a great patch, so I didn't want it to get lost in the backlog...16:32
jaypipesbcwaldon: it's the default I believe if you don't select anything.16:32
*** mustfg has joined #openstack16:32
Tinoin the .sh i can change from /trunk to /release16:32
bcwaldonjaypipes: ok, thanks for the info16:32
jaypipesbcwaldon: but it's up to you. If you want to do a team review before proposing to lp:nova, you can do that too...16:32
mustfgcan someone help me with the mysql database ?16:32
mustfgwith nova compute16:33
jaypipesmustfg: error?16:33
markwashjaypipes: should I also do a bzr commit --fixes ... ?16:33
annegentleTino: uh, that's for packages, this is for development branches housed in Launchpad.16:33
Tinohmm16:33
jaypipesmarkwash: yup, that would allow LP to auto-link the commit with the bug, and mark the bug Fix Committed when your patch lands in trunk.16:33
annegentleTino: hang on, I'll find it - or does anyone know if off the top of their head?16:33
annegentleTino: ah, here you go. lp:nova/bexar16:34
jaypipesmarkwash: --fixes=lp:72722516:34
*** kashyap has quit IRC16:34
annegentleTino: that's the latest release (Feb 3, 2011)16:34
Tinook i wil tried ./nova.sh branch lp:nova/bexar16:35
annegentleTino: Great! It really is the easiest way to try out nova... and get your feet wet, so to speak.16:36
*** mRy has joined #openstack16:37
Tinonow i have a strange prob with the screens... when i ust .7nova.sh run i will have some screens (detached and one attached) but it will not start.. i need to reboot i think16:37
*** mRy is now known as Guest2369116:37
jaypipesannegentle: icy wet. :)16:37
nidOHi, would it be possible to get a little help with the setup of swift please - i've got a 4-node cluster on vm's up and running (1xproxy/auth, 3xstorage), the rings are setup and balanced, i've been able to succesfully setup a user, I can correctly auth and stat the user, but trying to upload anything or post a container is failing16:39
*** ddumitriu has quit IRC16:41
*** Guest69500 has quit IRC16:41
*** neuro_damage has joined #openstack16:42
neuro_damagejaypipes: sup mang16:42
neuro_damagejaypipes: I see we're working on new exciting thins ;)16:43
jaypipesneuro_damage: hey :) how are ya?16:43
*** maple_bed has joined #openstack16:43
neuro_damagejaypipes: pretty good man, about to hit up work which is a little commute, I'll hit you up when I get int16:44
neuro_damageI was checking out SWIFT16:44
*** ctennis has joined #openstack16:44
neuro_damagesaw your comments in the documentation16:44
jaypipesneuro_damage: heh :)16:44
jaypipesneuro_damage: that's just about my only contribution to swift ;)16:45
neuro_damagejaypipes: you're everywhere man, everywhere! omnipotent keeper of all cloud source  code ;)16:45
neuro_damagejaypipes: haha, yeah I believe it was written just before you got there, then it seems they eventually opensourced it haha16:45
*** ctennis has quit IRC16:47
*** ctennis has joined #openstack16:47
*** maplebed has quit IRC16:47
*** dendrobates is now known as dendro-afk16:47
*** dprince has joined #openstack16:49
jaypipessoren: hey, could you check out http://paste.openstack.org/show/848/? It *seems* that nova.utils is hitting the datastore before the configuration (which has the FLAGS.sql_connection in it) is even read?16:50
jaypipessoren: this is mustfg's log file, btw.16:50
*** kashyap has joined #openstack16:51
*** enigma has joined #openstack16:55
*** eikke has quit IRC17:01
*** sandywalsh has quit IRC17:02
*** mustfg has quit IRC17:03
openstackhudsonProject nova build #623: SUCCESS in 1 min 57 sec: http://hudson.openstack.org/job/nova/623/17:03
openstackhudsonTarmac: initializing instance power state on launch to 0 (fixes EC2 API bug)17:03
*** sandywalsh has joined #openstack17:03
*** mustfg has joined #openstack17:04
*** skiold has quit IRC17:05
Tinoannegentle thanks for the tip with the new branch... now it works fine... but... the new instances are not comming up... just pending17:09
Tinoah i found three nova running.. i think this will not work... damn it... i kill them now and start a new one17:11
*** mustfg has quit IRC17:12
*** ewindisch_ has joined #openstack17:14
ewindisch_hi17:14
ewindisch_I hear that I"m causing trouble17:14
_0x44ewindisch_: Don't do that then. :)17:14
*** lamar has joined #openstack17:15
ewindisch__0x44: imho, causing trouble is a sure way to get stuff fixed ;-)17:15
*** mahadev has quit IRC17:16
*** mustfg has joined #openstack17:16
jaypipesewindisch_: ya, there were a few issues in your execvp patch, but all because we don't have good functional tests hooked up to Hudosn.17:18
*** cber2001 has quit IRC17:18
ewindisch_jaypipes: yeah. Well, to be honest, I never expected it to go in so painlessly.17:19
ewindisch_its not the type of change that doesn't cause a little bit of fallout.17:19
jaypipes:)17:20
*** mustfg2 has joined #openstack17:23
ewindisch_If anything else pops up, I don't mind getting related bugs assigned to me. I'll be around.17:24
*** mustfg has quit IRC17:29
*** ewindisch_ is now known as ewindisch17:32
*** pvo has quit IRC17:34
*** Nacx has quit IRC17:36
*** gesse has joined #openstack17:36
*** dprince has quit IRC17:36
*** mRy has joined #openstack17:37
*** mRy is now known as Guest1773917:38
_0x44jaypipes: Should the reviewer who gives a Disapprove or Needs Fixing set a merge prop back to WIP?17:39
*** gesse has quit IRC17:40
*** Guest23691 has quit IRC17:41
jaypipes_0x44: no, the submitter should set it to WIP when they start making changes/fixes.17:43
_0x44jaypipes: k, thanks17:43
*** joearnold has joined #openstack17:49
*** lamar has quit IRC17:50
jaypipessirp_, cory: FYI: http://code.google.com/p/sqlalchemy-migrate/issues/detail?id=11717:52
dubsjaypipes: thanks for the heads up17:53
*** matclayton has joined #openstack17:54
*** matclayton has joined #openstack17:54
*** grapex has joined #openstack17:56
*** dprince has joined #openstack17:56
*** dendro-afk is now known as dendrobates17:58
*** irahgel has left #openstack18:01
*** pvo has joined #openstack18:08
*** mahadev has joined #openstack18:12
*** eikke has joined #openstack18:13
*** allsystemsarego has quit IRC18:18
sandywalshhas anyone tried python-novaclient pip install on a mac yet?18:23
sandywalshsirp_ is getting this: http://paste.openstack.org/show/850/18:23
*** mrsrikanth has quit IRC18:25
*** hggdh has quit IRC18:26
uvirtbotNew bug: #732756 in nova "Nova fails to boot Linux VHD images under XenServer" [Undecided,New] https://launchpad.net/bugs/73275618:27
*** mray has joined #openstack18:29
*** hggdh has joined #openstack18:33
*** hggdh has joined #openstack18:33
*** dendrobates is now known as dendro-afk18:33
*** maple_bed has quit IRC18:34
*** maplebed has joined #openstack18:36
*** mRy has joined #openstack18:37
*** mRy is now known as Guest3167918:38
justinsbjaypipes, ttx, soren: Given that we all agree that we want real tests, what can I do to change my testing branch so that we can merge it? https://code.launchpad.net/~justin-fathomdb/nova/justinsb-openstack-api-volumes/+merge/5086818:39
*** mustfg2 has quit IRC18:40
JordanRi1keanyone have any thoughts on a swauth-add-user command just hanging, never returning anything?18:40
*** Guest17739 has quit IRC18:41
jaypipesjustinsb: make it smaller.18:42
jaypipesjustinsb: and make it not add any non-test functionality. :)18:42
justinsbjaypipes: I can make it smaller by pulling out the volume code.  Should knock about 100 lines out.18:43
justinsbjaypipes: But there is no added non-test functionality18:44
justinsbjaypipes: Everything is gated on a testing-only flag18:44
justinsbjaypipes: It's difficult to test something that doesn't actually work without making it work :-(18:45
*** MarcMorata has quit IRC18:45
jaypipesjustinsb: the Keys.API is new functionality, no matter what you might say :)18:46
jaypipesjustinsb: but the 2 of us went over all of this yesterday. I'd like to hear from the others..18:46
justinsbjaypipes: OK, but it's not public, it's for testing only, it exposed a bug (that keys shouldn't even be required)18:46
justinsbjaypipes: I'd like to hear from the others as well!18:47
kpepplesandywalsh , sirp_ : no, python-novaclient installs fine on my mac -- http://paste.openstack.org/show/852/18:49
sandywalshthanks kpepple I just pushed a little pypi distribution tweak. Glad to know it worked.18:50
*** enigma1 has joined #openstack18:55
*** enigma1 has quit IRC18:56
justinsbjaypipes: Feeling a little unhappy about the consistency of your review policy, on my testing patch compared to the execvp patch :-(18:56
*** blueadept has joined #openstack18:56
jaypipesjustinsb: the execvp patch was a) tied to a specific bug, b) reviewed by 3 reviewers, all with Approved, and b) didn't add any new functionality. What was inconsistent about it?18:57
*** enigma1 has joined #openstack18:58
*** enigma has quit IRC18:58
Vekfor cell phones, blame the FCC18:59
JordanRi1keswauth-add-user hangs anyone have any suggestions?18:59
*** mgoldmann has joined #openstack18:59
Vekheh19:00
kpeppleJordanRi1ke: got a paste ?19:00
JordanRi1keit literally doesn't do anything19:00
JordanRi1kejust hangs19:00
JordanRi1keand I get nothing in /var/log/messages19:01
JordanRi1kehttp://paste.openstack.org/show/854/19:02
JordanRi1kemy proxy-server.conf19:02
*** enigma1 has quit IRC19:02
Vekbah, mix, sorry 'bout that.19:02
justinsbjaypipes: Just want to clear the air.  It changed hundreds of lines of code (and there are ways to avoid that), it wasn't agreed in the Cactus plan (whereas testing is), the bug was only opened recently and was only theoretical, it only had two reviewers (one of which was you), I found a bug in it almost immediately (so there were likely more), and yet it only took 140 minutes to merge.  That seems inconsistent to me.19:02
kpeppleJordanRi1ke: can you telnet to port 8080 ?19:04
JordanRi1kei can curl it,and I get a 40419:04
JordanRi1ketrying to curl https:/ip:8080/v1 gives me a 412 precondition not met error19:05
JordanRi1kebut I am not sure if that is normal or not19:05
jaypipesjustinsb: are you talking about the original branch or soren's branch that had fixes to that branch?19:05
kpeppleJordanRi1ke: you don't have the headers which is probably the 412 error19:05
justinsbjaypipes: The original branch.  The fixes obviously should have been rushed through! :-)19:05
JordanRi1kekpepple: I can give you login info if you just want to poke at it really quick?19:06
kpeppleJordanRi1ke: when you execute, swauth-add-user does it just come back ? or does it not even exit ?19:06
JordanRi1kenever exits19:06
jaypipesjustinsb: well, the bugs weren't evident because we don't have any functional tests linked to Hudson. And, like I said, the branch was *linked to a bug report*. I take bug fixes as precedent over branches that aren't linked to either a blueprint or a bug report. Finally, the execvp branch did indeed changes lots of lines of code, but the changes to those lines of code were all almost the same.19:07
*** iRTermite has quit IRC19:07
*** iRTermite has joined #openstack19:07
*** bcwaldon has quit IRC19:07
jaypipesjustinsb: if you want to get on me about treating you unfairly in review, you will have to bring up a review of another branch that is more similar to yours.19:08
*** enigma has joined #openstack19:08
jaypipesjustinsb: in addition, your merge proposals are a tangled web of pre-req dependencies, and the execvp branch had no such complication.19:08
kpeppleJordanRi1ke: if you leave it, does it eventually time out ?19:09
jaypipesjustinsb: so while it may *seem* like I'm giving you a hard time, I'm actually trying *really* hard to give your branches the review time they deserve and to get others involved in the review. The fact that your branches are large and intricately interrelated does not make my job easy.19:09
JordanRi1kekpepple not sure how long I would have to leave it for that to happen19:10
JordanRi1keit has ben left alone for 2+ minutes before I killed it19:10
*** matclayton has quit IRC19:10
kpeppleJordanRi1ke: hold on ... let me look on that -- we are using bufferedhttp in swift19:11
*** photron has joined #openstack19:11
justinsbjaypipes: I mean this in a non-confrontational manner: Should I submit a series of small patches that don't really individually do much / make a lot of sense?  I feel my patches are bigger because they're achieving more.19:12
*** gaveen has quit IRC19:13
gholtJordanRi1ke: What's your swauth-add-user command line? Do you have -A https://127.0.0.1:8080/auth/ on it since you're using ssl and the -A value doesn't by default. (and i like run on sentences :)19:14
JordanRi1kegholt: well that returned right away at least, gave me a 500 error19:16
jaypipesjustinsb: on phone, sorry, hold on..19:16
uvirtbotNew bug: #732777 in nova "Lockfile sync failing on Mac OS X" [Undecided,New] https://launchpad.net/bugs/73277719:17
JordanRi1kegholt: http://paste.openstack.org/show/855/19:18
gholtHeheh, well now that you've tried many variations, did you check the logs to see why you were getting a 500 earlier?19:19
kpeppleJordanRi1ke: your swauth-user-add command is hanging on line 74 ... trying to do a conn = http_connect(parsed.hostname, parsed.port, 'PUT', path, headers, ssl=(parsed.scheme == 'https'))19:20
*** fabiand_ has joined #openstack19:20
kpeppleJordanRi1ke: which is trying to ensure the admin account exists19:21
JordanRi1kekpepple: brb 1519:21
JordanRi1kekpepple: how do I fix that?19:21
kpeppleJordanRi1ke: the admin account auth defaults to http://127.0.0.1:8080/auth/ ... can you use the -A https://50.56.93.69:8080/auth/ ?19:24
*** dendro-afk is now known as dendrobates19:26
kpeppleJordanRi1ke: you see something about the 500 error in the logs19:27
kpeppleJordanRi1ke: that 500 should be a stack trace in the logs19:27
*** burris has quit IRC19:30
*** jbryce has joined #openstack19:30
*** mRy has joined #openstack19:38
*** ewindisch has quit IRC19:38
*** joearnold has quit IRC19:38
*** mRy is now known as Guest4675219:38
*** ewindisch has joined #openstack19:38
*** dfg has joined #openstack19:38
btorchis it normal for cloud-controller (who is also a compute-node) to pick whatever else compute-node to use when launching a vm ?19:40
*** Guest31679 has quit IRC19:41
btorchI just lunched a new vm from the cc and for my surprise is launched on another compute-node I just attached to the nova environment19:41
kpepplebtorch: that is controlled by nova-scheduler19:41
*** MotoMilind has joined #openstack19:41
MotoMilindMy openvpn (cloudpipe) instance stays pending.  How do I go about debugging that?  Thanks.19:42
btorchkpepple: should I have the nova-scheduler also running on the other nova compute-nodes or just on the cloud-controller ?19:43
kpepplebtorch: just cloud controller ... nova-scheduler decides what compute node (anything running nova-compute that is enabled and active in the db) to run the vm on19:44
*** dendrobates is now known as dendro-afk19:45
btorchkpepple: cool so in the nova compute-node I will only have the nova-compute running19:45
kpepplebtorch: probably ... not sure if you need nova-instancemonitor (for monitoring) on there or not19:46
btorchMotoMilind: have you checked the nova logs ? /var/log/nova and perhaps the instace console log if there is one /var/lib/nova/instances19:46
btorchkpepple: don't know either but that wasn't part of the installation proceedures so it's not installed anywhere19:47
MotoMilindI only checked /var/log/nova/nova-api.log.  It doesn't record anything.  Not sure where cloudpipe is logging, I didn't see a log file specifically for the same.  I will check if there is a instances' log file.  Thanks.19:47
kpepplebtorch: it's not required ... but i think it gathers rrd stats for you (which might be nice)19:47
*** dendro-afk is now known as dendrobates19:48
btorchkpepple: true I'll check that out eventually19:48
btorchkpepple: thanks19:48
kpepplebtorch: np19:48
*** mgoldmann has quit IRC19:48
MotoMilindHmm, several log files have 'cloudpipe' in it.  I will go through them now.19:49
*** joshuamckenty has joined #openstack19:52
JordanRi1kekpepple: when I use the IP I get a 40119:54
*** enigma has quit IRC19:55
*** clauden has joined #openstack19:55
kpeppleJordanRi1ke: where are your logs on that server ? i didn't see them anywhere (at least in /var/log/ and /root/swift/)19:55
JordanRi1kei havent set a specific location so they just got to /var/log/messages AFAIK19:55
JordanRi1keat least that is where I see some http request info19:56
*** joearnold has joined #openstack19:56
*** enigma has joined #openstack19:56
*** dendrobates is now known as dendro-afk19:56
uvirtbotNew bug: #732801 in nova "Sporadic failure when creating XS vms from machine-images" [Undecided,New] https://launchpad.net/bugs/73280119:56
letterjJordanRi1ke: Was it a software version issues that ended up being the problem yesterday evening?19:57
*** gunga has left #openstack19:58
JordanRi1keletterj: yeah, eventlet 9.12, upgraded to 9.13 and object-replicator started workin19:58
JordanRi1keinterestingly, that install, and also this brand new install19:58
JordanRi1keseem to have the same issue, where swauth-add-user just hangs and returns nothing19:58
JordanRi1keboth were installed from swift-core packages19:58
*** brd_from_italy has joined #openstack19:58
*** dendro-afk is now known as dendrobates19:58
letterjJordanRi1ke: I wonder if there is an issue with package dependencies in the current ppas?19:59
JordanRi1kealso, I used the swift multi node install doc, so if anything is wrong in that, that is what I have done19:59
JordanRi1keletterj: my new install today pulled the right version19:59
*** rcc has quit IRC19:59
JordanRi1kein the packages it has a depend on .0.9.8 or greater, when it should be 0.9.13 or greater now20:00
JordanRi1keso, yes, there is :-D20:00
letterjA bug needs to be created for that.  I can create on if you want me to20:00
JordanRi1kei can do it this weekend, but if you want to, feel free20:01
letterjI'll take care of it.20:01
JordanRi1keletterj = ?20:01
openstackhudsonProject swift build #216: SUCCESS in 29 sec: http://hudson.openstack.org/job/swift/216/20:01
openstackhudsonTarmac: Fixes to work with WebOb 1.0.1 and WebOb 1.0.320:01
*** scottsanchez has joined #openstack20:01
scottsanchezhi20:02
letterjJordanRi1ke: ?20:02
*** jesse_ has joined #openstack20:02
JordanRi1kewho are you? I still don't know some peoples handles20:02
*** JordanRi1ke is now known as JordanRinke20:02
letterjI sat next to you at the OpenStack Dave & Busters Outing in San Antonio20:03
JordanRinkePayne?20:04
letterjyes20:04
JordanRinkeahh cool, I thought it was you but I wasn't entirely sure20:04
JordanRinkeI know you, just didn't know your handle :-D20:04
*** vvuksan1 has joined #openstack20:08
gholtI made a note to myself to update the swift multinode docs. The swauth-add-user line should have -A https://<AUTH_HOSTNAME>:8080/auth/ added to them.20:08
gholtSame with most any other swauth- call in that doc.20:09
*** jesse_ is now known as anotherjesse20:11
JordanRinkeso when I try that swauth-add-user command I get a 500 error and this in the log20:11
JordanRinkeMar 10 20:11:08 swift1 proxy-server - - 10/Mar/2011/20/11/08 HEAD /v1/AUTH_.auth/system HTTP/1.0 404 - - - - - - txde82ffdc-2610-4f44-a46b-2df9301f926a - 0.003820:11
JordanRinkeMar 10 20:11:08 swift1 proxy-server - - 10/Mar/2011/20/11/08 PUT /v1/AUTH_.auth/system HTTP/1.0 404 - - - - - - txde82ffdc-2610-4f44-a46b-2df9301f926a - 0.002820:11
JordanRinkeMar 10 20:11:08 swift1 proxy-server - - 10/Mar/2011/20/11/08 HEAD /v1/AUTH_.auth/system HTTP/1.0 404 - - - - - - tx2842832b-da01-426e-b939-d7634fe2d6c3 - 0.002820:11
gholtGrrr20:12
gholtJordanRinke: Sorry, looks like another step is missing from the doc.20:12
gholtJordanRinke: Run swauth-prep -A https://<AUTH_HOSTNAME>:8080/auth/ -K swauthkey20:13
gholtJordanRinke: Then continue with your add-user call20:13
JordanRinkethat command gives me a 500 server error too20:14
JordanRinkeMar 10 20:13:51 swift1 proxy-server - - 10/Mar/2011/20/13/51 PUT /v1/AUTH_.auth HTTP/1.0 503 - - - - - - txf83f0615-4d41-4b19-9913-e3dd33ae0465 - 0.003620:14
gholtThere should be something else near that line indicating why it 503d20:15
JordanRinkenope20:15
gholtOkay, uhm. tail it, hit enter a bunch, and in another term run the swauth-prep and see what all it does20:16
JordanRinkewill it just posts one line20:16
JordanRinkeMar 10 20:16:19 swift1 proxy-server - - 10/Mar/2011/20/16/19 PUT /v1/AUTH_.auth HTTP/1.0 503 - - - - - - tx2ee386b3-e5a2-4805-88bc-8fbcd8d58001 - 0.006620:17
*** daveiw has quit IRC20:17
JordanRinkegholt - want a login to this box?20:18
gholtI'll have to get back to you some other time; doing a prod upgrade right now.20:18
jaypipesjustinsb: sorry man, been on phone with u-verse tech support for an hour... fucking morons.20:19
JordanRinkeive tried adding "LOG_LEVEL = debug", "log_level = debug", "set log_level = debug"20:20
JordanRinkeall of which did not increase the logging, I just get that one line20:20
justinsbjaypipes: No problem!  At least you're online - can't be too bad!20:20
jaypipesjustinsb: oh yes it is.20:20
justinsbjaypipes: So you wouldn't recommend u-verse?20:20
*** h0cin has quit IRC20:21
uvirtbotNew bug: #732813 in swift "Possible eventlet dependency problem" [Undecided,New] https://launchpad.net/bugs/73281320:21
jaypipesjustinsb: it's fine until you need to talk to a tech support person who has any clue what they are doing. It took an hour back and forth between 6 people to finally land on a level 2 tech that knew how to unblock port 25 outbound for me. retarded.20:22
justinsbjaypipes: You're trying to run your own SMTP server from home?  I thought there were too many IP blacklists to make that really practical these days..20:23
jaypipesjustinsb: just trying to send an email from my rackspace account. no luck still.20:24
JordanRinkejaypipes: I just use OWA at home :/20:25
*** joearnold has quit IRC20:26
jaypipesJordanRinke: OWA is the reason I have spent the better part of 2 hours trying to solve this problem. It is by far the worst-written software ever. I mean, come on, reply to someone and it doesn't even show you the original text in a way that the receievr of your response can tell who said what. It's a complete piece of shit.20:27
letterjJordanRinke: Can you take that transction number and search the logs on the account nodes?20:27
*** hadrian has quit IRC20:28
justinsbjaypipes: Auto-forward to gmail?20:28
jaypipesJordanRinke: and now it seems that even though I've gotten port 25 opened up, I can't even log in to mail.rackspace.com to send an email via SMTP... grr. so friggin annoyed right now with RS IT's delusion that "Oh, everyone at Rackspace must be on a RS network... Where is your cube, I'll just come over and fix things." Argh.20:29
jaypipesjustinsb: it doesn't work. tried it. can't get gmail to accept the rackspace mail server because of a bad CA on it.20:29
justinsbjaypipes: Sounds like a fun morning for you!20:30
jaypipesjustinsb: morning was fine. afternoon has been for shit.20:31
justinsbjaypipes: Sorry, forgot you're not a left-coaster!20:32
jaypipesjustinsb: approved on test client. nice breakout.20:33
justinsbjaypipes: Thanks, though it doesn't really do anything.  Is this the way to go?20:33
jaypipesjustinsb: remember that I'm not some review dictator. I'm only one of more than a dozen reviewers in nova-core...20:34
jaypipesjustinsb: for this specific case, I believe breaking into these chunks is the way to go. For this specific case, yes.20:34
JordanRinkeno logs soo20:34
JordanRinkeI tried swift-account-replicator /etc/swift/account-server.conf20:34
justinsbjaypipes: OK.  More launchpad karma for me, I guess.20:35
JordanRinkeand I got an error saying20:35
jaypipesjustinsb: heh, I don't even think about the karma... :)20:35
JordanRinkeConfigParser.NoSectionError: No section: 'account-server'20:35
JordanRinkewhich looking at account-server.conf20:35
JordanRinkethere isnt a section specifically caled account-server but there is one called20:35
*** reldan has quit IRC20:36
JordanRinkeapp:account-server20:36
JordanRinkevia the doc here http://swift.openstack.org/howto_installmultinode.html20:36
*** lucas_ is now known as lucas20:36
*** lucas has joined #openstack20:37
JordanRinkeI changed that to just account-server and it looks like it is launching and binding on a port now20:37
JordanRinkesed 's/app://g' *.conf20:37
JordanRinkeerrr20:38
*** mRy has joined #openstack20:38
*** mRy is now known as Guest4645220:38
*** joshuamckenty has quit IRC20:39
*** johnpur has quit IRC20:40
*** burris has joined #openstack20:40
JordanRinkeok20:41
JordanRinkeso that is the problem20:41
JordanRinkethe proxy-server.conf requires app:proxy-server20:42
*** Guest46752 has quit IRC20:42
JordanRinkethe rest of the conf files, you can't have the app: prefix20:42
JordanRinkeso the multi node doc is wrong, and also that isnt consistent across services20:42
openstackhudsonProject nova build #624: SUCCESS in 1 min 53 sec: http://hudson.openstack.org/job/nova/624/20:43
openstackhudsonTarmac: Add a new IptablesManager that takes care of all uses of iptables.20:43
openstackhudsonPort all uses of iptables (in linux_net and libvirt_conn) over to use this new manager.20:43
openstackhudsonIt wraps all uses of iptables so that each component can maintain its own set of rules without interfering with other components and/or existing system rules.20:43
openstackhudsoniptables-restore is an atomic interface to netfilter in the kernel. This means we can make a bunch of changes at a time, minimising the number of calls to iptables.20:43
JordanRinkelol well at least that got swauth-prep to run20:43
JordanRinkei still get a 500 trying to swauth-add-user20:43
nidOHi all, would anyone be able to point me in the direction of any obvious mistakes I may have made during swift setup that causes attempts to create containers return a 404 on each storage node?20:43
*** bkkrw has joined #openstack20:44
JordanRinkemoving in the right direction now, I have logs on the nodes now20:45
* soren high-fives openstackhudson20:47
*** bcwaldon has joined #openstack20:48
JordanRinkenid0 does your device actually exist?20:48
nidOJordanRinke: each node is there and seems to be setup mostly correctly, i've an auth/proxy node and 3 storage nodes, all 3 nodes are setup in all 3 rings and balanced, i've got a user created through devauth and can auth the user fine20:49
JordanRinkethis is the error I am getting on the account nodes now: http://paste.openstack.org/show/858/20:50
JordanRinkeshow me the error you are getting nid0?20:50
nidOtrying to directly upload a file straight off as suggested in the docs just gives me a 400 error for creating the container, then a 404 for the file upload20:50
*** Guest46452 has quit IRC20:50
nidOJordanRinke, sec20:50
JordanRinkealso20:51
JordanRinkeif you run20:51
*** Guest46452 has joined #openstack20:51
* jaypipes thinks he's finally figured out how to get around OWA... \o/ ty gmail and tr3buchet...20:51
JordanRinkenetstat -tulpn do you have services listening on 6000,6001,6002 if you did a default mutli node install?20:51
* jaypipes very much looking forward to removing a particular bookmark from his browser toolbar...20:52
JordanRinkeas i have just found out, part can be working while the other is failing20:52
*** mgoldmann has joined #openstack20:52
_0x44soren: Your test fails on my machine20:53
nidOyep, theyre listening on the ports - the syslogs on each storage nodes show the requests actually being received too, but then failing, just pastebinning the errors both ends20:54
*** anotherjesse has quit IRC20:54
nidOJordanRinke: proxy-side is http://pastebin.com/9G4Q3GWa20:56
nidOall 3 storage nodes' syslogs show: http://pastebin.com/byWDaEsD20:56
jarrodis anyne using vlan manager where the instance is assigned the public ip?20:57
*** MarcMorata has joined #openstack20:58
btorchkpepple: you mentioned that the nova-scheduler will pick the compute node when deploying an image .. I assume from the services table ?21:01
kpepplebtorch: depends on the scheduler that you choose (there are different ones), but yes21:02
kpepplebtorch: you can check the services table with nova-manage21:02
btorchI no longer have the  nova-scheduler running on the compute-node but the services table still shows it there21:02
kpepplebtorch: shows it enabled or alive ?21:03
btorchkpepple: cool just saw it and will disable it21:03
jaypipesworst warning ever in documentation (from sqlalchemy migrate docs): "Warning: test command executes actual script, be sure you are NOT doing this on production database."21:03
btorchkpepple: shows disabled 021:03
*** lvaughn has quit IRC21:04
kpepplebtorch: yeah, not sure why we use disabled or deleted in the negative form21:04
btorchbash style error code maybe :)21:06
btorchnevermind to that :)21:07
jaypipessirp_, dubs: I'm *really* tempted to rip out sqlalchemy-migrate and replace with a simple upgrade/downgrade mechanism that just takes straight SQL code and executes it against the database...21:07
jaypipesnotmyname, creiht, gholt: how do you guys handle database migrations, btw? I know you don't use SQLAlchemy, obviously, but how do you handle changes to the schema?21:08
JordanRinkeok, so the app: issue has to do with the version21:08
*** ddumitriu has joined #openstack21:09
*** dendrobates is now known as dendro-afk21:09
JordanRinkethe doc doesn't tell you to add the ppa to the storage nodes, which is just a step I overlooked21:09
tr3buchetjaypipes: anytime!21:09
JordanRinkeok, upgraded everything to the same version again, added the app: stuff back and I am getting the same error :x21:13
*** ccustine has joined #openstack21:17
*** MarkAtwood has quit IRC21:18
dubsjaypipes: are you still using 0.6-1 ?21:18
*** lvaughn has joined #openstack21:19
btorchkpepple: cool thanks, it seems like after disabling the scheduler on box2 it launched it on box121:19
*** joearnold has joined #openstack21:19
JordanRinkele sigh21:20
kpepplebtorch: np21:20
JordanRinkekpepple: any guess on swauth-add-user not working after a good swauth-prep21:20
kpeppleJordanRinke: sorry, lost the thread on what you were doing. are you still getting the same hanging problem ? or is it returning 404/500 ?21:21
JordanRinkeit returns a 50021:21
JordanRinkewe eventually found out my services werent binding21:21
JordanRinkewhich i just figured out was a versioning issue and the conf file, based on the install doc21:21
JordanRinkeso that is all setup now, they bind etc21:21
JordanRinkeand I can swauth-prep properly21:21
JordanRinkewhen I swauth-add-user I get a 50021:22
JordanRinkeand this on the node:21:22
JordanRinkeMar 10 21:20:50 swift2 account-server 50.56.93.69 - - [10/Mar/2011:21:20:50 +0000] "HEAD /sdb1/3715/AUTH_.auth" 204 - "tx3a11d1de-e6ff-49a1-ae2b-3bceeec2607b" "-" "-" 0.0018 ""21:22
JordanRinkeMar 10 21:20:50 swift2 object-server 50.56.93.69 - - [10/Mar/2011:21:20:50 +0000] "GET /sdb1/29394/AUTH_.auth/.token_4/AUTH_itk9e47de099e294b3cbd0b810d991b9514" 404 - "-" "txbd6a8ebc-c63a-4c28-92bb-37ded7233028" "-" 0.000321:22
JordanRinkeMar 10 21:20:50 swift2 account-server 50.56.93.69 - - [10/Mar/2011:21:20:50 +0000] "HEAD /sdb1/3715/AUTH_.auth" 204 - "tx45e1ed69-8638-4ee1-b0d3-65591b6782a2" "-" "-" 0.0017 ""21:22
kpeppleJordanRinke: does it give you account creation error or user creation error ?21:23
JordanRinke500 on both21:24
*** photron has quit IRC21:24
markwasheday: I'm not sure quite what you mean by exceptions with data limits21:24
JordanRinkeAccount creation failed: 500 Server Error21:24
JordanRinkeUser creation failed: 500 Server Error21:24
markwasheday: right now I'm working on adding stuff like "OnsetFileContentQuotaError" which could then be caught explicitly21:25
*** bkkrw has quit IRC21:25
markwasheday: but it feels like a noob move to add a different exception type for every way a function can fail21:25
kpeppleJordanRinke: okay, swauth-user-add tries to ensure that the admin account exists and that is probably the 204 or 404 error you are seeing in the log.21:26
MotoMilind@btorch: Aaha, found this in nova-compute.log:21:26
larissaMotoMilind: Error: "btorch:" is not a valid command.21:26
*** mgoldmann has quit IRC21:26
MotoMilindbtorch: Aaha, found this in nova-compute.log:21:26
JordanRinkethe admin account?21:26
*** bkkrw has joined #openstack21:26
btorchlarissa: hehe :)21:27
larissabtorch: Error: "hehe" is not a valid command.21:27
btorch:(21:27
edaymarkwash: I'm just saying return int's of limits needed to construct a proper message21:27
MotoMilind2011-03-10 12:20:51,248 INFO nova.virt.libvirt_conn [-] instance instance-0000001d: Creating image21:28
MotoMilind2011-03-10 12:20:51,698 ERROR nova.exception [-] Uncaught exception21:28
MotoMilind(nova.exception): TRACE: Traceback (most recent call last):21:28
MotoMilind(nova.exception): TRACE:   File "/usr/lib/pymodules/python2.6/nova/exception.py", line 116, in _wrap21:28
MotoMilind(nova.exception): TRACE:     return f(*args, **kw)21:28
*** MotoMilind has quit IRC21:28
btorchMotoMilind: what did u find ?21:28
kpeppleJordanRinke: yes, it checks the admin user and admin key with the call that is erroring with "account creation failed"21:28
*** MotoMilind has joined #openstack21:28
MotoMilind2011-03-10 12:20:51,248 INFO nova.virt.libvirt_conn [-] instance instance-0000001d: Creating image21:28
MotoMilind2011-03-10 12:20:51,698 ERROR nova.exception [-] Uncaught exception21:28
MotoMilind(nova.exception): TRACE: Traceback (most recent call last):21:28
MotoMilind(nova.exception): TRACE:   File "/usr/lib/pymodules/python2.6/nova/exception.py", line 116, in _wrap21:28
MotoMilind(nova.exception): TRACE:     return f(*args, **kw)21:28
*** MotoMilind has quit IRC21:28
edaymarkwash: I guess I don't see it as a noob move, it's just detail handling needed when you have multiple APIs with different naming conventions21:28
*** MotoMilind has joined #openstack21:29
JordanRinkei haven't created any users21:29
btorchMotoMilind http://paste.openstack.org/21:29
JordanRinkeim just trying to do the first command, to make my first user21:29
markwasheday: okay, so you won't mind if I make three new quota error classes?21:29
markwasheday: they'll end up being meaningful in themselves and allow easy catching21:29
edaymarkwash: I won't, but I can't speak for others :)21:30
kpeppleJordanRinke: can you swauth-list ?21:31
justinsbmarkwash, eday: How about one quota error class which has a parameter of the quota that's been violated?21:31
MotoMilindJust pasted my stack trace21:31
*** reldan has joined #openstack21:31
uvirtbotNew bug: #732866 in nova "OpenStack API authentication information leakage" [Undecided,New] https://launchpad.net/bugs/73286621:31
MotoMilindTurns out that I don't have ami-cloudpipe image21:32
JordanRinkeroot@swift1:/etc/swift# swauth-list -A https://localhost:8080/auth/ -K sosecure21:32
JordanRinke{"accounts": [{"name": "system"}]}21:32
markwashjustinsb: that sounds feasible as well, though I don't want to accidentally mess up any kwargs that are already part of Exception::__init__21:32
JordanRinkekpepple: nothing listed21:32
MotoMilindin '/var/lib/nova/images/ami-cloudpipe'21:32
kpeppleJordanRinke: are you following http://swift.openstack.org/howto_installmultinode.html under "Create Swift admin account and test"21:33
JordanRinkeyes21:33
markwashjustinsb, eday: there might actually already be a good way to do with with the existing quotaerror class, researching now21:33
btorchMotoMilind: there you go .. I never used those cloudpipe images. so you have it installed somewhere else I guess21:33
*** dprince has quit IRC21:34
JordanRinkekpepple: and I am failing on step 121:34
JordanRinkeI am using swauth, so I added the -A http://localhost:8080/auth/21:34
kpeppleJordanRinke: and what super_admin key ?21:34
JordanRinkethe one I set in proxy-server.conf21:35
JordanRinkeI did the missing swauth-prep step too21:35
JordanRinkeusing that password, and that ran with no errors21:35
MotoMilindActually, find / -name ami-cloudpipe returns empty.  I don't have this image21:35
MotoMilindI guess I need to locate it and download it21:35
edayjustinsb, markwash: whatever is easiest, although some core Python modules do have a convention of creating multiple class types for detailed exception handling21:36
* kpepple looks through swift/proxy/server.py for hints21:36
MotoMilindDoes anyone know where I can find this image, ami-cloudpipe?21:37
*** nerens has quit IRC21:37
justinsbeday, markwash: I think that best practice is to have a base exception class that contains all the information (i.e. the violated quota, and ideally the relevant values).  They, if you believe that people will want to catch specific subsets, you create and throw a derived class for convenience21:38
justinsbeday, markwash: At least that's what you do in languages where people worry about this sort of thing :-)21:38
*** nRy has joined #openstack21:38
btorchMotoMilind: what OS are u using for the host ?21:39
MotoMilindubuntu21:39
edayjustinsb: sure, base quota class makes the most sense if there are common values21:39
btorchMotoMilind: version ?21:39
MotoMilindyep, checking, sorry21:39
MotoMilindroot@openstack01:~# uname -a21:40
MotoMilindLinux openstack01 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 23:42:43 UTC 2011 x86_64 GNU/Linux21:40
markwashjustinsb: right now, there is a code in ApiError which QuotaError blindly inherits21:40
markwashjustinsb: I think I'm going to overload that with my own string codes21:41
markwashjustinsb: that seems somewhat consistent with the approach you were talking about21:41
*** Guest46452 has quit IRC21:41
justinsbmarkwash: That sounds good; it looks like the EC2 API then exposes that in a separate element to avoid string parsing21:42
*** miclorb has joined #openstack21:43
justinsbmarkwash: The OpenStack API approach looks like it's totally fubar21:43
justinsbmarkwash: So no point worrying about the OS API!21:43
markwashjustinsb: lol unfortunately agree on the fubar aspect21:44
MotoMilindEven on my OpenStack CentOS install, I don't see the ami-cloudpipe image21:44
kpeppleJordanRinke: it looks like the 204 response in the logs indicate that the user was added but the 404 that follows says that the returned storage url is bad21:44
MotoMilindI wonder if it is just named differently21:44
markwashjustinsb: but also unfortunately I still worry21:44
justinsbmarkwash: Good luck with that21:45
JordanRinkekpepple: so, suggestion?21:46
JordanRinkei looked on the device, under accounts and I do see stuff there21:47
MotoMilindHere you go! https://answers.launchpad.net/nova/+question/142822  There is no image available, I will have to create one21:49
*** hadrian has joined #openstack21:51
kpeppleJordanRinke: i'm a bit baffled ...21:54
*** Anon349 has joined #openstack21:55
*** Tino has left #openstack21:56
JordanRinkei see the account/object/container folders21:56
*** kashyap has quit IRC21:56
JordanRinkeand they have stuff in them21:56
Anon349what?21:56
Anon349someone here with asperger?21:56
*** kashyap has joined #openstack21:57
*** Anon349 has left #openstack21:58
*** fabiand_ has quit IRC21:59
kpeppleJordanRinke: i'm putting together my small cluster ... see if i have the same problem21:59
btorchMotoMilind: sorry got busy ... have you tried just using an ubuntu UEC image to see if things work there ?22:02
soren_0x44: The metadata one?22:03
soren_0x44: Can you pastebin the error?22:03
_0x44soren: One sec22:03
_0x44soren: http://paste.openstack.org/show/861/22:03
sorencallable? Why would it have to callable?!?22:04
sorenOddness.22:04
_0x44soren: It's in the DirectCloudTestCase, so I'd imagine it's something around         self.cloud.compute_api = proxy.compute22:05
*** lvaughn has quit IRC22:05
*** lvaughn has joined #openstack22:05
_0x44in test_direct.py on line 10122:05
* soren wanders back to the ol'e drawing board22:05
*** ivan has quit IRC22:07
_0x44soren: The test succeeds in the regular CloudTestCase, but not in thedirect one22:07
soren_0x44: Ah.22:07
soren_0x44: Ok.22:07
justinsbjaypipes: Well, the good news is that by breaking up the tests I'm finding more bugs.  Another test, another bug - I'm probably batting about .60022:08
nidOJordanRinke: Just to compare my setup to yours as my problem's still baffling me and im only a couple of steps further than you - did you say you have accounts/container/object folders on the storage partitions of each node?22:09
JordanRinkeyeah22:09
nidOhum, any idea at what point they got created for you? I have an accounts folder and can create/manipulate accounts and auth to them correctly, but there's nothing else on my storage partitions22:10
nidOno objects or containers folders22:10
*** bcwaldon has quit IRC22:10
JordanRinkeyeah22:10
JordanRinkethere is a missing command22:11
JordanRinkedid you run22:11
*** MarkAtwood has joined #openstack22:11
JordanRinkeswauth-prep ?22:11
nidOi'm using devauth22:11
JordanRinkealso, if your services arent actually running they won't be there22:11
JordanRinkeah ok22:11
JordanRinkeare you doing a single box, or multi node setup?22:11
nidOits multi node in virtual machines - i've got 1 proxy/auth box and 3 storage boxes - when i create a user it replicates out to the storage partitions fine22:12
JordanRinkeok, so on your node22:13
JordanRinkewhat version does22:13
JordanRinkeaptitude show swift-object22:13
*** ctennis has quit IRC22:13
JordanRinkeshow ?22:13
*** ivan has joined #openstack22:13
nidOon the proxy/auth node it shows as not installed and optional, on the storage nodes its 1.2.0-0ubuntu1~lucid022:14
Ryan_Lanewith nova 2011.1 there is supposed to be some kind of console service installed, right?22:16
Ryan_Lanethat was part of the missing files?22:17
Ryan_Laneor is that 2011.1.1?22:18
Ryan_Laneand if so, is that supposed to be in the release ppa now?22:18
*** grapex has left #openstack22:19
dubsewindisch: you around?22:19
ewindischhey22:19
*** lvaughn_ has joined #openstack22:20
dubshi there.  quick question for you.  i'm about to start work on some changes around the vif_rules.py script.   i noticed you committed a change to it recently.22:20
JordanRinkekpepple: fixed it22:20
ewindischdubs: yes22:20
kpeppleJordanRinke: how ?22:20
JordanRinkekpepple: the IP in my proxy-server.conf was an intneral IP22:20
kpeppleJordanRinke: ahhhhh22:21
JordanRinkeso, when the node tried to reach out to it, it failed22:21
JordanRinkei really wish there was WAY better logging22:21
dubsi was wondering if there was a reason that the first two apply_ methods pass the params dict to the commands, but in the third you one pass individual elements from the dictionary.22:21
dubsnot really a huge deal, just searching for a reason since it looks sort of deliberate22:22
ewindischdubs: brb.. new computer, checking out the code22:22
*** brd_from_italy has quit IRC22:23
*** lvaughn has quit IRC22:23
*** ctennis has joined #openstack22:24
*** ctennis has joined #openstack22:24
ewindischdubs: because I was being quick about it. I went back and tried to clean it up, but clearly missed some.22:27
*** ppetraki has quit IRC22:27
ewindischand I see a bug in one of the calls to ebtables, which I'll have to now patch... thanks ;-)22:28
dubsewindisch: ah ok.  thanks :)22:28
*** sebastianstadil has joined #openstack22:28
*** adjohn has joined #openstack22:29
*** joshuamckenty has joined #openstack22:34
kpepplejustinsb: not sure if i agree with your 732907 bug. remember that nova-manage zipfile is an admin command not an end user command. the admin should be handing out credentials and it should fall to them to give out the correct ones.22:36
justinsbkpepple: So you're in favor of having different sets of credentials for EC2 and OpenStack?  Though I disagree with you, I'm glad somebodies finally had the guts to stand up for the other side!22:37
*** cascone has joined #openstack22:38
justinsbkpepple: I don't see why we would want two sets of credentials, even if we can mitigate it using a zipfile22:38
*** mRy has joined #openstack22:38
justinsbkpepple: I can just imagine the support calls!22:38
*** mRy is now known as Guest8146622:38
justinsbkpepple: I would imagine that many installations would run both EC2 and OpenStack22:38
justinsbkpepple: If we're going to rely on a 'magic file', we should do the right thing and use a secure client certificate!22:39
kpepplejustinsb: hehe ... not sure if i am in favor of it per se. i'm just saying that the end user shouldn't be getting the raw zipfile ... i imagine that they will use some kind of portal to sign up and then the portal will give them the proper credentials ... depending on what the operator decides to offer.22:40
kpepplejustinsb: no, i don't believe most installs will run both APIs supported22:40
kpepplejustinsb: maybe for small private clouds, but operators will use the OpenStack API since they probably can't use EC2 API22:40
kpepplejustinsb: not against the certificate idea22:41
justinsbkpepple: We can hope :-)22:41
justinsbkpepple: On both client certificates and OS API winning :-)22:41
kpepplejustinsb: for operators, OpenStack API is probably the only choice unless they want to be sued by Amazon for copyright ...22:42
*** nRy has quit IRC22:42
justinsbkpepple: There's also the point that the Amazon API simply isn't very good22:42
justinsbkpepple: But anyway, I had to file a bug so we could track the issue22:43
kpepplejustinsb: i was always in favor of the Sun Cloud API but then ... i'm ex-sun22:43
justinsbkpepple: It may be resolved as 'not a bug' - feel free to comment there that you expect operators to sort it out22:43
kpepplejustinsb: true, good to get it on the agenda for the summit22:43
justinsbkpepple: But I think this is still not an ideal solution :-)22:44
justinsbkpepple: I have a Sun Cloud sticker on my laptop :-)22:44
justinsbkpepple: It's holding up much better than the OpenStack one!22:44
*** jero has quit IRC22:44
edayjustinsb: re: user bug in APIs, it's not really relevant since the OS API won't even have a single auth option long term. Right now we have one, but what about when we support token based, oauth, and simple user/pass? Apps need to know how to pass credentials of any type, which can also include ec2 format22:44
kpepplejustinsb: sigh ... probably the only sun thing still holding up well :)22:44
justinsbkpepple: Did you see the support for Solaris hosted iSCSI volumes? :-)22:45
justinsbeday: I know that everyone's saying that everything's going to be pluggable etc etc, but I wanted to file the bugs in today's code because today's code has a nasty habit of being copied-and-pasted into tomorrow's :-)22:46
*** markwash has quit IRC22:47
justinsbeday: It's also a pretty serious bug!22:47
kpepplejustinsb: no, will have to look at that ... i actually still have a solaris boxen here22:47
justinsbkpepple: I keep checking to see if I can get an Illumos/Nexenta install to actually work so that I can get OpenStack working on it22:48
justinsbeday: Ooops... which bug did you mean?  bug 732866 or bug 732907?22:50
uvirtbotLaunchpad bug 732866 in nova "OpenStack API authentication information leakage" [Undecided,New] https://launchpad.net/bugs/73286622:50
uvirtbotLaunchpad bug 732907 in nova "OpenStack and EC2 APIs use different usernames and passwords" [Undecided,New] https://launchpad.net/bugs/73290722:50
edayjustinsb: 73290722:50
kpepplejustinsb: i have nova running partially on OpenSolaris ... but the lack of current libvirt seriously hampers that. i should check illumos ...22:50
justinsbeday: Ah - sorry!22:50
justinsbeday: Yes, I'm hoping this will just get fixed as part of the auth rework22:51
justinsbeday: This = 73290722:51
justinsbeday: I opened it so that I could put a reference to the issue in the unit tests which worked around it22:51
justinsbkpepple: Targeting Xen?  I thought the Xen driver didn't use libvirt?22:52
Ryan_Lane732907 isn't too big of a deal if the front-end is using a system with an LDAP backend22:53
Ryan_Laneit would be able to choose the correct credentials for the end-user22:53
jarrodxen and openstack ughh22:53
jarrodxen and using xenapi directly is awesum22:53
Ryan_Laneand would also give the user a user-friendly way to log in. I think logging in with some rediculously long string for username and password is silly22:54
justinsbI'm not very familiar with the LDAP stuff, but I honestly just don't get why we want different credentials22:54
Ryan_LaneI should be able to log in with a username and password of my choosing, and the front-end should handle the ec2 and openstack parts for me22:54
*** jc_smith has joined #openstack22:54
justinsbI fixed it as a bug fix, but broke a few people, so it's a sore point!22:54
Ryan_LaneI should only ever see the ec2/openstack credentials if I request them so that I can use the api directly22:55
justinsbI definitely agree that if we're using a front-end then a lot of the complexity should go away22:55
justinsbBut if we're using a front-end, we should probably do something truly secure22:55
Ryan_Lanewell, that's what https is for :)22:56
Ryan_LaneI've been only slightly reading the email discussions on this22:56
justinsbLet's just leave it for the design summit22:56
Ryan_Lanesince there is a ton of them, and they are incredibly long22:56
justinsbI'm thinking we can get one represenative from each side and put them in a ring22:57
Ryan_Lane:D22:57
justinsbWith those comedy huge boxing gloves22:57
uvirtbotNew bug: #732902 in nova "uninformative error when invalid instance id is entered" [Undecided,New] https://launchpad.net/bugs/73290222:57
uvirtbotNew bug: #732907 in nova "OpenStack and EC2 APIs use different usernames and passwords" [Undecided,New] https://launchpad.net/bugs/73290722:57
uvirtbotNew bug: #732924 in nova "DescribeVolume returns owner as the user that created the volume, but not the project" [Undecided,New] https://launchpad.net/bugs/73292422:57
Ryan_Lane732924 is currently causing me heartaches :)22:58
kpepplejustinsb: no not targeting xen. didn't have installed yet.22:58
Ryan_Lanedo we not return certain information as separate attributes so that we can match the EC2 api?22:59
Ryan_Lanebecause I'd really love all resources to return the project as the owner, or as a project attribute22:59
justinsbRyan_Lane: This is likely to be almost as controversial as the password debate.  I'm taking cover :-)23:01
Ryan_LaneI don't see why23:01
Ryan_Lanemost things already do this23:01
Ryan_Laneinstances return project as owner23:01
Ryan_Laneaddresses show it via status23:01
Ryan_Lanevolumes show an owner, but it's the user, not the project23:01
*** joshuamckenty has quit IRC23:02
Ryan_LaneI guess adding an attribute could cause compatibility issues with ec2 in the future though23:02
justinsbThat seems fair.  The very notion of projects is pretty deeply tied into the auth stuff.23:02
Ryan_Laneyeah23:02
Ryan_Lanethat's why I need it :)23:03
Ryan_Lanewhen a user logs in my web interface, they aren't tied to a specific project23:03
Ryan_Lanethey are logged in to all of their projects23:03
Ryan_Lanethe web interface handles switching between the projects for the user23:03
Ryan_Laneso if I can't tell which project a volume belongs to, I have problems23:03
Ryan_LaneI'm also using the project information other places too, so that it can be queried23:05
justinsbI agree that this sounds completely reasonable, but let's wait and see what the guys that are working on auth say...23:05
Ryan_Lanedoes this depends on auth?23:05
Ryan_LaneI guess so...23:06
Ryan_Lanecan you give me ideas on how to work around this for now?23:07
Ryan_Lanewhen a user goes to attach a volume, how can I see which volumes he should be allowed to attach?23:07
Ryan_Laneit should really be any volume in the project, right?23:07
Ryan_Lanenot just ones he created23:07
justinsbYou're using the OpenStack or EC2 api?23:08
Ryan_Laneec223:08
*** gondoi has quit IRC23:08
justinsbLet me poke around the code and better understand what's going on23:08
Ryan_LaneI guess I can add the attach dialog to the instances, and use the user's credentials based on the project of the instance23:09
justinsb(Oh yeah, of course you're using EC2, because OS API doesn't have volumes!!)23:09
Ryan_Lanethen all returned volumes would be in that project, right?23:09
Ryan_Lanewhat happens if the user is an admin?23:09
Ryan_Lanewould they see all volumes?23:09
justinsbLooking at the code - but really I think how the UI behaves is up to you!23:10
*** jc_smith has quit IRC23:10
justinsbI do like the idea of per-project separation though23:10
*** jc_smith has joined #openstack23:11
Ryan_Lanewell, the way the UI behaves can only work if it knows which project a volume belongs to23:11
Ryan_Laneotherwise it'll show volumes attachable to instances in other projects23:11
Ryan_LaneI guess this is due to the way I set the UI up though23:12
justinsbYou're parsing out the status field to get the owner?23:13
Ryan_Lanefor instances, no, since ownerId is the project23:13
Ryan_Lanefor addresses, yes23:13
justinsbFor volumes?23:13
Ryan_Lanefor volumes, I would, yes23:13
justinsbThe issue is that only appears for admins23:13
nidOJordanRinke: managed to fix my snafu too now \o/23:13
Ryan_LaneI'm doing the search as an admin23:13
Ryan_Laneso that isn't an issue23:14
Ryan_Lanethe web interface does searches as an admin23:14
Ryan_Laneit does user actions as the user23:14
*** ddumitriu has quit IRC23:14
*** bcwaldon has joined #openstack23:15
Ryan_Lanemy web interface is meant to be very open in what it displays23:15
justinsbErrr... OK.  Sounds a bit risky, but it's none of my business :-)23:15
Ryan_LaneI know it's somewhat out of the ordinary :)23:15
*** ddumitriu has joined #openstack23:15
justinsbSo good news... the volume entity has both a user_id and a project_id23:16
Ryan_Lanewe're using this to give volunteers the ability to modify our production clusters. we document our entire architecture in the open in a wiki. ;)23:16
Ryan_Laneyep23:16
justinsbThe question is how to return it through the EC2 API...23:16
justinsbOff to find the EC2 API spec!23:16
Ryan_LaneI know how to return it :)23:16
Ryan_LaneI just wanted to make sure the bug would be OK'd before I relied on it.23:17
Ryan_Laneheh23:17
*** rnirmal has quit IRC23:17
justinsbWell, I think the status thing is a bit of a hack, and if we just added something that did it 'the right way' we wouldn't risk breaking anything23:17
Ryan_Laneahhh23:17
Ryan_Laneyeah23:17
Ryan_Lanethat would be really nice23:17
*** spectorclan_ has joined #openstack23:18
spectorclan_OpenStack Design Summit Registration is now live - http://www.openstack.org/blog/2011/03/openstack-conferencedesign-summit-registration-is-open/23:19
justinsbOh great... We could return it in the tagSet attribute23:19
justinsbBut then I'll probably get in even more trouble23:19
Ryan_Lanecan you give me a link to the spec you are looking at?23:19
Ryan_Lanefinding amazon's documentation is a pain :)23:19
justinsbhttp://docs.amazonwebservices.com/AWSEC2/latest/APIReference/23:20
Ryan_Lanethanks23:20
justinsbSpecifically http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-DescribeVolumesSetItemResponseType.html23:20
*** adjohn has quit IRC23:22
justinsbIs Jorge around?  Anyone know his callsign?23:22
*** azneita has joined #openstack23:22
*** azneita has joined #openstack23:22
*** eikke has quit IRC23:23
justinsbRyan_Lane: Hold I ... I have a hack around this one maybe... do you want to just get the volumes for a specific project?  You don't actually want to know the project from the volume, do you?23:23
Ryan_LaneI want to know the project from the volume23:24
Ryan_LaneI could do the former though23:24
Ryan_Lanebut the latter would also be very helpful23:24
justinsbWe could do the former with a filter, without risking breaking anything23:24
Ryan_Lanewhen I create resources, I also automatically create wiki pages with the information in templates. the templates have semantic information attached to them, so that queries can access the information23:25
Ryan_Lanebut for my immediate need, I could use filters23:25
justinsbThe latter will likely involve putting system data into the tags, which gives the purists a coronary23:25
*** ddumitriu has quit IRC23:25
Ryan_Laneheh23:25
Ryan_Lanewell, it would also be fine to change the status23:26
Ryan_LaneI don't mind parsing23:26
Ryan_Laneit's a hack, but it works23:26
justinsbI don't know the impact of changing the status23:26
Ryan_Laneyeah, me either23:26
justinsbWhereas adding filtering is just an addition23:26
Ryan_Lanelet me email the list23:26
justinsbAnd helps us with EC2 compatability23:27
Ryan_Laneyeah23:27
justinsbI'll look at adding filtering23:27
Ryan_LaneI'd love to have filters23:27
justinsbAnd if you want to email the list, please do23:27
*** hadrian has quit IRC23:27
*** matiu_ has joined #openstack23:29
matiu_Hey guys, is there a c++ client to current RS Cloud servers aPI ?23:29
matiu_I know there's that awesome ipad app .. I guess I should look inside there to see what he did23:30
*** MarcMorata has quit IRC23:30
*** enigma has quit IRC23:31
*** mray has quit IRC23:31
uvirtbotNew bug: #732939 in nova "nova lacks cpu_arch field in instance_types" [Undecided,New] https://launchpad.net/bugs/73293923:31
nidOheya all, are there any known issues with uploading to swift using cyberduck? I can upload content fine using st, and cyberduck can display folder listings, download content, create files, and edit files + upload changes, but it's failing when trying to just straight upload files23:36
*** mRy has joined #openstack23:38
*** mRy is now known as Guest6833223:38
*** cascone has quit IRC23:38
*** Guest81466 has quit IRC23:42
*** bcwaldon_ has joined #openstack23:43
*** miclorb has quit IRC23:43
*** spectorclan_ has quit IRC23:44
*** joshuamckenty has joined #openstack23:44
kpepplenidO: don't you have to http://swift.openstack.org/howto_cyberduck.html23:45
creihtkpepple: I think that might be a bit out of date now23:46
*** bcwaldon has quit IRC23:46
kpepplecreiht: on the cyberduck side or the swift side ?23:46
creihtnidO: I would start by looking at the proxy logs to see what error is being returned23:46
nidOkpepple: everything in there that needs to be done is - The modifications of cyberduck's source arent needed as of v4 as it has an option directly for connecting to swift23:46
*** bcwaldon_ has quit IRC23:46
creihtkeekz: on the swift side23:46
creihtswift support is in the latest releases23:46
*** bcwaldon has joined #openstack23:47
nidOcreiht: its throwing out some random GET that doesnt mean a great deal to me - trying to run a file upload from cyberduck results in http://pastebin.com/LsuiCti723:47
*** dendro-afk is now known as dendrobates23:48
creihtwell, from the proxy, those are all good responses23:48
creiht204, 200, 20023:48
*** Guest68332 has quit IRC23:48
creihtdoes cyberduck give any reasonable error?23:49
*** clauden has quit IRC23:49
creihtsorry, I don't have access to a windows or mac machine to try :/23:49
nidObut, the actual urls dont seem to make a great deal of sense - when I upload a fresh file via st, the proxy's log shows a HEAD request for the filename in question to see whether it exists, then a PUT for the filename to actually upload it23:50
nidOcyberduck returns nothing useful, authenticates, gets a directory listing, then just fails with "transfer incomplete"23:50
creihthrm23:51
creihtOf the top of my head, I'm not sure what to say :/23:54
creihtnidO: did you look at http://trac.cyberduck.ch/wiki/help/en/howto/openstack23:55
creiht?23:55
nidOyep, nothing on there seems relevant though, i'm using devauth rather than swauth so there's no need to change the pathing, and the rest is just connection info to access rackspace/internap23:56
nidOI'd assume this must be a fault at the cyberduck end then really, but the fact it's able to correctly upload changes when modifying an existing file, but not upload a new file, has thrown me a bit23:57
creihthrm23:58
creihtthat is odd23:58
creihtnidO: maybe try this: http://trac.cyberduck.ch/wiki/help/en/faq#Enabledebuglogging23:59
creihtand see if you get anything reasonable23:59
nidOah ta, now taking a look23:59

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