Wednesday, 2011-03-02

*** jlmjlm has joined #openstack00:00
uvirtbotNew bug: #727501 in openstack-dashboard "Unable to add user to a project" [Undecided,New] https://launchpad.net/bugs/72750100:01
uvirtbotNew bug: #727502 in nova "Disallow concurrent snapshots on the same instance" [Undecided,New] https://launchpad.net/bugs/72750200:01
*** daveiw1 has quit IRC00:08
devcamcaranyone have monty's email?00:09
*** troytoman is now known as troytoman-away00:10
*** berendt has quit IRC00:13
*** azneita has quit IRC00:18
*** dubsquared has quit IRC00:18
*** kazu has joined #openstack00:21
*** msassak has quit IRC00:24
*** joearnold has joined #openstack00:28
*** timrc has quit IRC00:30
*** dweimer has joined #openstack00:31
*** CloudChris has quit IRC00:34
*** bcwaldon has quit IRC00:37
*** joearnold has quit IRC00:37
*** joearnold has joined #openstack00:37
*** masumotok_ has joined #openstack00:40
*** kazu has quit IRC00:48
*** masumotok_ has quit IRC00:55
*** slyphon has joined #openstack00:57
*** joearnold has quit IRC00:57
*** clayg_ is now known as clayg00:59
*** cascone has joined #openstack01:00
uvirtbotNew bug: #727522 in nova "test_network unit test cases fails for FlatDHCP/Flat network model" [Undecided,New] https://launchpad.net/bugs/72752201:06
*** dovetail1an has quit IRC01:06
*** clauden_ has quit IRC01:07
*** bcwaldon has joined #openstack01:13
*** dragondm has quit IRC01:18
*** gondoi has quit IRC01:20
*** gondoi has joined #openstack01:20
*** dirakx has joined #openstack01:30
*** gondoi has quit IRC01:42
*** gondoi has joined #openstack01:43
*** ovidwu has joined #openstack01:49
*** littleidea has joined #openstack01:54
*** dendro-afk is now known as dendrobates01:55
*** littleidea has quit IRC01:57
nelsonCan someone take a look at a very small client.put_object program? http://paste.openstack.org/show/786/02:00
*** mahadev has quit IRC02:00
nelsonIt's giving me a "499 Client Disconnect" error.02:01
nelsonI tried stracing it, and the HTTP client isn't disconnecting, grrrrrrrr.02:02
nelsonIt opens up the socket, does a PUT with the right URL, and the right headers, a blank line, then the nine bytes it said it was going to send.02:05
nelsonDoesn't close the socket. it reads the HTTP response, which is HTTP/1.1 400 Client Disconnect.02:06
nelsonThe log file also says that it's not sending enough.02:07
*** gregp76 has quit IRC02:07
*** nelson has quit IRC02:10
*** nelson has joined #openstack02:10
nelsonFrustrating as heck.02:11
*** ovidwu has quit IRC02:20
*** hggdh has quit IRC02:23
*** hggdh has joined #openstack02:23
*** hggdh has joined #openstack02:23
*** dendrobates is now known as dendro-afk02:27
*** westmaas has joined #openstack02:31
*** burris has joined #openstack02:32
*** stewart_ is now known as stewart02:35
*** mahadev has joined #openstack02:37
*** dendro-afk is now known as dendrobates02:38
*** grapex1 has left #openstack02:42
*** miclorb has quit IRC02:43
*** mahadev has quit IRC02:44
*** lvaughn_ has quit IRC02:45
*** arun_ has quit IRC02:46
*** lvaughn has joined #openstack02:46
*** lvaughn_ has joined #openstack02:48
*** mahadev has joined #openstack02:50
*** lvaughn has quit IRC02:51
nelsonoh crap.02:54
*** rds__ has quit IRC02:55
*** littleidea has joined #openstack03:01
nelsondouble crap.03:02
*** miclorb_ has joined #openstack03:03
nelsonIf you call put_object like this:03:03
nelsonwmf.client.put_object(url, token, container, obj+".txt", "test data", content_type="text/plain")03:03
nelsonit fails to read enough.03:03
nelsonIf you call it like this:03:04
nelsoninf = open("test-data")03:04
nelsonwmf.client.put_object(url, token, container, obj+".txt", inf, content_type="text/plain")03:04
nelsonit reads enough. Fuck.03:04
nelsonI'm still running Austin, so there's little point in registering a bug unless somebody running bexar can reproduce it.03:05
nelsonBTW, wmf = swift.common03:06
*** dirakx has quit IRC03:09
*** mdomsch has joined #openstack03:12
*** dirakx has joined #openstack03:23
*** neckwarmer has quit IRC03:26
*** neckwarmer has joined #openstack03:27
*** bcwaldon has quit IRC03:33
*** westmaas1 has joined #openstack03:47
*** westmaas has quit IRC03:49
*** bcwaldon has joined #openstack03:49
*** westmaas1 has quit IRC03:56
*** kashyap has joined #openstack03:58
*** westmaas has joined #openstack03:59
*** littleidea has quit IRC04:08
*** greg-g has left #openstack04:27
*** arun_ has joined #openstack04:31
*** ccustine has quit IRC04:35
*** arun_ has quit IRC04:35
*** bcwaldon has quit IRC04:36
*** miclorb_ has quit IRC04:38
*** omidhdl has joined #openstack04:41
*** EndEng|Desktop has joined #openstack04:53
*** dendrobates is now known as dendro-afk05:09
*** timrc has joined #openstack05:11
*** kashyap has quit IRC05:13
*** ovidwu has joined #openstack05:24
*** arun_ has joined #openstack05:27
*** arun_ has joined #openstack05:27
*** z0 has joined #openstack05:27
*** Code_Bleu has quit IRC05:31
*** littleidea has joined #openstack05:36
*** littleidea has quit IRC05:43
*** littleidea has joined #openstack05:44
*** kashyap has joined #openstack05:46
*** Code_Bleu has joined #openstack05:47
*** mahadev has quit IRC05:52
*** mahadev has joined #openstack05:53
*** mdomsch has quit IRC05:54
*** ovidwu has quit IRC05:56
*** Code_Bleu has quit IRC05:58
*** adjohn has joined #openstack06:05
*** Manikandan has joined #openstack06:15
ManikandanPermission denied (publickey).06:16
Manikandanbzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.06:16
tripson_Manikandan: it means that permission is denied and connection was closed because of the unexpected end of message. maybe you should check your connectivity and permissions... or maybe its just a bug you need to report06:20
*** ovidwu has joined #openstack06:21
*** gregp76 has joined #openstack06:21
*** dirakx has quit IRC06:22
Manikandanok06:28
Manikandanok06:28
*** perestre1ka has quit IRC06:31
*** perestrelka has joined #openstack06:32
*** photron has joined #openstack06:33
*** z0 has quit IRC06:33
*** gregp76 has quit IRC06:35
*** dirakx has joined #openstack06:36
*** naehring has joined #openstack06:40
*** 77CAATQDF has joined #openstack06:41
*** ovidwu has quit IRC06:49
*** hazmat has joined #openstack06:55
*** slyphon has quit IRC07:00
*** zenmatt has quit IRC07:02
*** rackerhacker has quit IRC07:10
*** gdusbabek has quit IRC07:10
*** gdusbabek has joined #openstack07:10
*** DigitalFlux has joined #openstack07:14
*** DigitalFlux has joined #openstack07:14
*** rackerhacker has joined #openstack07:14
*** mahadev has quit IRC07:21
*** adjohn has quit IRC07:26
*** mahadev has joined #openstack07:28
*** dirakx has quit IRC07:30
*** shoaib has joined #openstack07:32
shoaibhi!07:34
shoaibi need help07:35
shoaibhow can i start a stopped instance07:35
shoaib?07:35
shoaibbut instance in not found in euca-describe-instances07:35
shoaibi am new to openstack ...  maybe i am doing something wrong...07:36
shoaibneed help on this07:37
shoaibanyone?07:38
sorenTypically, when you terminate an instance, it disappears.07:38
shoaibi didnt terminate them07:41
shoaibthe  host machine got reboot07:41
shoaibso all instances running are no longer there07:42
*** rcc has joined #openstack07:42
sorenHm... Yeah, I'm not sure instances will survive that at the moment.07:43
*** mgoldmann has joined #openstack07:43
shoaibso how can i check07:47
shoaibi can see instances in /var/lib/nova/instances07:47
shoaibanyway to start them from there?07:47
sorenYou can start them, but I don't think Nova will adopt them again.07:47
sorenThis is a problem :(07:47
shoaiboh man07:50
*** adjohn has joined #openstack07:50
shoaibbut there muct be a way07:50
*** f4m8_ is now known as f4m807:51
shoaib+soren -> is this due to kvm or otherwise?07:52
*** allsystemsarego has joined #openstack07:53
*** allsystemsarego has joined #openstack07:53
*** skiold has joined #openstack07:56
*** dirakx has joined #openstack07:56
*** MarkAtwood has left #openstack07:57
*** littleidea has quit IRC08:08
sorenshoaib: No, it's just the way things work in Nova right now.08:19
sorenshoaib: When it starts, it checks to see if the VM's that are supposed to be running on it are running. If not, it removes them from its list of instances to worry about.08:20
*** hazmat has quit IRC08:22
*** pyros_xx has joined #openstack08:26
pyros_xxhelloo08:27
pyros_xxthere is somebody can help me08:27
pyros_xx??08:27
ttxpyros_xx: maybe. Depends on your question.08:28
pyros_xxi need answers about nova08:28
pyros_xxhello sorry for my english08:28
pyros_xxi have just installed nova08:28
*** ramkrsna has joined #openstack08:28
*** ramkrsna has joined #openstack08:28
ttxpyros_xx: Ask your questions, maybe somebody will know the answer and reply.08:29
pyros_xxi have a cloud controller and node controller on another machine08:29
pyros_xxwhen i run mysql -u root -p$MYSQL_PASS nova -e 'select * from services;'08:29
shoaibsoren -> how can i make sure VM (instances) are running after a host reboot? is there anyway?08:30
pyros_xxin updated and deleted fields of the table appear NULL NULL NULL08:30
ttxpyros_xx: we have no such thing as a cloud controller and node controller in nova.08:30
sorenshoaib: Not that I can think of right now.08:31
pyros_xxwhere can i look for answerss08:31
pyros_xx?08:31
sorenpyros_xx: Here is fine. We just need to ask questions.08:32
sorenshoaib: Typically, when designing applications "for the cloud", you make it so that individual instances don't matter. If one disappears, you should compensate somehow.08:32
shoaibsoren ->  yes, but the instance should have restarted once we have rebooted the host machine.08:33
sorenshoaib: You're missing my point.08:34
shoaibsoren -> sorry i am just new pls explain me...08:34
pyros_xxit is possible install nova and make it functional running multiple nodes?08:34
sorenshoaib: Whether the instance should have restarted is debatable. Fact of the matter is that right now, that doesn't happen.08:34
pyros_xxsorry for my english08:34
pyros_xxiam spanish08:35
sorenpyros_xx: Yes, that is possible.08:35
sorenshoaib: ...and then I explain that in typical cloud-enabled applications, this is not a problem, really.08:35
pyros_xxwhen i try to run an instance appear me unknown error08:35
sorenWhere?08:36
ttxpyros_xx: I would first start to test it all on one machine though, to start understanding how it works.08:36
pyros_xxwhere?08:36
pyros_xxwhith . novarc with the credentials08:37
ttxpyros_xx: where does that "unknown error" appear ?08:38
pyros_xxi run euca-run-instances ami-r4a7staa -k mykey -t m1.tiny08:38
pyros_xxoutput UnknownError: Ha sucedido un error desconocido. Por favor repite el intento de nuevo.08:38
pyros_xxubuntu 10.04 amd64 es-ES08:39
sorenHow did you install nova?08:39
pyros_xxhttp://wiki.openstack.org/NovaInstall/MultipleServer08:40
pyros_xxfollow Manual installation step by step08:40
*** Nacx has joined #openstack08:40
sorenpyros_xx: There are multiple sets of instructions on that page.08:41
Manikandanwhen i enter the cmd bzr branch lp:nova it runs for a while and it gives  bzr branch lp:nova08:43
ManikandanWrite failed: Broken pipehing revisions:Inserting stream:Estimate 25960/4200308:43
Manikandanbzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.08:43
pyros_xxwhere APPEAR MANUAL INSTALLATION08:43
sorenManikandan: Retry? Looks like your connection was broken.08:44
Manikandanthis is the second time when i use bzr branch lp:nova cmd08:44
* soren tries08:45
sorenManikandan: Works for me. Proxy issues, perhaps?08:46
soren$ bzr branch lp:nova08:46
sorenBranched 752 revision(s).08:46
*** mahadev has quit IRC08:47
pyros_xxplease could you advice for some manual for a multiple server installation?08:47
*** daveiw has joined #openstack08:48
pyros_xxwhen run euca-describe-availability-zones verbose08:48
pyros_xxoutput:  AVAILABILITYZONEnovaavailable AVAILABILITYZONE|- CloudController AVAILABILITYZONE| |- nova-schedulerenabled XXX None AVAILABILITYZONE| |- nova-networkenabled XXX None AVAILABILITYZONE| |- nova-computeenabled XXX None AVAILABILITYZONE|- Node1 AVAILABILITYZONE| |- nova-networkenabled XXX None AVAILABILITYZONE| |- nova-computeenabled XXX None AVAILABILITYZONE| |- nova-schedulerenabled XXX None08:48
ttxpyros_xx: the issue is that no manual will precisely match your desired topology. That's why it's simpler to start with a simple topology (all in one) and understand how it works, then move to more complex setups08:49
pyros_xxthank you08:50
*** photron has quit IRC08:50
pyros_xxi try with that08:50
*** pyros_xx435 has joined #openstack08:52
*** uksysadmin has joined #openstack08:54
shoaibsoren -> would you know where i could get a centos  image to upload on nova?08:55
sorenNope.08:55
shoaibthat was quick :)08:55
uksysadminshoaib - get one from eucalyptus - I pasted a link when you asked that the other day08:56
*** rcc has quit IRC08:56
*** MarcMorata has joined #openstack08:59
uksysadminwe run rhel compat images where I work... so its crucial the guests work great under openstack nova - comparable to what we can do with vsphere08:59
sorenannegentle: I see you wrote on http://wiki.openstack.org/NovaInstall/MultipleServer that there can't be comments in flag files. There can. They just need to be on a line of their own. Lines beginning with # or // are ignored.09:03
*** hazmat has joined #openstack09:14
*** omidhdl has left #openstack09:17
*** irahgel has joined #openstack09:21
dsockwelluksysadmin: they hypervisor will be the most important choice then.  for the most compatibility, avoid containerization.  KVM, kqemu, and xen are probably your best choices.09:40
dsockwelluksysadmin: i'm partial to xen, but all three are fine choices.09:41
dsockwellKVM is, i believe, highly red-hat related09:41
dsockwellkqemu will get you the best OS (windows esp.) compatibility on older hardware, and xen PV will give you good Linux performance on older hardware as well.  KVM requires vt-x or amd-v.09:42
uksysadminactually, its possible that in the short term the hypervisor is vmware - but that's me wondering whether its best to straddle our current large estate or create a new one. hardware isn't an issue - we're at the starting point for a "new environment" on Nehalems09:43
sorenkqemu is dead.09:43
dsockwellduly noted09:43
sorenHad been for a while.09:43
*** reldan has joined #openstack09:44
uksysadminpart of my role is evangelising openstack for an established vmware estate hosting websites09:44
sorenNot sure what being "highly red-hat related" means. Ubuntu was the first major distro to ship it and to make it the default hypervisor.09:44
soren"it" == KVM.09:44
dsockwelli thought kvm was a red-hat project.09:44
sorenRedHat bought Qumranet.09:44
soren..who established the project.09:45
uksysadminsoren types faster than uksysadmin ;-)09:45
dsockwellok, that's how i thought that09:45
sorenRedHat builds a lot of cool stuff. They're just not very good at shipping it.09:45
sorenIMO.09:45
dsockwellhow is vmware support for openstack coming along?09:46
* uksysadmin isn't a RH fan - our a/c manager has seen that over the last few years09:46
dsockwellwebsite said it was supposed to be in cactus09:46
dsockwellis supposed to be in cactus, which is in the future09:46
dsockwelli should say09:46
sorendsockwell: It's said to be proposed for review next week.09:47
soren21:20 < ewanmellor> ttx: We are peer reviewing vsphere-support internally at the moment.09:48
uksysadminI'm currently at the stage where I've got a workable demo (~50% done) under virtualbox as a stop gap for kit being racked to put openstack on... most of the work I'm doing is around provisioning of the instances and deploying the webstack... not too fussed on the hypervisor at the moment [don't have much choice when vbox and hardware vt collide!]09:48
soren21:21 < ewanmellor> ttx: It's being done on Launchpad, so people can look if they want.  We intend to bring it to nova-core for review in a week.09:48
uksysadminI'm up for looking at that soren09:48
dsockwellfun.09:48
dsockwellso uksysadmin can use openstack to integrate his vsphere stuff with any new hardware running freer hypervisors?09:48
uksysadminbut I'm not 100% convinced I need it despite being 100% vsphere at the mo... my plan of attack is build fresh, scrap the old.09:49
uksysadminwith vsphere integration I could manage the estate whether it was vsphere or kvm would be an integration plan...09:49
uksysadminbut equally I could just let the old environment die as we build up the new environment09:50
uksysadminintegrating vsphere with openstack will help ease things though, especially to the bean counters who see our budgets invest in vmware each year...09:51
sorenttx: What's the status on packacing novatools?09:52
ttxsoren: i'm waiting on the latest module name changes09:52
uksysadminpersonally all the fun stuff - CBIT environments and spinning up complete environments - will be done on openstack as part of the business already use ec2 and rightscale09:52
ttxsoren: looks like it will be python-novaclient09:53
sorenttx: So the packaging is done?09:54
sorenttx: It just needs to settle down?09:54
ttxsoren: I tested by copying the cloudservers packaging... trying to find it now09:56
ttxI /may/ have done that in /tmp09:56
ttx... but I uploaded it in PPA09:56
ttxhttps://launchpad.net/~ttx/+archive/ppa09:56
*** adjohn has quit IRC09:57
*** adjohn has joined #openstack09:57
* soren stares at https://code.launchpad.net/~dan-prince/nova/bug723897/+merge/5098710:02
ttxsoren: there was a whole thread about it on the ML.10:03
uksysadmineuca-associate-address : when an instance is terminated, what's the reasoning for it not disassociating that address from that instance? intentional or bug? (early-ish morning, coffee not kicked in to be able to think yet)10:05
*** miclorb_ has joined #openstack10:06
uksysadminthe reason I say it is that if I spin up another instance, the public address then gets associated with the new instance (new id, same private address)... but the routing doesn't work10:06
sorenuksysadmin: Fixed or floating ip?10:08
sorenttx: Ah, yes, that rings a bell.10:09
uksysadminfloating10:10
uksysadminI end up disassociating the public IP and associating it with an instance again10:15
uksysadminI can then connect10:15
*** kashyap_ has joined #openstack10:20
*** ramkrsna_ has joined #openstack10:20
*** kashyap has quit IRC10:23
*** ramkrsna has quit IRC10:23
sorenuksysadmin: I don't see any reason why floating ip's shouldn't be disassociated on instance termination. That sounds very odd.10:24
uksysadminI'll do some more playing to see if its "environmental" then raise a bug if I'm out of ideas10:25
sorenuksysadmin: It should happen. the code is there.10:25
uksysadminv odd - at the moment on my set up after repeating tear downs and builds it does happen consistently where my new instances get the associated public ip from my previous association10:27
uksysadminbut... that could be consistency in the way I'm doing all those steps...10:28
sorenWhat does "tear down and build" mean in your environemnt?10:28
uksysadmininstall ubu, install openstack, create instance, delete instance, create instance + voila10:29
*** londo_ has quit IRC10:29
sorenYou actually install ubuntu all over each time?10:30
soren..yet it somehow manages to remember something about your floating ip's?10:30
uksysadminits all a virtual test env on my laptop10:30
sorenThat sounds rather magical.10:30
uksysadminoh - no10:30
uksysadminyes I am10:30
uksysadminbut that's not for this forum10:30
uksysadmin;-)10:30
uksysadminwhat I mean is that I get the problem, assume its some dumbass thing I've done and start again10:31
*** pyros_xx_ has joined #openstack10:31
pyros_xx_hello10:31
uksysadminI don't remove openstack/ubu, etc just for creating instances10:31
uksysadminI do that to try and fix this issue10:31
pyros_xx_please help when i launch a instance i got failed to spawn mykey10:32
pyros_xx_"failed to spawn mykey"10:32
sorenpyros_xx_: You're missing -k in your command line.10:32
*** kashyap__ has joined #openstack10:32
pyros_xx_this is the command10:32
pyros_xx_euca-run-instances ami-o6olt0tm -k mykey -t m1.tiny10:32
*** ramkrsna__ has joined #openstack10:33
uksysadminfor all intents and purposes to this problem assume my env is good - the problem is:  create instance, associate address, ssh to new address, log out, terminate instance, create new instance, describe instances and floating ip is associated with instance, can't ping/ssh, disassociate address, associate same public address to new instance, I can ping/ssh.10:33
sorenOh, so it just looks associated, but isn't really?10:33
sorenAh.10:33
sorenYeah, I can sort of see how that would happen.10:34
BK_manhi all. where can I download latest RC for Nova 2011.1.1 version?10:34
sorenNot completely, but it doesn't sound like complete voodoo anymore.10:34
BK_manis that file latest? http://nova.openstack.org/tarballs/nova-2011.1.1~bzr653.tar.gz10:34
uksysadminI'm just happy I'm not going completely mad10:34
sorenpyros_xx_: Please post a screenshot of you running that command.10:34
sorenuksysadmin: So from the network node's perspective it gets disassociated.10:35
uksysadminyeah10:35
sorenuksysadmin: ...which is why it doesn't work.10:35
sorenuksysadmin: ...but the link from the fixed ip to the floating ip isn't properly broken.10:35
*** kashyap_ has quit IRC10:35
pyros_xx_RESERVATION     r-d1fv4gl1      myproject       default INSTANCE        i-00000005      ami-o6olt0tm    192.168.0.6     192.168.0.6     failed to spawn mykey (myproject, NOVA) 0               m1.tiny 2011-03-02T10 :35:35Z nova10:35
sorenuksysadmin: ..and you new instance gets the same fixed ip, right?10:35
uksysadminyeah10:36
uksysadminah - I see what you're getting at10:36
sorenpyros_xx_: Ah.10:36
sorenpyros_xx_: "failed to spawn" is one column of information, "mykey" is another.10:36
*** ramkrsna_ has quit IRC10:36
sorenpyros_xx_: Look in /var/log/nova/nova-compute.log for more info on why it might have failed to spawn.10:36
*** miclorb_ has quit IRC10:38
*** miclorb has joined #openstack10:40
sorenuksysadmin: bug 72770510:42
uvirtbotLaunchpad bug 727705 in nova "Floating ip's do not get disassociated from fixed ip's when the fixed ip's are disassociated from instances" [Undecided,New] https://launchpad.net/bugs/72770510:42
uksysadmincheers10:42
sorenI don't understand why, though. The code seems to be there.10:46
sorennova/network/manager.py calls db.floating_ip_disassociate which should to the right thing.10:47
uksysadminI'm playing with it right now to see if I can figure it out/confirm it all10:48
uksysadminI do get this: Disassociating address 172.241.0.3 from (pid=1585) terminate_instance /usr/lib/pymodules/python2.6/nova/compute/manager.py:24110:48
soren172.241.0.3 is the fixed ip, right?10:50
uksysadminyeah10:50
sorenShould be, since it's in the compute manager.10:50
uksysadminmy private was like 10.0.0.310:50
sorenThis other thing would be in nova-network's log file.10:50
sorenEh?10:50
sorenSo 172.241.0.3 is the floating?10:50
* soren is confused10:51
sorenand hungry, actually.10:51
uksysadminsorry - not helping10:51
uksysadminprivate is 10.0.0.3, public 172.241.0.310:51
uvirtbotNew bug: #727705 in nova "Floating ip's do not get disassociated from fixed ip's when the fixed ip's are disassociated from instances" [Undecided,New] https://launchpad.net/bugs/72770510:51
uksysadminit seems if my instance gets 10.0.0.3 it gets 172.241.0.3 (because I associated it with an instance that had that private ip)10:51
uksysadminI'll check the nova. tables - see if there are any duplicates, etc.10:52
* soren goes to eat10:52
BK_mankhm.... Should distro install nova-api.conf file to /etc/nova instead of /etc ?11:11
BK_manttx: around?11:11
ttxBK_man: yes11:13
BK_manttx: what is default place for config files? I suppose it should be /etc/nova11:13
ttxBK_man: for nova config files, yes it is11:13
BK_manttx if yes - then we have a bug in 2011.1.1-bzr563 tarball11:14
ttxBK_man: why ?11:14
uksysadminsoren: that bug looks like my fault11:14
BK_manttx: it install nova-api.conf to /etc/ instead of /etc/nova11:14
BK_mannova.egg-info/SOURCES.txt:etc/nova-api.conf11:14
* BK_man trying to prepare packaging for 2011.1.1 to release it as soon as 2011.1.1 will be oficially released for public11:15
ttxBK_man: that's the file source. ./etc/nova-api.conf11:15
ttxnot where it is deployed on the filesystem11:15
BK_manttx: that's what I got from RPM:11:16
BK_manRPM build errors:11:16
BK_man    Installed (but unpackaged) file(s) found:11:16
BK_man   /etc/nova-api.conf11:16
*** chmouel_ is now known as chmouel11:17
BK_man$ find /home/abr/rpmbuild/BUILDROOT/openstack-nova-2011.1.1-1.x86_64 -name nova-api.conf11:17
ttxBK_man: also not a regression from 2011.111:17
BK_manttx: I install nova-api.conf by myself in 2011.1 since it was missed in original tarball11:18
*** miclorb has quit IRC11:18
ttxBK_man: I guess that's some automatic behavior in your RPM packaging that needs to be overridden. there is nothing in that tarball that says "nova-api.conf must be deployed in /etc11:19
BK_manttx: Ok, will investigate.11:20
BK_manttx: I discovered also a new build dep: python-distutils-extra11:20
ttxBK_man: yes, due to i18n11:20
BK_manttx: do we have a list of build deps for nova? pip-requires AFAIK for runtime deps11:21
*** rds__ has joined #openstack11:22
ttxBK_man: keep me posted. Maybe the default RPM packaging runs some command that misplaces nova-api.conf, and we can actually do something about it11:22
BK_man%{__python} setup.py install -O1 --skip-build --root %{buildroot}11:22
BK_manttx: I think that this is done in above command11:23
ttxBut that doesn't sound like a regression, just something we can improve to avoid having to override anything11:23
ttxBK_man: i'll try that after lunch.11:25
BK_manttx: bon appetit!11:25
uksysadminsoren: yeah - my create floating ip address range had wrong host set...11:30
uksysadminI'll paste all my stuff in the bug11:30
*** romain_lenglet_ has joined #openstack11:30
*** h0cin has joined #openstack11:31
*** h0cin has joined #openstack11:31
*** romain_lenglet_ has quit IRC11:31
sorenuksysadmin: I don't think I follow.11:36
uksysadminok, simply put:  my compute node is "nova1".  My floating address space was created with: sudo nova-manage floating create cloud1 172.241.0.0/2511:37
uksysadminnova1 != cloud111:37
uksysadminnow - I'm not sure if this is a bug or not - its definitely not one as described11:38
uksysadminI can associate floating addresses, where host isn't part of my environment, so its all getting confused11:38
sorenI'm puzzled how it work at all, then.11:39
uksysadminwhen I set nova.floating_ips host="nova1" it works as described11:39
uksysadmin(as in it works as intended)11:39
uksysadminbut yeah - that begs the question as to how its all working anyway.11:39
uksysadminI guess the creation doesn't check host=, but the removal from the table must have something like "where host=blah"... [without looking at the code]11:40
sorenNot exactly.11:40
uksysadminI'm updating that bug to explain all this - step by step11:41
sorenCool, thanks.11:41
uksysadminbut - I think there's something not quite right - how can I associate an address in the first place to an instance when the instance isn't running on the "host" specified in floating_ips table?11:45
uksysadminit should error/not assign it11:46
sorenah, worked it out.11:46
sorenHeh.11:46
*** Manikandan has quit IRC11:46
sorenWhen you call euca-associate-address, it calls the AssociateAddress method call in the EC2 API, which calls the internal compute api's associate_floating_address, which calls the network api's associate_floating_address, which sends an rpc call to the network manager on the host corresponding to the fixed_ip.11:48
*** kashyap__ has quit IRC11:48
sorenWhen you call euca-disassociate-address, it calls the DisssociateAddress method call in the EC2 API, which calls the internal network api's disassociate_floating_ip, which sends an rpc call to the network manager on the host corresponding to the fixed_ip of the floating_ip.11:50
sorenHowever...11:50
uksysadminI'm following...11:52
sorenWhen you call euca-terminate-instance, it calls the TerminateInstance method call in the EC2 API, which calls the internal compute api's delete method, which sends an "terminate_instance" rpc call to the compute manager, which sends a "disassociate_floating_address" to the network manager on the host corresponding to the floating_ip itself.11:53
soren"the network manager on the host corresponding to the floating_ip itself" is the key.11:53
sorenBecause that's that "cloud1" thing you set with nova-manage.11:54
sorenEverywhere else, we seem to look up floating_ip->fixed_ip->host, which is fine.11:54
sorenfloating_ip->host is screwed.11:54
* soren pastes into the bug11:55
uksysadminI get you11:55
sorenThat should be enough for someone to fix it.11:57
uksysadminawesome11:57
*** dendro-afk is now known as dendrobates11:58
uksysadminthanks for explaining. I admit to user error, but nice to know I'm not all to blame.11:58
sorenI set it as low priority, since it only happens if you make that particular mistake.11:58
* uksysadmin is an edge-case ;-)11:58
sorenuksysadmin: Sure, thanks for raising it. It needs to be fixed.11:58
*** zul has quit IRC12:00
sorensleepsonthefloor, vishy: As nifty as I think the noVNC stuff is, I'd really like if we could somehow expose VNC directly.12:21
*** ctennis has quit IRC12:24
*** cascone has quit IRC12:25
BK_mansoren: quick question: how do you packaging ajaxterm for nova?12:26
soren[2011-03-02 13:26:33] soren@lenny:~$ apt-cache search ajaxterm12:26
sorenajaxterm - Web based terminal written in Python12:26
sorenSomeone else did. Long, long ago.12:26
sorenOh, er..12:27
sorenBleh.12:27
BK_mansoren: Khm.... I thought that nova uses it own version...12:27
sorenUm, right.12:27
BK_manNote that ajaxterm was modified in the following ways:12:27
BK_man    i. dies after 5 minutes of inactivity12:27
BK_man    ii. now requires token authentication.  Previously it was trivial to hijack an ajaxterm12:27
sorenI actually haven't really looked into that at all yet.12:27
BK_mansoren: ok. FYI :)12:27
BK_mansoren: do you think that we should start ajaxterm on every compute node to be able to provide console access to the instances?12:28
BK_mans/every/EVERY/ :)12:28
*** kainam has joined #openstack12:31
*** omidhdl has joined #openstack12:32
*** kainam- has quit IRC12:34
*** ctennis has joined #openstack12:41
BK_manttx: around?12:41
BK_manttx: another installation glitch: tools dir (with ajaxterm inside) does not installed after calling "python setup.py install"12:42
BK_manttx: I'm not sure if we need nova-combined in release tarball since it's mostly dev tool AFAIK and not prodution tool12:43
*** drico has quit IRC12:44
*** ctennis_ has joined #openstack12:48
ttxBK_man: I'm trying to understand what "python setup.py install" should do. On my setup it fails, complaining about error: cannot copy tree 'build/scripts-2.6': not a directory12:49
ttxI doubt it was ever supported12:49
DigitalFluxHi12:50
BK_manDigitalFlux: hi12:51
DigitalFluxDid some body work in snapshotting support for Nova yet ?12:51
DigitalFluxsoren: I looked at the branches and can't seem to find anyone who started on doing so ?12:51
*** shoaib has quit IRC12:53
DigitalFluxuksysadmin: keep the blog posts coming man :)12:54
*** bcwaldon has joined #openstack12:54
uksysadminSo you're *the* fan... nice to meet you ;-)12:54
DigitalFluxuksysadmin: I have that desktop wallpaper now as my wallpaper12:55
DigitalFluxuksysadmin: yay you :)12:55
uksysadminawesome12:55
uksysadminyeah - I needed something that goes with my openstack sticker on my laptop and my oversized openstack freebie top12:56
DigitalFluxOpenStack sticket, yummy12:56
* DigitalFlux HULK WANTS OPENSTACK STICKER12:56
DigitalFlux:D12:56
*** fitzdsl has quit IRC12:57
uksysadminlol12:57
*** fitzdsl has joined #openstack12:57
DigitalFluxuksysadmin: did you come across any support for snapshots in OS ?12:58
uksysadmintbh I've not been looking yet12:59
uksysadminwallpaper is about my level ;-)12:59
DigitalFluxhaha12:59
DigitalFluxBut really the posts are pretty cool :), keep pushing12:59
ttxBK_man: ok, I can reproduce now12:59
DigitalFluxannegentle will appreciate those :)12:59
BK_manttx: nice13:00
uksysadminI'm working on a centos instance post - taking the euca images and making them work/useful under openstack13:00
DigitalFluxuksysadmin: perfect13:00
BK_manttx: so, at least two issues with install operation: nova-api.conf installs at /etc instead of /etc/nova and missing tools directory with ajaxterm13:00
DigitalFluxuksysadmin: so what hypervisor are you focusing on ?13:01
ttxBK_man: I still think it never was supported as a way to deploy openstack. Looks like Ubuntnu packaging runs "build" then maps things from there13:01
BK_manttx: it's a kind of hack, however13:02
BK_manttx: off to lunch13:02
uksysadminha - well I'm rather limited at the mo as I'm waiting on hardware to be commissioned to start more indepth r&d work... so its qemu at the mo... but it will be KVM - don't see any reason why not - its easier than easy to get OpenStack running out of a ubuntu box.13:02
ttxBK_man: I think "install" needs a lot more work than that to produce something you could run from.13:02
uksysadminbut we run a fairly large vmware cluster here so I'm interested in trying openstack with that13:03
uksysadminjust so I can go back to the project and know what direction to take - migrate/complement/pros/cons etc.13:03
ttxBK_man: I agree it should be properly supported... not sure we should hold up 2011.1.1 release until that's implemented though13:03
DigitalFluxuksysadmin: neat13:04
DigitalFluxuksysadmin: I should probably post on KVM+Glance+OpenStack API13:04
*** bcwaldon has quit IRC13:04
uksysadminyeah started looking at glance so I'd be interested in that13:05
uksysadminbtw - just throwing this out there and not sure of the real nitty gritty details/complexities... but would there be any interest in an openstack "live demo" cd/dvd/boot image?13:06
Failbaitryes!13:06
Failbaitreven if it where just somewhat like a reference install13:06
uksysadmin:)13:06
uksysadminI think its feasible - sure it does some copying of files, etc around - but a qemu based openstack nova live image is feasible and could be a good way to play with it13:07
ttxBK_man: I mean, you're not just missing the "tools" directory.13:08
DigitalFluxuksysadmin: I have a puppet module here13:08
FailbaitrI've just setup bunch of virtualbox debian images with storage nodes on top, having those 4 on a live-cd of sorts would have helped understand the setup before installing it13:08
* uksysadmin starts to mull over an OpenStack Live CD13:09
DigitalFluxIf it's modular enough it could be something like a 'live demo', but shows you the installer too13:09
Failbaitrand having an understanding of how things work when correctly setup helps with understanding what goed wrong when installing it yourselve13:09
DigitalFluxand configurable too13:09
ttxBK_man: if we are to support "python setup.py install" as a way to deploy a working openstack setup, it needs a lot more work. At this point it supports build and sdist, but that's about it.13:11
ttxsoren, mtaylor: opinions ?13:11
*** zenmatt has joined #openstack13:16
*** dkocher has joined #openstack13:19
sorenSorry, was away.13:23
* soren catches up13:23
ttxsoren: summary: "python setup.py install" in bexar produces an incomplete setup. We already knew about CA, but tools is also non-deployed13:24
ttxsoren: setup.py needs a lot more love to be a supported way of deploying openstack13:25
sorenttx: python setup.py install should install Nova. I know it doesn't, and I consider it a (major) bug.13:26
ttxsoren: I agree it's a bug, and should be fixed13:26
ttxI don't think it should hold up 2011.1.1, however.13:26
ttxsince we don't even have the start of a fix.13:26
DigitalFluxsoren: tyt :)13:27
*** wedjat_ has joined #openstack13:27
sorenttx: Yeah. Let's stop spending more time on Bexar.13:27
*** wedjat_ is now known as wedjat13:27
sorenDigitalFlux: "tyt"?13:27
ttxBK_man: if that sounds alright to you, please file a bug on how broken "python setup.py install" currently is. i'll prioritize it and make sure we get it right for Cactus13:28
ttxBK_man: we already have it as a known bug for Bexar in the release notes ("CA" didn't get installed either)13:30
ttxBK_man: patches welcome, btw... since I'm far away from being a setup.py specialist.13:31
dkocherDeveloper of Cyberduck here. I have an ticket about a different auth context being used for swauth in Bexar at http://trac.cyberduck.ch/ticket/573513:31
dkocherCan you point out why a different URI is introduced?13:31
dkocherI have no option to support both without introducing a new graphical configuration option and that is not desired13:33
*** omidhdl has quit IRC13:34
DigitalFluxsoren: ttx: no body worked/working on snapshot support, correct ?13:36
sorenDigitalFlux: I think you're right.13:37
DigitalFluxsoren: But the methods did exist in the API13:37
DigitalFluxsoren: so it was just not implemented ?13:37
*** bcwaldon has joined #openstack13:37
sorenDigitalFlux: I suppose.13:39
*** hggdh has quit IRC13:39
*** westmaas_ has joined #openstack13:39
*** westmaas has quit IRC13:41
*** westmaas_ is now known as westmaas13:41
DigitalFluxsoren: OK, from your own experience, what is the hypervisor with the most focus at this stage ?13:42
*** westmaas1 has joined #openstack13:42
*** bcwaldon has quit IRC13:42
*** iammartian_ has joined #openstack13:47
*** dprince has joined #openstack13:48
*** omidhdl has joined #openstack13:48
*** adiantum has joined #openstack13:49
sorenttx: Grr.... Triggering that rpc thing was incredibly simple under real use. In fact, it was hard to avoid it. It's just rather difficult to make tests for.13:50
ttxsoren: if you trivially reproduce it with 2011.1 and can't reproduce it with a reasonable effort in 2011.1.1, I think that's good enough13:51
*** iammartian has quit IRC13:51
*** iammartian_ is now known as iammartian13:51
ttxI understand it's hard to derive a yes/no from a concurrency issue13:51
ttxcan prove existence of a bug but not blah blah.13:52
*** iammartian_ has joined #openstack13:52
sorenhttps://bugs.launchpad.net/nova/+bug/716427 last comment actually verifies it in Bexar.13:52
uvirtbotLaunchpad bug 716427 in nova/bexar "RPC concurrency problem" [High,Fix committed]13:52
sorenBut let me try anyway.13:53
BK_manttx: there actually is a bug #709187 filed on nova. Should I post another bug instead?13:54
uvirtbotLaunchpad bug 709187 in nova "AjaxTerm refer to a unexistant folder "tools" with the Ubuntu packaging" [Medium,Confirmed] https://launchpad.net/bugs/70918713:54
ttxBK_man: it's a bit different. It complains about files missing from ubuntu packaging13:55
ttxBK_man: I'd rather have a "python setup.py install sucks" bug :)13:55
BK_manttx: ok :)13:55
*** iammartian has quit IRC13:55
*** iammartian_ is now known as iammartian13:55
*** ppetraki has joined #openstack13:57
*** hggdh has joined #openstack13:58
*** hggdh has joined #openstack13:58
BK_manttx: https://bugs.launchpad.net/nova/+bug/72779414:01
uvirtbotLaunchpad bug 727794 in nova ""python setup.py install" actually does not install a lot stuff from tarball" [Undecided,New]14:01
ttxBK_man: will triage it14:01
sorenttx: Ok, verified.14:02
ttxsoren: ok, just say so in the bug and we're all set14:03
ttxthanks14:03
sorenttx: But to be honest, I don't think there was ever any quetion that this fixed the problem. It's whether there are unwanted side-effects, really. And I can't really test for that.14:03
ttxsoren: agreed...14:04
*** slyphon has joined #openstack14:04
*** ramkrsna__ has quit IRC14:10
*** hazmat has quit IRC14:11
uvirtbotNew bug: #727794 in nova ""python setup.py install" actually does not install a lot stuff from tarball" [High,Confirmed] https://launchpad.net/bugs/72779414:12
*** tom___ has joined #openstack14:13
tom___hi14:13
*** RobertLaptop has quit IRC14:14
ttxsandywalsh_: let me know when you finalized the python-novaclient renaming, so that I can start working on the packaging.14:17
wedjathi guys14:18
wedjatis it possible in swift to read only a part of an object ? (with an offset or something ?)14:18
sandywalsh_ttx, I promised eday I'd give it a shot to put it in nova ... that's what I'm working through right now.14:22
sandywalsh_ttx, if it doesn't go well, I'll just rename the external package14:22
ttxsandywalsh_: one problem with adding files is to adjust setup.py in consequence14:23
ttxsandywalsh_: we haven't done that in the past, and now it's a bit broken, as the backlog will show14:23
sandywalsh_ttx, which setup.py ... the nova one or the novaclient one?14:23
* soren pauses14:24
ttxsandywalsh_: the nova one might pick up files in novaclient14:24
ttx(or not)14:24
sandywalsh_ttx, wasn't planning on it doing that, yet :)14:24
*** hggdh has quit IRC14:25
sandywalsh_ttx, think that will float?14:25
*** hggdh has joined #openstack14:25
*** hggdh has joined #openstack14:25
*** kashyap has joined #openstack14:25
*** aliguori has joined #openstack14:25
sandywalsh_soren.notify()14:25
ttxsandywalsh_: I don't know... just saying it's often overlooked when someone says "it's as simple as adding files to bzr"14:25
sandywalsh_ttx, agreed. I knew this wasn't going to be trivial "stick it in there" thing14:26
sandywalsh_ttx I'll push a little longer and bail if it gets yucky14:27
sandywalsh_ttx so far it's not too bad.14:27
tom___I've configured nova in VLAN network mode and i started 1 instance but it doesn't  running, nova-network log: 2011-03-02 15:09:32,352 DEBUG nova.linux_net [-] Starting VLAN inteface vlanNone from MainProcess (pid=10171) ensure_vlan /usr/lib/pymodules/python2.6/nova/network/linux_net.py:177 2011-03-02 15:09:32,398 CRITICAL nova.root [-] Unexpected error while running command. Command: sudo vconfig add eth0 None Exit code: 3 Stdout: '14:29
*** Ephur has joined #openstack14:29
*** kazu has joined #openstack14:29
*** tom___ has left #openstack14:30
*** aThom has joined #openstack14:31
aThomhi, i'm Tom just i reconnected another user name14:31
*** sandywalsh_ is now known as sandywalsh14:31
aThomso, can you help me?14:32
aThomnova-network log: http://paste.openstack.org/show/787/14:34
aThomnova.conf: http://paste.openstack.org/show/788/14:35
sandywalshttx, I'm going to keep it out of nova for now. Getting the novaclient setup.py to work with the new directory structure is going to take a bigger effort.14:36
sandywalshttx, I'll ping you when the github repo is updated14:36
ttxsandywalsh: ack14:36
*** pvo has joined #openstack14:37
*** EndEng|Desktop has quit IRC14:38
*** rcc has joined #openstack14:40
*** hvaldivia has joined #openstack14:40
*** pvo has quit IRC14:41
hvaldiviaHi everybody14:41
hvaldiviaI have troubles with my network14:41
rccsoren: hi soren, thanks for clarifying, just added a commit message to https://code.launchpad.net/~rcc/nova/lp715424/+merge/51819 , could you please merge when you have time?14:41
hvaldiviaWhen I install openstack on my cluster my nodes lose their ip.14:42
BK_manhvaldivia: ??? what does it mean?14:43
*** f4m8 is now known as f4m8_14:44
hvaldiviaThe physical nodes lose their ip, and I need to restart the interface manually14:44
*** reldan has quit IRC14:44
*** bcwaldon has joined #openstack14:44
hvaldiviaMy nodes use DHCP to get their ip. Now after I install openstack and execute some vm on the cloud, suddenly some nodes lose their ips14:45
*** viirya has quit IRC14:46
hvaldiviaI thought that it was my network, But when I unistall the openstack14:46
hvaldiviaThere is no problems with my ips14:46
*** viirya has joined #openstack14:47
BK_manhvaldivia: is there any reason why you need DHCP on your cluster?14:48
hvaldiviaNo, my network is connected to DHCP Server. I am not network admin14:49
hvaldiviaShould I use static ip in my machines?14:50
BK_manhvaldivia: I have no problems with static adresses. However, I'm on RHEL614:51
*** deshantm_xenorg has quit IRC14:51
hvaldiviaI'm on ubuntu :(14:51
*** pvo has joined #openstack14:51
hvaldiviaI will try to use static ip14:52
*** deshantm_xenorg has joined #openstack14:52
*** troytoman-away is now known as troytoman14:53
*** reldan has joined #openstack14:53
*** daveiw has left #openstack14:53
*** EndEng|Desktop has joined #openstack14:54
*** dirakx has quit IRC14:54
*** pvo has quit IRC14:55
*** vvuksan has joined #openstack14:55
*** londo_ has joined #openstack14:59
BK_manKhm... What is Nova Direct API and how it relates to Nova API?14:59
*** troytoman has quit IRC15:03
*** troytoman-away has joined #openstack15:04
*** troytoman-away is now known as troytoman15:04
*** RobertLaptop has joined #openstack15:05
*** zul has joined #openstack15:06
*** olafont has joined #openstack15:09
*** omidhdl has quit IRC15:10
*** omidhdl has joined #openstack15:10
*** herki has quit IRC15:12
*** hvaldivia1 has joined #openstack15:13
*** aThom has quit IRC15:16
*** dkocher has quit IRC15:16
*** hvaldivia has quit IRC15:16
*** pyros_xx_ has quit IRC15:17
*** willtarner has joined #openstack15:17
willtarnerhello15:17
zulhey is it possible to update the version of libvirt in the ppa, it would make things like testing lxc a bit easier15:21
zulttx: ^^^15:22
*** grapex has joined #openstack15:22
ttxzul: I think soren did that already15:22
zulttx: sorry i missed the meeting yesterday i was getting ready for travel today15:24
*** m_3 has quit IRC15:26
*** littleidea has joined #openstack15:28
*** m_3 has joined #openstack15:33
*** rnirmal has joined #openstack15:34
*** viirya has quit IRC15:35
zulttx: they newer natty images for uec has lxc support now as well15:36
*** viirya has joined #openstack15:37
deshantm_xenorganybody around? I'm trying to work around this bug manually https://bugs.launchpad.net/nova/+bug/72389715:38
uvirtbotLaunchpad bug 723897 in nova "'No user for access key admin' when using the Openstack API" [Undecided,Fix committed]15:38
*** imsplitbit has joined #openstack15:38
deshantm_xenorgI just need to understand what I need to pass or put in env for it to work15:38
deshantm_xenorgI can get the access key and secret key from mysql15:39
deshantm_xenorgI could alternatively pull from trunk, but I'm not sure what needs to be done after that15:40
*** daveiw has joined #openstack15:41
doudeHi all, I've got a problem with the serial console with libvirt. I copy the Nova XML template of libvirt instances and I set manually the parameters. I create a domain with 'virsh' command but I cannot acces to the serial console through the command 'virsh console mydomain'15:44
doudeIf I remove the part '<serial type="file">' in ht e XML file, the serial console is available15:45
*** omidhdl has quit IRC15:46
*** viirya has quit IRC15:50
*** mahadev has joined #openstack15:53
*** blueadept has joined #openstack15:59
*** 77CAATQDF has quit IRC16:01
*** pvo has joined #openstack16:03
*** DigitalFlux has quit IRC16:04
*** msassak has joined #openstack16:04
*** littleidea has quit IRC16:05
*** mahadev has quit IRC16:05
*** viirya has joined #openstack16:05
*** mahadev has joined #openstack16:12
*** dendrobates is now known as dendro-afk16:14
*** viirya has quit IRC16:14
deshantm_xenorganybody around? I just got past the auth problem by pulling the fix16:15
jarrod:)16:15
deshantm_xenorgnow I need to figure out how to boot the image16:15
deshantm_xenorgI am running the command:16:16
deshantm_xenorg novatools boot test --flavor 2 --image 316:16
jarrodi was doing euca-run-instances -k mykey -t m1.small 316:16
*** dendro-afk is now known as dendrobates16:16
jarrodand it would boot from glance, but xen would not find any bootable media16:17
*** uksysadmin has quit IRC16:17
deshantm_xenorgjarrod: what do you mean xen wouldn't find any bootable media?16:17
jarrodi would run that command, openstack would report the instance running16:18
sandywalshttx https://github.com/rackspace/python-novaclient16:18
jarrodbut when i got on xencenter and pulled up the console16:18
jarrodit said couldnt find any bootable media16:18
jarrodbut, it almost worked :)16:19
jarrodinstead of using nova-tools16:19
deshantm_xenorgjarrod: so you are using XenServer? or XCP?16:19
jarrodxenserver16:19
jarrod5.6fp116:19
ttxsandywalsh: ack16:20
deshantm_xenorgjarrod: yeah I have the same symptoms on XCP now16:22
jarroddeshantm i think its somethign with it trying to use /dev/xvdX16:23
deshantm_xenorgjarrod: ok so we should be able to modify the file system and re upload the image to glance16:24
*** viirya has joined #openstack16:26
*** daveiw has left #openstack16:28
*** mgoldmann has quit IRC16:28
*** dubsquared has joined #openstack16:28
dubsquaredmorning, #openstack!  anyone familiar with swift stats that can answer some questions for me?16:28
*** zul has quit IRC16:29
*** CloudChris has joined #openstack16:32
deshantm_xenorgjk0: the XenServer image is not booting from http://wiki.openstack.org/XenServerDevelopment16:32
*** huismon_ has quit IRC16:33
jk0deshantm_xenorg: is there any indictation on why it's not booting in the logs?16:33
deshantm_xenorgjk0: just fyi we had to use euca-run-instances instead of novatools16:33
dubsquareddeshantm_xenorg:  ive found that image is missing xentools, and thats causing some problems with / mounting16:33
deshantm_xenorgdubsquared: so can we add those in?16:34
*** kashyap has quit IRC16:34
dubsquaredbut it could be unrelated, but something i ran into...16:34
deshantm_xenorgpeople are starting to use this image for testing16:34
jk0there are instructions on the wiki for installing xentools on images16:34
deshantm_xenorgsure, I could do it but it is hosted somewhere16:35
deshantm_xenorgwho has the access to change the one that we are pointing people to?16:35
deshantm_xenorgi still need to check the logs16:35
*** skiold has quit IRC16:40
deshantm_xenorgrk0: i see the xentools instructions on that page now, but does that mean they are out of order?16:43
deshantm_xenorgdid you get it to boot before installing xentools?16:43
jk0yep16:46
jk0it doesn't need xentools to boot16:46
jk0you may actually be better off using your own image for testing.16:46
jk0that image is starting to age16:46
deshantm_xenorgjk0: what version of XenServer are you booting it on?16:46
jk0we're using out own image for testing16:46
jk0*our16:46
jk0but we use 5.6fp116:46
deshantm_xenorgI'm trying to find anything in the xapi logs16:46
mtaylorsoren, ttx: I agree it's a major bug - although it seems you've already agreed with me16:47
deshantm_xenorgjk0: anywhere else I should look?16:47
deshantm_xenorgjk0: is there anyway we could put up a better image?16:47
ttxmtaylor: not really a regression in 2011.1.1, though16:47
*** burris has quit IRC16:47
deshantm_xenorgjk0: it may be booted actually16:51
*** littleidea has joined #openstack16:51
deshantm_xenorgjust not showing anything on the vnc console usefule other than boot device hard drive sucess16:51
deshantm_xenorgI'm try to get a command line console16:52
dubsquaredyou have xencenter installed?16:52
dubsquaredand using that for console, as well?16:52
deshantm_xenorgyes16:52
deshantm_xenorgbut that is a vnc console16:52
deshantm_xenorgactually i don't see a vncterm for the id of my openstack lucid image16:54
dubsquaredoh yeah, you're right.. mixing up kvm/xenserver vnc stuff16:54
vishysoren: are you here?16:55
*** dragondm has joined #openstack16:55
sorenvishy: Very, very briefly.16:56
vishysoren: just curious about bug 72770516:56
uvirtbotLaunchpad bug 727705 in nova "Floating ip's do not get disassociated from fixed ip's when the fixed ip's are disassociated from instances" [Low,Triaged] https://launchpad.net/bugs/72770516:56
dubsquaredyou should see something like this in compute —> http://paste.openstack.org/show/789/16:56
sorenvishy: Ah.16:56
*** ironcamel2 has quit IRC16:56
deshantm_xenorgrk0: I'm confused at course of action here16:57
sorenvishy: He had created the floating ip's using "nova-manage floating create <wrong host name> <subnet info>"16:57
*** westmaas has quit IRC16:57
vishysoren: gotcha, I'm just curious how the hell the ip got associated in the first place16:57
sorenvishy: ...which works brilliantly except in this one case.16:57
sorenvishy: I explain that,t oo.16:57
sorenvishy: In the bug.16:58
vishyah i see now16:58
sorenvishy: Because only in the case where we're disassociating as part..16:58
sorenright.16:58
dubsquareddeshantm_xenorg:  i would make a new ubuntu image, 10.04, and i would install xentools on it, and then bundle it up16:58
vishyso associate is using fixed_ip host16:58
sorenYeah.16:58
*** ironcamel2 has joined #openstack16:58
vishyi think they both should be using floating_ip host16:58
*** westmaas has joined #openstack16:58
sorenAnd so is disassociate called directly.16:58
soren...but not when it's being called as part of termination.16:58
vishyhmm, well let me think about that16:59
sorenIt' probably the others that are wrong, really.16:59
deshantm_xenorgdubsquared is there a wiki page on this?16:59
sorenIf floating_ip has a host field, it should be what we use to make these rpc calls.16:59
*** markwash has joined #openstack16:59
sorenIf not, then it shouldn't have a host file.d16:59
sorenfield, even.16:59
* soren wanders off to tinnder16:59
sorenerr...16:59
vishyk16:59
sorendinner.16:59
* vishy thinks about this issue16:59
* soren types poorly while walking16:59
deshantm_xenorgdubsquared or just just use ubuntu-vm-builder?17:00
dubsquaredi don't use that personally … euca-bundle-*, euca-register, etc17:01
dubsquaredlooking for a wiki page...17:01
*** joearnold has joined #openstack17:01
*** rnirmal has quit IRC17:02
dubsquaredhmm, so this should be useful:   http://wiki.openstack.org/CreatingRHELImages17:02
dubsquaredthe steps at the bottom17:02
*** CloudChris has quit IRC17:02
deshantm_xenorgthanks17:02
*** dprince has quit IRC17:03
*** bcwaldon has quit IRC17:03
*** grapex has quit IRC17:03
*** grapex1 has joined #openstack17:03
deshantm_xenorgdubsquared: the question is still what is the quickest way to get a base image that will be usable for that?17:04
*** markwash has quit IRC17:06
*** dubsquared1 has joined #openstack17:06
*** dubsquared has quit IRC17:06
deshantm_xenorgdubsquared1:i think you missed this since your session died dubsquared: the question is still what is the quickest way to get a base image that will be usable for that?17:07
dubsquared1you could install ubuntu in virtualbox via iso, probably the quickest way17:09
dubsquared1if you don't have the install iso, just download the net install and do it that way17:09
dubsquared1i have an old box that is sitting around, so ive just installed that, and configured how i wanted it17:10
*** arun has joined #openstack17:10
dubsquared1i have a short script that i have been using that you can drop on a server that you want to be an image17:10
dubsquared1it's been a while since ive used it, maybe about a month now, but if you want to look at it for ref, or it might still work…i can share17:11
*** mahadev has quit IRC17:13
*** dprince has joined #openstack17:22
*** smaresca has joined #openstack17:22
*** littleidea has quit IRC17:31
*** burris has joined #openstack17:39
*** whaley has left #openstack17:40
*** gregp76 has joined #openstack17:42
dabocan someone explain to me the meaning/intent of 'availability_zone' in nova/scheduler/zone.py?17:45
*** Nacx has quit IRC17:47
edaydabo: that's the old availability zone stuff17:47
dabook, but what does it represent? I missed whatever discussions there were about it17:48
edaydabo: there are currently two "zone" mechanisms, sandy's new stuff, and the availability_zone assigned to service, instance, and volume records17:48
edayit's a string17:48
dabois it still in use?17:49
daboi.e., still being developed?17:49
edayI think some folks are using it, yes. it's in the simple scheduler (basically launch if zone == or != existing zone)17:50
edaywe need to fold that functionality into the new zone work17:50
*** gregp76 has quit IRC17:51
daboeday: I'll be talking with sandywalsh later today, so I'll mention that to him.17:51
*** irahgel has quit IRC17:52
*** MotoMilind has joined #openstack17:56
*** irahgel has joined #openstack17:56
*** littleidea has joined #openstack17:59
*** MotoMilind has quit IRC18:00
*** MotoMilind has joined #openstack18:02
MotoMilindQ about OpenStack Dashboard on CentOS 5.5.  Even though nova-manage lists my project, Dashboard doesn't list it.  It may have something to do with Dashboard not being able to locate the nova.conf file (from either location, /etc/nova or /usr/bin/).  Can someone point me to a solution, please?  Thanks in advance18:04
xtoddxMotoMilind: dashboard talks to the api, so has nothing to do with nova.conf18:05
xtoddxMotoMilind: just check your local/local_settings.py and make sure the endpoint and credentials are correct18:05
*** irahgel has left #openstack18:05
kpeppleMotoMilind: make sure you used the correct NOVA_ADMIN_USER18:05
*** grapex has joined #openstack18:05
MotoMilindI see, ok thanks.18:05
*** grapex1 has quit IRC18:05
*** Ryan_Lane has joined #openstack18:06
*** dendrobates is now known as dendro-afk18:13
*** kbringard has joined #openstack18:13
*** bwalker7125 has joined #openstack18:14
kbringardI have a quick ? about glance18:16
kbringardwhen the functionality gets extended to work with the ec2 api, are the certs still going to be required?18:16
*** mahadev has joined #openstack18:18
*** littleidea has quit IRC18:18
*** Ryan_Lane has quit IRC18:22
MotoMilindOk.  My endpoint and credentials are correct (purposely changed those to wrong values and I got stack trace on the webUI.)  The admin user value seems to be unimportant.  I can put anything there, but UI still works.  In either case, I still don't see my project.  Thanks.18:24
BK_man# euca-get-ajax-console --debug i-0000000c18:24
*** nelson has quit IRC18:24
BK_manEC2Connection instance has no attribute 'get_ajax_console'18:24
BK_manwhat's wrong?18:25
*** nelson has joined #openstack18:25
BK_manI'm on 2011.1.1-rc now18:25
kpeppleMotoMilind: hold on. let me look at my install.18:27
MotoMilindSure, thanks18:27
bwalker7125QQ: are there any known issues with running swift on a 32-bit Ubuntu OS instead of the 64-bit version?18:28
*** dendro-afk is now known as dendrobates18:30
*** dubsquared has joined #openstack18:32
kpeppleMotoMilind: in your nova-api log, what user is it logging with ? you'll find some lines starting with "DEBUG:boto:Path:" when the admin client call nova-api18:33
*** dubsquared1 has quit IRC18:34
*** dubsquared has quit IRC18:34
MotoMilindActually, I couldn't locate the nova-api.log in /var/log/nova folder, it just has twistd.log18:34
*** dubsquared has joined #openstack18:34
kpeppleMotoMilind: are you running nova-* (api, compute, etc.) on the same server as the dashboard ?18:35
MotoMilindyes18:35
kpeppleMotoMilind: okay. few questions: what version of nova (trunk, bexar, 2011.1.1) ? are you following the directions on http://wiki.openstack.org/OpenStackDashboard ?18:37
MotoMilindLet me confirm18:39
BK_manhas anybody tested ajax console in Bexar?18:39
sleepsonthefloordoude - regarding removing "<serial type="file">" to enable the console - if you do that, it will disable the console log.  If you leave that line in the config, you can still access the console, but you will need to find the tty using virsh dumpxml.18:41
MotoMilindInteresting.  I followed the doc from your manuals.  The manual is very close except for following lines: NOVA_ADMIN_USER: this can be any user with admin privileges in your nova database. The CLOUD_SERVERS_USERNAME from your admin credentials file is fine.18:42
MotoMilindNOVA_PROJECT: this can be any project (defined in your nova database) which the NOVA_ADMIN_USER is defined as project_manager. Refer to http://wiki.openstack.org/RunningNova for assistance if you haven't defined any nova projects.18:42
MotoMilindLet me confirm that the user I have does indeed have admin privileges on the project that I am hoping to see18:42
MotoMilindOr I will try to make him an admin18:42
*** zul has joined #openstack18:45
*** lvaughn_ has quit IRC18:46
*** lvaughn has joined #openstack18:47
sleepsonthefloorBK_man - there are packaging issues with ajaxterm still - but I can help you get it running.  You can read the original merge proposal here - https://code.launchpad.net/~anso/nova/ajaxterm/+merge/4506818:49
BK_mansleepsonthefloor: I already did this. And I have my own packaging on RHEL :)18:49
BK_mansleepsonthefloor: so Ubuntu packaging issues does not bother me - discussed them today's morning with ttx18:50
BK_mansleepsonthefloor: how can I try to get ajax console with OpenStack API CLI?18:51
BK_man# stack compute get_ajax_console i-0000000c18:51
BK_manTraceback (most recent call last):18:51
BK_man  File "/usr/bin/stack", line 146, in <module>18:51
BK_man    key, value = x.split('=', 1)18:51
BK_manValueError: need more than 1 value to unpack18:51
BK_man18:51
*** dubsquared has quit IRC18:52
*** michael364 has joined #openstack18:52
michael364hey18:52
sleepsonthefloorBK_man - so, to avoid confusion, I believe that stack is the "Direct API" cli, despite the name.  The OS api cli is presently called "novatools"18:56
BK_mansleepsonthefloor: thanks for clarification.18:56
sleepsonthefloorBK_man: but first, what version of euca2ools are you running?18:57
sleepsonthefloorI'm wondering about you "EC2Connection instance has no attribute 'get_ajax_console'" error18:57
BK_mansleepsonthefloor: euca2ools-1.3.1-2.el6.noarch18:57
BK_mansleepsonthefloor: should I update it? to which version?18:57
sleepsonthefloorBK_man - you probably need to downgrade it to 1.2 - it is possible that they re-architected in 1.3.1.18:59
*** hvaldivia1 has quit IRC18:59
BK_mansleepsonthefloor: thanks for suggestion, will try19:00
*** dprince has quit IRC19:00
*** magritte has joined #openstack19:03
*** dprince has joined #openstack19:04
*** gregp76 has joined #openstack19:05
*** ChanServ sets mode: +v _cerberus_19:05
*** rcc has quit IRC19:13
*** vvuksan has quit IRC19:13
*** photron has joined #openstack19:13
*** lvaughn_ has joined #openstack19:14
*** bwalker7125 has quit IRC19:15
*** mgoldmann has joined #openstack19:17
*** lvaughn has quit IRC19:17
blamarCan someone give me some insight as to why the OpenStack Direct API is needed? Is it just for quick testing? Or is it meant to be deployed in production?19:24
xtoddxblamar: both/either19:27
xtoddxblamar: i use it for testing, right now it is missing auth19:28
xtoddxblamar: but the stack command is super-easy when doing things locally19:28
*** johnpur has joined #openstack19:29
*** ChanServ sets mode: +v johnpur19:29
*** dprince_ has joined #openstack19:29
blamarxtoddx, Ideally, wouldn't the openstack API be used? It should, once again ideally, have a full set of features and thus negating the need for direct API?19:29
xtoddxblamar: the direct api actually exposes the way openstack works internally, so i like it.19:31
blamarxtoddx, yeah, I can see the appeal of calling things directly, thanks :)19:32
*** dprince has quit IRC19:32
*** dprince_ has quit IRC19:32
*** MarcMorata has quit IRC19:35
*** dprince has joined #openstack19:40
*** zul has quit IRC19:46
*** jesse__ has joined #openstack19:52
*** jesse__ is now known as anotherjesse19:52
*** michael364 has left #openstack19:53
*** mgoldmann_ has joined #openstack19:55
*** mgoldmann_ has quit IRC19:58
*** mgoldmann_ has joined #openstack19:58
*** mgoldmann has quit IRC19:58
*** gregp76 has quit IRC19:59
*** dendrobates is now known as dendro-afk20:00
*** zul has joined #openstack20:00
*** dendro-afk is now known as dendrobates20:02
*** grapex1 has joined #openstack20:03
*** grapex has quit IRC20:03
*** anotherjesse has quit IRC20:04
*** joearnold has quit IRC20:05
*** jaypipes has joined #openstack20:06
*** blamar has quit IRC20:06
*** MarkusT has joined #openstack20:10
MarkusTI'm currently running nova bexar on Ubuntu 10.04. It's working great with a local IP range (192.168.x.x) and now I'd love to connect it to the internet (via euca-associacte-address, etc.). I'm able to use 4 public IPs my hoster provides me, but I can't figure out how to configure networking (bridge, routing). Any pointers to a similar configuration?20:11
*** imsplitbit has quit IRC20:15
*** imsplitbit has joined #openstack20:15
MotoMilindMy problem is solved.  The user "admin" was not associated to the project, so I inserted a row in the user_project_associations table and it worked.  I couldn't find the correct nova-manage command to do that on the CLI.  Is there a way?20:19
*** h0cin has quit IRC20:21
sorenMotoMilind: "nova-manage role" is the magic trick, I believe.20:24
BK_mansleepsonthefloor: downgraded to euca2ools 1.2 - old error is gone, have a new one! :)20:27
BK_man# euca-get-ajax-console i-0000000c20:27
BK_manNo handlers could be found for logger "nova.root"20:27
*** naehring has quit IRC20:27
sorenvishy, sleepsonthefloor: I think noVNC is nifty, but I really wish we could provide direct VNC access.20:27
BK_mansleepsonthefloor: that's all. Should I get an URL?20:27
sleepsonthefloorBK_man - havne't seen that one yet - it should return a url20:28
sleepsonthefloorsoren - I'll look into it  - we gravitated to noVNC because of the dashboard integration, which is great for demos :)20:32
sorensleepsonthefloor: Definitely. I wish gtkvnc-mozilla was more ubiquitous.20:33
*** patcoll has joined #openstack20:33
sleepsonthefloorBK_man - i'll look into that error shortly - on a call20:34
*** dragondm has quit IRC20:36
*** clauden_ has joined #openstack20:46
*** dendrobates is now known as dendro-afk20:48
*** dendro-afk is now known as dendrobates20:56
*** reldan has quit IRC21:00
BK_mansleepsonthefloor: hint for euca-get-ajax-console:21:00
BK_man# euca-get-ajax-console21:00
BK_man2011-03-03 00:00:03,461 CRITICAL nova.root [-] cannot import name ConnectionFailed21:00
BK_man(nova.root): TRACE: Traceback (most recent call last):21:00
BK_man(nova.root): TRACE:   File "/usr/bin/euca-get-ajax-console", line 40, in <module>21:00
BK_man(nova.root): TRACE:     from euca2ools import Euca2ool, InstanceValidationError, Util, ConnectionFailed21:00
BK_man(nova.root): TRACE: ImportError: cannot import name ConnectionFailed21:00
BK_man(nova.root): TRACE:21:00
BK_mansleepsonthefloor: I have euca2ools-1.2-2.el6.noarch installed by your advice21:01
*** markwash has joined #openstack21:02
sleepsonthefloorBK_man - 1.2-0ubuntu11.1 is what is on ubuntu.21:03
markwashanybody know why the nova compute quota generally returns "min(actual quota, requested amount)" instead of just "actual quota"21:04
*** mahadev has quit IRC21:04
*** adiantum has quit IRC21:04
*** mahadev has joined #openstack21:06
*** gregp76 has joined #openstack21:09
*** dendrobates is now known as dendro-afk21:11
*** dendro-afk is now known as dendrobates21:11
*** jaypipes has quit IRC21:12
*** mahadev_ has joined #openstack21:16
*** mahadev has quit IRC21:18
*** lamar has joined #openstack21:18
*** littleidea has joined #openstack21:19
*** pothos_ has joined #openstack21:21
*** mgoldmann_ has quit IRC21:23
*** pothos has quit IRC21:23
*** pothos_ is now known as pothos21:24
*** smaresca is now known as icarus90121:24
*** icarus901 is now known as smaresca21:24
*** littleidea has quit IRC21:27
*** joearnold has joined #openstack21:27
*** joearnold has joined #openstack21:29
*** dendrobates is now known as dendro-afk21:29
*** lamar has quit IRC21:32
*** dendro-afk is now known as dendrobates21:32
*** arun_ has quit IRC21:33
*** arun_ has joined #openstack21:34
*** allsystemsarego has quit IRC21:42
*** lamar has joined #openstack21:42
nelsoncreiht: I'm in need of an intervention here. I've got just three files stored in my cluster, but sometimes when I ask for one of them, it's giving me a different file.21:43
*** dprince has quit IRC21:43
nelsoncreiht: the crazy thing is that the log file is always giving me the right file. Somehow it's handing back the wrong file.  The problem is in my code, because it only happens when I rewrite.21:45
*** mahadev_ has quit IRC21:45
*** mahadev has joined #openstack21:46
nelsoncreiht: nahhh, nevermind. I just have to get deep enough into the zone to fix this.21:47
*** hazmat has joined #openstack21:49
*** vvuksan has joined #openstack21:51
*** dendrobates is now known as dendro-afk21:51
*** lamar has quit IRC21:51
*** Ryan_Lane has joined #openstack21:52
*** troytoman is now known as troytoman-away21:53
*** ctennis_ has quit IRC22:00
*** dendro-afk is now known as dendrobates22:02
*** joearnold has quit IRC22:02
*** miclorb has joined #openstack22:04
*** dendrobates is now known as dendro-afk22:04
*** reldan has joined #openstack22:07
imsplitbitI wanted to open a discussion on the behavior of utils.execute() or rather the data that is returned22:08
*** brd_from_italy has joined #openstack22:11
imsplitbitassuming that when you do need to shell out a command that is the proper interface for it, I have run into an edge case that has caused me to need to extend that method22:12
imsplitbitI have a situation where I run a shell command, and it is successful however the command throws a warning to standard error.22:12
*** ctennis_ has joined #openstack22:13
sorenIt considers that an error?22:13
*** blueadept has quit IRC22:13
imsplitbitThis is a problem because I really care both about the return status of the code as well as the error message22:13
imsplitbita less intrusive solution to nova is to do text analysis on the return of stderr22:14
imsplitbitbut seems like that is the wrong way of handling that22:14
imsplitbitright now I check if stderr has contents, if it does I log and raise.  thats the simple case22:15
*** dendro-afk is now known as dendrobates22:15
*** mray has joined #openstack22:15
*** grapex1 has quit IRC22:15
*** grapex has joined #openstack22:15
*** gregp76 has quit IRC22:15
imsplitbitand I can write special case code to see if the message is one that I would like to ignore but it seems to me that if you are going to wrap the ability to shell out a command then you should also return the return statuscode as well since that is pertinent information to command being run22:16
*** photron has quit IRC22:16
imsplitbitnow adding a third element that is returned is a big thing, I realize this since it doesn't appear that python does lazy assignment22:17
sorenIf the command returns succesfully (ie calls exit(0)), you just get (stdout, stderr) back. If it returns anythign else, it raises an exception. That exception has information about the exit code and also stdout and stderr.22:19
imsplitbitI guess a precursor to my initial question should have been, if I am writing a virt driver for nova and that driver needs to run a shell command, is util.execute what I am supposed to use?22:19
sorenI don't completely understand your use case, so I don't see how this isn't sufficient. :(22:19
*** occ has joined #openstack22:19
sorenYes, utils.execute is how we run things.22:20
devcamcarmtaylor: are you around?22:20
imsplitbitok so given that the command runs, and returns status code 0, but has contents in stderr how do you handle that?22:20
imsplitbitdo you examine the contents of stderr and special case that?22:20
imsplitbitand given the relative small size of the object that is the return code, why not just pass that on since you already have it?22:21
sorenimsplitbit: I'm not sure. Can you be more concrete? I think that'll help my understanding.22:21
*** mahadev_ has joined #openstack22:21
imsplitbitsoren: I am writing an openvz virt driver22:21
*** grapex has quit IRC22:22
imsplitbitsoren: when I run the command "vzctl start CTID" it returns 0 as well as some other info22:22
sorenimsplitbit: Gotcha.22:22
sorenimsplitbit: Ok.22:22
imsplitbitone line of that info is a warning that may or may not be able to be helped from the end users perspective22:22
imsplitbitregarding the hostname22:22
*** Ephur has quit IRC22:23
imsplitbitif the hostname isn't valid it sends a warning22:23
imsplitbitbut it is not indicative of a failure22:23
sorenOk.22:23
imsplitbitbut because that is sent to stderr it is treated as an error22:23
imsplitbitright now my code just does an if err:22:23
imsplitbitand the way I am working around it is looking at the text in err22:23
sorenWhat treats it like an error, exactly? Maybe that's what I'm not getting.22:24
imsplitbitwell when you are writing a script that shells out a command, how do you judge that the command succeeded?22:24
imsplitbitgenerally I look at return statuscode22:24
*** mahadev has quit IRC22:24
sorenRight.22:24
imsplitbitbut in the context of openvz and vz commands in utils.execute() that is handled magically22:25
imsplitbitif return status is > 0 I get an exception22:25
imsplitbitso now I have to assume that the command is always successful unless there is something in err22:26
imsplitbitwhich is generally true22:26
imsplitbitthis is certainly an edge case22:26
imsplitbitwhich is why I see the point of me writing special code around the contents of stderr22:26
imsplitbitbut it brought up the philisophical point that the interface is telling me how to operate rather than exposing the data to me and letting me make decisions22:28
imsplitbitI am not saying it is wrong22:28
jk0kpepple: how's the flavors branch coming? I'd like to get that merged ASAP :)22:28
sorenimsplitbit: I think it may be too late for me..22:28
*** gregp76 has joined #openstack22:28
sorenimsplitbit: What data is it that you're missing from utils.execute?22:28
imsplitbitwhat I am saying, as concise as possible, is how do I solve the problem of handling running a command and verifying that it worked.22:29
sorenWell, typically (as you point out yourself), this is expressed by the command's return code.22:31
imsplitbitok22:31
imsplitbitand if that is the case then what is the point of getting the contents of stderr?22:32
imsplitbitjust in case you care?22:32
soren...which, as you also point out, determines if execute() returns (stdout, stderr) or raises an exception.22:32
*** dubsquared has joined #openstack22:32
imsplitbitok22:32
imsplitbitI think I better understand it as a command interface22:32
imsplitbitthat actually makes a little more sense to me22:32
*** mahadev_ has quit IRC22:33
imsplitbitso rather than run the commands and examine stderr I should be doing a try / except22:33
sorenWEll, yes, you get stderr back in case there might be something interesting there. Not all commands use stderr vs. stdout quite as sanely as one might have wished.22:33
imsplitbityeah apparently22:33
imsplitbitas I have painfully learned22:33
*** mahadev has joined #openstack22:33
imsplitbitbut I can use the interface as designed22:34
imsplitbitit was just a different way of looking at it that I just didn't see22:34
sorenIn the general case, though, stderr isn't interesting if the command was succesful.22:34
imsplitbitI think I have a better grasp of it now.22:34
sorenCool.22:34
imsplitbitthanks22:34
sorenSorry for being dense. :)22:34
*** drico has joined #openstack22:34
imsplitbitit was most likely my fault but thanks22:35
sorennp22:35
*** gondoi has quit IRC22:35
*** ppetraki has quit IRC22:36
*** bcwaldon has joined #openstack22:37
*** adiantum has joined #openstack22:39
*** kbringard has quit IRC22:39
*** westmaas1 has quit IRC22:41
sorenvishy: Silly question perhaps, but how do you guys actually run the smoketests?22:42
*** paltman has quit IRC22:43
*** hazmat has quit IRC22:45
tr3buchetany db guru's available? maybe not a guru, just not a db moron (like me)22:46
sorenWe'll know once your question is asked. :)22:47
tr3bucheti'm trying to figure out when i call fixed_ip_associate_pool it replaces the previous allocation instead of adding a new one22:47
tr3buchet(sorry was phrasing it)22:47
soren:)22:47
*** zul has quit IRC22:47
*** mustfg has joined #openstack22:48
sorenvishy: never mind :)22:51
*** imsplitbit has quit IRC22:53
* soren goes to bed22:53
mustfgcan someone help me plz, i need some help on how to authenticate to the openstack server.22:54
mustfgcan the credentials only be created local by the openstack admin or are they created by the clouduser ?22:55
kpepplemustfg: which openstack server: swift (storage) or nova (compute) ?22:55
mustfgcompute22:55
mustfgnova22:55
kpepplemustfg: AFAIK credentials (the zipfile) can only be created through the nova-manage command which requires "admin" role22:56
jk0devcamcar: you around?22:56
mustfgok22:56
mustfgthen i send the credential to user22:56
devcamcarjk0: i am22:57
*** adiantum has quit IRC22:57
kpepplemustfg: yes, you would usually send them the zip file ...22:57
dubsquaredmustfg:  yeah, you could share the novarc file with an end-user22:57
jk0devcamcar: would you mind having another look at https://code.launchpad.net/~ken-pepple/nova/dynamicinstancetypes/+merge/50257 please? I'd like to get it merged :)22:57
mustfgok22:57
*** patcoll has quit IRC22:57
devcamcarjk0: sure22:57
jk0thanks22:58
mustfgso the nova-manage command is only used by the admin, not remote by a cloud user. i need to get it straight, sorry for the dumb questions :D22:58
kpepplemustfg: you could automate the nova-manage command through a web app or something, but you'd need to write that ...22:59
mustfgok22:59
mustfgsecond question:22:59
*** adiantum has joined #openstack22:59
mustfgcan i use the ec2 api on the nova api server for euca-...  commands and for ec2-.... commands ?23:00
mustfgwhich one is better for a cloud user ?23:01
kpepplemustfg: i use the euca-* tools ...23:01
mustfgok23:01
mustfgthx23:03
*** bcwaldon has quit IRC23:04
*** RobertLaptop has quit IRC23:05
*** paltman has joined #openstack23:05
*** grapex has joined #openstack23:10
devcamcarsoren, jaypipes: either of you have access to our hudson environments? its currently broken for openstack-dashboard and needs some attention23:12
*** adiantum has quit IRC23:12
*** aliguori has quit IRC23:14
*** nelson has quit IRC23:15
*** nelson has joined #openstack23:15
*** markwash has quit IRC23:20
dweimerIn swift is there a way to set a different number of replicas at the account or container level?23:24
*** adiantum has joined #openstack23:25
*** reldan has quit IRC23:27
*** westmaas1 has joined #openstack23:29
*** reldan has joined #openstack23:30
*** hggdh has quit IRC23:33
*** hggdh has joined #openstack23:33
*** hggdh has joined #openstack23:33
jk0devcamcar: you get a chance to look at that merge?23:37
devcamcarjk0: looking at it now23:37
jk0cool23:37
openstackhudsonProject nova build #591: SUCCESS in 1 min 46 sec: http://hudson.openstack.org/job/nova/591/23:38
openstackhudsonTarmac: Enable IPv6 injection for XenServer instances. Added addressV6, netmaskV6 and gatewayV6 columns to the fixed_ips table via migration #007 as per NTT FlatManager IPv6 spec.23:38
devcamcarjk0: is this intended?23:38
devcamcar697+    def create(self, req):23:38
devcamcar698+        """Create a flavor."""23:38
devcamcar699+        #TODO(jk0): Finish this later23:38
*** littleidea has joined #openstack23:38
jk0devcamcar: yeah, that's another BP entirely23:39
*** reldan has quit IRC23:39
jk0devcamcar: just didn't have time to finished it23:39
devcamcarwhat BP is that?23:39
jk0doesn't exist yet :)23:39
kpepplejk0: i wondered about that ...23:39
jk0bascially we eventually want to be able to manage the flavors thru the OS API23:39
devcamcarjk0: we should probably omit that then23:40
devcamcaror at very least throw a notimplemeted23:40
jk0yeah, I'd forgotten I left that in there23:40
jk0kpepple: would you mind taking care of that real quick? :D23:41
*** Ryan_Lane has quit IRC23:41
kpepplejk0: is that only in the flavors.py file ? or is also in the api.py files ...23:41
jk0yeah, just in the flavors.py23:42
jk0in create() and destroy()23:42
openstackhudsonProject nova build #592: SUCCESS in 1 min 45 sec: http://hudson.openstack.org/job/nova/592/23:43
openstackhudsonTarmac: Provide the ability to rescue and unrescue a XenServer instance.23:43
kpepplejk0: running test and then i'll commit23:43
jk0thanks man23:43
jk0(and sorry about the extra hassle)23:43
kpepplejk0: not a worry23:43
*** Jbain has quit IRC23:44
*** adiantum has quit IRC23:44
*** Jbain has joined #openstack23:45
kpepplejk0: it looks like you also have some tests for create and delete ... i'm pulling those too23:45
jk0oh right, good catch23:45
jk0I think those just watched for a 20023:45
kpeppleyeah ... should be fine to just delete tehm23:46
jk0maybe I'll have time to swing back to that next week23:47
*** RobertLaptop has joined #openstack23:47
*** msassak has quit IRC23:48
*** joearnold has joined #openstack23:48
kpepplejk0: pushed to revno 68523:50
kpepplejk0: also added a test for /flavors/1 (specific flavor details)23:50
* jk0 waits for diff update23:51
*** gregp76 has quit IRC23:51
*** openfly has quit IRC23:56
*** openfly has joined #openstack23:56
*** mray has quit IRC23:56
*** adiantum has joined #openstack23:56
*** mray has joined #openstack23:57
jk0kpepple / devcamcar that looks great23:58

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