Thursday, 2011-11-03

*** andreaf has quit IRC00:00
*** huslage has joined #openstack00:00
*** philippkueng has quit IRC00:00
*** cdub has quit IRC00:00
*** clauden_ has quit IRC00:01
*** clauden has joined #openstack00:01
*** rnorwood has left #openstack00:02
*** bsza has quit IRC00:04
*** dirakx1 has quit IRC00:11
*** dirakx2 has joined #openstack00:11
*** nerdstein has joined #openstack00:13
*** iRTermite has quit IRC00:15
*** jog0 has quit IRC00:19
*** nati2 has quit IRC00:21
*** vladimir3p has joined #openstack00:22
*** dtroyer has joined #openstack00:24
*** cdub has joined #openstack00:27
*** adjohn has quit IRC00:29
*** jakedahn has quit IRC00:29
*** jakedahn has joined #openstack00:29
*** adjohn has joined #openstack00:29
*** isaacfinnegan has quit IRC00:34
*** nati2 has joined #openstack00:36
*** nerdstein has quit IRC00:37
*** uncleofthestick has quit IRC00:41
*** dragondm has quit IRC00:48
*** nerdstein has joined #openstack00:48
*** cdub has quit IRC00:49
*** jakedahn has quit IRC00:56
*** cereal_bars has joined #openstack00:57
*** adjohn has quit IRC01:01
*** qazwsx has quit IRC01:04
*** obino has quit IRC01:13
*** nerdstein has quit IRC01:16
*** vidd-away is now known as vidd01:16
*** cereal_bars has quit IRC01:17
*** doorlock has joined #openstack01:20
*** cdub has joined #openstack01:21
*** jog0 has joined #openstack01:24
*** ron-slc has quit IRC01:28
*** herbster has joined #openstack01:29
herbsterhi guys01:29
herbsterwe have set up nova-volume and seems to be working well01:29
herbsterhowever i have a permissions problem01:29
herbsteras the admin user, i can create a volume and then create a snapshot of that volume in hybridfox/euca2ools/boto01:29
herbsterhowever, one of the other users (who has the nova roles netadmin and sysadmin)01:30
herbstercan only create volumes01:30
herbsterwhen they try to create a snapshot from that volume01:30
herbster"Unauthorized request for controller=CloudController and action=CreateSnapshot"01:30
herbster(from nova-api.log)01:30
*** jog0 has quit IRC01:31
*** huslage has quit IRC01:32
*** nci has joined #openstack01:33
*** doorlock has quit IRC01:34
*** Ryan_Lane has quit IRC01:38
nciHi all, I'm having some strange issues with Swift. Despite the operations succeeding (listing containers will show the new item), I am receiving 404 errors when I attempt to create or delete containers. Anyone have any ideas?01:38
*** Ryan_Lane has joined #openstack01:38
herbsterwhat do the logs on swift-proxy say nci?01:39
*** jakedahn has joined #openstack01:39
nciswift-proxy proxy-server 150.203.248.116 150.203.248.116 03/Nov/2011/01/29/14 PUT /v1/AUTH_admin/blarggggg%253Cbuilt-in%2520method%2520now%2520of%2520type%2520object%2520at%25200x7f00ba295760%253E HTTP/1.0 40401:40
nci- python-cloudfiles/1.7.9.2 admin%2CAUTH_tk2bfce33b5a344e278bd6c6d18a844dbe - - - tx5d0b6b94bbba406f8a69a1793ee4e6d5 - 0.075501:41
*** adrianmoya has joined #openstack01:42
nciHere's the 3 lines I get:01:42
herbsterhave you distributed the ring files from the proxy onto the storage nodes?01:42
nciNov  3 12:42:02 swift-proxy tempauth - 150.203.248.116 03/Nov/2011/01/42/02 GET /auth/v1.0 HTTP/1.0 200 - python-cloudfiles/1.7.9.2 - - - - txe24ced0e04df4dd1b59a20ac7347062b - 0.000501:42
nciNov  3 12:42:02 swift-proxy proxy-server 150.203.248.116 150.203.248.116 03/Nov/2011/01/42/02 GET /v1/AUTH_admin/%3Fformat%3Djson HTTP/1.0 200 - python-cloudfiles/1.7.9.2 admin%2CAUTH_tk2bfce33b5a344e278bd6c6d18a844dbe - 878 - txd92a7f0d8877467a805479a34c85a07c - 0.008101:42
nciNov  3 12:42:03 swift-proxy proxy-server 150.203.248.116 150.203.248.116 03/Nov/2011/01/42/03 PUT /v1/AUTH_admin/test900 HTTP/1.0 404 - python-cloudfiles/1.7.9.2 admin%2CAUTH_tk2bfce33b5a344e278bd6c6d18a844dbe - - - txc0c672ef265143278ca516600c6a215b - 0.113701:42
nciroot@swift-proxy:/etc/swift# md5sum container.ring.gz01:43
nci70c4fcd83e811beb99d51cbdbf084546  container.ring.gz01:43
nciroot@swift-dory:/etc/swift# md5sum container.ring.gz01:43
nci70c4fcd83e811beb99d51cbdbf084546  container.ring.gz01:43
nciseems ok...01:43
nciI get no errors putting getting objects01:44
nciand the containers are being created and are usable - I can put objects in them01:44
*** flamboz has joined #openstack01:44
ncibut the client is receiving a 404, which is a bit concerning01:45
adrianmoyaGood night guys, I have a question: I have a two node install, and began launching instances but they seem to be all created at the controller. The weird thing is I have break the physical memory limit of the two servers and still the instances launch (a total of 12.3GB RAM in a 4GB ram physical server, and the other node has 8GB with 7GB free)01:46
*** cdub has quit IRC01:47
adrianmoyaI'm not sure if I'm understanding what's happening...01:47
herbsternci: what exactly are you getting a 404 doing? deleting the container?01:47
*** nid0 has quit IRC01:47
nciherbster: creating a conatiner01:47
herbsteradrianmoya: when you type nova-manage service list do the other nodes show up as nova-compute/available?01:47
*** jog0 has joined #openstack01:48
herbsternci: strange. you get a 404 when you create the container, but it does create it anyway, and you can upload/download files to it?01:48
adrianmoyaherbster: let me check (I'm using dashboard+keystone, can I use nova-manage?)01:48
herbsterin cactus or diablo01:48
adrianmoyaherbster: diablo (controller installed via devstack, node via packages)01:49
herbsteradrianmoya: sorry, the q was for nci01:49
nciherbster: yep, that's what I'm seeing. The functionality is all there, but the return code is a 404. I'm wondering if the replication is not working and the 404 is saying that the second copy is not being written.01:49
nciherbster: I'm running swift 1.4.301:50
adrianmoyaherbster: yes, it appears as XXX :S01:51
herbsteradrianmoya: i didnt ask if it said XXX, i asked if it showed as available01:51
herbsteror enabled01:51
adrianmoyaherbster: enabled01:51
herbsteradrianmoya: tail the nova-api log on nova-api host and nova-compute log on nova-compute host01:52
herbsterthis should give you some diagnostics as to whats happening when you try to launch an instance01:52
*** df1 has quit IRC01:52
herbsternci: i would try tailing the logs on all your storage nodes and proxy at the same time01:53
herbsterthere has to be an error in there somewhere01:53
herbsterpersonally in both cactus and diablo i found swift to be the most stable and "working as expected" part of openstack01:54
nciherbster: yep that's been my experience too, Swift has been very stable for us, I'm not sure what has happened. Thanks for your help01:54
herbstersorry i couldnt be more useful :/01:54
*** herbster has quit IRC01:55
*** Ryan_Lane has quit IRC01:58
adrianmoyaherbster: launched an extra 2GB instance successfully (14.4GB used of 11.6GB total). No errors in nova log in controller, nothing happened in nova-compute log in the other compute node01:58
*** ccc1 has joined #openstack02:00
*** e1mer has joined #openstack02:03
adrianmoyaanybody willing to help me get a compute node from XXX to :-) ?02:05
*** jog0 has quit IRC02:07
viddadrianmoya, compute node as in second machine?02:08
adrianmoyavidd: yes, it's a second machine02:09
viddadrianmoya, this my sound stupid...but is the time in sync on both machines?02:09
*** mandela123 has joined #openstack02:09
adrianmoyalet me check02:10
*** shang has joined #openstack02:10
viddit is recommended that you set up an NTP server on the controller and have all nodes sync with it02:11
adrianmoyano :$ ok, I should install NTP right? let me do that02:11
vidddont be embarrassed...time sync is a common issue =]02:12
*** charless has joined #openstack02:12
viddand doc.openstack.org dont mention it02:12
vidd*docs.openstack.org02:13
*** joeyang has joined #openstack02:13
charlessCan I get someone to verify my understanding of what openstack storage can do?02:13
viddcharless, storage like "swift" or storage like "nova-volume"?02:14
vidddoes glance count as storage? =]02:15
charlessvidd, Well, I don't know what nova-volume is.02:15
charlessI want to storage a lot of documents, pdf, images, jpegs, etc. for my java based webserver to server when ever needed.02:16
*** tokuzfunpi has quit IRC02:16
charlessI'd like to have some sort of automated redundancy too.02:16
adrianmoyavidd: I installed ntp on cloud-controller, but I'm not sure how to configure the node and what to install... was following a quick google result but package ntp-simple seems to have disapeared from ubuntu02:17
*** jdurgin has quit IRC02:17
charlessso I can have my storage automatically replicate my documents to multiple devices so that I can shutdown a node without affecting the website.02:18
viddcharless, i dont think im qualified to answer your question =[02:18
charlesswell, how about this?02:18
viddbut it sounds like you want swift02:18
charlessCan I store files on it and it will automatically replicate it across multiple nodes?02:19
*** crescendo has quit IRC02:19
viddcharless, as i said...it sounds like you want swift...and i do not know enough about swift to answer your questions02:19
charlessis there a flow chart of how swift works ?02:20
viddadrianmoya, this doc is dated, but it should help:https://help.ubuntu.com/8.04/serverguide/C/NTP.html02:20
viddadrianmoya, you of course want to set your node to use your controller instead of the ubuntu.com default02:21
viddcharless, the documentation for swift is here: http://docs.openstack.org/diablo/openstack-object-storage/admin/content/02:21
*** pixelbeat has quit IRC02:22
charlessthanks, vidd02:22
viddadrianmoya, you dont have to install ntpdate...its pre-installed02:23
viddadrianmoya, you just have to set up the cron and adjust the server02:23
adrianmoyavidd: Ok, for what I understood, installing ntp on both servers and configuring the second and adding the first as server could do the trick, right? and setting the cron02:24
viddadrianmoya, http://cssoss.files.wordpress.com/2011/10/openstackbookv2-0_csscorp.pdf has step-by-steps of the complete setup process for both servers including the ntp info02:26
viddthey recommend setting a "fuding" process in case your controller cannot access the internet to get time02:26
adrianmoyavidd: ok, both are sync... what can I check next?02:29
viddcheck if it is :-)02:29
adrianmoyano, is still XXX... let me restart the compute node02:30
mandela123does the latest trunk  nova-api  still need openstackx plugin?02:30
viddif not, restart compute on second node02:30
viddmandela123, are you using dashboard?02:30
viddIIRC that is the only reason you would ever need openstackx02:31
mandela123yes02:31
vidddont quote me on it mandela123 but i do believe it does02:31
mandela123but  i  cant  find the  flag any more02:31
mandela123osapi_extensions_path02:32
viddmandela123, i dont have an answer for you =[02:32
charlessadrianmoya: I came in at the middle of your conversation, Am I to understand your ntp is not syncing your time between your 2 servers?02:32
* vidd uses stable-diablo02:32
mandela123now i  use  the trunk02:33
viddcharless, adrianmoya didnt HAVE ntp set up between the two02:33
charlessoh, yeah, definite always good to have ntpo syncing your time.02:34
vidd=]02:34
viddppl dont realize 15 seconds is an eternity in computer-time =]02:34
adrianmoyavidd, charless: already :-), but only if I run it manually, it doesn't start, I'm not sure why, as it does not write the log02:34
adrianmoyasorry: I meant if I sudo service nova-compute start02:35
adrianmoyait doesn't work02:35
*** dirakx2 has quit IRC02:35
viddadrianmoya, im not sure i understand.....02:35
ncicharless: yes, swift replicates objects that you store in there and sounds suitable for what you're doing02:35
charlessawesome, I'm looking at the documentation now.02:36
viddare you saying that you restart compute, it becomes :-) for a minute then XXX again?02:36
*** MarkAtwood has quit IRC02:36
*** df1 has joined #openstack02:36
*** charless has left #openstack02:37
*** mgius has quit IRC02:37
adrianmoyano, I manually run sudo /usr/bin/nova-compute and it gets :-). But I'd like to start it as a service which doesn't work.02:37
*** osier has joined #openstack02:38
viddso "service nova-compute start" does not work?02:38
adrianmoyano02:38
viddadrianmoya, did you install via apt-get or via git?02:38
adrianmoyavia apt-get02:39
viddwhat does "ls -al /etc/init.d/ |grep nova" return?02:40
uvirtbotNew bug: #885529 in glance "Use of _ function without importing it" [Undecided,New] https://launchpad.net/bugs/88552902:41
viddwhat does "ls -al /etc/init.d/ |grep nova" return? adrianmoya02:42
adrianmoyaI found the problem, /etc/nova/nova.conf had wrong ownership... let me correct this, but in the meantime: Is it normal that openstack let me break the physical memory limit?02:42
viddthere is a physical memory limit?02:42
viddare you saying you have 5 vm's running 2 gig ram each and you only have 8 gig ram?02:43
viddor you have 2 gig ram and you try to start a vm with 4 gig ram?02:43
adrianmoyaMy controller has 4GB ram, and I'm running a total of 14.4GB on this node02:44
adrianmoyaBTW: all happy faces now :-) thanks02:44
viddbut each vm is running less than 4 gb ram...right?02:44
adrianmoyayes, they seem to be doing something ala openvz02:45
adrianmoyabecause there is not such amount of memory in the two nodes02:45
viddyour are not breaking the "physical memory limit"02:45
viddyou can "switch-hit" the physical ram02:46
uvirtbotNew bug: #885531 in devstack "nova-volume dependency" [Undecided,New] https://launchpad.net/bugs/88553102:46
adrianmoyaMMM, I thought kvm reserved memory for each instance02:46
*** wariola has joined #openstack02:46
viddi thought xen did that...not kvm02:47
* vidd could be wrong...it has happened before02:47
adrianmoyaso, with kvm, I can share physical memory between servers? :O02:48
viddnot between servers....between VMs02:48
adrianmoyacorrect, between vm.. but nova is not respecting ram quotas, I already view a bug reported on that issue02:49
adrianmoyaSo I ended up with -2.7 GIB AVAIL02:49
viddadrianmoya, but all your VM's work02:50
adrianmoyayes. TBH, I've only ssh to the last of them, and everything seemed ok02:50
adrianmoyalet me destroy them all, and recreate them to see if they get to the other node02:51
viddIDK TBH i would call it a "feature" and not a bug .... but maybe i've worked with the software from a particular washingtom company for too many years =]02:52
viddeuca-describe-availability-zones shows no avalable aonesbut i have two VM's running =\02:54
*** hugokuo has joined #openstack02:54
*** helloworld has joined #openstack02:57
helloworldhi,i install dashboard 46,after "sudo tools/with_venv.sh dashboard/manage.py syncdb",get this error "socket.error: [Errno 111] Connection refused",anyone help me ?02:59
*** ldlework has quit IRC03:00
viddhelloworld, is that all you get? no traceback?03:00
viddhelloworld, if you do have a traceback, please pastebin it03:00
helloworldTraceback (most recent call last):   File "dashboard/manage.py", line 11, in <module>     execute_manager(settings)   File "/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/core/management/__init__.py", line 438, in execute_manager     utility.execute()   File "/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/core/management/__init__.py", line 379, in execute03:00
helloworldi use sqllite303:00
viddhelloworld, please post the traceback in a pastebin....chat does not have enough space to show it all03:01
viddhttp://paste.openstack.org/03:02
helloworldthanks03:02
*** yeming has joined #openstack03:02
helloworldhi,vidd ,http://paste.openstack.org/show/3050/03:03
*** ejat has quit IRC03:04
*** ejat has joined #openstack03:04
*** ejat has joined #openstack03:04
helloworldi use setting in /var/lib/nova/bin/novarc03:04
*** dosdawg has joined #openstack03:05
adrianmoyavidd: now the vm stucks in build... it seems to be trying to create it in the new node03:06
*** obino has joined #openstack03:06
adrianmoyano errors in the log of both servers03:06
viddhelloworld, what do you mean you used the settings from novarc?03:07
*** flamboz has quit IRC03:07
viddadrianmoya, have you looked in the -network, -api, and -schedular logs on the contoller?03:08
*** hadrian has quit IRC03:08
helloworldyes,@vidd03:08
viddhelloworld, it was not a "yes/no" question....please clarify what you maen by you used the settings in a credentials file for setting up a database03:09
uvirtbotNew bug: #885540 in nova "stable/diablo didn't pass pep8" [Undecided,New] https://launchpad.net/bugs/88554003:11
*** rnorwood has joined #openstack03:12
adrianmoyavidd: nothing in any log on controller03:13
viddadrianmoya, im not sure where to point you to next =\03:13
*** joonwon has quit IRC03:14
helloworld@vidd,yes->  username =‘NOVA_USERNAME="dev"’ from novarc,password is random "123456"03:14
adrianmoyaand nothing in the node :S I'm expecting an ERROR on any log?03:14
larissahelloworld: Error: "vidd,yes->" is not a valid command.03:14
*** mmetheny has joined #openstack03:15
vidddoes the nova.conf file on the node have the --my_ip and --server_ip flags?03:15
viddLOL @ larissa03:15
viddhelloworld, none of that info is relevent to dashboard talking to its database03:16
*** dysinger has quit IRC03:17
*** dendrobates is now known as dendro-afk03:17
adrianmoyavidd: I think I found the error: nova-network is not running on the new node. I'm using multi_host=103:18
viddor is this info you placed in the local settings py file?03:18
*** flamboz has joined #openstack03:18
*** dendro-afk is now known as dendrobates03:18
viddadrianmoya, i think you found a winner =]03:19
adrianmoyaStderr: 'sh: /usr/lib/python2.7/dist-packages/bin/nova-dhcpbridge: not found\n\ndnsmasq: cannot run lease-init script /usr/lib/python2.7/dist-packages/bin/nova-dhcpbridge: No such file or directory\n'03:19
viddadrianmoya, are you running flatdhcp on these nodes?03:20
adrianmoyayes03:20
vidddo you have 2 eths in the node?03:20
adrianmoyayes03:20
vidddid you set up br100 to point to the second eth in the compute-node?03:21
helloworldhi,@vidd,  You just installed Django's auth system, which means you don't have any superusers defined.                         Would you like to create one now? (yes/no): yes                         Username (Leave blank to use 'root'): dev                         E-mail address: [email]nospam@nospam.com[/email]                         Password:                         Password (again):03:21
viddadrianmoya, http://docs.openstack.org/diablo/openstack-compute/admin/content/configuring-multiple-compute-nodes.html has info on the proper network setup for you03:24
adrianmoyaboth have the same nova.conf03:24
adrianmoyawith br100 on top of eth003:25
viddhelloworld, the connection error has to do with dashboard writing to its dtabase...not with the username/password you set up for the user interface03:25
viddadrianmoya, please paste the /etc/network/interfaces of the compute node for me03:26
adrianmoya# The primary network interface auto eth1 iface eth1 inet static address 192.168.3.101 netmask 255.255.255.0 gateway 192.168.3.1 dns-nameserver 8.8.8.8  auto eth0 iface eth0 inet static address 192.168.5.101 netmask 255.255.255.003:27
viddadrianmoya, http://docs.openstack.org/diablo/openstack-compute/admin/content/configuring-multiple-compute-nodes.html03:27
vidd http://paste.openstack.org/ @ adrianmoya03:27
adrianmoyanotice that I didn't setup the bridge in /etc/network/interfaces as it seems compute does this automatically03:27
viddcompute does this on the controller automatically03:28
viddthe nodes need it03:28
adrianmoyahttp://paste.openstack.org/show/3051/03:28
adrianmoyammm, so I should manually set up my bridge on the node? let me try tha03:29
adrianmoyat03:29
viddadrianmoya, which is your public and which is your private netmask?03:29
viddalso, eth0 has no gateway specified...did you cut it off in the paste?03:30
helloworld@vidd,"Connection refused" means connect sqlite3 refused?03:30
larissahelloworld: Error: "vidd,"Connection" is not a valid command.03:30
viddhelloworld, what larissa is saying is "do not start a line with the "@" symbol03:31
helloworldok03:31
viddhelloworld, yes, sqlite is having some difficulty03:32
adrianmoyamy public network is 192.168.3.x , and for openstack I have a subnet from 3.160 to 3.191. It has no gateway as my access is from eth1 (eth0 is connected to a simple switch with the other node)03:32
viddadrianmoya, it needs the gateway to the private network03:33
viddso the .5.xxx is your private range for the VM's03:34
*** troya has joined #openstack03:35
adrianmoyano, they are in 10.0.0.x03:36
troyahey All03:36
errrhowdy!03:36
adrianmoyahey, I could create the bridge, it's already created (I think nova-compute did it)03:37
troyaanyone have tried swift ?03:37
adrianmoyaI couldn't I mean03:38
errrtroya: sure, its great.. one of the most stable parts of the project i think03:38
notmynametroya: do you have specific questions about swift?03:38
troyawow, it's look interesting, so after nova, i want try it :D03:38
troyanotmyname: mm, can you explains to me, swift usually what for ?03:39
notmynametroya: most simply, it's for unstructured data that can grow without bounds03:39
viddadrianmoya, try setting up compute node as such: http://dpaste.com/646390/03:39
troyaimplementation of it i mean03:39
troyawhat do you mean unstructured data, notmyname ?03:40
notmynametroya: documents, backups, etc. just blobs of bytes. unstructured as compared to a rdbms03:41
notmynametroya: use cases include storing backups and storing static web content. pretty much anything where you need large amounts of data reliably and cheaply stored03:42
notmynametroya: it's very similar to amazon s3, so if you're familiar with their product, swift is directly comparable (except with swift you get all the code to run it yourself for free)03:42
notmynametroya: swift could be a key part of document management, ISP caching layers, even useful for things like storing medical images from an mri or data from a space telescope03:43
*** rods has quit IRC03:44
adrianmoyavidd: tryed but not getting anywhere03:45
adrianmoyaI still can't run nova-network03:45
viddadrianmoya, im out of ideas =[03:45
notmynametroya: swift isn't a filesystem. it doesn't meet POSIX requirements. it doesn't support ACID. it's a large-scale distributed storage system designed for high aggregate throughput, availability, durability, and price03:45
viddadrianmoya, do you have nova-network installed on compute node?03:46
*** adjohn has joined #openstack03:46
*** troya has quit IRC03:47
adrianmoyavidd: thanks for your help, I'm also tired so I think I'll leave this for tomorrow...03:48
viddadrianmoya, im sure its something small we are both overlooking =]03:49
*** clopez has quit IRC03:49
*** hezekiah_ has joined #openstack03:49
*** helloworld has quit IRC03:50
*** hezekiah_ is now known as isaacfinnegan03:51
*** troya has joined #openstack03:52
*** neogenix has joined #openstack03:52
*** adrianmoya has quit IRC03:52
troyahi all, can i install swift on single node?03:55
viddtroya, yes you can03:56
notmynametroya: there are instructions on how to set up an all-in-one VM with swift (http://swift.openstack.org/development_saio.html)03:56
troyaoh..thanks all, i'll install it soon03:57
troya:)03:57
notmynametroya: but be aware that the saio is desinged for limited POC and (mainly) for dev work. not all of the parts of swift are exposed cleanly when running in one VM (for example, mounting virtual drives as loopback devices rather than having real hardware)03:57
notmynametroya: I'd certainly recommend running an instance of SAIO (swift all-in-one) to get your feet wet. but, depending on your needs, it may be a loose approximation of your final product03:58
*** negronjl has joined #openstack04:00
*** nati2_ has joined #openstack04:00
vidddoes glance acually use a database?04:01
isaacfinnegansqlite304:01
*** nati2 has quit IRC04:02
viddi set it up to use a mysql database, but nothing has been added ti it =\04:02
viddmy instances (seem to) work fine04:03
*** worstadmin has quit IRC04:05
*** dendrobates is now known as dendro-afk04:08
*** vladimir3p has quit IRC04:08
*** dendro-afk is now known as dendrobates04:08
*** rsampaio has quit IRC04:09
*** nati2_ has quit IRC04:11
*** wariola has quit IRC04:11
troyanotmyname. i try to following instruction from http://swift.openstack.org/development_saio.html#partition-section, is partition which used for swift must LVM as when i configure nova volume ?04:11
*** nati2 has joined #openstack04:12
*** wariola has joined #openstack04:12
notmynametroya: will you be here in the channel tomorrow?04:13
troyahm..may be04:13
notmynametroya: a partition in swift is not the same thing as a filesystem partition. it's an unfortunately overloaded term04:14
notmynamebut (in my timezone) it's late, and I was just heading to bed04:14
isaacfinnegananyone try to disable the openstack nat to be able to route to instances directly?04:14
notmynametroya: I'd be happy to explain in more detail tomorrow04:14
troyanotmyname: ok, i'll in channel tomorrow, see you :)04:14
viddisaacfinnegan, like trying to ssh from the controller to the private ip?04:15
isaacfinneganno.04:15
isaacfinneganI want the fixed IP subnet to be routable. To be able to access instance directly on their fixed ip, and not have to assign a floating04:16
*** nati2 has quit IRC04:16
isaacfinneganI have a router and have added an interface onthe backend 'fixed ip' subnet. I can route to it fine. but openstack sets up a bunch of iptables rules and basically forces all instance traffic to be nat'd04:17
isaacfinneganwhether or not a floating is used04:17
*** jog0 has joined #openstack04:19
*** supriya has joined #openstack04:19
troyavidd, can i installed swift on server which not supported VT ?04:20
viddtroya, i dont see why not04:22
troyaso i can install Swift on it ?04:22
viddi was able to install the entire openstack stack on machines that had no VT04:23
viddtroya, i assume you mean VT==Virtualization04:24
*** troya_ has joined #openstack04:26
*** troya has quit IRC04:27
viddyou can put all the non-VM-related services of openstack on machines without virtualization abbilities.... nova-volume, glance, keystone, MySQL server.....these dont actually do any virtualization, so they can be run on machines that dont have virtualiation cababilities04:27
troya_vidd, what's better schema to install openstack between glance, nova, swift.I have idea to installed Nova + glance on Server 1, then installed Swift on Server 2.How about you ? in this case i have only 2 server04:28
viddtroya_, right now....i have only one server04:29
troya_so all in one on it ?04:29
*** jog0 has quit IRC04:29
viddi will put everything but swift on one server04:29
*** supriya has quit IRC04:29
troya_so you will separate swift to another server, right ?04:30
viddmigrate as much of the data center infrastructure as i possibly can onto that one machine, and repurpose a few freed up machines to run additional compute nodes to free up the remaining machines, and then set up a swift array04:30
*** negronjl has quit IRC04:31
troya_eh..vid, have you try Amazon ?04:32
troya_i mean Aws ?, is it free trial ?04:32
viddno...i dont want to do that....im trying to get un-laid-off!04:32
troya_what do you mean un-laid-off?04:33
viddi show the bosses tht amazon can do all this for less then i can do this...they wont need me =]04:33
viddcurrently, im not getting a paycheck04:34
troya_:))04:34
*** rnorwood has quit IRC04:35
troya_actually i want to make User layer presentation for use, so that they can build custom Cloud Infrastructure for their requirement, do you have suggestion to create it ?04:37
viddim not sure what you mean...so no...no idea04:38
troya_i mean, for example i am customer, i want to build my custom cloud infrasctructure.So i customize some parts as memory, storage, then others else.For that customization i wlll use Web Interface, right ?because it can make me easy t configure them04:42
*** flamboz has quit IRC04:43
troya_then, how i can put that Web Interface for customiztion on above nova?04:43
viddinstall dashboard i suppose04:44
*** gyee has quit IRC04:44
troya_yes user dashboard, but with dashboard openstack can i custom for example memory or Hardisk storage for my cloud ?04:45
viddhave you looked at the dashboard project for openstack?04:46
troya_i have looked at devstack04:47
viddso you have seen the dashboard04:47
viddis that what you are looking for?04:47
*** MarkAtwood has joined #openstack04:48
*** worstadmin has joined #openstack04:49
troya_please wait some moment vid, i must to go now04:49
*** thickskin has left #openstack04:56
*** miclorb_ has quit IRC04:56
vidddo euca commands work with keystone? im getting "NotAuthorized: 401 Unauthorized" when trying to list images04:57
*** chomping has joined #openstack04:58
vidddo i need to add something?04:58
*** v0id has quit IRC04:59
*** hugokuo has quit IRC05:01
*** worstadmin has quit IRC05:04
*** supriya has joined #openstack05:05
*** miclorb_ has joined #openstack05:10
*** obino has quit IRC05:12
*** vladimir3p has joined #openstack05:15
viddpaste.filter_factory = keystone.middleware.ec2_token:EC2Token.factory ....where do i find/verify-i-have ec2_token?05:16
vidd2011-11-03 01:10:19,340 CRITICAL nova [-] No module named ec2_token05:16
viddi installed keystone via apt-get05:17
uvirtbotNew bug: #885558 in devstack "apts and pips should not install if respective services are disabled" [Undecided,New] https://launchpad.net/bugs/88555805:21
*** wariola has quit IRC05:25
isaacfinneganit's werid05:27
*** wariola has joined #openstack05:28
*** dysinger has joined #openstack05:28
viddisaacfinnegan, ?05:28
isaacfinneganI want to enable routing to instances. directly to their fixed ip's05:29
isaacfinneganIt's not clear to me what's preventing packets from getting to the instances05:30
isaacfinneganoh05:30
isaacfinneganshoot05:30
isaacfinneganhmmm05:30
*** vladimir3p has quit IRC05:31
*** superjudge has joined #openstack05:33
*** flamboz has joined #openstack05:35
vidd2011-11-03 01:10:19,340 CRITICAL nova [-] No module named ec2_token05:37
viddanyone know how to fix this...or where i should look to see where the keystone middleware is housed?05:37
*** adjohn has quit IRC05:40
*** clayg has quit IRC05:41
*** 31NAADY1U is now known as clayg05:41
*** MarkAt2od has joined #openstack05:56
*** openpercept has joined #openstack05:57
*** MarkAtwood has quit IRC06:00
*** dysinger has quit IRC06:03
*** tokuz has joined #openstack06:03
*** joeyang has quit IRC06:06
*** nerens has joined #openstack06:09
*** cdub has joined #openstack06:10
*** jog0 has joined #openstack06:13
*** jog0 has quit IRC06:15
*** miclorb_ has quit IRC06:16
*** obino has joined #openstack06:17
*** vidd has quit IRC06:19
*** katkee has joined #openstack06:23
*** hugokuo has joined #openstack06:24
troya_vidd06:31
*** vidd has joined #openstack06:38
*** jingizu_ has quit IRC06:39
*** kaigan_ has joined #openstack06:45
viddi have images taht i stored with euca commands...where are they stored?06:47
viddi have glance set up and glance cant seem to find them and euca-describe-images cant find them anymore either06:48
troya_vidd, must i create LVM partition to install swift ?06:51
viddtroya_, i do not know...i have not tried to install swift....what does the documentation tell you to do?06:52
troya_i following this instruction >> http://swift.openstack.org/development_saio.html06:52
troya_on that reference i must create new partition, but  can i  use filesystem partition?06:53
vidddo you not understand the instructions?06:56
viddfirst you create a virtual machine06:56
viddthen you attach a volume to that virtual machine....just like any other time you attach a volume to a virtual machine06:57
viddyou can use whatever filesystem your volume can support i dont know if you can make a virtual lvm to be honest06:58
*** andreaf has joined #openstack06:59
viddtroya_, i think you should direct your questions to someone who understands swift06:59
*** TheOsprey has joined #openstack07:01
*** Ryan_Lane has joined #openstack07:03
*** qwe890 has joined #openstack07:04
qwe890Hi everyone. Can anyone shed a light on why stackops.com/stackops.org is down and how much time it might take? I'm trying to reach it for about an hour now...07:07
GheRiveromorning07:07
GheRiveroqwe890, it looks like a power outage, they have one a couple of weeks ago07:08
*** crescendo has joined #openstack07:08
*** crescendo has joined #openstack07:08
GheRiveroqwe890, if you just want to download the iso, the project is in sourceforge, http://sourceforge.net/projects/stackops/files/07:09
qwe890Too bad. I need their "Smart Installer".07:11
viddqwe890, they are located in spain if thats any help =]07:11
qwe890:)07:11
vidddoes anyone know where euca puts images by default (when glance is not set up)?07:11
wittwerchvidd: I guess here under /var/lib/nova/images07:12
*** jedi4ever has joined #openstack07:13
vidd=\ nope07:13
viddfound them..... thanks wittwerch07:14
viddyou got me looking in the right direction =]07:14
wittwerchwhere was it?07:14
vidd/var/lib/nova/buckets07:14
wittwerchokey07:15
wittwerchI'm running nova diablo and I need a basic accounting. Does diablo has anything like that built in?07:15
viddbuilt in? no07:16
wittwerchis it possible to get that information from the api?07:16
viddthere is a nice drupal package though07:16
viddim assuming you mean "this instance has been up this long and that image has been up that long...etc?07:17
*** mnour has quit IRC07:19
viddwittwerch, check out http://drupal.org/project/cloud07:20
viddeuca-get-console-output might also be useful07:21
*** hingo has joined #openstack07:23
wittwerchthx for the link, looks interesting07:25
wittwerchI found the api which returns what I need07:25
wittwerchopenstackx.extras.usage07:26
wittwerchbut I have no clue how to use it..07:26
viddwittwerch, from what i understand, dashboard uses that07:30
viddok...i have untar'd an image that i like to use....its in 3 parts....07:32
viddhow do i get it into glance and ...more importantly....how do i get glance to see the three parts are a package07:32
viddthe docs.openstack.org info reads like stereo instructions =\07:33
wittwerchby 3 parts you mean kernel, disk and ramdisk?07:33
viddyes...07:34
viddvmlinuz, initrd, and blank.img07:34
wittwerchnova-manage image all_register --image=ami-maverick/image --kernel=aki-maverick/image --ram=ari-maverick/image --owner=myuser --name=simpleImage --public=T07:34
viddwittwerch, i assume replace -maverick/image with cirros-0.3.0-x86_64-blank.img/image?07:36
*** andreaf has quit IRC07:38
viddvmlinuz is the kernel,,,,is initrd the ram?07:39
*** guigui has joined #openstack07:39
*** miclorb_ has joined #openstack07:40
*** nerens has quit IRC07:44
wittwerchvidd, yes07:48
viddwittwerch, i tried to do the command you stated, adjusting for my info, but it says they are not directories =\07:49
vidddo i add them to glance individually, and then run nova-manage?07:51
wittwerchnova-manage uses glance as a backend07:52
viddi feel like each piece i add puts me 3 weeks behind in my grasping the entire setup =\07:53
zykes-hey vidd, don't you sleep ? ;p07:54
zykes-what have you added now vidd ?07:54
viddeverything worked fine until i put keystone on this07:54
zykes-:d07:54
zykes-that's the standard :d07:54
viddzykes-, keystone07:54
zykes-what you broke now then ? :p07:54
viddi actually turned glance on07:54
zykes-and you get which error ?07:54
viddeuca wont work07:55
zykes-k07:55
*** crescendo has quit IRC07:55
viddthe images i added with euca are no longer accessable07:55
zykes-if you do07:56
viddi dont know if i broke nova by turning on keystone auth, or if euca just isnt supposed to work with keystone07:56
zykes-glance index is_public=False @ your glance host07:56
zykes-what do you get?07:56
*** Ryan_Lane has quit IRC07:56
viddNot authorized to make this request. Check your credentials (OS_AUTH_USER, OS_AUTH_KEY, ...).07:57
zykes-ok then, glance -A <admin token> details07:58
viddsame thing07:58
*** ejat has quit IRC07:59
viddnow there is supposed to be a osauth script somewhere to "fix" this07:59
zykes-k08:00
zykes-then you know more then me ;)08:00
*** ejat has joined #openstack08:01
*** ejat has joined #openstack08:01
*** crescendo has joined #openstack08:04
*** crescendo has joined #openstack08:04
*** isaacfinnegan has quit IRC08:07
*** jdag has quit IRC08:10
*** crescendo has quit IRC08:10
*** crescendo has joined #openstack08:11
*** crescendo has joined #openstack08:11
*** jdag has joined #openstack08:11
*** jedi4ever has quit IRC08:11
*** datajerk has quit IRC08:13
*** reidrac has joined #openstack08:14
*** krow has quit IRC08:14
*** jdag has left #openstack08:17
*** dobber has joined #openstack08:19
*** stewart has quit IRC08:25
viddzykes-, add https://github.com/openstack/glance/blob/master/tools/nova_to_os_env.sh info to your novarc (or .bashrc...whichever you source)08:25
zykes-ah08:26
viddit is SUPPOSED to fix the auth issue08:26
zykes-but still vidd glance -A <adm token> should work as well08:26
viddof course, in my situation, that is a major NOVEMBER-GOLF08:26
zykes-if the user + pw doesn't work08:26
viddno go08:26
viddso my keystone must be broken08:27
zykes-checked glance logs ?08:27
*** datajerk has joined #openstack08:29
viddzykes-, glance/api is blank...never been touched08:32
viddregistry has no error08:33
*** miclorb_ has quit IRC08:33
*** Hakon|mbp has quit IRC08:34
*** javiF has joined #openstack08:36
viddzykes-, any ideas?08:40
zykes-not sure vidd, working on my dns baby atm ;p08:42
*** jedi4ever has joined #openstack08:48
*** Razique has joined #openstack08:49
*** supriya has quit IRC08:49
viddzykes-, wgat ya doiing with DNS?08:50
*** nacx has joined #openstack08:51
zykes-vidd: alla reddwarf service for dns08:52
*** mandela123 has quit IRC08:53
*** stewart has joined #openstack08:54
*** katkee has quit IRC08:55
*** mnour has joined #openstack08:56
viddnow why the heck does my nova network keep crashing?!?08:58
*** joeyang has joined #openstack08:59
*** uksysadmin has joined #openstack08:59
uksysadminhello all09:00
Raziquehi all :)09:00
Raziquezykes-: http://docs.openstack.org/diablo/openstack-compute/admin/content/migrating-from-cactus-to-diablo.html09:00
RaziqueWe just updated the migration process !09:01
uksysadminQuick q (isn't it always?) on floating IPs... do I always have to issue a command like "euca-associate-address" to assign a floating IP to my instances or is there a way of assigning this all the time?09:01
Raziquehttp://docs.openstack.org/trunk/openstack-compute/admin/content/migrating-from-cactus-to-diablo.html09:01
Raziqueuksysadmin: the novaclient tool does make directly the association09:01
Raziquewhile euca2ools don't09:01
*** nid0 has joined #openstack09:02
troya_hi razique09:02
Raziquehi !09:02
uksysadmincheers Razique - will check it out (and bring my toolset into the 21st Century at the same time eh?) ;-)09:02
*** tokuz has quit IRC09:03
*** Hakon|mbp has joined #openstack09:03
*** yeming has quit IRC09:03
viddRazique, you use keystone?09:03
troya_razique: if i publish image .tar.gz with command for example >> uec­publish­tarball ubuntu­11.04­server­cloudimg­ amd64.tar.gz image­bucket , so if i have .iso file how do it ?09:04
uksysadminOK, I give up  - where do I find nova tools?09:05
uksysadminand how do I get juju and the like to do this? (did I say it was a quick question?)09:06
troya_vidd: if i publish image .tar.gz with command for example >> uec­publish­tarball ubuntu­11.04­server­cloudimg­ amd64.tar.gz image­bucket , so if i have .iso file how do it ?09:06
*** datajerk has quit IRC09:06
viddtroya_, from what i understand, you need to have glance configured to use .iso's09:07
Raziquevidd: I don't use it today09:07
Raziquebecause I run an upgrade from cactus09:07
*** flamboz has quit IRC09:07
Raziquetroya_: is it a distro ISO ?09:07
troya_yes, like ubuntu 11.04 server.iso, like that09:08
Raziquetroya_: if so, you need to install it via KVM first an "cloudify" it :p09:08
Raziquetroya_: ok, then here is what you need :http://cssoss.wordpress.com/2011/04/27/openstack-beginners-guide-for-ubuntu-11-04-image-management/09:08
viddRazique, i was wondering if nova.conf needs a replacement for the --use-depreciated-auth to something about keystone09:08
*** flamboz has joined #openstack09:08
Raziquevidd: if you remove the flag, you'll also make sure that Keystone is connected to nova :)09:10
*** dendrobates is now known as dendro-afk09:10
viddRazique, the --use-depriciated-auth is turned off09:10
Raziquevidd: if you simply remove the line, nova-api assumes you are using Keystone then :)09:11
vidduksysadmin, you might want to look into the --auto_assign_floating_ip flag for nova http://docs.openstack.org/diablo/openstack-compute/admin/content/reference-for-flags-in-nova-conf.html09:11
Raziqueso don't forget to install the middleware and pipelines (see api-paste.ini)09:11
viddso the --auth_driver (if missing) is set to keystone?09:12
uksysadmincheers vidd - sounds like what I'm looking for09:12
*** nikolaij has joined #openstack09:12
viddRazique, yes...i went to the cloudbuilder's git site to get the pipelines and middleware (ubuntu repo's don include the examples dir)09:13
Raziquevidd: so read the last update ; I describe the implementation09:14
viddRazique, it seems like im missing something because ever since i installed keystone, my nova-network keeps crashing09:14
Raziquevidd: here http://docs.openstack.org/trunk/openstack-compute/admin/content/migrating-from-cactus-to-diablo.html09:14
Raziquecheck "D- Why is Keystone not integrated ?"09:14
vidd=]09:14
*** datajerk has joined #openstack09:14
viddloading page now09:14
*** e1mer has quit IRC09:16
*** MarkAt2od has quit IRC09:21
*** e1mer has joined #openstack09:22
*** pixelbeat has joined #openstack09:23
*** miclorb_ has joined #openstack09:26
*** jedi4ever has quit IRC09:26
*** jedi4ever has joined #openstack09:26
*** Charz has joined #openstack09:26
*** LanceHaig has left #openstack09:28
*** dendro-afk is now known as dendrobates09:29
uksysadminvidd, am I correct in assuming that there must be some sort of dhcp service listening on my "public" interface to hand out these auto_assigned_floating_ips ? (does seem a dumb question, but wanted to make sure before I spin a dhcp service up on there...)09:29
*** darraghb has joined #openstack09:31
viddRazique, is the api-paste correct? your example has them set to "noauth" while the examples folder has  totoken authtoken keystonecontext" and the like09:31
Raziquevidd: in my examples Keystone is bypasses09:31
vidduksysadmin, if i understand it correctly, that flag IS the dhcp server09:31
viddin the section D09:32
Raziquebut I think you are right, I should correct it in order to activate it09:32
*** e1mer has quit IRC09:33
viddRazique, while you are making changes...you have "nova-api.conf" instead of "nova.conf"09:33
uksysadminok - I'll do some digging. I presume its dnsmasq that does this job?09:34
viddfor a second i thought i needed another config file09:34
uksysadminI get exceptions, ultimately Floating ip not found for address <nova.db.sqlalchemy.models.FloatingIp object at 0x40e3e50>.09:34
*** siwos has joined #openstack09:35
vidduksysadmin, i think our frend nova-network that does this09:35
uksysadminyes, ta - that's where the exception is logged09:35
vidduksysadmin, you still have to allacate the IP's09:35
Raziquevidd: thanks, I'll update that09:36
*** miclorb__ has joined #openstack09:36
*** stevegjacobs_ has joined #openstack09:37
uksysadminyeah I can associate manually09:38
*** miclorb_ has quit IRC09:38
*** adjohn has joined #openstack09:40
*** adjohn has quit IRC09:40
*** e1mer has joined #openstack09:41
*** e1mer has joined #openstack09:41
vidduksysadmin, so the ip's are alrady allocated?09:41
viddhave you tried to deallocate a few?09:42
uksysadminvidd, I have no instances running. Prior to adding the auto flag to true I can spin up instances and manually associate addresses. Since adding in the flag I get the following: http://paste.openstack.org/show/3053/09:42
viddso you have a pool of "ready" and a pool of "reserve" ips...so you can see which nova allocutes09:43
uksysadminI set my quota to 1024 (ruling out a previous error of exceeded allocation)09:43
uksysadminI have allocated public IPs09:43
uksysadminif I remove the flag and restart my services I can spin up machines ok and allocate addresses manually09:44
viddyour quota is what? 10?09:44
uksysadmin102409:44
uksysadminto avoid any contentions09:44
uksysadmin(artificially high)09:44
Raziqueuksysadmin: does nvoa-manage floating list shows the ip ?09:45
viddset 5 to allocated and 5 to not-allocated, put up the flag and see if it pulls an IP and if it does, see if it pulls one you have allocated or one you have not-allocated09:45
Raziqueotherwise create them via nova-manage floating create IP/CIDR09:45
uksysadminit shows private as my private ip, public as the private ip and state pending because of the error09:45
uksysadminI've no problems allocating addresses manually - do I need to do that command again?09:46
uvirtbotNew bug: #885595 in swift "swift-init use /etc/swift without a way to change it" [Undecided,New] https://launchpad.net/bugs/88559509:46
vidduksysadmin, no...DONT allocate09:46
uksysadminyes - I'm saying I CAN before I added in the flag to suggest I've no issues manually doing it09:46
uksysadminI can't do it now because the box is stranded09:46
viddi think the error is saying it is trying to allocate for you and has none to pull from09:46
uksysadminwell in pending09:46
uksysadminI've allocated addresses09:47
uksysadminits not auto associating09:47
vidddeallocate them09:47
*** katkee has joined #openstack09:47
uksysadminI've nothing allocated09:47
uksysadminI have no machines running at all09:47
viddwhat does euca-describe-addresses return? anything...or a whole slue?09:47
Raziqueuksysadmin: you mean by updating the database ?09:47
Raziqueor via euca-associate09:48
*** adrian17od has joined #openstack09:48
*** _ulli has joined #openstack09:49
uksysadminits shows a few but with "None (myproject)"09:49
uksysadminI'm deallocating09:49
uksysadminand starting again09:50
*** e1mer has quit IRC09:50
*** ulli has quit IRC09:51
Raziqueuksysadmin: are you using keysotne ?09:51
*** bonzay is now known as zz_bonzay09:53
uksysadminRazique, no, not for this set up at the mo.09:54
*** e1mer has joined #openstack09:55
*** e1mer has joined #openstack09:55
*** chomping has quit IRC09:56
*** clopez has joined #openstack09:56
viddwhy is nova-network running this command "Command: sudo ip addr add 192.168.15.224/32 scope global dev br100"?09:56
uksysadminahh, vidd and Razique - when I launch my instance, a new address public IP pops up (when I view the addresses) - its the associating stage its failing. What relationship does it need between the this allocated address to what its just spun up?09:58
viddwhat is the new error?09:59
*** obino has quit IRC09:59
*** chomping has joined #openstack10:00
uksysadminsame as before: FloatingIpNotFoundForAddress: Floating ip not found for address <nova.db.sqlalchemy.models.FloatingIp object at 0x4524f10>.10:00
*** clauden has quit IRC10:00
uksysadminI know I'm missing a stage - but what I'm expecting is that an instance spins up, it gets a private IP and it auto assigns a public IP so I can then access it10:00
uksysadminas the story says behind this request: just like AWS EC210:01
*** obino has joined #openstack10:01
*** supriya has joined #openstack10:05
*** po has joined #openstack10:05
*** alekibango has quit IRC10:06
*** qwe890 has quit IRC10:07
*** alekibango has joined #openstack10:08
viddSUCCESS! i fixed my "nova-network keeps crashing" issue10:09
*** Oneiroi has joined #openstack10:11
*** GheRivero has quit IRC10:14
*** GheRivero has joined #openstack10:17
*** jedi4ever has quit IRC10:26
*** jedi4ever has joined #openstack10:26
*** troya_ has quit IRC10:27
Raziquevidd: great10:28
Raziquewhat happended ?10:28
Raziquevidd: it creates the bridge IP I think10:28
viddi didnt have the --host flag set10:29
viddand either keystone or dashboard demands it10:29
Raziqueuksysadmin: the difference here is that nova makes a difference between private and public ip10:29
viddi installed them both at the same time so not sure which one broke it10:29
uksysadminyes - so does ec2 - it has a private IP known to the AZ, and a public one that's routeable - which genuinely is public10:30
Raziqueuksysadmin: could you paste your nova.conf and show me both SQL requests result : SELECT* FROM floatings_ips and SELECT * FROM fixed_ips10:30
uksysadminI'm doing the same - a non-routeable private IP I can't connect to, but the public one is a routed address on my LAN10:30
uksysadminwill do10:31
Raziqueuksysadmin: ohhh ok, sorry I wasn't aware of that10:31
Raziqueuksysadmin: from the nova server can you reach the private ip ?10:31
uksysadminnot at this stage - it fails to launch because it bombs out trying to associate the public ip10:32
uksysadminthe table entries looks odd but could be holding the clue...10:33
uksysadminhttp://paste.openstack.org/show/3055/10:34
uksysadminlots of NULLs10:34
viddanyone know what the endpoint template for dashboard is supposed to be?10:35
*** stevegjacobs_ has quit IRC10:35
*** stevegjacobs has quit IRC10:35
Raziquevidd: you sure Dashboard has it's own endpoint ?10:39
RaziqueDashboard should point to the Keystone one10:39
Raziqueuksysadmin: that the issue here :)10:40
Raziquefixed ip are not linked to ur current project10:40
Raziquesorry10:41
Raziquethe floating don't have an ip10:41
Raziquefixed_ip_id, you should have IDs here10:41
viddRazique, nothing else makes sence with this keystone =\10:41
Raziquevidd: when you configure the dashbord, the URL to set is http://KEYSTONE-IP:500010:42
Razique500/v2.0/  would be better10:42
viddRazique, i need something production-grade with a GUI so the standard dashboard-in-a-venv isnt going to cut it =\10:43
viddim going to have to hack it into place =]10:43
Raziquevidd: you mean update the dashboard for your needs ?10:44
viddyeah...and give the improvements back to the community =]10:45
Raziqueok ok10:46
Raziquegreat10:46
Raziqueso basically DASH ---> KEYSTONE ENDPOINT ----> SERVICES10:46
*** dolphm has joined #openstack10:47
viddyes...with a billing plug-in into keystone so we can suspend people that dont pay thier bills on time10:47
viddthat should be relatively easy...set a user or a tenent to "inactive"should kill the credentials they us, but i also need to set up some way to have the dashboard role get switch from "member" to "suspended"10:49
viddwhich is why i will need [to create if need be] an endpoint for dashboard10:50
viddwould not do to have a user who is suspended be able to access the tools to un-suspend themselves =]10:51
*** dolphm has quit IRC10:51
uksysadminYeah Razique as soon as I saw that it didn't make sense - its saying for this project I have no IPs to assign.  I'll try fudging the database and then see why its not populating the correct fields10:51
Raziqueuksysadmin: would you run that for me ? nova-manage floating create 192.168.1.1/3210:52
uksysadminsure10:53
Raziqueand select * from floating_ips where fixed_ip_id != NULL10:53
uksysadminEmpty set10:54
Raziqueok10:54
Raziquenova-manage project list10:54
Raziquenova-manage network list10:54
*** stewart has quit IRC10:55
*** adrian17od has quit IRC11:01
*** stewart has joined #openstack11:05
*** Razique_ has joined #openstack11:07
*** stewart has quit IRC11:08
uksysadminnova-manage project list... myproject11:08
*** stewart has joined #openstack11:09
uksysadminnetwork list11:09
uksysadminid   IPv4              IPv6           start address  DNS1           DNS2           VlanID         project        uuid11:09
uksysadmin1    10.0.0.0/26       None           10.0.0.3       None           None           100            myproject      None11:09
*** Razique has quit IRC11:09
*** Razique_ is now known as Razique11:09
uksysadminmy public ip range is 192.168.241.0/2411:09
uksysadmin(0,1 and 2 are unusable - that's just a shortcoming of my environment at the moment but doesn't affect the associating of addresses beyond this)11:10
uksysadminnow I remember having an issue with floating ips a while back in that the project column wasn't being populated - back then the create floating command accepted a project11:11
uksysadminit doesn't now11:11
uksysadmin(running Diablo on Ocelot)11:12
Raziqueuksysadmin: ok nova nova-manage floating create 192.168.241.50/32 && tail -100 /var/log/nova-manage.log11:14
*** dolphm has joined #openstack11:17
uksysadminsuccessful - only 2 lines created in nova-manage.log11:17
uksysadmin2011-11-03 11:17:09,267 DEBUG nova.utils [-] backend <module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from (pid=4193) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:45011:17
uksysadmin2011-11-03 11:17:09,324 INFO nova.db.sqlalchemy [-] Using mysql/eventlet db_pool.11:17
*** stewart has quit IRC11:18
* uksysadmin is appreciating the help from Razique here - if I get over this I can demonstrate some really interesting things here11:18
*** naehring has joined #openstack11:18
*** stewart has joined #openstack11:19
uksysadminlooking at the db, project isn't being populated - reckon that's my issue?11:20
*** bsza has joined #openstack11:20
*** stewart has quit IRC11:21
uksysadminRazique, I'm busy now most of today - think I've a couple of things I can start investigating and trying.11:23
uksysadmincheers for your help11:23
*** uksysadmin has quit IRC11:24
*** ahasenack has joined #openstack11:24
*** jedi4ever has quit IRC11:26
*** jedi4ever has joined #openstack11:26
*** markvoelker has joined #openstack11:33
uvirtbotNew bug: #885634 in nova "VM state of guest invalid when host shutdown" [Undecided,New] https://launchpad.net/bugs/88563411:36
uvirtbotNew bug: #885635 in nova "Host reboot renders host status invalid" [Undecided,New] https://launchpad.net/bugs/88563511:36
*** nerdstein has joined #openstack11:36
*** miclorb__ has quit IRC11:40
viddRazique, you still here?11:41
*** ninkotech has joined #openstack11:41
*** ninkotech has quit IRC11:46
*** dnjaramba has joined #openstack11:47
*** dolphm has quit IRC11:47
*** hadrian has joined #openstack11:50
*** Razique has quit IRC11:53
*** ejat has quit IRC11:58
*** livemoon has joined #openstack12:00
*** osier has quit IRC12:06
*** qwe890 has joined #openstack12:07
*** e1mer has quit IRC12:13
*** msivanes has joined #openstack12:16
*** cereal_bars has joined #openstack12:17
*** e1mer has joined #openstack12:18
*** ogelbukh has joined #openstack12:19
*** npmapn has joined #openstack12:19
*** dolphm has joined #openstack12:22
*** jedi4ever has quit IRC12:26
*** jedi4ever_ has joined #openstack12:26
viddzykes-, you still around?12:27
*** hggdh has joined #openstack12:28
*** lorin1 has joined #openstack12:28
*** cdub_ has joined #openstack12:29
*** crescendo has quit IRC12:29
*** cdub has quit IRC12:29
livemoonhi,vidd12:35
livemoonnice to see you12:35
viddhello livemoon12:35
viddi have gotten the thumbs up for purchasing equiptment12:36
livemooncongratulaion12:36
livemooncongratulation12:37
viddgoing to convert as much of the data center to openstack compute as possible on one server...then repurpose freed machines to virtulize the rest =]12:37
livemoon:)12:37
livemoonjust one server?12:37
viddto start12:38
viddwe have a few under-utilized machines i want to frr up12:38
*** PeteDaGuru has joined #openstack12:38
viddthen make them into compute nodes12:38
livemoongood12:39
livemoongood luck12:39
livemoonI will go to bed12:39
viddhopefully, i can free up enough machines to get everything virtualized and have machines left over to do a decent swift array =]12:39
livemoonthese two days I have a traning outdoor12:39
zykes-hey vidd12:41
zykes-yeah in between12:41
*** crescendo has joined #openstack12:42
viddso zykes- i have this issue....12:42
*** supriya has quit IRC12:42
viddwith keystone installed glance seams to repond but euca wont co-operate12:42
vidddo your euca tools work with keystone?12:43
*** e1mer has quit IRC12:43
*** livemoon has left #openstack12:43
*** dolphm has quit IRC12:45
*** iRTermite has joined #openstack12:45
*** iRTermite has quit IRC12:45
*** hggdh has quit IRC12:47
*** dprince has joined #openstack12:47
*** qwe890 has left #openstack12:48
*** e1mer has joined #openstack12:48
*** e1mer has joined #openstack12:48
vidd===========-oTTo^|12:49
viddzykes-, any idea what i should be looking for?12:51
zykes-yeah12:51
zykes-what version of ks you running ?12:51
viddkeystone-manage 0.912:52
zykes-hmm, i run a more recent one then that12:52
zykes-though i don't think it should affect it12:52
zykes-do you get any access denied errors in your glance-api.log ?12:52
zykes-or in the nova-api12:52
zykes-when you use euca* it goes to nova which auths first with keystone which then goes to glance which also auths you with keystone fyi12:53
vidd2011-11-03 07:48:27,176 INFO nova.api.openstack.wsgi [-] http://192.168.15.199:8774/favicon.ico returned with HTTP 30012:53
*** e1mer has quit IRC12:53
zykes-so that's not the EC2 API, look for requests on port 877312:53
zykes-euca* doesn't use the OSAPI vidd12:54
viddzykes-, that might-could explain it =\12:55
*** e1mer has joined #openstack12:57
*** beekhof_muc has joined #openstack12:58
*** lorin1 has quit IRC12:58
beekhof_mucsandywalsh: will the orchestrator meetings be at a regular time?12:58
*** lborda has joined #openstack12:58
zykes-basically vidd a euca image req for example would be: client > keystone middleware in front of nova > nova api > glance keystone middleware > glance12:59
zykes-so your euca command for getting images can fail at either the nova api point of auth or at the glance middleware12:59
viddexport EC2_URL="http://192.168.15.199:5000/services/Cloud"12:59
viddthat is pointing to keystone12:59
zykes-nope, EC2_URL="http://192.168.15.199:8773/services/Cloud13:00
viddim not trying to get an image just yet13:00
*** dolphm has joined #openstack13:00
zykes-that's how it should be13:00
viddim just trying to allocate an ip (so i can just test nova)13:00
*** supriya has joined #openstack13:00
zykes-it's only for swift if I recall it correct where you need to pass the keystone url to the client13:00
zykes-then use the url i gave you ;p13:00
zykes-think that's correct at least13:01
viddnow its taking too long13:02
*** hggdh has joined #openstack13:03
*** lorin1 has joined #openstack13:04
*** supriya has quit IRC13:06
viddWarning: failed to parse error message from AWS: <unknown>:1:0: not well-formed (invalid token)13:09
*** huslage has joined #openstack13:11
*** Oneiroi has quit IRC13:11
*** Razique has joined #openstack13:11
Raziquevidd:13:11
Raziqueyup back from lunch13:11
Raziqueis uksysadmin around ?13:11
viddzykes-, port for nova is 877413:12
viddWarning: failed to parse error message from AWS: <unknown>:1:0: not well-formed (invalid token)13:12
viddRazique, no, uksysadmin when home13:12
viddor work, or someplace =]13:12
Raziquevidd: seems like the endpoint is not well written :)13:12
Raziquevidd: u are using euca2ools, right?13:13
viddyes13:13
Raziqueok can I see the .bashrc ?13:13
sandywalshbeekhof,  :) regular for who?13:13
sandywalshbeekhof, or do you mean 'will they be regular events?'13:14
*** iRTermite has joined #openstack13:14
*** bcwaldon has joined #openstack13:16
viddRazique, http://dpaste.com/646702/13:16
*** supriya has joined #openstack13:16
RaziqueI think it should be http://192.168.15.199:5000/v2.0/13:17
Raziqueand into the nova.conf : -keystone_ec2_url=http://172.16.40.11:5000/v2.0/ec2tokens13:17
*** lborda is now known as lborda_otp13:18
viddRazique, still a no-go ...http://dpaste.com/646707/13:21
Raziquevidd: so let the line into nova.conf13:21
Raziquebut redo the changes into the .bashrc13:21
RaziqueI had the same issues13:22
Raziqueissue13:22
Raziqueit's definitely linked to that :)13:22
viddok...kill bash....13:22
viddedit novarc....13:23
viddsource novarc13:25
viddrestart everything13:25
*** e1mer has quit IRC13:26
vidd>-|O |13:26
*** jedi4ever_ has quit IRC13:26
viddstill same issue13:26
*** jedi4ever has joined #openstack13:26
*** rods has joined #openstack13:27
viddRazique, could it be the endpoint in keystone DB?13:27
Raziqueoh wait13:27
Raziquecheck that file = /usr/local/lib/python2.6/dist-packages/keystone-1.0-py2.6.egg/keystone/middleware/ec2_token.py13:28
*** mmetheny has quit IRC13:28
*** mmetheny_ has joined #openstack13:28
*** jtanner has joined #openstack13:28
Raziquedo u have that line o = urlparse(FLAGS.keystone_ec1_url)13:28
viddi have no keystone eggs13:29
vidd' File: /usr/share/pyshared/keystone/middleware/ec2_token.py13:30
*** e1mer has joined #openstack13:31
viddRazique, is that in the paste api? or in the ec2_token13:31
Raziqueec2_token13:32
Raziquerun updatedb && locate ec2_token.py13:32
*** dolphm has quit IRC13:32
viddgot it...and yes....i have that line13:32
viddlemme guess...change it to ec2?13:33
*** supriya has quit IRC13:35
zykes-change what vidd ?13:36
viddthe 0= flag in ec2_token file13:37
*** kieron has joined #openstack13:37
*** hggdh has quit IRC13:37
Raziquevidd: nope13:37
Raziquehere13:37
Razique        # o = urlparse(FLAGS.keystone_ec1_url)13:38
Razique        o = urlparse(FLAGS.keystone_ec2_url)13:38
*** jwalcik has joined #openstack13:38
Raziqueand13:38
Razique        # token_id = result['auth']['token']['id']13:38
Raziquetoken_id = result['access']['token']['id']13:38
*** javiF has quit IRC13:39
*** dolphm has joined #openstack13:39
*** e1mer has quit IRC13:41
*** katkee has quit IRC13:41
*** jeh has joined #openstack13:43
viddRazique, still no goode13:44
Raziqueservice nova-api restart after that13:44
Raziqueyou have left the directive into nova.conf ?13:44
*** imsplitbit has joined #openstack13:44
viddthat "updatedb" is that a keystone-manage command?13:44
Raziquevidd: nope13:44
viddRazique, yes...keytone directive is left in13:44
Raziquekeystone-manage populates the database if it's empty13:44
viddso just updatedb?13:45
Raziqueok so now put back http://nova-api:8773/services/Cloud13:46
Raziqueand I think it should work :)13:46
*** e1mer has joined #openstack13:46
*** e1mer has joined #openstack13:46
viddbut back....where?13:46
viddthe novarc?13:46
*** dolphm has quit IRC13:46
Raziqueyup13:47
RaziqueEC2_URL13:47
*** dolphm has joined #openstack13:48
viddnow an error 500 =\13:49
viddmust be the capital C in cloud13:49
viddnope...no good either....both trow syntax errors13:50
Raziquevidd: nope, that means nova doesn't seem able to forward the request to keystone13:51
*** e1mer has quit IRC13:51
Raziquetail /var/log/nova/nova-api.log13:51
viddhttp://dpaste.com/646717/13:52
viddthats with lowwrcase c13:52
viddand Capital C gives a 500 responce13:53
viddwaiting to complte error out so i can paiste the tai;l13:53
viddhttp://dpaste.com/646719/ capital C13:54
*** e1mer has joined #openstack13:55
Raziqueweird, since I use myself the capital C and it's working13:55
Raziquedo you see keystone logs moving ?13:56
Raziquethat would means nova-api forwards the request to keystone13:56
Raziquealso, into keystone DB do u have the EC2 entry ?13:56
Razique(under credentials table)13:56
viddhttp://dpaste.com/646724/13:57
viddyes...made the EC2 entry13:57
viddthe script in your docs put ' marks around the so i had to take them out....and the values didnt match the database structure13:58
*** PiotrSikora has quit IRC13:58
*** PiotrSikora has joined #openstack13:59
*** katkee has joined #openstack13:59
viddis there a keystone.conf setting we are missing?14:00
*** benrodrigue has joined #openstack14:00
*** huslage has quit IRC14:00
*** jamespage_ has joined #openstack14:02
Raziqueerror 401, that means an auth error14:03
Raziquewhat euca2ools outputs on it's side ?14:03
viddnova-api?14:04
*** katkee has quit IRC14:04
viddhttp://dpaste.com/646727/14:05
uvirtbotNew bug: #885696 in glance "glance checked_iter missing variable in error case, mixed type of expected_size" [Undecided,New] https://launchpad.net/bugs/88569614:06
Raziquevidd: nope, what's the error when you run for instance euca-describe-instances ?14:08
viddwell right now its timing out because last tim i had the capital C14:10
viddWarning: failed to parse error message from AWS: <unknown>:1:0: syntax error14:10
*** imsplitbit has quit IRC14:11
*** mnour has quit IRC14:12
viddhttp://dpaste.com/646729/ with the lowecase c (with --debug flag)14:12
*** catintheroof has joined #openstack14:13
Raziquevidd: ok  weirk14:13
Razique$14:13
Raziquewould you let me start my VM and reactivate keystone + ec214:13
*** Madkiss has quit IRC14:13
*** Madkiss_ has joined #openstack14:13
*** Madkiss_ is now known as Madkiss14:13
Raziqueright now I'm kinda busy, writting docs :D and I'd like to stay  focused14:13
Raziquesince I finish that, 'ill check14:13
*** benrodrigue has quit IRC14:14
viddRazique, sure...i need to get some sleep anyway14:14
*** tryggvil_ has joined #openstack14:14
viddbeen at this for over 19 hours14:14
Raziquevidd: gime your city, 'ill add you into my world clock14:14
Raziqueso I know when I can reach you14:14
viddnew york time zone....14:14
viddbut im usually here between 6pm to 9am14:15
viddlocal time14:15
Raziqueok, good to know14:15
viddim a night person =]14:16
RaziqueI see that ^^14:16
*** joesavak has joined #openstack14:16
viddmaybe i live on tokeyo time =]14:16
RaziqueI'm trying not to be14:16
Raziquehehe14:16
viddme too...but this project will get me un-laid-off so ive been putting in some 36-hour days on it14:17
Raziquevidd: ok 'ill look for the integration14:17
Raziqueupdate the doc accordingly14:18
Raziqueand let u know when it's ok! :)14:18
*** e1mer has quit IRC14:18
viddthe wife actually told me to go to the casino a couple weeks ago to get a break14:18
viddim using version 0.9 if that helps any14:18
viddthe one that comes in 11.10 repos14:19
*** sandywalsh_ has joined #openstack14:19
*** lorin1 has joined #openstack14:20
*** Barakas has joined #openstack14:20
Razique0.9 ?14:20
viddroot@vidd-host:~# keystone-manage --version14:21
viddkeystone-manage 0.914:21
viddits the one packaged in ubuntu repos14:21
*** jsavak has joined #openstack14:22
*** imsplitbit has joined #openstack14:23
*** e1mer has joined #openstack14:23
*** jedi4ever_ has joined #openstack14:25
* vidd is off to see the sand-man14:25
*** jedi4ever has quit IRC14:25
*** jedi4ever_ is now known as jedi4ever14:25
*** vidd is now known as vidd-away14:26
*** joesavak has quit IRC14:26
fjaywhen bringing up openstack for the first time.. does it need its own network(s)?14:26
zykes-Razique: care to read a etherpad on something ?14:26
Raziquezykes-: sure14:26
Raziquefjay: nope, it could be integrated into an existing network14:27
fjayRazique: can it leverage an exisiting dhcp server?14:27
fjayRazique: the doc's kinda say it wants to run its own and don't really say much14:27
zykes-fjay: nova nodes and "service" nodes can, instances is maybe a bit more tricky in some cases14:27
*** mattray has joined #openstack14:28
fjayi have a small ~4 server setup i am trying to roll14:28
fjayjust to get our dev env more like production14:29
*** zul has joined #openstack14:29
fjayand i don't really need (or want) the instances on their own network14:29
fjaybut i could live w/ it.14:29
fjayjust alot more work14:29
*** sugar_punkin has joined #openstack14:29
fjayare there any doc's or references to running it 'flat' like that?14:29
*** sugar_punkin has quit IRC14:30
*** sugar_punkin has joined #openstack14:30
*** imsplitbit has quit IRC14:31
*** supriya has joined #openstack14:31
*** katkee has joined #openstack14:32
fjayi guess worst case i add another vlan to the network and put eth1 on that vlan or just trunk to the machines14:34
gnu111Can someone look at my settings for Diablo in RHEL? I was finally able to get a centos image bootup and ssh to it, but can't ping outside from it: http://paste.openstack.org/show/3056/14:37
*** gmih has joined #openstack14:37
*** neogenix has quit IRC14:38
*** dubsquared has joined #openstack14:38
*** e1mer has quit IRC14:39
*** rnirmal has joined #openstack14:41
*** jfluhmann has joined #openstack14:41
*** cp16net has joined #openstack14:42
*** e1mer has joined #openstack14:44
*** code_franco has joined #openstack14:47
*** clayg_ has joined #openstack14:47
*** supriya has quit IRC14:47
gnu111I thought this bug was fixed in Diablo: https://bugs.launchpad.net/nova/+bug/84493514:48
*** siwos has quit IRC14:48
*** zul has quit IRC14:48
gmihhas anybody here managed to get Nova+Dashboard+Keystone working in a multi-node setup running on Ubuntu 11.10 from the official Ubuntu repo?14:48
annegentlegmih: as far as I know, it won't work from the official Ubuntu repo14:50
*** dnjaramba has quit IRC14:50
*** dnjaramba_ has joined #openstack14:50
*** dendrobates is now known as dendro-afk14:50
Raziquegmih: annegentle is right here, you'll need at least a github keystone and dashboard14:52
*** jamespage_ has quit IRC14:53
gmihRazique: thanks for reply; I would like to use the official github, not the one maintained by cloudbuilders, would it work?14:55
*** huslage has joined #openstack14:55
Raziquegmih: yup14:57
Raziquewe published a doc for that : http://docs.openstack.org/trunk/openstack-compute/admin/content/migrating-from-cactus-to-diablo.html14:57
Raziquesection D14:57
Raziquei'm updating it, since vidd gave me some feedbacks, but you can start with that :)14:58
*** ayates83 has left #openstack14:58
Raziquewith that, you'll just need after that to follow the standard procedure for the Dash14:58
*** adjohn has joined #openstack15:00
gmihunfortunatelly, I already blown away my Cactus cluster and started from scratch with Diablo on Ubuntu 11.1015:03
*** hezekiah_ has joined #openstack15:03
*** hggdh has joined #openstack15:04
*** dragondm has joined #openstack15:05
*** javiF has joined #openstack15:05
uvirtbotNew bug: #885721 in horizon "RAM quota incorrect" [Undecided,New] https://launchpad.net/bugs/88572115:05
*** clayg has quit IRC15:06
*** Gordonz has joined #openstack15:06
*** clayg_ is now known as clayg15:06
*** clayg_ has joined #openstack15:06
*** f-yang has joined #openstack15:09
*** fred_ has joined #openstack15:09
*** fred_ is now known as Guest8952715:09
GlaceeIs there a way to get more logging in swift? Debug level logs?15:10
*** neogenix has joined #openstack15:12
*** MarkAtwood has joined #openstack15:13
*** f-yang has quit IRC15:13
*** Guest89527 has quit IRC15:13
*** f-yang has joined #openstack15:14
Glaceenm found it15:16
*** jdg has joined #openstack15:16
uvirtbotNew bug: #885723 in nova "Xen failure on resize should set instance to ERROR" [Undecided,In progress] https://launchpad.net/bugs/88572315:16
GlaceeWhat are in other options of log level though? I just see INFO in the docs15:17
GlaceeI am gessing that DEBUG would be an option?15:18
*** jdg has quit IRC15:19
*** ldlework has joined #openstack15:19
*** rnorwood has joined #openstack15:20
*** superjudge has quit IRC15:21
*** lionel has quit IRC15:21
*** e1mer has quit IRC15:21
*** lionel has joined #openstack15:21
*** jdg__ has joined #openstack15:22
*** rsampaio has joined #openstack15:23
*** jedi4ever has quit IRC15:24
*** jedi4ever has joined #openstack15:24
*** Gordonz has quit IRC15:25
*** Gordonz has joined #openstack15:25
*** adjohn has quit IRC15:27
*** dolphm has quit IRC15:27
*** hggdh has quit IRC15:29
*** lorin1 has quit IRC15:29
*** lorin1 has joined #openstack15:29
*** dolphm has joined #openstack15:30
doudeHi stackers, I try to set up a multi-region deployment with OpenStack15:31
*** hezekiah_ is now known as isaacfinnegna15:31
*** isaacfinnegna is now known as isaacfinnegan15:31
*** anon_os has joined #openstack15:31
*** benrodrigue has joined #openstack15:31
doudeI get an error when I add a zone to another one. The parent zone failed to pull added child.15:32
*** dtroyer has quit IRC15:33
doudeParent zone asked keystone with URL http://keystone.url:5000/v2.0/tokens with admin acount but without tenant ID15:33
*** cdub_ has quit IRC15:33
*** sgg has joined #openstack15:34
*** mnour has joined #openstack15:34
dolphmdoude: does it look like a nova or keystone issue?15:34
doudeSo it fails to parse the service catalog because Keystone respond that http://paste.openstack.org/show/3058/ (No service catalog)15:35
*** sgd2 has joined #openstack15:35
doudeI don't know if it's keystone issue or Nova issue15:35
doudedolphm: I don't know if it's keystone issue or Nova issue15:35
dolphmdoude: i believe that's expected on keystone's behalf -- let me double check... what versions of nova & keystone are you running?15:37
doudeI found a way to fix that by edditing the file 'nova/scheduler/zone_manager.py' and specifie the tenant ID to the novaclient request (line 103)15:37
*** beekhof_muc has quit IRC15:38
dolphmdoude: that's what i'm thinking -- i'm not sure a service catalog is expected if no tenant is provided... the token keystone responds with is basically a token so you can go back to keystone and call GET /tenants with it, choose a tenant, POST /tokens again (this time with a tenant in mind), and you should get back a service catalog15:38
doudedolphm: I use the trunk version rev1131215:38
dolphmdoude: so perhaps nova is expecting to bypass that process by assuming you know your tenant?15:38
dolphmdoude: which is fine, if you do15:38
doudedolphm: so it's a nova issue. The zone manager should find a tenant ID.15:39
*** sgd21 has joined #openstack15:39
doudedolphm: or sepecifed it15:40
*** marrusl has joined #openstack15:40
dolphmdoude: i believe that's correct15:40
*** clopez has quit IRC15:40
*** lborda_otp has quit IRC15:40
doudedolphm: should I open a bug ?15:41
*** clopez has joined #openstack15:41
*** sgd2 has quit IRC15:41
*** mnour has quit IRC15:42
*** lborda has joined #openstack15:43
doudedolphm: Other question, I don't understand why admin account need to be linked to a tenant ? There is a specific reason for that ?15:44
*** lorin1 has quit IRC15:45
*** lorin1 has joined #openstack15:46
dolphmdoude: always feel free to open bugs :)15:46
dolphmdoude: that shouldn't be the case -- and the idea of a "default tenant" is being completely removed15:47
*** marrusl has quit IRC15:51
jehWhat package contains the stack command referred to at http://docs.openstack.org/trunk/openstack-compute/admin/content/getting-an-instances-vnc-console.html15:51
*** clauden_ has joined #openstack15:52
dolphmdoude: i say default tenant is being removed, and now i'm reading a review that improves support for default tenants..15:54
*** dendro-afk is now known as dendrobates15:55
*** dtroyer has joined #openstack15:57
vishyjeh: stack is not packaged15:57
*** openpercept has quit IRC15:59
*** dendrobates is now known as dendro-afk15:59
jehvishy: can I get a vnc_console_id without it?16:00
jehvishy: and the obvious next question, where can I get the stack command source?16:01
*** sgd21 is now known as sgd216:02
*** sugar_punkin has quit IRC16:02
vishyjeh: stack is in the nova source tree16:02
vishyjeh: there is an extension for getting a vnc console16:02
vishyright now it is in extras controller in openstackx16:02
vishyit hasn't been moved into an extension in the nova tree yet16:02
jehvishy: ok, thanks16:02
*** juddm has joined #openstack16:03
vishygithub.com/cloudbuilders/openstackx16:03
sgd2Is there a reason why I shouldn't specify my public IPs as nova fixed IPs?  It seems simpler to use one network.16:03
vishysgd2: if you can set up routing to work that way and you have enough public ips, go for it16:04
*** dirakx1 has joined #openstack16:04
vishyyou should probably make nova give out an external gateway in that case16:04
vishyand you might have to set up some forwards on your gateway to get your metadata to work16:05
*** dirakx2 has joined #openstack16:05
*** dirakx1 has quit IRC16:06
sgd2vishy, For a testbed environment, where I wouldn't need to access instances from outside, does that simplify routing?16:06
*** TheOsprey has quit IRC16:06
vishyzykes-: yes dnsaas would be great16:06
vishysure16:06
vishysgd2: just remember nova-network is acting as a gateway by default16:07
*** dirakx1 has joined #openstack16:07
*** dirakx2 has quit IRC16:07
sgd2vishy: Does it provide DHCP and DNS itself?16:07
vishyyes16:08
vishyit uses host dns resolver16:08
vishydnsmasq16:08
*** dirakx1 has quit IRC16:09
*** dirakx1 has joined #openstack16:09
sgd2It seems I would want nova to run inside a vlan, so as not to conflict with our existing DHCP.16:09
*** reed has joined #openstack16:09
uvirtbotNew bug: #885750 in keystone "Support CRUD calls for ec2credentials as per contract." [Medium,Confirmed] https://launchpad.net/bugs/88575016:11
*** zul has joined #openstack16:12
*** freeflyi1g has quit IRC16:13
*** jog0 has joined #openstack16:13
*** negronjl_mobile has joined #openstack16:13
*** cloudgeek has joined #openstack16:14
*** reidrac has quit IRC16:14
*** freeflying has joined #openstack16:15
*** jedi4ever has quit IRC16:18
*** jedi4ever has joined #openstack16:19
uvirtbotNew bug: #885755 in nova "Nova and Keystone don't work in multi-zone mode" [Undecided,New] https://launchpad.net/bugs/88575516:21
*** foexle has joined #openstack16:21
dolphmdoude: thanks for the feedback!16:21
cloudgeekhey all16:22
foexleheyho guys, ive a problem with euca-describe-images .... i get EC2ResponseError: 300 Multiple Choices from the openstack api .... how can i deactivate the depricated version16:22
foexle?16:22
*** obino has quit IRC16:23
dolphmfoexle: do you know which call is returning a 300?16:23
foexlemy  EC2_URL="http://xxx.xxx.xxx.xxx:8774/services/Cloud" and nova url http://xxx.xxx.xxx.xxx:8774/v1.1/16:24
*** datajerk has quit IRC16:25
foexlehi dolphm : http://pastebin.com/SccLeeW416:25
doudedolphm: Ok, thanks for your answers. Can you point me the review ? A bug was open for zone problem: https://bugs.launchpad.net/nova/+bug/88575516:26
foexledolphm: i get the xml response with 2 choices16:26
dolphmfoexle: two choices for nova, i assume?16:26
dolphmdoude: review for..?16:27
foexledolphm: yep16:27
*** negronjl_mobile has quit IRC16:29
foexledolphm: i set the correct version in keystone and in my sysvars16:29
vishyfoexle: use port 877316:30
foexledolphm: so i need to resolve this issue to upload uec image to glance :=)16:30
dolphmdoude: foexle: i'm not a nova guy so i'd just be guessing :/ there are several active nova devs in #openstack-dev at the moment if ya'll want to try there16:30
vishyfor ec2 url16:30
foexlevishy: i'll try16:30
dolphmor ask vishy :)16:30
*** datajerk has joined #openstack16:31
foexlevishy: thx :) .... ok now i get other error .... but i think thats an other problem.... i'm so stupid -.- i'm sorry16:32
*** dobber has quit IRC16:32
*** mgoldmann has joined #openstack16:34
*** n8 has joined #openstack16:36
*** n8 is now known as Guest2372316:36
*** Guest23723 is now known as n8816:37
n88can anybody here explain to me the process that occurs when using flatDHCP networking and how the bridge is setup?16:37
vishyn88: http://unchainyourbrain.com/openstack/13-networking-in-nova16:38
vishyhas a diagram showing the flags16:38
vishyhopefully that helps16:38
n88vishy: thanks I've actually modeled my network off that diagram; but I'm trying to understand when the bridge is actually created…when the first VM starts? when nova-compute starts? When nova-network starts?16:39
*** masom has joined #openstack16:39
vishyfirst vm16:39
*** jdurgin has joined #openstack16:39
n88vishy: thanks! Same for both nova-compute and nova-volume?16:40
vishyif there are existing vms then it will be recreated when nova-network boots16:40
masomHello, i am having a weird issue with keystone, adding a user crashes with 'NoneType' object has no attribute 'id'. Anyone know a workaround or which version of keystone will work the the dashboard?16:40
isaacfinneganI cannot get a remote nova-compute node to start an instnace16:40
vishyin non multi_node it will be created on compute side when nova-compute starts as well16:40
isaacfinneganit only works on the nova-api node (also running nova-compute)16:40
n88vishy: So what happens if I'm in non-multi-mode, and my nova-compute starts and doesn't create the bridge?16:41
vishyisaacfinnegan: do you get an error message?16:41
vishyn88: do you have any vms defined?16:41
isaacfinneganyes16:41
isaacfinnegan2011-11-03 16:34:27,996 ERROR nova.exception [-] Uncaught exception16:41
isaacfinnegan(nova.exception): TRACE: Traceback (most recent call last):16:41
isaacfinnegan(nova.exception): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 98, in wrapped16:41
isaacfinnegan(nova.exception): TRACE:     return f(*args, **kw)16:41
isaacfinnegan(nova.exception): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 454, in run_instance16:41
isaacfinnegan(nova.exception): TRACE:     self._run_instance(context, instance_id, **kwargs)16:41
isaacfinnegan(nova.exception): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 371, in _run_instance16:41
isaacfinnegan(nova.exception): TRACE:     _check_image_size()16:41
isaacfinnegan(nova.exception): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 327, in _check_image_size16:41
isaacfinnegan(nova.exception): TRACE:     image_meta = image_service.show(context, image_id)16:41
isaacfinnegan(nova.exception): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 220, in show16:41
vishyisaacfinnegan: use paste.openstack.org16:41
n88vishy: no VMs yet…I just got all the components installed and setup and configured16:41
vishyisaacfinnegan: looks like your second node is having trouble talking to glance16:42
*** cereal_bars has quit IRC16:42
n88vishy: And I don't see any bridges on either my nova-network or nova-compute machines so I wanted to make sure things were working right before I tried launching a VM16:42
vishyisaacfinnegan: do you have glance_api_servers set to an ip that is reachable?16:42
isaacfinneganhttp://paste.openstack.org/show/3061/16:42
isaacfinneganyes16:42
vishyn88: it should all be created on first launch16:42
isaacfinneganI can telnet to the galnce api / port and it connects16:42
isaacfinneganfrom the other nova-compute node16:42
n88isaac: I was having the same except problem about two days ago…I never resolved it and then my nova-compute stopped working altogether16:43
*** jog0 has left #openstack16:43
vishyisaacfinnegan: do you have the same version of glance on both machines?16:43
isaacfinneganglance is not on both machine16:43
isaacfinnegans16:43
*** jog0 has joined #openstack16:43
isaacfinneganis it required for all nova-compute nodes?16:43
vishyisaacfinnegan: well glance client is required16:44
vishyand it is installed16:44
vishybut it could be a different version16:44
isaacfinneganok16:44
*** alekibango has quit IRC16:44
vishyisaacfinnegan: are you installing from packages?16:45
isaacfinneganok.  I might have an old verison of python-glance16:45
isaacfinneganudpating now16:45
isaacfinneganthat's probably it16:46
uvirtbotNew bug: #885767 in devstack "nova-network get installed when I have ENABLED_SERVCIES="mysql key swift"" [Undecided,New] https://launchpad.net/bugs/88576716:46
isaacfinneganlooks like I had nova-compute @ 2011.3 but python-glance @ 2011.216:46
*** sgg has quit IRC16:46
*** cloudgeek has quit IRC16:46
*** Barakas has quit IRC16:46
masomAnyone knows the proper keystone/dashboard combo? keystone master is having trouble with it's db16:47
dolphmmasom: what kind of db trouble?16:47
isaacfinneganthat was it16:47
isaacfinneganthx16:47
masomdolphm: 'NoneType' object has no attribute 'id' when attempting to add users16:48
isaacfinneganoops16:48
isaacfinneganspoke too soon. failed later16:48
*** jedi4ever has quit IRC16:49
*** zul has quit IRC16:52
dolphmmasom: was your db created from a pre-diablo version of keystone?16:52
dolphmmasom: or do you know where 'NoneType' is being referenced? (do you have a back trace?)16:54
*** Hakon|mbp has quit IRC16:55
*** Razique has quit IRC16:56
n88vishy: thank you! I finally got my first openstack VM up and running!!!!!16:56
vishyhoyoo!16:56
n88=D16:56
*** sgd2 has quit IRC16:56
n88vishy: one additional question…when it comes to the floating ips, do I need to use the euca-* commands to allocate a public IP or is there some setting in nova.conf I can use for it to automatically assign a public IP to a running instance on startup from the available floating ip pool?16:57
* pixelbeat is away: Away16:57
vishythere is an --auto_assign_floating_ip16:58
vishyI think it still works16:58
n88vishy: ok. I will test that out…16:58
*** guigui has quit IRC16:59
*** huslage has quit IRC17:01
masomdolphm: i'm looking at the backtrace. I deleted the previous keystone db just in case.17:01
n88vishy: I successfully did the euca-allocate-address and see in the DB it's now associated with project1 (my project name) but when I try to use euca-associate-address <instance id> I get this error: These required options are missing: instance17:02
masom~paste17:02
masomoh no bot...17:02
vishythat is not the command17:02
vishyeuca-associate-address -i <instance_id> <address>17:02
masomdolphm: http://paste.openstack.org/show/3063/17:02
n88vishy: ah ok…it wasn't giving me a good error message…thanks as always17:02
*** reed has quit IRC17:05
*** ashp has joined #openstack17:05
ashpHey guys, when I run:17:05
ashp# euca-upload-bundle -b kernel-bucket -m //tmp/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml17:05
*** mnour has joined #openstack17:06
ashpI get: ImportError: cannot import name Connection17:06
ashpAnyone have any idea what might be going wrong?17:06
*** llang629 has joined #openstack17:08
*** alekibango has joined #openstack17:08
*** Ryan_Lane has joined #openstack17:10
*** n1md4 has joined #openstack17:11
*** rods has quit IRC17:12
*** llang629 has quit IRC17:14
*** dolphm has quit IRC17:16
uvirtbotNew bug: #885778 in nova "nova-manage not executable" [Undecided,Fix committed] https://launchpad.net/bugs/88577817:16
*** naehring has quit IRC17:17
BuZZ-Tdoes nova-api currently support euca-import-keypair?17:18
*** gyee has joined #openstack17:19
*** jdurgin has quit IRC17:19
*** stuntmachine has joined #openstack17:20
*** rods has joined #openstack17:20
*** Gordonz has quit IRC17:20
*** llang629 has joined #openstack17:20
*** katkee has quit IRC17:21
*** gyee has quit IRC17:21
*** Hakon|mbp has joined #openstack17:23
*** llang629 has left #openstack17:23
*** nphase has joined #openstack17:24
*** dirakx1 has quit IRC17:24
*** dirakx1 has joined #openstack17:25
*** dirakx2 has joined #openstack17:25
*** dirakx1 has quit IRC17:26
*** lorin1 has quit IRC17:26
*** shentonfreude has joined #openstack17:27
*** Ryan_Lane has quit IRC17:27
agydo the messages cast onto the message queue have an expiry? i.e. if a compute node receives a message from 48 hours in the past will the message still be processed or discarded?17:27
*** nikolaij has quit IRC17:28
*** mnour has quit IRC17:28
*** shentonfreude has left #openstack17:29
*** Ryan_Lane has joined #openstack17:29
*** dirakx2 has quit IRC17:30
*** tryggvil_ has quit IRC17:30
*** jedi4ever has joined #openstack17:30
*** tryggvil_ has joined #openstack17:30
*** lorin1 has joined #openstack17:32
*** joesavak has joined #openstack17:32
*** Gordonz has joined #openstack17:34
*** jsavak has quit IRC17:36
*** jedi4ever has quit IRC17:36
*** jsavak has joined #openstack17:37
*** bengrue has quit IRC17:37
*** joesavak has quit IRC17:38
*** jdurgin has joined #openstack17:38
*** bengrue has joined #openstack17:38
ashpSo close, I got the instance to try and launch but now it's just stuck in scheduling forever.17:38
*** dendro-afk is now known as dendrobates17:38
n88vishy: question about networking…what happens to the fixed_ips when you reach the last one, does the assignment start back at the first IP? I noticed in the database that new instances get the next IP address even if the previous fixed_IP was assigned to a terminated instance17:40
*** imsplitbit has joined #openstack17:41
*** neogenix_ has joined #openstack17:41
ashpI think my issue is it can't connect to libvirtd.  Is there some kind of authentication you have to setup between nova-libvirt?17:41
*** obino has joined #openstack17:42
ashphmm, no auth is required by default with libvirtd :/17:44
ashpvirsh can connect so it's definitely running. :/17:45
*** neogenix has quit IRC17:45
*** neogenix_ is now known as neogenix17:45
*** df1 has joined #openstack17:45
*** bengrue has quit IRC17:47
*** gyee has joined #openstack17:47
*** rnorwood1 has joined #openstack17:47
*** rnorwood has quit IRC17:49
*** dprince has quit IRC17:55
*** reed has joined #openstack17:55
*** jfluhmann has quit IRC17:55
*** TheOsprey has joined #openstack17:55
*** cereal_bars has joined #openstack17:56
*** jdg__ has quit IRC17:56
*** datajerk has quit IRC17:58
*** rnorwood1 has quit IRC17:58
*** dnjaramba_ has quit IRC17:59
*** nacx has quit IRC17:59
*** rnorwood has joined #openstack18:00
*** dendrobates is now known as dendro-afk18:00
*** adjohn has joined #openstack18:01
*** dolphm has joined #openstack18:03
*** datajerk has joined #openstack18:04
*** krow has joined #openstack18:04
*** dolphm_ has joined #openstack18:05
*** tlocalhos has quit IRC18:06
*** lorin1 has quit IRC18:06
*** dolphm has quit IRC18:07
n88has anyone seen an issue with iSCSI naming when trying to attach a volume?18:07
*** tlocalhos has joined #openstack18:08
*** smeier00 has joined #openstack18:08
n88it appears the device.py file is assuming my iscsi mounted disk will have -lun-0 appended to it18:08
n88but it's actual -lun-118:09
*** gyee has quit IRC18:09
*** gyee has joined #openstack18:09
*** gyee has quit IRC18:09
vishyn88: they are recyclied via timeout (the fixed_ips)18:09
vishyif you are on oneiric there is a flag which will release ips immediately18:10
vishy(or if you are using the nova-ppa for dependencies on an older version of ubuntu18:10
n88visy: I am on oneiric — do you know the flag?18:11
vishyn88: --force_dhcp_release18:12
*** huslage has joined #openstack18:12
*** gyee has joined #openstack18:12
vishythat sends a packet to dnsmasq releasing the ip when you terminate the instance18:12
vishy(otherwise the lease has to timeout, so ips are reclaimed after about 10 min by default)18:13
isaacfinnegani'm seeing this on a copute node18:13
isaacfinneganDHCP packet received on br100 which has no address18:13
*** masom has quit IRC18:13
n88vishy: ah great to know about the 10 min timeout as well as the flag to release; i have that flag now in my nova.conf: --force_dhcp_release=True but perhaps I should try it without setting an actual value (if it's a boolean flag it appears you can just put the name of the configuration parameter without specifiying any boolean value)18:15
vishycorrect18:15
vishyno need to put =True18:15
isaacfinnegandnsmasq-dhcp[4428]: DHCP packet received on br100 which has no address18:16
isaacfinneganon nova-compute node. anyone see this before?18:16
*** lorin1 has joined #openstack18:20
*** oubiwann has joined #openstack18:24
*** clauden_ has quit IRC18:25
*** clauden_ has joined #openstack18:25
*** shentonfreude has joined #openstack18:25
*** vernhart has quit IRC18:25
*** vernhart has joined #openstack18:26
*** shentonfreude has quit IRC18:27
*** huslage has quit IRC18:29
*** huslage has joined #openstack18:29
*** dolphm_ has quit IRC18:30
*** cereal_bars has quit IRC18:30
*** dolphm has joined #openstack18:31
*** jeh has quit IRC18:35
*** GheRivero_ has joined #openstack18:36
*** jeh has joined #openstack18:36
vishyisaacfinnegan: often that is from dhcprequests from another machine in the network18:37
*** syah has quit IRC18:38
GheRivero_morning18:38
isaacfinneganthere are no other machines in the network18:38
isaacfinnegandnsmasq on the nova-compute node is configured wrong18:38
vishyisaacfinnegan: how many nodes do you have running nova-compute?18:39
isaacfinnegan it fires up listening to addresses that aren't even in the address space i'm using (and don't match what the other node which is also nova-network is running dnsmasq as)18:39
*** Hakon|mbp has quit IRC18:39
vishyisaacfinnegan: you have some flags set wrong then18:39
*** Prz_^ has joined #openstack18:40
*** Prz_^ is now known as Barakas18:40
vishyisaacfinnegan: you also may have another copy of dnsmasq running, for example from libvirt18:40
vishyare you running nova-network on both hosts?18:40
isaacfinneganwhere? it works when I run everything on one system. when I try to add an additional nova-compute node, instances on it don't get ip's18:40
isaacfinneganok18:40
vishydid you create your network with multi-host=True?18:40
isaacfinneganI see18:40
*** cdub has joined #openstack18:40
isaacfinneganso is the nova-compute node supposed to be running dnsmasq at all?18:40
vishyif so, then you need to run nova-network on both hosts18:40
isaacfinneganI don't know18:41
isaacfinneganwhere can I check that18:41
vishyin the database18:41
isaacfinneganI would prefer to not use multi-host.18:41
isaacfinneganI also want the instances to be routable. I am plannign on not using floating ips18:41
vishyhow did you create your network?18:41
vishyisaacfinnegan: that is a kind of a difficult setup18:41
isaacfinneganI want to route directly to instance IP's18:42
*** darraghb has quit IRC18:42
isaacfinneganI have routers on the back end network18:42
*** nerdstein has left #openstack18:42
isaacfinneganthat can route into that address space18:42
vishyok18:42
*** Charz has quit IRC18:42
isaacfinneganbut yes, I'm noticing that the nova-network node wants to route everything out it's 'front' interface18:42
vishydoes it work?18:42
isaacfinneganit does.18:42
isaacfinnegankidn of18:42
isaacfinnegankind of18:43
isaacfinneganbut I have to manually remove the snat iptables rule18:43
vishyyou can pass dhcpoption,318:43
isaacfinneganI can't see there's a way to tell openstack to not do nat18:43
isaacfinneganI did that18:43
isaacfinneganwhich works to have the instance use another gateway18:43
isaacfinneganbut.  the iptables on thehost still wants to snat everything leaving18:43
vishyyou could work around the snat18:43
vishyby setting --dmz_cidr=0.0.0.0/018:44
*** bengrue has joined #openstack18:44
vishyit won't snat anything going to the dmz_cidr18:44
vishymulti_host is still probably what you want18:44
vishyso that you don't have one host doing dhcp for all of the hosts18:45
vishybut it is up to you18:45
*** mgoldmann has quit IRC18:47
*** bcwaldon has quit IRC18:47
ashpDespite no help in here I managed to get instances starting anyway :)18:48
isaacfinneganah18:48
isaacfinnegantahnks18:48
vishyashp: self-service!18:49
ashpit worked ;)18:49
ashpI'm sure I have half the stuff configured wrong but hey, it's a start18:49
vishyashp: you are aware of devstack.org?18:50
ashpI am but I'm using RHEL so that makes everything a little trickier18:50
ashpnow it's just a network thing, I have a running instance that it can't route to, so once I work that part out..18:51
vishyashp: ah yes, that is a bit harder :) gl18:51
vishyashp: checking the console log is helpful there18:51
vishythen you can find out if the instance got an ip via dhcp etc.18:51
*** oubiwann has quit IRC18:52
*** bcwaldon has joined #openstack18:52
*** oubiwann has joined #openstack18:52
ashpaha, something definitely went wrong, i'll look, thanks18:52
n88ashp: welcome to the club! I spent about 4 days trying different combinations of things in my .conf files until things worked18:53
*** Gordonz_ has joined #openstack18:54
n88vishy: I've noticed that my nova-compute services don't survive a reboot; is that default behavior?18:54
*** Gordonz_ has quit IRC18:55
isaacfinneganI'm about to do a tech talk here at work on this18:55
vishyn88: depending on how they were installed, nova-compute should come back up18:55
isaacfinneganI'll try the network thing again after18:55
*** anon_os has left #openstack18:55
vishyn88: on oneiric there are upstart scripts to start them afaik18:55
*** Gordonz_ has joined #openstack18:55
n88vishy: Ubuntu 11.10 using apt-get … it seems weird to me that they don't start up…maybe I'll check the logs; otherwise I'll just add the startup my self18:56
vishyyes, maybe they crashed because they started too early?18:56
vishyif so file a bug w/ ubuntu :)18:56
n88vishy: yeah that's what appears to be happening….in my dmesg output I see it terminating; probably waiting for network to come up or something18:57
ashpwget: can't connect to remote host (169.254.169.254): Network is unreachable18:57
ashpThat's what I get from the client, I suppose this is the cause of the failure. :/18:58
ashp(er, from the instance)18:58
*** Gordonz has quit IRC18:58
n88vishy: maybe it's not the network; the iface links come up at 10.xxx and my error occurs at 14.xxx18:59
*** neogenix has quit IRC19:00
ashpI am pretty sure they aren't getting an IP from dhcp at all.  Am I meant to have two dnsmasq's running?19:00
*** neogenix has joined #openstack19:00
n88vishy: got it…appears that libvirtd is not starting up before nova-compute19:01
ashpDo people generally assign just fake 10/8's to their nodes?  I probably made a mistake by trying to use real ip's.19:02
*** hggdh has joined #openstack19:02
*** dolphm has quit IRC19:02
n88ashp: what do you mean by nodes? instances? or compute machines?19:02
*** reed has quit IRC19:02
ashpinstances, sorry, I gotta get my terminology clear.19:02
*** syah has joined #openstack19:03
ashpI was going to use real IPs while getting up with testing but that might be making my setup more complicated as a result.19:03
n88ashp: what networking mode?19:03
*** stuntmachine has quit IRC19:03
ashpn88: bridge, I think.  I've been following about eight different guides.19:03
ashpnova-manage network create private --fixed_range_v4=165.212.105.0/25 --num_networks=1 --network_size=128 --bridge=br100 --bridge_interface=eth0 --multi_host=T19:04
ashpthat's how I created the network in the end19:04
n88ashp: most cloud systems have the concept of private ip and public ips for instances; both are usually assigned by dhcp (although you can manually do the public ips)19:04
*** Hakon|mbp has joined #openstack19:04
n88ashp: hahaha, I know what you mean by guides…not a single one I found worked completely through and through…by using 3 or 4 I was finally able to get things setup19:04
ashpn88: Yeah, thats how I'm used to things in ec2.  I just wasn't sure how I'd have a pool of 10's and then assign public ips to them as required. :/19:05
ashpI might try and change it all to be 10/8 for now and go from there19:05
*** adjohn has quit IRC19:05
n88ashp: I switched over to 10/8 for fixed_ips. That seemed to work well for me; as for assigning public…I just asked Vishy…you can either do it manually using euca-allocate and euca-assign19:05
*** adjohn has joined #openstack19:05
n88ashp: or you can supposedly set a flag in nova.conf (I'm actually about to try this): --auto_assign_floating_ip19:06
n88ashp: supposedly that flag should have the DHCP automatically assign a public IP to fixed IP once the instance starts up...19:06
*** jblesage has joined #openstack19:07
ashpI can't even delete the network I made with nova-manage network, it's going well :)19:07
n88ashp: networking is definitely one of the 'trickier' aspects because most setups have 3 or 4 "networks"19:08
*** Barakas has left #openstack19:08
n88ashp: if it makes you feel any better, I hosed up a volume and now can't get rid of it…will probably need to restart the machine, stop the openstack services, and manually try to purge it =P19:08
*** Prz_^ has joined #openstack19:09
*** jerQ has joined #openstack19:09
ashp2011-11-03 15:02:44,863 CRITICAL nova [-] Network must be disassociated from project test before delete19:10
ashpHmm, how do you disassociate them from projects?19:10
*** mdomsch has joined #openstack19:10
*** lorin1 has quit IRC19:10
*** develtech has joined #openstack19:10
ashpScrub apparently, whatever that does19:11
vishynova-manage project scrub <xxx>19:11
*** bcwaldon_ has joined #openstack19:11
vishyor set the project_id to null in the db19:11
*** bcwaldon has quit IRC19:11
ashpwhat does scrub actually do, just so I know for future references19:12
ashpdon't want to accidently scrub something important19:12
vishyremoves networks and security groups for the project19:13
*** df1 has quit IRC19:14
ashpannoyingly things seem to ignore my network changes, do I have to restart the nova-compute as well?19:14
*** reed has joined #openstack19:14
ashpit starts them up in the non-10/8 range19:14
vishyashp: how did you change the network?19:14
*** stuntmachine has joined #openstack19:14
vishyso i believe there is a bug in network delete where it doesn't delete the associated fixed ips19:15
vishysomeone mentioned that in irc19:15
ashpvishy: I deleted the old network and added a new one (so I only have one in nova-manage network list) - I then killed dnsmasq and started up nova-network again19:15
ashpah hmm, that might be what I hit then19:15
vishyso you might have to go into the db and delete the other fixed_ips19:15
vishyyeah :(19:15
ashpjust in networks?19:16
ashpbecause in there is just the 10 range19:16
ashpoh no, I see, the fixed_ip table, like you mentioned19:16
*** reed has quit IRC19:17
*** bcwaldon_ has quit IRC19:17
*** bcwaldon has joined #openstack19:17
ashpmysql> delete from fixed_ips where address LIKE "165.212%";19:17
ashpQuery OK, 128 rows affected (0.01 sec)19:17
ashpOk, I can confirm THAT bug19:17
*** lorin1 has joined #openstack19:17
ashpINSTANCEi-00000008ami-0000000310.0.0.310.0.0.3 <-- looks better.19:18
*** lorin1 has joined #openstack19:18
*** lorin1 has quit IRC19:18
*** lorin1 has joined #openstack19:19
*** javiF has quit IRC19:19
ashpLinux server-8 2.6.35-22-virtual #35-Ubuntu SMP Sat Oct 16 23:19:29 UTC 2010 x86_64 GNU/Linux19:22
ashpIt's a miracle!  I made an instance!19:22
ashpNow to start the actual hard work :)19:22
*** wittwerch has quit IRC19:24
*** clauden__ has joined #openstack19:26
*** clauden_ has quit IRC19:26
*** dendro-afk is now known as dendrobates19:26
n88 vishy: that was me regarding the associated fixed ips; it sets the deleted flag, but I wasn't using scrub, just network delete19:26
n88ashp: congrats! I was in the same boat as you this morning (no instances, bad IPs, etc.) then switched over to 10/8 like you and also went through my config for the 1,000 time and this afternoon got things working too19:27
*** Ryan_Lane has quit IRC19:27
*** Ryan_Lane has joined #openstack19:28
vishyit sets the deleted flag for fixed_ips?19:28
n88ashp: you might want to invest in a graphical MySQL viewer…I've been using one and it's been extremely helpful19:28
vishyor just for network?19:28
vishyn88: wuss!19:28
vishycli ftw19:28
vishy:)19:28
ashpn88: congrats on reaching the working point :)19:29
ashpmy next job is to roll all the crap I did by hand into puppet and then rebuild this box from scratch again19:29
ashpand then the next job is "figure out how to build a redhat ami"19:29
ashpsucks that I can't just steal the one from ec2 but you can't win them all19:29
vishyoh puppet19:30
n88vishy: actually that does look like a bug. I can confirm…I just did this: sudo nova-manage network delete --network=10.0.0.0/24 and it deleted the network from the networks table, but left fixed_ip table untouched…with those IPs not even receiving the deleted flag; not sure about the scrub command19:31
n88vishy: haha yeah I'm a slacker…what can I say.  Sequel Pro on a mac is a lifesaver =P19:32
*** mrevell has joined #openstack19:32
*** hggdh has quit IRC19:33
n88vishy: what's annoying about that is then when I re-create my old network, it dumps another 256 addresses with the same IP back into the fixed_ip table so now I have 512 IP entries with duplicate IPs (but different network_ids so I'm sure it will work fine…just makes db messy)19:34
vishyashp: you might get a little headstart by checking out http://github.com/cloudbuilders/openstack-puppet19:36
ashpnext I need to look at the web frontend to see if I can skip a lot of the script type stuff on the backend19:36
vishycan't promise it will be maintained, but it does work...19:37
ashpyeah, I'll take a look, see what I can translate to rhel19:37
*** jblesage has quit IRC19:38
*** tryggvil_ has quit IRC19:38
vishyn88: are the old ips marked deleted=1?19:39
*** jedi4ever has joined #openstack19:39
vishyif so than it should be fine19:39
n88vishy: no, they left deleted=019:39
vishythen it won't work19:39
vishy:)19:39
vishythey should be marked deleted=119:39
vishynova is careful not to "actually" delete anything19:39
n88vishy: nope…haha. Yeah I figured as much. The database architecture seems pretty solid actually19:40
*** smeier00 has left #openstack19:40
n88vishy: yeah I saw that everything just gets a deleted tag, which is actually great for auditing purposes19:40
ashpSo how much stuff can the web interface do in terms of stuff like, creating keypairs, all the kind of stuff you do in ec2 today?19:43
*** reed has joined #openstack19:43
*** mrevell has quit IRC19:44
*** mrevell has joined #openstack19:44
gnu111ashp: are you using RHEL with Diablo?19:45
*** mrevell has quit IRC19:45
ashpyes19:45
gnu111ashp: did you even you run a ubuntu instance? how many nodes do you have? I am having some issues.19:46
ashpgnu111: I ran an ubuntu instance on RHEL6.1, I only have 1 node right now19:46
ashpgnu111: that's as far as I managed to take it so far, what's the problem you ran into?19:46
*** rsampaio has quit IRC19:46
gnu111ashp: ok. that worked for me too. multiple nodes, I had issues: http://paste.openstack.org/show/3056/19:46
ashpAh I was going to work out to multiple nodes once I had this single one building in a repeatable fashion :/19:47
gnu111ashp: please try it. If it doesn't work then it is not just me. :)19:47
ashpI will do, it might be a day or so I'm afraid, i carved out a few hours to play but I'll be back to the grind soon :)19:48
*** gmih has quit IRC19:48
ashpargh I will have to install keystone to get the web interface going19:50
ashpopenstack, y u so difficult!! *rageface*19:50
*** adjohn has quit IRC19:51
*** cdub has quit IRC19:53
*** jeh has quit IRC19:53
*** rsampaio has joined #openstack19:54
*** GheRivero_ has quit IRC19:55
*** dolphm has joined #openstack19:55
*** huslage has quit IRC19:56
*** jblesage has joined #openstack19:56
*** clopez has quit IRC20:00
*** MarkAtwood has quit IRC20:00
*** jedi4ever has quit IRC20:01
*** mrevell has joined #openstack20:01
*** jakedahn has quit IRC20:03
*** mrevell_ has joined #openstack20:03
*** mrevell has quit IRC20:03
*** jakedahn has joined #openstack20:03
*** mrevell_ has quit IRC20:04
*** mrevell has joined #openstack20:04
*** cereal_bars has joined #openstack20:08
*** mrevell has quit IRC20:10
*** dendrobates is now known as dendro-afk20:11
*** gyee has quit IRC20:13
sorenashp: "It was hard to write, so it should be hard to use."20:16
ashp;)20:16
*** dolphm has quit IRC20:17
*** isaacfinnegan has quit IRC20:18
*** pixelbeat has quit IRC20:22
*** msivanes has quit IRC20:22
*** bcwaldon has quit IRC20:23
*** jdg has joined #openstack20:24
*** dtroyer has quit IRC20:24
*** vidd-away is now known as vidd20:27
viddashp, if it was easy, everyone woul use it =]20:27
*** bengrue has quit IRC20:29
*** krow has quit IRC20:31
*** jakedahn_ has joined #openstack20:31
jdgAnybody here running devstack in virtualbox on?20:31
*** llang629_ has joined #openstack20:33
*** stevegjacobs has joined #openstack20:33
*** jakedahn has quit IRC20:34
*** jakedahn_ is now known as jakedahn20:34
*** clopez has joined #openstack20:36
*** dgags has joined #openstack20:40
*** jeh has joined #openstack20:40
*** jeh has quit IRC20:41
*** bengrue has joined #openstack20:43
*** Gordonz_ has quit IRC20:43
jdgpassword20:44
*** neogenix has quit IRC20:45
*** krow has joined #openstack20:45
tjoyjdg: horror20:45
jdgtjoy: devstack or 'password'  :)20:46
tjoymostly 'password'20:47
jdg:)  That was the old, oops... wrong terminal20:47
tjoyi'd remind you to change it but it's pretty clear you don't care :P20:48
jdgLOL20:48
*** mdomsch has quit IRC20:49
*** stevegjacobs has quit IRC20:56
*** jsavak has quit IRC20:56
*** TheOsprey has quit IRC20:57
*** cp16net has quit IRC20:59
*** hezekiah_ has joined #openstack20:59
*** stuntmachine has quit IRC21:01
*** stuntmachine has joined #openstack21:01
*** gyee has joined #openstack21:02
*** lorin1 has quit IRC21:03
*** lorin1 has joined #openstack21:03
*** adjohn has joined #openstack21:04
*** hezekiah_ is now known as isaacfinnegan21:06
*** lorin1 has left #openstack21:06
n88does anybody know for images, the attributes min_ram and min_disk what type of values they should be? Bytes? Megabytes? Gigabytes?21:10
n88this is using glance and the columns in the glance.image table21:12
*** stuntmachine has quit IRC21:13
*** develtech has quit IRC21:13
*** kieron has quit IRC21:15
*** df1 has joined #openstack21:17
*** llang629_ is now known as llang62921:17
*** Ruetobas has quit IRC21:17
*** benrodrigue has quit IRC21:18
isaacfinneganok. so i've set dmz_cidr21:25
isaacfinneganand I have made sure no extra dnsmasq processes are running21:25
isaacfinneganand have a nova-compute node trying to bringup an instance but it cannot get an IP21:26
*** Ruetobas has joined #openstack21:26
isaacfinnegannova list shows the instances having IP's21:26
isaacfinneganbut the instance times out21:26
*** npmapn has quit IRC21:28
viddKiall, you here?21:28
*** clauden__ has quit IRC21:29
*** clauden_ has joined #openstack21:30
viddanyone here have keystone and euca2ools working together?21:30
*** adjohn has quit IRC21:31
*** llang629 has quit IRC21:31
*** llang629 has joined #openstack21:32
*** MarkAtwood has joined #openstack21:34
*** neogenix has joined #openstack21:34
*** jwalcik has quit IRC21:44
*** sdake has quit IRC21:45
*** mrevell has joined #openstack21:46
*** mrevell has joined #openstack21:46
*** bsza-I has joined #openstack21:50
*** bsza has quit IRC21:51
*** imsplitbit has quit IRC21:53
*** bsza-I has quit IRC21:55
viddis it just me or is keystone evil?21:55
*** miclorb_ has joined #openstack21:59
*** llang629_ has joined #openstack22:00
*** syah has quit IRC22:00
*** llang629 has quit IRC22:01
*** neogenix has quit IRC22:01
*** reed has quit IRC22:01
*** lborda has quit IRC22:04
errrits evil :)22:05
*** mattray has quit IRC22:05
*** markvoelker has quit IRC22:08
*** llang629_ has left #openstack22:08
*** alekibango has quit IRC22:09
*** dubsquared has quit IRC22:10
*** siwos has joined #openstack22:11
*** mrevell has quit IRC22:12
uvirtbotNew bug: #885891 in openstack-manuals "Need to replace all the euca- commands with nova client ones" [Undecided,New] https://launchpad.net/bugs/88589122:13
*** clauden___ has joined #openstack22:15
*** clauden_ has quit IRC22:15
*** rsampaio has quit IRC22:16
*** clauden___ has quit IRC22:17
*** clauden_ has joined #openstack22:17
*** reed has joined #openstack22:19
*** freeflying has quit IRC22:19
*** Hakon|mbp has quit IRC22:26
*** freeflying has joined #openstack22:26
*** catintheroof has quit IRC22:27
*** jblesage has quit IRC22:27
*** ppradhan has left #openstack22:32
*** dtroyer has joined #openstack22:37
*** siwos has quit IRC22:39
*** Prz_^ has quit IRC22:43
*** rnorwood has quit IRC22:49
*** PeteDaGuru has left #openstack22:50
*** adjohn has joined #openstack22:55
*** alekibango has joined #openstack22:56
*** cereal_bars has quit IRC23:00
*** cdub has joined #openstack23:00
*** cereal_bars has joined #openstack23:00
*** takarider has quit IRC23:04
*** andreaf has joined #openstack23:04
*** cereal_bars has quit IRC23:04
*** cereal_bars has joined #openstack23:04
*** doorlock has joined #openstack23:04
*** andreaf has quit IRC23:07
*** alekibango has quit IRC23:07
*** alekibango has joined #openstack23:08
*** andreaf has joined #openstack23:08
*** bhall has quit IRC23:09
*** sdake has joined #openstack23:09
*** bhall has joined #openstack23:10
*** alekibango has quit IRC23:14
*** alekibango_ has joined #openstack23:14
*** pixelbeat has joined #openstack23:14
*** cdub has quit IRC23:17
*** adjohn has quit IRC23:19
*** adjohn has joined #openstack23:21
*** isaacfinnegan has quit IRC23:23
*** ahasenack has quit IRC23:24
*** ahasenack has joined #openstack23:24
*** rnirmal has quit IRC23:29
*** misheska has joined #openstack23:32
*** stevegjacobs has joined #openstack23:34
*** neogenix has joined #openstack23:36
*** jdg has quit IRC23:38
*** df1 has quit IRC23:40
*** cdub has joined #openstack23:44
*** aliguori has quit IRC23:46
*** aliguori has joined #openstack23:48
*** andreaf has quit IRC23:49
*** andreaf has joined #openstack23:50
*** cdub has quit IRC23:51
*** code_franco has quit IRC23:51
*** dtroyer_ has joined #openstack23:53
*** dendro-afk is now known as dendrobates23:55
*** andreaf has quit IRC23:55
*** dtroyer has quit IRC23:56
*** dtroyer_ is now known as dtroyer23:56
*** andreaf has joined #openstack23:56
*** oubiwann has quit IRC23:59
*** andreaf has quit IRC23:59

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