*** Ryan_Lane has joined #openstack | 00:03 | |
*** MarkAtwood has quit IRC | 00:04 | |
*** wilmoore has quit IRC | 00:07 | |
*** ziyadb has quit IRC | 00:08 | |
*** Ryan_Lane has quit IRC | 00:08 | |
*** samba has quit IRC | 00:10 | |
*** ton_katsu has joined #openstack | 00:10 | |
*** Ryan_Lane has joined #openstack | 00:10 | |
*** ton_katsu has quit IRC | 00:16 | |
*** joearnold has quit IRC | 00:23 | |
*** vernhart has quit IRC | 00:24 | |
*** ton_katsu has joined #openstack | 00:29 | |
*** Binbin has joined #openstack | 00:35 | |
*** llang629 has joined #openstack | 00:39 | |
dweimer | In the swift documentation it mentions that the cluster can use 'commodity' hard drives due to the replication and checksum features. By commodity drives is it referring to typical SATA server drives (ex. constellations or ultrastars) or is it reasonable to use desktop quality drives like deskstars or barracudas? | 00:40 |
---|---|---|
*** bluetux has joined #openstack | 00:40 | |
Ryan_Lane | dweimer: I'd say it's a bad idea | 00:40 |
Ryan_Lane | there is an order of magnitude between enterprise sata and consumer sata for silent read and write errors | 00:41 |
Ryan_Lane | and there's another order of magnitude between enterprise sata and scsi/sas | 00:41 |
*** dolphm has joined #openstack | 00:41 | |
*** dolphm has quit IRC | 00:43 | |
dweimer | Interesting. So the increased number of read/write errors on a desktop drive is to large for checksum and quarantine features to keep up? | 00:43 |
*** heckj has quit IRC | 00:44 | |
*** ohnoimdead has quit IRC | 00:45 | |
*** jdurgin has quit IRC | 00:47 | |
*** MarkAtwood has joined #openstack | 00:47 | |
*** dolphm has joined #openstack | 00:50 | |
*** dolphm has quit IRC | 00:53 | |
*** huslage has joined #openstack | 00:53 | |
*** winston-d has joined #openstack | 01:02 | |
Ryan_Lane | dweimer: I'm just saying it's a risk | 01:02 |
Ryan_Lane | dweimer: it's possible that the multiple copies, checksums, and such are enough, but consumer sata drives are garbage, and it's likely better not to use them | 01:03 |
*** Ryan_Lane has quit IRC | 01:03 | |
*** cloudgroups has joined #openstack | 01:04 | |
dweimer | Fair point. The costs are so enticing though. Do you know if anyone has done an error rate study since the Google paper a few years ago? | 01:05 |
*** cafe has quit IRC | 01:05 | |
*** dolphm has joined #openstack | 01:06 | |
uvirtbot | New bug: #798486 in swift "XML 1.1 Compatibility" [Medium,In progress] https://launchpad.net/bugs/798486 | 01:06 |
*** dolphm has quit IRC | 01:06 | |
*** maplebed has quit IRC | 01:08 | |
*** Binbin has quit IRC | 01:17 | |
*** ton_katsu has joined #openstack | 01:29 | |
*** ksteward2 has joined #openstack | 01:30 | |
*** dolphm has joined #openstack | 01:32 | |
*** huslage has quit IRC | 01:36 | |
*** pguth66 has quit IRC | 01:39 | |
*** MarkAtwood has quit IRC | 01:39 | |
*** georgegoh has joined #openstack | 01:41 | |
*** PW__ has joined #openstack | 01:43 | |
*** watcher has quit IRC | 01:46 | |
*** obino has quit IRC | 01:47 | |
*** Binbin has joined #openstack | 01:49 | |
*** dolphm has quit IRC | 01:52 | |
*** pmullaney has quit IRC | 01:57 | |
*** fysa has joined #openstack | 02:00 | |
*** PW__ has quit IRC | 02:01 | |
*** GeoDud has quit IRC | 02:27 | |
*** zz2 has joined #openstack | 02:28 | |
zz2 | hi, | 02:31 |
zz2 | 2011-06-17 10:16:23 DEBUG [routes.middleware] Match dict: {'action': u'meta', 'controller': <glance.server.Controller object at 0x1260250>, 'id': u'5'} 2011-06-17 10:16:23 DEBUG [eventlet.wsgi.server] 192.168.1.101 - - [17/Jun/2011 10:16:23] "HEAD /images/5 HTTP/1.1" 200 912 0.015638 2011-06-17 10:16:25 DEBUG [routes.middleware] No route matched for GET /v1/images/6 2011-06-17 10:16:25 DEBUG [eventlet.wsgi.server] 192.16 | 02:31 |
zz2 | this is my glance log, | 02:31 |
zz2 | i don't know how to solve it? | 02:31 |
*** vladimir3p has quit IRC | 02:32 | |
zz2 | i'am sure , i hava installed the same version nova inthe nova control node and the nova compute node . and the version is version_info = {'branch_nick': u'workspace', 'build_date': '2011-04-15 02:57:55 +0000', 'clean': None, 'date': '2011-04-15 02:47:01 +0000', 'revision_id': 'tarmac-20110415024701-a9bdb77vaatk99lh', 'revno': 989} | 02:37 |
zz2 | nova control node can lanuch a instance succ, but the compute node can't lanuch and give me that log message, | 02:39 |
*** Binbin has quit IRC | 02:45 | |
*** odyi has quit IRC | 02:46 | |
*** cbeck has quit IRC | 02:47 | |
*** osier has joined #openstack | 02:50 | |
*** obino has joined #openstack | 02:56 | |
*** hadrian has quit IRC | 03:04 | |
zz2 | great, :), i solved my problem。 the reason is i have installed a different version glance server in the compute node, beafore this i think the compute node don't need the glance and they don't have influence each other, it's my fault,' | 03:09 |
*** rchavik has joined #openstack | 03:14 | |
*** rchavik has joined #openstack | 03:14 | |
*** HugoKuo has joined #openstack | 03:22 | |
*** miclorb_ has quit IRC | 03:24 | |
*** Ryan_Lane has joined #openstack | 03:31 | |
*** winston-d has quit IRC | 03:33 | |
*** winston-d has joined #openstack | 03:43 | |
*** Binbin has joined #openstack | 03:46 | |
*** AimanA is now known as HouseAway | 03:52 | |
*** Binbin has quit IRC | 03:56 | |
*** medberry is now known as med_out | 04:04 | |
*** wariola has joined #openstack | 04:08 | |
*** Ryan_Lane has quit IRC | 04:10 | |
*** deshantm_laptop has joined #openstack | 04:15 | |
*** matiu has joined #openstack | 04:15 | |
*** PW__ has joined #openstack | 04:17 | |
*** matiu has quit IRC | 04:20 | |
*** matiu has joined #openstack | 04:20 | |
*** matiu has joined #openstack | 04:20 | |
*** Binbin has joined #openstack | 04:21 | |
*** deshantm_laptop has quit IRC | 04:24 | |
*** stewart has quit IRC | 04:24 | |
*** kashyap has joined #openstack | 04:31 | |
*** koolhead17 has quit IRC | 04:32 | |
*** stewart has joined #openstack | 04:37 | |
*** nijaba has quit IRC | 04:48 | |
*** PW__ has quit IRC | 04:50 | |
*** nijaba has joined #openstack | 04:50 | |
*** nijaba has joined #openstack | 04:50 | |
*** cbeck has joined #openstack | 04:52 | |
*** Ryan_Lane has joined #openstack | 04:55 | |
*** PW__ has joined #openstack | 04:56 | |
*** miclorb_ has joined #openstack | 05:03 | |
*** Binbin has quit IRC | 05:03 | |
*** scooterS has joined #openstack | 05:06 | |
*** scooterS has quit IRC | 05:08 | |
*** wariola has quit IRC | 05:13 | |
*** Ryan_Lane has quit IRC | 05:13 | |
*** Ryan_Lane has joined #openstack | 05:15 | |
*** ivan has quit IRC | 05:23 | |
*** wariola has joined #openstack | 05:26 | |
*** PW__ has quit IRC | 05:27 | |
*** koolhead17 has joined #openstack | 05:30 | |
*** Binbin has joined #openstack | 05:31 | |
*** ivan has joined #openstack | 05:32 | |
*** ivan has joined #openstack | 05:34 | |
*** cloudgroups has quit IRC | 05:35 | |
*** cloudgroups has joined #openstack | 05:35 | |
*** cloudgroups has left #openstack | 05:36 | |
*** miclorb_ has quit IRC | 05:40 | |
*** Binbin has quit IRC | 05:40 | |
*** ksteward2 has quit IRC | 05:47 | |
*** miclorb_ has joined #openstack | 05:54 | |
*** Ryan_Lane has quit IRC | 06:12 | |
*** jakedahn has joined #openstack | 06:14 | |
*** jakedahn has quit IRC | 06:14 | |
*** jakedahn has joined #openstack | 06:14 | |
*** pygi has quit IRC | 06:16 | |
*** matiu has quit IRC | 06:19 | |
*** katkee has joined #openstack | 06:36 | |
*** mcclurmc_home has joined #openstack | 06:38 | |
*** koolhead17 has quit IRC | 06:39 | |
*** reidrac has joined #openstack | 06:54 | |
anonymous83722 | 3 | 06:59 |
*** vernhart has joined #openstack | 07:01 | |
*** sante has quit IRC | 07:04 | |
*** georgegoh has quit IRC | 07:11 | |
*** Binbin has joined #openstack | 07:18 | |
*** Razique has joined #openstack | 07:24 | |
*** po has joined #openstack | 07:31 | |
*** Ryan_Lane has joined #openstack | 07:39 | |
*** ovidwu has quit IRC | 07:44 | |
*** irclog_ has quit IRC | 07:44 | |
*** Ryan_Lane has quit IRC | 07:45 | |
*** nacx has joined #openstack | 07:52 | |
*** ovidwu has joined #openstack | 07:52 | |
*** irclog_ has joined #openstack | 07:53 | |
*** cbeck has quit IRC | 07:57 | |
*** cbeck has joined #openstack | 07:58 | |
*** adjohn has joined #openstack | 07:58 | |
*** CloudChris has joined #openstack | 08:11 | |
*** Katibe has quit IRC | 08:11 | |
*** CloudChris has left #openstack | 08:12 | |
*** cuzoka has joined #openstack | 08:13 | |
*** Capashen has joined #openstack | 08:16 | |
*** RichiH_ has joined #openstack | 08:16 | |
*** gaveen has joined #openstack | 08:18 | |
*** gaveen has joined #openstack | 08:18 | |
*** RichiH has quit IRC | 08:21 | |
*** RichiH_ is now known as RichiH | 08:21 | |
*** soosfarm has quit IRC | 08:22 | |
*** lool has quit IRC | 08:22 | |
*** soosfarm has joined #openstack | 08:25 | |
*** lool has joined #openstack | 08:25 | |
*** martin has quit IRC | 08:26 | |
*** miclorb_ has quit IRC | 08:27 | |
*** soosfarm has quit IRC | 08:29 | |
*** lool has quit IRC | 08:29 | |
*** dobber has joined #openstack | 08:32 | |
*** martin has joined #openstack | 08:32 | |
*** Binbin has quit IRC | 08:33 | |
*** soosfarm has joined #openstack | 08:34 | |
*** lool has joined #openstack | 08:34 | |
*** allsystemsarego has joined #openstack | 08:37 | |
*** ziyadb has joined #openstack | 08:43 | |
doude | Hi all, I've got a problem with XenServer and Glance. I put an image in glance with VHD disk format and when I try to start an instance with this image, the Xen driver blocks on '_fetch_image_glance_vhd'. Nothing happen. The instance stay in 'building' state. I can see get request in Glance log : http://paste.openstack.org/show/1658/ | 08:54 |
doude | I didn't have this problem if I use a raw disk format image | 08:54 |
*** anonymous83722 has quit IRC | 08:58 | |
*** anonymous83722 has joined #openstack | 09:00 | |
*** katkee has quit IRC | 09:01 | |
*** katkee has joined #openstack | 09:02 | |
*** mgoldmann has joined #openstack | 09:07 | |
xxtjaxx | Hi! How long between euca-run-instance and it actually running should there be before getting suspicious | 09:19 |
*** kennethkalmer has joined #openstack | 09:20 | |
soren | xxtjaxx: Depends on the size of the image. | 09:20 |
*** cbeck has quit IRC | 09:22 | |
*** cbeck has joined #openstack | 09:22 | |
xxtjaxx | ari-lucid in this case | 09:23 |
HugoKuo | the size .... | 09:23 |
xxtjaxx | 3,8M it says here | 09:24 |
soren | xxtjaxx: You can't run an ari. It's a ramdisk. | 09:24 |
soren | I guess we should refuse to try. | 09:24 |
xxtjaxx | -.- | 09:25 |
soren | You run AMI's, not ARI's. | 09:25 |
HugoKuo | AMI is the point :> | 09:25 |
xxtjaxx | hm trouble is they have ,-´ in them. Makes euca tools apparently cry | 09:26 |
soren | Not at all. | 09:27 |
xxtjaxx | I do not joke | 09:28 |
soren | *all* images have that. | 09:28 |
soren | The EC2 API always calls them ami-XXXXXXX (if it gets to name them) | 09:28 |
*** kennethkalmer has quit IRC | 09:29 | |
xxtjaxx | I only had it working when I cd'd into that dir | 09:30 |
*** kennethkalmer has joined #openstack | 09:30 | |
soren | huh? | 09:30 |
*** kennethk_ has joined #openstack | 09:36 | |
*** kennethkalmer has quit IRC | 09:36 | |
xxtjaxx | ah nevm. well schedules the proper way now i think | 09:43 |
xxtjaxx | I'll see what will happen | 09:43 |
xxtjaxx | its a 150M big Image now | 09:44 |
xxtjaxx | soren: so now it still doesnt boot for some reason and I used ari/ami/aki as intended by the designers | 09:53 |
*** paraneetharanc has joined #openstack | 10:08 | |
*** ton_katsu has quit IRC | 10:12 | |
*** ton_katsu has joined #openstack | 10:12 | |
*** ton_katsu has quit IRC | 10:15 | |
*** stewart has quit IRC | 10:23 | |
*** stewart_ has joined #openstack | 10:23 | |
*** ton_katsu has joined #openstack | 10:24 | |
*** kennethk_ has quit IRC | 10:30 | |
*** wariola has quit IRC | 10:34 | |
*** wariola has joined #openstack | 10:36 | |
*** wariola has quit IRC | 10:39 | |
*** bluetux has quit IRC | 10:46 | |
*** ton_katsu1 has joined #openstack | 10:53 | |
*** ton_katsu has quit IRC | 10:53 | |
paraneetharanc | Hi | 10:57 |
*** ziyadb has quit IRC | 10:58 | |
*** ziyadb has joined #openstack | 10:58 | |
*** ziyadb has joined #openstack | 10:58 | |
*** paraneetharanc has left #openstack | 10:59 | |
*** Capashen has quit IRC | 11:11 | |
*** katkee has quit IRC | 11:12 | |
*** markvoelker has joined #openstack | 11:15 | |
*** stewart_ is now known as stewart | 11:17 | |
*** justin_skariah has joined #openstack | 11:20 | |
*** adjohn has quit IRC | 11:21 | |
*** ton_katsu has joined #openstack | 11:22 | |
*** ton_katsu1 has quit IRC | 11:22 | |
*** shang has quit IRC | 11:24 | |
xxtjaxx | Hmm so now it sits with ari and ami and aki properly set in the euca-describe-instance and yet nothing happend | 11:25 |
xxtjaxx | why? and what the hell? | 11:26 |
soren | Can I see? | 11:26 |
soren | The output of euca-describe-instances, that is. | 11:26 |
*** ton_katsu has quit IRC | 11:30 | |
*** ctennis has quit IRC | 11:30 | |
xxtjaxx | soren: INSTANCE i-00000002 ami-569b07c2 scheduling /root/id_rsa (some, None) 0 m1.small 2011-06-17T09:41:40Z unknown zone | 11:34 |
xxtjaxx | http://paste.debian.net/120149/ | 11:35 |
xxtjaxx | soren: ^ | 11:35 |
soren | /root/id_rsa might be the culprit. | 11:37 |
xxtjaxx | ? | 11:37 |
soren | You don't pass it a path to a key, you pass it an ID for a key that you create using euca-add-keypair. | 11:37 |
xxtjaxx | Why< | 11:37 |
soren | Er.. BEcause? | 11:37 |
soren | That's just how it works. | 11:37 |
soren | xxtjaxx: Anyways, do you have nova-scheduler running? | 11:39 |
*** ctennis has joined #openstack | 11:44 | |
*** ctennis has joined #openstack | 11:44 | |
*** osier has quit IRC | 11:47 | |
*** PeteDaGuru has joined #openstack | 11:48 | |
xxtjaxx | soren: that was an image of 150MB size. This box is idling | 11:51 |
*** bkkrw has joined #openstack | 11:53 | |
*** sandywalsh_ has quit IRC | 11:55 | |
soren | xxtjaxx: I'm not sure why you're telling me that. I told you one thing you needed to change and another thing you needed to check. | 12:01 |
xxtjaxx | the scheduler appears to be running yes | 12:10 |
xxtjaxx | soren: ah wait | 12:11 |
xxtjaxx | http://paste.debian.net/120153/ << appears to have a bug | 12:11 |
xxtjaxx | nova 1961 1.6 1.2 91028 37960 ? S Jun16 24:55 /usr/bin/python /usr/bin/nova-scheduler --flagfile=/etc/nova/nova.conf | 12:13 |
xxtjaxx | ... | 12:13 |
*** aliguori has joined #openstack | 12:15 | |
soren | xxtjaxx: Yeah, that doesn't look too good. How did you install this? | 12:15 |
xxtjaxx | packages | 12:17 |
xxtjaxx | Debian repos. | 12:17 |
soren | You're running this on sid? | 12:18 |
*** katkee has joined #openstack | 12:18 | |
xxtjaxx | yes | 12:21 |
xxtjaxx | pulled in experimental fpr some of the deps | 12:21 |
soren | I don't know how well to expect that to work, to be honest. I've not tested it myself. The list of dependencies is long, and I don't know the state of all of them in sid. | 12:22 |
*** nphase-work has joined #openstack | 12:22 | |
soren | xxtjaxx: Which exact version of nova is this, though? | 12:22 |
*** nphase has quit IRC | 12:24 | |
xxtjaxx | Version: 2011.2-1 | 12:25 |
*** dirkx has joined #openstack | 12:26 | |
soren | Hm. | 12:26 |
soren | Ok. | 12:26 |
soren | That should work nicely. | 12:26 |
*** ziyadb_ has joined #openstack | 12:31 | |
*** kashyap has quit IRC | 12:34 | |
*** ziyadb has quit IRC | 12:34 | |
*** hadrian has joined #openstack | 12:35 | |
xxtjaxx | soren: appears not to... Any hints for debugging? N | 12:44 |
*** odyi has joined #openstack | 12:45 | |
*** odyi has joined #openstack | 12:45 | |
*** adiantum has joined #openstack | 12:46 | |
*** kashyap has joined #openstack | 12:51 | |
kd926 | Has anyone looked into restricting privileges necessary to run nova? | 12:54 |
*** huslage has joined #openstack | 12:55 | |
xxtjaxx | soren: How do I debug this? | 13:02 |
*** bcwaldon has joined #openstack | 13:04 | |
katkee | hello | 13:04 |
soren | kd926: Like what? | 13:05 |
soren | xxtjaxx: I'm knee deep in half a million other things right now. If you can stick around for a bit longer, someone should show up you can help you get to the bottom of this. | 13:05 |
kd926 | Specifically, nova-network depends on sudo for things like dnsmasq, iptables, ect | 13:05 |
soren | xxtjaxx: (Most people are in the US) | 13:05 |
*** bonzay has joined #openstack | 13:05 | |
soren | kd926: Right. | 13:06 |
soren | kd926: Those are privileged operations. How would you perform them without being privileged? | 13:07 |
xxtjaxx | soren: alright. I'm sorry go on Its just an eval anyway ;) | 13:07 |
katkee | i created a new user and then a new project with that user as a projectmanager. this user can create instances but cannot allocate ips. i tried to give that user a netadmin role but it does not work either. | 13:08 |
soren | katkee: What's the error? | 13:08 |
katkee | hi soren, the error is 401 not authorized | 13:09 |
katkee | EC2ResponseError: 401 Unauthorized | 13:09 |
bpaluch | are there any guides out there that go through launching instances that thier images are hosted on glance? I can't find anything, and glance images don't seem to have emi's. | 13:09 |
*** lborda has joined #openstack | 13:10 | |
soren | katkee: I'd probably look at the nova-api logs (and possibly the nova-network logs). | 13:12 |
soren | bpaluch: If you didn't register through the EC2 API, I believe you can just use the name as known by glance. | 13:13 |
soren | bpaluch: If you do register through the EC2 API, it gets and AMI (not EMI. Only Eucalyptus uses EMI's) | 13:14 |
bpaluch | ok thx, i'll look into that then | 13:14 |
bpaluch | still learning about the different api's | 13:14 |
kd926 | soren: dnsmasq isn't privileged, only binding to low ports is, as for iptables I believe access can be added to allow making adjustments without being root | 13:16 |
kd926 | soren: the intent is not have the entire service to be run as root. thats overkill | 13:16 |
katkee | soren: http://pastie.org/2082578 i didn't see any errors in the logs... | 13:18 |
*** bonzay has left #openstack | 13:19 | |
katkee | soren: is it possble to have an admin user per project? | 13:20 |
katkee | soren: i don't want an admin user to see others projects | 13:20 |
*** huslage has quit IRC | 13:25 | |
*** huslage has joined #openstack | 13:25 | |
*** pygi has joined #openstack | 13:28 | |
*** dolphm has joined #openstack | 13:28 | |
*** gaveen has quit IRC | 13:28 | |
bpaluch | Oh so if I have the Glance flags in my nova.conf, and then I use the euca commands to store an image it will use glance for storing them? | 13:29 |
bpaluch | hmm maybe I spoke too soon, don't know the euca command for storing images... | 13:30 |
*** shentonfreude has joined #openstack | 13:33 | |
*** mRy has joined #openstack | 13:34 | |
*** mRy is now known as Guest54619 | 13:35 | |
*** hallyn has joined #openstack | 13:36 | |
*** justin_skariah has quit IRC | 13:39 | |
bpaluch | oh I get it now. I was using the ubuntu cloud util tools earlier but they are just wrappers for simplifying the euca tools. | 13:41 |
*** jkoelker has joined #openstack | 13:42 | |
*** foxtrotgulf has joined #openstack | 13:48 | |
*** amccabe has joined #openstack | 13:53 | |
*** foxtrotdelta has joined #openstack | 13:56 | |
*** foxtrotgulf has quit IRC | 13:58 | |
*** kbringard has joined #openstack | 14:04 | |
kbringard | anyone have any idea what may be causing this: https://bugs.launchpad.net/nova/+bug/798370 | 14:06 |
*** dgags has joined #openstack | 14:10 | |
uvirtbot | New bug: #798714 in nova "Misleading error message on migrate number conflict when running unit tests" [Undecided,New] https://launchpad.net/bugs/798714 | 14:11 |
*** troytoman-away is now known as troytoman | 14:13 | |
*** lorin1 has joined #openstack | 14:13 | |
*** primeministerp1 has joined #openstack | 14:13 | |
*** huslage has quit IRC | 14:14 | |
*** huslage has joined #openstack | 14:14 | |
*** osier has joined #openstack | 14:15 | |
bpaluch | Do I have to run the euca authorize commands for allowing tcp on the compute node or the controller node? | 14:18 |
bpaluch | and will I then have to run authorize commands for every port I want to communicate with on instances on that compute node? | 14:18 |
bpaluch | problem i'm having in a multi node set up, is that I can ping the instance i've launched by can't ssh, port refuses connection. | 14:19 |
*** lborda has quit IRC | 14:19 | |
*** katkee has quit IRC | 14:22 | |
*** dk_ has joined #openstack | 14:24 | |
*** huslage has quit IRC | 14:25 | |
*** dragondm has joined #openstack | 14:26 | |
NashTrash | jaypipes: Hi Jay, I have moved my Glance server and now the nova-api machine is throwing an error saying unable to connect. Might you have a moment? | 14:27 |
jaypipes | NashTrash: I can try. Could you pastebin your logs from nova-api? | 14:28 |
kbringard | NashTrash: you may want to check that you have the glance_api_servers flag set in your nova.conf | 14:28 |
*** lborda has joined #openstack | 14:28 | |
kbringard | that messed me up for awhile | 14:28 |
NashTrash | kbringard: Have you run nova-manage role for that server? | 14:28 |
kbringard | uhm... how do you mean? | 14:29 |
kbringard | oh, you mean the bug I reported | 14:29 |
kbringard | yea, other people confirmed it as well | 14:29 |
kbringard | if you're not admin, you cannot launch instances | 14:29 |
NashTrash | jaypipes: Here is the error coming from nova-api: http://paste.openstack.org/show/1677/ | 14:30 |
NashTrash | kbringard: you have to give users the sysadmin and netadmin roles at both the global level and at the project level | 14:30 |
kbringard | I think the flags used to be glance_host and glance_port but now it's one flag: glance_api_servers = host:port | 14:30 |
kbringard | NashTrash: I know | 14:30 |
kbringard | it was working fine, then I upgraded the code, and then it stopped working | 14:30 |
NashTrash | kbringard: Ah, ok. | 14:31 |
kbringard | plus, the error explicitly says AdminRequired: User does not have admin privileges | 14:31 |
kbringard | and the code is wrapping AdminRequired() | 14:31 |
kbringard | my best guess so far is that something in the new scheduler isn't setting the context right | 14:31 |
NashTrash | jaypipes: Here is my nova.conf — http://paste.openstack.org/show/1678/ | 14:32 |
jaypipes | NashTrash: what version of Nova? | 14:32 |
NashTrash | jaypipes: My glance had been on 192.168.50.1 but I moved it to the same server as the nova-api (192.168.50.243). | 14:32 |
NashTrash | jaypipes: Diablo milestone 1 | 14:32 |
kbringard | I'd try adding ----glance_api_servers=192.168.50.243:9292 | 14:33 |
kbringard | err | 14:33 |
kbringard | only 2 --s | 14:33 |
jaypipes | kbringard: I don't think that was in D1, no? | 14:33 |
kbringard | oh, milestone 1 | 14:33 |
kbringard | my bad | 14:33 |
kbringard | lo siento | 14:33 |
jaypipes | :) | 14:33 |
kbringard | it's early and my kid screamed all night | 14:33 |
kbringard | muy consado | 14:34 |
NashTrash | kbringard: I hear you on that one. | 14:34 |
kbringard | I think he's teething | 14:34 |
kbringard | but anyway, yea | 14:34 |
jaypipes | NashTrash: hmm, ok, so can you ping the Glance API server? just use the glance CLI tool: | 14:34 |
NashTrash | jaypipes: Netstat -lp shows glance-api listening on 9292 | 14:35 |
jaypipes | glance --port=XXX --host=192.168.50.1 index | 14:35 |
jaypipes | glance --port=9292 --host=192.168.50.1 index | 14:35 |
kbringard | jaypipes: so long as you're here... I know it's not your area of expertise, but does a quick look at the stack trace in https://bugs.launchpad.net/nova/+bug/798370 show any glaring issues I'm missing? | 14:35 |
kbringard | not being able to launch instances if you're not an admin seems like a pretty serious bug to me :-D | 14:36 |
NashTrash | jaypipes: glance index returns good results | 14:36 |
jaypipes | kbringard: yeah, that makes sense. It looks like the API controller needs to do a context.elevated() when it calls into the zone db... | 14:36 |
jaypipes | NashTrash: ok, good. | 14:36 |
*** katkee has joined #openstack | 14:37 | |
*** robix has quit IRC | 14:38 | |
jaypipes | NashTrash: ok, so I noticed that my_ip and glance_host are different... | 14:38 |
jaypipes | NashTrash: one is 243 the other is 253. | 14:38 |
jaypipes | NashTrash: is that the issue? | 14:38 |
Razique | Hi folks, is it possible to add a tag to as instance ? so euca-describe instance returns the tag ? | 14:39 |
NashTrash | jaypipes: Uh, yeah. MISTYPE! | 14:39 |
jaypipes | NashTrash: :) | 14:39 |
Razique | cuz yesterday I terminate the wrong instance, kinda annoying | 14:39 |
NashTrash | d'oh d'oh d'oh d'oh d'oh d'oh d'oh d'oh | 14:39 |
jaypipes | NashTrash: I channel Homer at times as well ;) | 14:39 |
*** jonkelly has joined #openstack | 14:40 | |
kbringard | jay, nice | 14:44 |
kbringard | I added context = context.elevated() to line 530 in the get_all_across_zones and it's working now | 14:45 |
kbringard | thanks homie | 14:45 |
NashTrash | jaypipes: Thanks! That worked like a charm. I am back the land of runnable instances | 14:46 |
*** imsplitbit has joined #openstack | 14:46 | |
*** llang629 has left #openstack | 14:46 | |
kbringard | I monkey patched my API server and I am back in business as well | 14:48 |
kbringard | not even drinkin' time and jay has already solved 2 provlems | 14:48 |
NashTrash | kbringard: Submit that patch buddy! | 14:48 |
kbringard | hehe, I want to look at the context a bit more and make sure I did it in a sane way, but that is my intention | 14:48 |
kbringard | :-) | 14:49 |
*** po has quit IRC | 14:49 | |
jaypipes | NashTrash: excellent! :) | 14:50 |
NashTrash | kbringard: I am kind of new to python, so this may be a really dumb question. But, from the python shell if I try to import nova.api.ec2 it throws an error about _() not being defined. Do you happen to know how to get around this? | 14:50 |
jaypipes | kbringard: that worked ok, then? good :) | 14:50 |
kbringard | NashTrash: I am also new to python, so I have no kind of idea | 14:50 |
kbringard | jaypipes: yessir, you are the man | 14:51 |
jaypipes | NashTrash: that's an easy one... do this: | 14:51 |
NashTrash | kbringard: Ha. Again, I am not alone | 14:51 |
jaypipes | NashTrash: import gettext | 14:51 |
NashTrash | jaypipes: What would we do without you | 14:51 |
NashTrash | jaypipes: ????? | 14:51 |
reidrac | NashTrash: you would use google :) | 14:51 |
jaypipes | NashTrash: gettext.install('nova', unicode=1) | 14:51 |
jaypipes | NashTrash: do that ABOVE your import. | 14:52 |
NashTrash | reidrac: So much sarcasm. Way too early for that. | 14:52 |
NashTrash | :) | 14:52 |
reidrac | NashTrash: 10 minutes left to finish my week, excuse me :) | 14:53 |
NashTrash | reidrac: Europe? | 14:53 |
reidrac | NashTrash: UK, yes | 14:53 |
NashTrash | reidrac: Ah, then have a great weekend. | 14:54 |
reidrac | NashTrash: Thanks, you too | 14:54 |
NashTrash | jaypipes: Is glance-upload documented anywhere? | 14:56 |
jaypipes | NashTrash: not really. only in the --help. | 14:57 |
jaypipes | NashTrash: are you using EC2 API? | 14:57 |
jaypipes | NashTrash: technically, you can do everything that glance-upload does with the regular glance client... it's more of a shortcut for EC2-style images. | 14:58 |
NashTrash | jaypipes: glance-upload —help goes to a trace. I have taken a snapshot of a running machine and I want to try creating instances using that snapshot. | 14:58 |
kbringard | NashTrash: if you like ruby, I wrote a rubygem to interface with the glance API and a client for uploading using it directly | 14:59 |
jaypipes | NashTrash: heh, that's not good! | 14:59 |
jaypipes | NashTrash: could you submit a bug on that? | 14:59 |
*** mRy_ has joined #openstack | 14:59 | |
NashTrash | kbringard: I am using the bash scripts you posted yesterday as a guide | 14:59 |
*** dirkx has quit IRC | 14:59 | |
NashTrash | jaypipes: Will do. | 14:59 |
jaypipes | NashTrash: cheers | 14:59 |
soren | NashTrash: I can't imagine "—help" is a valid option to glance-upload. | 15:00 |
soren | NashTrash: "-help" *could* be, but I don't even think it is, either. | 15:00 |
kbringard | for very basic, you should be able to do glance-upload --disk-format=ami --container-format=ami --type=machine <image> <image-name> | 15:00 |
kbringard | for the image | 15:00 |
soren | NashTrash: Hint: "—" is not the same as "-" | 15:00 |
kbringard | if it's an all in one (meaning the kernel and ramdisk are included in the image) then that should be all you have to do | 15:01 |
kbringard | if it's not, you'll need to do some glance update magic | 15:01 |
NashTrash | soren: One dash not two. You are correct sir. | 15:01 |
soren | NashTrash: — is not two dashes. It's a completely different character. | 15:01 |
soren | NashTrash: How did you even type it? | 15:02 |
*** Guest54619 has quit IRC | 15:02 | |
kbringard | soren: is it possibly your (or his) IRC client changing it? | 15:02 |
NashTrash | soren: Very true. The standard two dash causes a trace. One dash give the following "glance-upload: error: argument -h/--help: ignored explicit argument 'lp'" | 15:02 |
kbringard | I know friggin Word does that | 15:02 |
NashTrash | It was two dashes. Adium "helped" me out. | 15:03 |
kbringard | not to compare your IRC client to word... | 15:03 |
NashTrash | jaypipes: https://bugs.launchpad.net/glance/+bug/798749 | 15:03 |
NashTrash | kbringard: My image has an external kernel but no ramdisk | 15:04 |
*** reidrac has left #openstack | 15:07 | |
kbringard | NashTrash: then you'll need to do like | 15:07 |
*** troytoman is now known as troytoman-away | 15:07 | |
kbringard | glance update <image id> type=machine kernel_id=<existing kernel id> | 15:08 |
kbringard | also, make sure that if you set any custom properties, you include them again in your glance update | 15:08 |
kbringard | otherwise it assumes you don't want them anymore and marks them as deleted = 1 in the DB | 15:08 |
jaypipes | NashTrash: cheers | 15:08 |
NashTrash | kbringard: I did this — glance-upload --disk-format=ami --container-format=ami --type=machine --kernel=1 mongo_snap mongo_snap | 15:09 |
kbringard | ah, there you go, I think I forgot --kernel worked, haha | 15:10 |
NashTrash | kbringard: It returned the following: http://paste.openstack.org/show/1679/ | 15:10 |
kbringard | ok, that looks good | 15:10 |
kbringard | if you do a euca-describe-images | 15:10 |
kbringard | do you see it? | 15:11 |
kbringard | and in theory it should have the kernel linked to it | 15:11 |
NashTrash | kbringard: Yes, it is there. I am trying a run-instances with it now.... | 15:11 |
uvirtbot | New bug: #798749 in glance "glance-upload --help fails" [Low,New] https://launchpad.net/bugs/798749 | 15:12 |
*** ziyadb_ has quit IRC | 15:12 | |
*** ziyadb has joined #openstack | 15:13 | |
*** ziyadb has joined #openstack | 15:13 | |
NashTrash | kbringard: Boo yaa. It worked nicely. Thanks. | 15:13 |
kbringard | no prob | 15:14 |
*** mdomsch has joined #openstack | 15:16 | |
kbringard | and I can definitely confirm your glance-upload --help bug | 15:17 |
kbringard | hehe | 15:17 |
*** mdomsch is now known as mdomsch_westford | 15:17 | |
*** Razique has quit IRC | 15:24 | |
*** ameade has joined #openstack | 15:28 | |
*** troytoman-away is now known as troytoman | 15:31 | |
*** troytoman is now known as troytoman-away | 15:31 | |
doude | Hi, I meet a problem with Glance. I use the revision 139, it didn't change the las two weeks. Actualy, when I upload an Image, I didn't get any error but no data was upload in data store. The glance registery add an entry with an empty size. | 15:33 |
*** knighthacker has joined #openstack | 15:33 | |
*** knighthacker has left #openstack | 15:34 | |
doude | And this entry is in active status | 15:34 |
*** odyi has quit IRC | 15:34 | |
doude | i didn't change my config and worked a the begining of the week | 15:34 |
*** odyi has joined #openstack | 15:35 | |
*** odyi has joined #openstack | 15:35 | |
*** odyi has quit IRC | 15:35 | |
*** obino has quit IRC | 15:36 | |
doude | I use filesytem backend and file is created during the uplaod but this is an empty file | 15:36 |
*** odyi has joined #openstack | 15:38 | |
*** odyi has joined #openstack | 15:38 | |
kbringard | how are you uploading the file? | 15:38 |
*** anonymous83722 has quit IRC | 15:41 | |
doude | kbringard: i tried to use 'glance add' command and 'glance-uplaod' command. Same effect | 15:41 |
kbringard | hmmm, when the command finishes, do you get any output? | 15:42 |
kbringard | like: http://paste.openstack.org/show/1679/ | 15:42 |
doude | kbringard: yes, http://paste.openstack.org/show/1681/ | 15:44 |
*** heckj has joined #openstack | 15:44 | |
*** rnirmal has joined #openstack | 15:44 | |
doude | kbringard: just for the command 'glance-upload' | 15:44 |
kbringard | ok, so when glance calculates the size, it's 0 as well... so it seems like the image isn't actually being uploaded | 15:44 |
kbringard | u'properties': {u'type': u'raw'}, | 15:45 |
kbringard | u'size': 0, | 15:45 |
*** nphase-work has quit IRC | 15:45 | |
kbringard | I assume the file actually exists and is > 0 bytes and you have read permissions on it ? | 15:45 |
*** nphase has joined #openstack | 15:45 | |
doude | kbringard: And I can see log in glance API without errors : http://paste.openstack.org/show/1682/ | 15:46 |
kbringard | you can also md5 the image on your disk and see if it matches the md5 glance generated | 15:46 |
kbringard | d41d8cd98f00b204e9800998ecf8427e | 15:47 |
kbringard | I'm guessing it won't though, since I'd wager glance is doing an md5 on a 0 byte file | 15:47 |
kbringard | lastly I'd ngrep (or tcpdump, or something) the upload and see if it's actually sending data | 15:47 |
doude | kbringard: not good, md5sum file: ec6f6893276a391442805cae1283d496 | 15:50 |
doude | kbringard: I'll try tcpdump | 15:51 |
kbringard | yea... my guess is the file isn't actually being uploaded | 15:51 |
kbringard | the post is happening, but the body is empty | 15:51 |
kbringard | at least that's my guess | 15:51 |
*** ziyadb has quit IRC | 15:53 | |
*** ziyadb_ has joined #openstack | 15:53 | |
*** maplebed has joined #openstack | 15:54 | |
*** dobber has quit IRC | 15:56 | |
doude | kbringard: i can see data in traffic. The data are correctly uploaded | 15:57 |
kbringard | hmmm, that is odd | 15:57 |
kbringard | I dunno... I guess I'd check permissions on your filesystem | 15:58 |
NashTrash | doude: If you go into the glance filesystem backend (/var/lib/glance/images) do you see anything there? | 15:59 |
kbringard | if the data is being transmitted, but it's not being written to your glance location on disk | 15:59 |
*** med_out is now known as med | 15:59 | |
*** med is now known as medberry | 15:59 | |
doude | kbringard: permission for the filesystem backend ? | 15:59 |
kbringard | then it seems there is some system level thing going on preventing it from writing | 15:59 |
*** mRy__ has joined #openstack | 15:59 | |
doude | kbringard: I set the user glance read and write to the folder | 15:59 |
doude | kbringard: that's enough ? | 16:00 |
kbringard | and the api/registry daemons are being run by the same user? | 16:00 |
NashTrash | I have glance:root as the folder ownership | 16:00 |
doude | NashTrash: yes I can see empty files: http://paste.openstack.org/show/1683/ | 16:00 |
kbringard | that looks like the same perms I have on mine | 16:01 |
HugoKuo | hello guys , how's today XD | 16:01 |
kbringard | strange, I dunno what to say doude | 16:01 |
doude | kbringard: yes: http://paste.openstack.org/show/1684/ | 16:02 |
NashTrash | doude: Hmm…kbringard has covered all of the bases I would have hit. | 16:02 |
*** dolphm has quit IRC | 16:02 | |
*** mRy_ has quit IRC | 16:03 | |
NashTrash | doude: Have you posted your glance-api.conf and glance-registry.conf? | 16:03 |
NashTrash | doude: Also, I am assuming df -f on the disk shows space available? | 16:04 |
NashTrash | doude: Sorry, just df | 16:04 |
doude | NashTrash: 3Go space left | 16:05 |
doude | http://paste.openstack.org/show/1685/ | 16:05 |
NashTrash | doude: Well, I guess that would do. Jaypipes might be the person to help. (Sorry Jay) | 16:05 |
doude | Glance API conf : http://paste.openstack.org/show/1686/ | 16:06 |
*** mRy__ has quit IRC | 16:07 | |
doude | Glance registry conf : http://paste.openstack.org/show/1687/ | 16:07 |
*** cuzoka has quit IRC | 16:07 | |
doude | Strange, that works before with the same release and config | 16:08 |
NashTrash | doude: Yeah. Things look OK. Sorry I can't help more. | 16:08 |
kbringard | I see from your ps that it looks like glance may have been restarted recently? | 16:09 |
kbringard | in your pasdte | 16:09 |
kbringard | paste* | 16:09 |
kbringard | perhaps a change was made to the config awhile ago but only just now took effect due to a restart? | 16:09 |
doude | kbringard: yes I tried recently to restart it | 16:10 |
doude | kbringard: erase my database and created a new one | 16:10 |
kbringard | heh, I'm kinda stabbing in the dark now... this is a pretty strange issue | 16:10 |
*** FallenPegasus has joined #openstack | 16:10 | |
doude | I made some test with glance python client but I don't think is a problem | 16:11 |
doude | The was just a feching image script | 16:11 |
jaypipes | doude: looking now.. | 16:12 |
doude | jaypipes: thanks | 16:13 |
*** joearnold has joined #openstack | 16:13 | |
kbringard | doude: you can try https://github.com/kevinbringard/OpenStack-tools/blob/master/glance-uploader.bash to see if it helps any | 16:13 |
jaypipes | doude: what version of glance are you using? | 16:13 |
kbringard | or, if you have a ruby env, you can use https://github.com/kevinbringard/OpenStack-tools/blob/master/glance-uploader.rb | 16:14 |
*** FallenPegasus has quit IRC | 16:14 | |
doude | I'm pretty sure, it's a stupid error but which one ? | 16:14 |
*** bkkrw has quit IRC | 16:15 | |
*** FallenPegasus has joined #openstack | 16:15 | |
*** FallenPegasus is now known as MarkAtwood | 16:15 | |
jaypipes | doude: can you paste the script you are using, please? | 16:15 |
*** et_ has quit IRC | 16:15 | |
*** MarkusWPHRorg has quit IRC | 16:15 | |
*** dk_ has quit IRC | 16:17 | |
doude | jaypipes: first time I copy/paste the example script from doc with corect id and url : http://paste.openstack.org/show/1688/ | 16:18 |
doude | jaypipes: and i improve it to work with the last librairie : http://paste.openstack.org/show/1689/ | 16:19 |
jaypipes | doude: what does ll /tmp/glance_file output? | 16:19 |
jaypipes | doude: in that script, you are writing the file (/tmp/glance_file) back onto itself... | 16:20 |
jaypipes | doude: sorry, no... | 16:21 |
jaypipes | doude: what does glance show 39 output? | 16:21 |
doude | jaypipes: this image doesn't exist anymore. I reset all Glance : processes + bata base | 16:22 |
doude | jaypipes: data base* | 16:22 |
jaypipes | doude: ok, so do you want to start over? Could you tell me what the problem is? I was a little late into the conversation here... | 16:23 |
*** MarkusWPHRorg has joined #openstack | 16:24 | |
MarkusWPHRorg | Good Morning fellow Openers | 16:24 |
MarkusWPHRorg | (Stackers?) | 16:24 |
doude | jaypipes: When I upload a file to glance, It's ok. No error in Glance logs. The file exists in the registery and on the file system but it's empty, size zero. | 16:25 |
doude | jaypipes: I snif the traffic and the file is correctly uploaded to glance | 16:25 |
jaypipes | doude: ok. and what are you using to upload to glance? | 16:26 |
jaypipes | MarkusWPHRorg: Stackers :) | 16:26 |
*** ewindisch has quit IRC | 16:28 | |
doude | jaypipes: I use 'glance add' or 'glance-upload' commands | 16:28 |
MarkusWPHRorg | jaypipes: I thought of that yesterday, but it seems to be lacking something..... | 16:29 |
*** obino has joined #openstack | 16:29 | |
MarkusWPHRorg | How about "Cloud Wranglers?" | 16:29 |
jaypipes | doude: ok. can you show me the link to the paste of those exact commands, please? thx. | 16:29 |
doude | jaypipes: glance add name="test" is_public=True < file | 16:30 |
jaypipes | doude: ok. | 16:30 |
doude | or http://paste.openstack.org/show/1690/ | 16:31 |
jaypipes | doude: could you please tell me what version of both glance and webob you are using? | 16:31 |
*** dgags has quit IRC | 16:33 | |
*** obino has quit IRC | 16:33 | |
doude | jaypipes: http://paste.openstack.org/show/1691/ | 16:33 |
*** ohnoimdead has joined #openstack | 16:34 | |
*** kashyap has quit IRC | 16:34 | |
jaypipes | doude: and webob? | 16:35 |
*** osier has quit IRC | 16:36 | |
doude | jaypipes: Oops, sorry : 1.0.7-0~ppalucid1 | 16:37 |
jaypipes | doude: k, thx. | 16:38 |
*** koolhead17 has joined #openstack | 16:38 | |
jaypipes | doude: ok, you up for doing a little patching on the fly to see if my hunch about the webob version is correct? | 16:39 |
MarkusWPHRorg | I have a question about "euca-allocate-address" | 16:39 |
doude | jaypipes: ok | 16:39 |
MarkusWPHRorg | I'm trying to connect a publi ip on one interface to the ip of an instance | 16:40 |
MarkusWPHRorg | plain vanilla ubuntu instance | 16:40 |
jaypipes | doude: alrighty. open up /usr/share/pyshared/glance/glance/client.py | 16:40 |
MarkusWPHRorg | so I run "nova-manage floating create my-hostname <ip address>" | 16:40 |
MarkusWPHRorg | and then euca-allocate-address <ip address> | 16:41 |
MarkusWPHRorg | and finally euca-associate-address -i <instance name> <ip address> | 16:41 |
MarkusWPHRorg | at each point, <ip address> is the public ip | 16:41 |
MarkusWPHRorg | But I get nothing but errors | 16:42 |
*** obino has joined #openstack | 16:42 | |
jaypipes | doude: you there? | 16:42 |
MarkusWPHRorg | My question to all the smart learned people here is: Does that ip have to already be up on an interface somewhere? | 16:42 |
kbringard | lol, gotta love it when people ask for help and then disappear ;-) | 16:42 |
MarkusWPHRorg | Or does nova-network set up the interface for you? | 16:43 |
jaypipes | kbringard: he's still here I think :) | 16:43 |
kbringard | I know, just messin' | 16:43 |
doude | jaypipes: yes | 16:43 |
jaypipes | doude: ok, search for the phrase "Chunk it, baby..." :) | 16:43 |
doude | jaypipes: to much 'glance' in your path ? | 16:43 |
doude | jaypipes: I get it line 134 | 16:44 |
jaypipes | doude: ah, yes, sorry... | 16:44 |
jaypipes | doude: right after that comment, put this code: http://paste.openstack.org/show/1692/ | 16:44 |
*** flk_ has joined #openstack | 16:44 | |
* jaypipes loves on-the-fly monkey patching... | 16:45 | |
bpaluch | is the vncproxy only in 2011.3 build packages? I installed using the script on the docs page, do I need to install something newer to get the vncproxy? | 16:45 |
jaypipes | doude: when done, save the file and try to add the image again... | 16:45 |
doude | jaypipes: done | 16:45 |
jaypipes | doude: if my hunch is correct, that will fix the issue... | 16:45 |
doude | jaypipes: no it doesn't work: http://paste.openstack.org/show/1694/ | 16:52 |
*** kashyap has joined #openstack | 16:54 | |
MarkusWPHRorg | So how does openstack handle public ip addresses - does it create an aliased interface for them or soemthing? | 16:54 |
jaypipes | doude: is there an error message in the api log? | 16:55 |
MarkusWPHRorg | I noticed that before I specified a public interface in my config, it would assign the ip to eth0 which didn't already have an ip | 16:55 |
doude | jaypipes: no log in api and registry | 16:55 |
kbringard | probably need to turn debug = True in the conf files | 16:55 |
jaypipes | doude: did you restart the servers? | 16:55 |
*** nacx has quit IRC | 16:56 | |
doude | jaypipes: yes | 16:56 |
*** jdurgin has joined #openstack | 16:57 | |
doude | jaypipes: but the patch code concern only the client ? | 16:57 |
jaypipes | doude: the servers use the client. | 16:57 |
doude | jaypipes: ok | 16:57 |
jaypipes | doude: as does the glance CLI tool. | 16:57 |
jaypipes | doude: so, no error was output at all? that seems very strange... | 16:57 |
*** koolhead17 has quit IRC | 16:58 | |
*** magglass1 has quit IRC | 16:58 | |
doude | jaypipes: I cannot see any errors | 16:58 |
*** koolhead17 has joined #openstack | 16:58 | |
doude | jaypipes: sorry but I must leave. I'm in France and it's 7pm here. | 16:59 |
doude | jaypipes: perhaps we can continue next monday ? | 17:00 |
jaypipes | doude: could you try: glance --debug add name="test" is_public=True < natty-server-uec-amd64.tar.gz | 17:00 |
jaypipes | doude: yes, we can continue on monday, no problem. | 17:00 |
*** adiantum_ has joined #openstack | 17:00 | |
jaypipes | doude: ou, pas de probleme :) | 17:00 |
doude | jaypipes: no option --debug with glance command | 17:01 |
jaypipes | doude: sorry, --verbose | 17:01 |
*** iammartian has joined #openstack | 17:01 | |
doude | jaypipes: just completed time added : Completed in 0.0002 sec. | 17:02 |
doude | jaypipes: thanks for your help and have a good weekend | 17:02 |
jaypipes | doude: ok, you too. | 17:03 |
*** mszilagyi has joined #openstack | 17:06 | |
*** obino has quit IRC | 17:06 | |
*** kbringard has quit IRC | 17:07 | |
*** foxtrotdelta has quit IRC | 17:07 | |
*** adiantum has quit IRC | 17:07 | |
*** hadrian has quit IRC | 17:07 | |
*** soosfarm has quit IRC | 17:07 | |
*** lool has quit IRC | 17:07 | |
*** obino has joined #openstack | 17:07 | |
*** joearnold has quit IRC | 17:08 | |
*** kbringard has joined #openstack | 17:08 | |
*** foxtrotdelta has joined #openstack | 17:08 | |
*** hadrian has joined #openstack | 17:08 | |
*** soosfarm has joined #openstack | 17:08 | |
*** lool has joined #openstack | 17:08 | |
*** joearnold has joined #openstack | 17:08 | |
*** netmarkjp has joined #openstack | 17:09 | |
kbringard | wb everyone | 17:10 |
kbringard | it was a long an arduous journey, but I'm glad we could all make it here again safely | 17:11 |
*** kbringard has quit IRC | 17:13 | |
*** foxtrotdelta has quit IRC | 17:13 | |
*** hadrian has quit IRC | 17:13 | |
*** soosfarm has quit IRC | 17:13 | |
*** lool has quit IRC | 17:13 | |
*** ke4qqq_ is now known as ke4qqq | 17:14 | |
*** crescendo has quit IRC | 17:15 | |
*** kbringard has joined #openstack | 17:16 | |
*** foxtrotdelta has joined #openstack | 17:16 | |
*** hadrian has joined #openstack | 17:16 | |
*** soosfarm has joined #openstack | 17:16 | |
*** lool has joined #openstack | 17:16 | |
*** obino1 has joined #openstack | 17:16 | |
*** crescendo has joined #openstack | 17:16 | |
*** ke4qqq has quit IRC | 17:16 | |
*** ke4qqq has joined #openstack | 17:16 | |
*** netmarkjp has left #openstack | 17:17 | |
*** obino has quit IRC | 17:19 | |
*** katkee has quit IRC | 17:20 | |
*** joearnold has quit IRC | 17:24 | |
*** adiantum_ has quit IRC | 17:31 | |
*** kbringard has quit IRC | 17:31 | |
*** kbringard has joined #openstack | 17:31 | |
*** kbringard_ has joined #openstack | 17:32 | |
*** kbringard has quit IRC | 17:32 | |
*** kbringard_ is now known as kbringard | 17:32 | |
*** zz2 has quit IRC | 17:38 | |
MarkusWPHRorg | Netsplit? Or is everyone just bailing? | 17:39 |
*** GeoDud has joined #openstack | 17:40 | |
nhm | looks like there was a netsplit | 17:41 |
*** dolphm has joined #openstack | 17:43 | |
*** vladimir3p has joined #openstack | 17:43 | |
*** jakedahn has quit IRC | 17:45 | |
*** Ryan_Lane has joined #openstack | 17:47 | |
kbringard | yep, netsplit is what I saw | 17:47 |
*** iRTermite has quit IRC | 17:49 | |
*** arun_ has quit IRC | 17:50 | |
MarkusWPHRorg | Can anyone tell me how nova-net/euca sets up floating ip addresses? | 17:50 |
MarkusWPHRorg | Does it set up an aliased interface or something when you do the euca-associate? | 17:51 |
*** rchavik has quit IRC | 17:57 | |
*** magglass1 has joined #openstack | 17:57 | |
MarkusWPHRorg | I notice that when I run "ip add list" one of my public ip's is listed there, associated/attached to my public interface | 17:58 |
MarkusWPHRorg | as opposed to another publi ip which has it's own aliased interface(eth1:0) | 17:59 |
MarkusWPHRorg | the one on eth1:0 is pingable/ssh-able for outside, the one that shows ip in the ip ad list command is not | 17:59 |
MarkusWPHRorg | My problem is, I don't even know what the EXPECTED behavior is. Makes it a little hard to diagnose and troubleshoot | 18:00 |
kbringard | the floaters get added with ip addr add | 18:01 |
kbringard | to the external interface on your network controller | 18:01 |
kbringard | then NAT rules get setup on the network controller as well | 18:01 |
kbringard | iptables -L -vn -t nat | 18:01 |
kbringard | should, in theory, have D and SNAT rules sending packets to the private IP from the public | 18:02 |
kbringard | if all that is setup, then you'll also want to make sure ip_forwarding is enabled on the network-controller | 18:02 |
kbringard | if you're on ubuntu | 18:02 |
kbringard | then look in /etc/sysctl.conf for the following line | 18:03 |
kbringard | net.ipv4.ip_forward=1 | 18:03 |
MarkusWPHRorg | ok cool - thank you very much - that's very helpful | 18:03 |
kbringard | it's commented out by default | 18:03 |
kbringard | you'll also want to find net.ipv6.conf.all.forwarding=1 | 18:03 |
kbringard | if you're using ip6 | 18:03 |
kbringard | uncomment them, save the file | 18:03 |
kbringard | and run sysctl -p | 18:03 |
kbringard | you can set them manually, but changing it here assures they'll persist across reboots | 18:03 |
MarkusWPHRorg | no ip6 just yet | 18:04 |
MarkusWPHRorg | but soon | 18:04 |
MarkusWPHRorg | ish | 18:04 |
*** MarkAtwood has left #openstack | 18:05 | |
kbringard | anyone know how often merges propagate out to the ppa apt repo? | 18:05 |
MarkusWPHRorg | I f I knew what a "ppa apt repo" was..... | 18:06 |
MarkusWPHRorg | actually I know what an apt repo is | 18:06 |
MarkusWPHRorg | just not sure about ppa | 18:06 |
kbringard | the ppa apt repo is the launchpad repo where the openstack packages are | 18:07 |
MarkusWPHRorg | got it | 18:07 |
kbringard | at least in the context I'm using | 18:07 |
kbringard | so I was asking how long after a fix has been commited, it takes for new dpkgs to be rolled and available at the repo | 18:09 |
*** tjikkun has quit IRC | 18:10 | |
*** sebastianstadil has joined #openstack | 18:12 | |
NashTrash | Can I directly edit the "image_location" string in a Glance DB? Is this used for anything other than user output? | 18:13 |
kbringard | not sure... I would have assumed it would tell glance where to get the image on the disk... maybe give it a try and see what happens, hah | 18:15 |
NashTrash | kbringard: I am testing. Glance stores each file in its filesystem as 1, 2, 3, 4, 5 (id of the entry). The image_location seems more to have been set as part of the uec-publish-tarball process. For example, using glance-upload doesn't even set that property. | 18:16 |
kbringard | ah, then in that case you're probably right | 18:17 |
NashTrash | kbringard: Seems to still be working. For whatever reason image_location property is what shows us as the primary descriptor for euca-describe-images. I want to make that prettier for my users | 18:18 |
kbringard | oh, interesting... I thought it was hexing the id | 18:19 |
NashTrash | kbringard: Not from what I can tell. There is a name field in the images table and the full name displayed in euca- is images.name (image_properties.image_location) | 18:20 |
kbringard | oooo, sorry, I thought you meant the AMI | 18:21 |
NashTrash | kbringard: Oops. Got that backwards. euca- shows image_properties.image_location(image.name) | 18:21 |
kbringard | yea, I set the name when I upload | 18:22 |
*** iammartian has left #openstack | 18:22 | |
NashTrash | :) | 18:22 |
NashTrash | AFK for a bit | 18:22 |
uvirtbot | New bug: #798876 in nova "Consider Switching from Carrot to Kombu for AMQP" [Undecided,New] https://launchpad.net/bugs/798876 | 18:36 |
zul | soren: bug 798878 is kind of interesting, we dont want to leak the mysql password ;) | 18:36 |
*** ahs3 has joined #openstack | 18:37 | |
*** fabiand__ has joined #openstack | 18:38 | |
uvirtbot | New bug: #798878 in nova "nova-XXX respawns constantly -- [Errno 111] Connection refused" [Undecided,New] https://launchpad.net/bugs/798878 | 18:41 |
*** mrjazzcat has joined #openstack | 18:43 | |
*** bibabot has joined #openstack | 18:47 | |
*** zorzar has quit IRC | 18:50 | |
*** zorzar has joined #openstack | 18:54 | |
*** lorin1 has quit IRC | 18:55 | |
*** llang629 has joined #openstack | 18:57 | |
*** kennethkalmer has joined #openstack | 18:58 | |
*** Razique has joined #openstack | 18:59 | |
*** amccabe has quit IRC | 19:00 | |
*** robjo1 has joined #openstack | 19:00 | |
*** ccooke has quit IRC | 19:00 | |
*** ziyadb has joined #openstack | 19:00 | |
*** ziyadb has joined #openstack | 19:00 | |
*** zorzar has quit IRC | 19:00 | |
*** ziyadb_ has quit IRC | 19:00 | |
robjo1 | Where would I find "nightly" tarballs of the development tree? | 19:00 |
*** amccabe has joined #openstack | 19:01 | |
*** ccooke has joined #openstack | 19:02 | |
*** zorzar has joined #openstack | 19:03 | |
*** dgags has joined #openstack | 19:05 | |
*** Razique has joined #openstack | 19:05 | |
*** Razique has joined #openstack | 19:06 | |
*** Razique has quit IRC | 19:07 | |
*** Razique has joined #openstack | 19:07 | |
*** robjo1 has left #openstack | 19:07 | |
Razique | hi all | 19:07 |
heckj | robjo1 at launchpad in the various project areas. I don't believe that we're building PPA's and associated packages nightly from the development trunks. | 19:12 |
*** winston-d has quit IRC | 19:15 | |
*** kennethkalmer has quit IRC | 19:20 | |
kbringard | I do think there is "continuous" integration with the ppa apt repo though | 19:21 |
kbringard | the trunk apt repo that is | 19:21 |
kbringard | it's usually not much more than an hour or so behind | 19:21 |
*** Razique has quit IRC | 19:22 | |
*** Razique has joined #openstack | 19:22 | |
*** ziyadb has quit IRC | 19:26 | |
*** ziyadb has joined #openstack | 19:26 | |
*** renuka has joined #openstack | 19:27 | |
renuka | hello i had a question about the order of calls in the __init__ of VolumeManager | 19:28 |
*** iammartian has joined #openstack | 19:34 | |
*** iammartian has left #openstack | 19:34 | |
*** renuka has quit IRC | 19:35 | |
*** clauden has joined #openstack | 19:35 | |
*** jdarcy_ has joined #openstack | 19:37 | |
*** ziyadb_ has joined #openstack | 19:37 | |
*** ziyadb has quit IRC | 19:39 | |
*** jdarcy has quit IRC | 19:39 | |
*** jdarcy_ is now known as jdarcy | 19:39 | |
*** jdarcy_ has joined #openstack | 19:41 | |
*** mdomsch_westford has quit IRC | 19:41 | |
*** jdarcy has quit IRC | 19:41 | |
*** jdarcy_ is now known as jdarcy | 19:41 | |
*** ziyadb_ has quit IRC | 19:42 | |
*** llang629 has left #openstack | 19:45 | |
*** Ephur has joined #openstack | 19:48 | |
*** huslage has joined #openstack | 19:49 | |
adam_g | im trying to get started with glance, using default_store = file. using either uec-publish-tarball or 'glance add', images are registered but the corresponding files in /var/lib/glance/images are zero-length. is this configuration error or is my understanding of local file backend wrong? | 19:54 |
*** amccabe has quit IRC | 19:54 | |
adam_g | here is a log of a run of uec-publish-tarball: http://paste.ubuntu.com/628571/ | 19:54 |
*** Ephur has quit IRC | 19:56 | |
Razique | hi adam_g | 19:57 |
Razique | what euca-describe-images returns ? | 19:58 |
*** jdarcy has quit IRC | 19:59 | |
*** kd926 has quit IRC | 20:00 | |
adam_g | Razique: a good lookin list of iamges: http://paste.ubuntu.com/628578/ | 20:01 |
adam_g | https://bugs.launchpad.net/glance/+bug/794582 , i wonder. | 20:01 |
*** bibabot has quit IRC | 20:01 | |
*** jdarcy has joined #openstack | 20:03 | |
*** amccabe has joined #openstack | 20:08 | |
*** Ryan_Lane is now known as Ryan_Lane|away | 20:10 | |
Razique | ok | 20:10 |
Razique | try to restart nova-objectstore, nova-api and glance services | 20:11 |
Razique | and see if the problem occurs again | 20:11 |
Razique | for glance : glance-control all stop && glance-control all start | 20:11 |
kbringard | hey soren, you around sir? | 20:11 |
soren | kbringard: I am. | 20:12 |
kbringard | you do most of the iptables code, yea? | 20:12 |
*** cowmix has joined #openstack | 20:12 | |
soren | that's the theory. | 20:12 |
kbringard | hehe, would you mind taking a look at: https://bugs.launchpad.net/nova/+bug/798346 real quick | 20:13 |
* soren looks | 20:13 | |
kbringard | to see if something jumps out at you | 20:13 |
kbringard | the quick and dirty is, if you update a rule in a group with instances running on it, the nova-compute-local group on the compute nodes with instances from that group ends up updating everything to point to whatever the first instance in the chain is | 20:14 |
kbringard | you can service nova-compute restart and it goes back to what it should be | 20:14 |
*** dgags has quit IRC | 20:14 | |
soren | kbringard: oh, dear. | 20:14 |
soren | Dear, oh dear, oh dear. | 20:15 |
kbringard | yea | 20:15 |
kbringard | it looks like it's been that way for awhile | 20:15 |
soren | Probably. That stuff hasn't changed much in a while. | 20:15 |
kbringard | the biggest issue is that if something has a floater assigned to it | 20:15 |
kbringard | it's instantly bare assed to the world | 20:15 |
kbringard | at least in my environment | 20:16 |
soren | I think I know sort of where it happens. | 20:16 |
kbringard | sorry, I spent the morning looking at it, and realized I wasn't familiar enough with this code to figure it out quickly, hehe | 20:18 |
soren | Gimme a couple of minutes. | 20:18 |
kbringard | no worries | 20:18 |
kbringard | while you're at it... if you think it's related... it looks like --source-group stuff doesn't work as expected either | 20:18 |
kbringard | but that's less important at this very moment, imo | 20:18 |
*** huslage has quit IRC | 20:19 | |
soren | kbringard: Yeah, ti doesn't. | 20:19 |
kbringard | lol, cool, glad you know :-) | 20:19 |
kbringard | anyway, I'll leave you be. Thanks for taking a look | 20:20 |
*** dolphm has quit IRC | 20:23 | |
*** pothos_ has joined #openstack | 20:27 | |
*** pothos has quit IRC | 20:29 | |
*** mgoldmann has quit IRC | 20:29 | |
*** pothos_ is now known as pothos | 20:29 | |
*** llang629_ has joined #openstack | 20:34 | |
*** llang629_ has left #openstack | 20:35 | |
soren | kbringard: Man, I don't blame you for not figuring this out. It's complicated :) | 20:38 |
kbringard | indeed, which is why I came to the mastah | 20:39 |
soren | :) | 20:45 |
*** obino1 has quit IRC | 20:46 | |
*** obino has joined #openstack | 20:46 | |
MarkusWPHRorg | I'm having kind of a similar problem | 20:47 |
MarkusWPHRorg | Freshly booted machine running nova compute, swift, network, pretty much everything | 20:48 |
MarkusWPHRorg | when I run euca-allocate-address list | 20:48 |
MarkusWPHRorg | I get UnknownError: An unknown error has occurred. Please try your request again. | 20:48 |
MarkusWPHRorg | and lots of TRACE messages in the log | 20:48 |
*** fabiand__ has quit IRC | 20:49 | |
dabo | MarkusWPHRorg: Do any of them mention permissions? There was a bug fix today for that | 20:49 |
MarkusWPHRorg | I've seen similar behavior when I used an ip address instead of hostname in my "nova-manage floating" command | 20:49 |
dabo | Check your 'users' table in the nova database - if 'is_admin' is 0, try changing that column to 1 and re-run. If the errors go away, then that's the bug that was found and fixed | 20:50 |
MarkusWPHRorg | Not seeing that yet - still looking | 20:50 |
MarkusWPHRorg | There is this: ERROR nova [-] Exception during message handling | 20:50 |
*** flk_ has quit IRC | 20:51 | |
*** ctennis has quit IRC | 20:51 | |
kbringard | dabo: are you talking about the bug when launching instances? | 20:51 |
kbringard | MarkusWPHRorg: is your rabbitmq running? | 20:51 |
dabo | kbringard: yeah - it affected lots of things, not just launching | 20:51 |
kbringard | ah so, i did not know that | 20:52 |
kbringard | glad I fixed it | 20:52 |
kbringard | haha | 20:52 |
MarkusWPHRorg | kbringard: how can I check? | 20:52 |
dabo | i am too | 20:52 |
*** markvoelker has quit IRC | 20:52 | |
kbringard | MarkusWPHRorg: service rabbitmq status | 20:52 |
MarkusWPHRorg | ya it's up | 20:54 |
kbringard | what rev are you running? | 20:54 |
MarkusWPHRorg | it was "service rabbitmq-server status" | 20:54 |
kbringard | 1194 I think is the newest | 20:54 |
kbringard | oh, sorry | 20:54 |
MarkusWPHRorg | that' | 20:54 |
MarkusWPHRorg | s ok :) | 20:54 |
kbringard | I always just tab complete, so I forget the exact service names, hehe | 20:54 |
kbringard | <--- lazy | 20:54 |
MarkusWPHRorg | hah | 20:55 |
MarkusWPHRorg | how can I find out my version? | 20:55 |
MarkusWPHRorg | I'm running whatever version installs with "apt-get" so I may be a ways behind | 20:57 |
kbringard | dpkg -l | grep nova | 20:57 |
kbringard | it'll be like | 20:58 |
kbringard | 2011.3~d2~20110617.1194-0ubuntu0ppa1~maverick1 | 20:58 |
MarkusWPHRorg | 2011.2-0ubuntu1 | 20:58 |
kbringard | hmmm, that's pretty old... is that the cactus released version? | 20:58 |
MarkusWPHRorg | not sure, but maybe | 20:58 |
MarkusWPHRorg | is there a way to upgrade, or should I attempt the install from scratch? | 20:59 |
soren | Upgrades should work. | 20:59 |
soren | if they don't, please let us know. | 20:59 |
MarkusWPHRorg | How do I do the upgrade - apt-get? | 20:59 |
kbringard | it seems likely that you have the "stable" repo in your sources as opposed to the trunk repo | 20:59 |
soren | Yes. | 20:59 |
kbringard | unless you've not upgraded in a couple of months | 21:00 |
MarkusWPHRorg | I just installed it fresh on ubuntu 11.4 a couple weeks ago | 21:00 |
MarkusWPHRorg | what do I need to change in my sources to get the "trunk repo?" | 21:00 |
*** ctennis has joined #openstack | 21:04 | |
*** ctennis has joined #openstack | 21:04 | |
*** ameade has quit IRC | 21:09 | |
heckj | MarkusWPHRorg: do you really want trunk, or the latest milestone release (i.e. diablo-1)? | 21:10 |
*** ewindisch has joined #openstack | 21:10 | |
heckj | MarkusWPHRorg: I've been using the nova.sh to install the latest and greatest milestone bits | 21:12 |
heckj | MarkusWPHRorg: | 21:12 |
heckj | curl -O https://raw.github.com/cloudbuilders/deploy.sh/master/nova.sh | 21:12 |
heckj | chmod 755 nova.sh | 21:12 |
heckj | ./nova.sh branch lp:~hudson-openstack/nova/milestone-proposed | 21:12 |
heckj | ./nova.sh install | 21:12 |
*** foxtrotdelta has quit IRC | 21:19 | |
*** kashyap has quit IRC | 21:19 | |
*** Ryan_Lane|away is now known as Ryan_Lane | 21:25 | |
uvirtbot | New bug: #798965 in nova "List Servers API call does not return "flavorRef" attribute. To get it we have to do Get Server API call for each server in a list." [Undecided,New] https://launchpad.net/bugs/798965 | 21:26 |
MarkusWPHRorg | heckj: Thank you - that's very helpful | 21:30 |
uvirtbot | New bug: #798966 in nova "We'd like to have a visibility attribute ('public'/'private') for Images." [Undecided,New] https://launchpad.net/bugs/798966 | 21:32 |
uvirtbot | New bug: #798967 in nova "public Server addresses are kept in a list of private addresses while the publist list is empt" [Undecided,New] https://launchpad.net/bugs/798967 | 21:32 |
uvirtbot | New bug: #798969 in nova "error messages should have details" [Undecided,New] https://launchpad.net/bugs/798969 | 21:36 |
*** lborda has quit IRC | 21:36 | |
*** medberry is now known as med_out | 21:44 | |
*** jkoelker has quit IRC | 21:48 | |
*** lvaughn has quit IRC | 21:56 | |
*** lvaughn has joined #openstack | 21:57 | |
*** FallenPegasus has joined #openstack | 21:58 | |
*** FallenPegasus is now known as MarkAtwood | 21:58 | |
*** PeteDaGuru has quit IRC | 21:59 | |
*** lborda has joined #openstack | 22:01 | |
*** lvaughn has quit IRC | 22:03 | |
*** imsplitbit has quit IRC | 22:07 | |
*** sebastianstadil has quit IRC | 22:12 | |
soren | kbringard: AHA! | 22:15 |
kbringard | found it, eh? | 22:16 |
soren | I did. | 22:16 |
kbringard | that is because you rule | 22:16 |
*** amccabe has quit IRC | 22:16 | |
soren | I'm stubborn. there's a fine line there. | 22:16 |
kbringard | haha, fair enough | 22:18 |
soren | Yup, totally nailed this one. | 22:21 |
soren | I'm absolutely beat, though. | 22:21 |
kbringard | lol, sorry | 22:21 |
kbringard | thanks for fixing it :-) | 22:21 |
soren | kbringard: Not your fault :) | 22:21 |
soren | kbringard: I'll epxlain on the bug, so that I can fix it later. | 22:21 |
kbringard | hehe, true, I was empathizing | 22:21 |
*** allsystemsarego has quit IRC | 22:23 | |
*** jonkelly has quit IRC | 22:24 | |
*** shentonfreude has quit IRC | 22:31 | |
*** kbringard has quit IRC | 22:35 | |
*** lborda has quit IRC | 22:38 | |
*** rnirmal has quit IRC | 22:51 | |
*** watcher has joined #openstack | 22:57 | |
*** miclorb has joined #openstack | 22:59 | |
*** miclorb has quit IRC | 23:05 | |
*** lborda has joined #openstack | 23:11 | |
*** freeflyi1g has joined #openstack | 23:16 | |
*** freeflying has quit IRC | 23:19 | |
*** pguth66 has joined #openstack | 23:22 | |
*** rnirmal has joined #openstack | 23:24 | |
*** rnirmal has quit IRC | 23:24 | |
*** ewindisch has quit IRC | 23:25 | |
*** vladimir3p has quit IRC | 23:26 | |
*** ewindisch has joined #openstack | 23:26 | |
*** fysa has quit IRC | 23:30 | |
*** ewindisch has quit IRC | 23:30 | |
*** Razique has quit IRC | 23:39 | |
uvirtbot | New bug: #798998 in nova "format_images in ec2_api does not correctly return owner id" [Undecided,New] https://launchpad.net/bugs/798998 | 23:46 |
*** fysa has joined #openstack | 23:51 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!