Re: [Openstack] What's the web server used in the Nova API server?

2012-01-16 Thread Thierry Carrez
Joe Smithian wrote: > I browsed the openStack documentation but couldn't find information > about the Nova API server. > What's the web server used in the Nova API server? > Can we use a different web server such as Apache or Tomcat? > > I'd appreciate your comments. Nova uses Python eventlet WS

[Openstack] Question about "List of Device" of Ring data structure

2012-01-16 Thread dr-dr xp
According to the docs of Swift, devices in a ring are identified by disk name like "/dev/sdb1" : devicestringThe on disk name of the device on the server. For example: sdb1 http://swift.openstack.org/overview_ring.html But such disk name would change: When one of the disks fails, all names of d

Re: [Openstack] Question about "List of Device" of Ring data structure

2012-01-16 Thread dr-dr xp
Seems like the wiki docs misled me. "sdb1" is actually mount point but not "/dev/sdb1". Thus there won't be any problem in source code. But risk is still there: disk should be mounted by uuid or label but not "/dev/sdb1", during the storage installation phase: http://docs.openstack.org/diablo/o

Re: [Openstack] Keystone Curl can't get tokens by credentials

2012-01-16 Thread Xuyun Zhang
Alessio, Your answer solved my problem. Thank you so much. But I met the '500 Internal Server Error'. I generated a user admin with password secrete, and used curl to produce the token successfully. When I ran " swift -A http://127.0.0.1:5000/v1.0 -U admin -K secrete stat -v", but got "Auth GET f

Re: [Openstack] Nova is considering Xen Domain-0 as instance

2012-01-16 Thread Rogério Vinhal Nunes
As Daniel suggested, I just ignored the ID == 0 and it seems to work fine now. The resulting code is even simpler than suggested by Vish: def list_instances(self): return [self._conn.lookupByID(x).name() for x in self._conn.listDomainsID() if x != 0] this is more of a

Re: [Openstack] Nova is considering Xen Domain-0 as instance

2012-01-16 Thread Daniel P. Berrange
On Mon, Jan 16, 2012 at 10:29:19AM -0200, Rogério Vinhal Nunes wrote: > As Daniel suggested, I just ignored the ID == 0 and it seems to work fine > now. The resulting code is even simpler than suggested by Vish: > > def list_instances(self): > return [self._conn.lookupByID(x).name() >

Re: [Openstack] What's the web server used in the Nova API server?

2012-01-16 Thread Michael Basnight
Just curious, whats the reason we went with rolling our own instead of using something like nginx/apache2/etc w/ mod_wsgi? On Jan 16, 2012, at 2:14 AM, Thierry Carrez wrote: > Joe Smithian wrote: >> I browsed the openStack documentation but couldn't find information >> about the Nova API server

Re: [Openstack] What's the web server used in the Nova API server?

2012-01-16 Thread Diego Parrilla Santamaría
Hi Michael, we deploy with an Apache + mod_proxy in front of all the nova APIs processes. It works reasonably well. For Horizon we use Apache + WSGI mod (well... everybody knows Horizon is a different beast...). Tomcat is a different beast, for JVM stuff, you know. Openstack is python. Cheers Di

[Openstack] dashboard on fedora, misconfigured Nova url in keystone or missing openstackx extensions

2012-01-16 Thread ikke
Hi, I'm trying to get my cluster to run openstack on fedora. I don't get the dashboard to work, can someone please help a bit? I end up with this error on the web page: "*Error: *Unable to get service info: This error may be caused by a misconfigured Nova url in keystone's service catalog, or by

[Openstack] Erros with nova python client and OpenStack API

2012-01-16 Thread Leander Bessa
Hello, I've setup a test installation of OpenStack inside a virtual machine with the ec2 api. I would also like to test out the OpenStack API with the nova-python-client, therefor i installed keystone in a separate virtual machine and configured the other virtual machine to use keystone for authen

Re: [Openstack] What's the web server used in the Nova API server?

2012-01-16 Thread Soren Hansen
It's not like we wrote our own webserver :) Eventlet has a wsgi container. We just went ahead and used it. Not only does it perform very well, it's also very straightforward to use for testing (compared to having to install and configure Apache to get going).. 2012/1/16 Michael Basnight : > Just

Re: [Openstack] dashboard on fedora, misconfigured Nova url in keystone or missing openstackx extensions

2012-01-16 Thread Pádraig Brady
On 01/16/2012 01:18 PM, ikke wrote: > Hi, > > I'm trying to get my cluster to run openstack on fedora. I don't get the > dashboard to work, can someone please help a bit? [error snipped] > Any hints welcome! There is actually a thread in progress on cl...@lists.fedoraproject.org http://lists.f

[Openstack] Using fake drivers for testing

2012-01-16 Thread Brebner, Gavin
I'm interested in running some "white-box" tests that check scalability and limits of parts of a Nova system. I want to start from a full working configuration however, as I get that from my dev team and it includes all sorts of settings that would be tedious and error prone to reproduce in othe

Re: [Openstack] Erros with nova python client and OpenStack API

2012-01-16 Thread Jay Pipes
On Mon, Jan 16, 2012 at 8:34 AM, Leander Bessa wrote: > Hello, > > I've setup a test installation of OpenStack inside a virtual machine with > the ec2 api. I would also like to test out the OpenStack API with the > nova-python-client, therefor i installed keystone in a separate virtual > machine a

[Openstack] increasing swift storage space

2012-01-16 Thread Salih B . K
Hi all, I'm a new user of openstack swift. I installed it on 6 VMs and it works perfectly. When I want to increase the storage space dedicated to swift, should I add a new VM??? Is it possible to add a shared folder dedicated to swift instead of adding new VM?? Is there any other solution to

[Openstack] new install document for Compute/Image/Identity/Dashboard

2012-01-16 Thread Anne Gentle
Hi all - With lots of help from reviewers at Rackspace and beyond, I've drafted a new installation guide for the stable Diablo release. Currently it points to packages from two sources - Cloud Builders and Managed IT. Much gratitude goes to both groups for their hard work. These instructions curren

Re: [Openstack] Using fake drivers for testing

2012-01-16 Thread Jay Pipes
Hi Gavin! Comments inline... On Mon, Jan 16, 2012 at 10:18 AM, Brebner, Gavin wrote: > I’m interested in running some “white-box” tests that check scalability and > limits of parts of a Nova system.  I want to start from a > full working configuration however, as I get that from my dev team and i

Re: [Openstack] new install document for Compute/Image/Identity/Dashboard

2012-01-16 Thread Anne Gentle
All, I haven't yet proposed a merge since I'm looking for input on pointing to community packages, but the doc is here: https://github.com/annegentle/openstack-manuals/tree/123011 Look in /doc/src/docbkx/openstack-install for the source, and to build HTML and PDF, run "mvn generate-sources" in tha

Re: [Openstack] First instance, one problem

2012-01-16 Thread Jay Pipes
On Sat, Jan 14, 2012 at 1:15 PM, Samuel Hassine, Another Service wrote: > I checked the log files, nothing I understand as a fatal error, I do not > know how to debug this, how to find a solution or a workaround. Hi Sam, please pastebin your nova-compute log file for us to diagnose. Thanks! -jay

Re: [Openstack] Online presentation on OpenStack contribution, Tempest and Devstack

2012-01-16 Thread Jay Pipes
On Fri, Jan 13, 2012 at 10:57 PM, Deepak Garg wrote: > The slides were __really__ nice to get started with Openstack QA. I am going > to give it a shot and get back if I run into problems. > However, can we subscribe/let know if there are more follow-on webinars in > the future.' Thanks Deepak!

Re: [Openstack] Keystone Curl can't get tokens by credentials

2012-01-16 Thread Alessio Ababilov
Hi! Please! Why are you using v1.0 in this command: swift -A http://127.0.0.1:5000/v1.0 -U admin -K secrete stat -v Could you try: swift -A http://127.0.0.1:5000/v2.0 -U admin -K secrete stat -v On 01/16/2012 02:22 PM, Xuyun Zhang wrote: Alessio, Your answer

Re: [Openstack] Online presentation on OpenStack contribution, Tempest and Devstack

2012-01-16 Thread ghe. rivero
Great slides! All my doubts about tempest are now gone. Thanks for sharing it. Ghe Rivero On Mon, Jan 16, 2012 at 6:18 PM, Jay Pipes wrote: > On Fri, Jan 13, 2012 at 10:57 PM, Deepak Garg > wrote: >> The slides were __really__ nice to get started with Openstack QA. I am going >> to give it a

[Openstack] Diablo multi-zone, basescheduler, host_filter, various bugs running over KVM

2012-01-16 Thread Leandro Reox
Sandy, Ed, Chris, We personalize this mail to you guys cause in the source you are listed as the authors of the Scheduler module. Here's the thing, we have : - 2 nova Diablo clusters (16 nodes, 1 controller, 15 computes - controller running sched, api and network services - KVM as HV) + keystone

[Openstack] BSaaS project status

2012-01-16 Thread Oleg Gelbukh
Hello, I have read about BSaaS project codenamed 'Lunr' in the Openstack wiki and in this list archive. But it seems that its development was abandoned by the team and focus was switched to developing integrated nova-volume service. Was that a governance decision not to use external block storage

Re: [Openstack] Using fake drivers for testing

2012-01-16 Thread Sandy Walsh
I used the fake virt driver when I was testing zones. Very handy. From: openstack-bounces+sandy.walsh=rackspace@lists.launchpad.net [openstack-bounces+sandy.walsh=rackspace@lists.launchpad.net] on behalf of Brebner, Gavin [gavin.breb...@hp.com] Sent: Mon

Re: [Openstack] new install document for Compute/Image/Identity/Dashboard

2012-01-16 Thread Jay Pipes
On Mon, Jan 16, 2012 at 11:18 AM, Anne Gentle wrote: > Hi all - > With lots of help from reviewers at Rackspace and beyond, I've drafted > a new installation guide for the stable Diablo release. Currently it > points to packages from two sources - Cloud Builders and Managed IT. > Much gratitude go

Re: [Openstack] BSaaS project status

2012-01-16 Thread Vishvananda Ishaya
Hi, This was not a governance decision. AFAIK Lunr is still under development, but will exposed to openstack as a backend to the existing nova-volume code. We have made significant progress during the Essex release at separating out nova-volumes so that it can be branched into its own project.

[Openstack] Nova trunk completely broken on Python 2.6

2012-01-16 Thread Ewan Mellor
As of the following changeset, Nova trunk is completely broken on Python 2.6. I presume that we're still supporting 2.6? (We better had be!) commit 035b43b1fd320008234e066e30629fb0e359b424 Author: Naveed Massjouni Date: Thu Jan 12 18:38:21 2012 + Refactoring logging _log function.

Re: [Openstack] Question about "List of Device" of Ring data structure

2012-01-16 Thread 程辉
Good question. I think wiki doc is wrong. In swift-ring-builder phase, It said: > For example, if you were setting up a storage node with a partition of > /dev/sdb1 in Zone 1 on IP 10.0.0.1, the DEVICE would be sdb1 and the > commands would look like: > > swift-ring-builder account.builder add z1

Re: [Openstack] Nova trunk completely broken on Python 2.6

2012-01-16 Thread Jay Pipes
On Mon, Jan 16, 2012 at 9:48 PM, Ewan Mellor wrote: > While I’m here, any chance we can have a unit test running on Python 2.6? Monty and Jim have been working on getting parallel 2.7 and 2.6 tests going with the tox library. -jay ___ Mailing list: ht

[Openstack] [GLANCE] Performance testing tool beta test

2012-01-16 Thread Jay Pipes
Hi all, If you're interested in helping me gather throughput numbers for various Glance installations, please contact me. I wrote a little tool tonight that gathers some throughput details after attempting to concurrently add images to a Glance server. You can see the output of the tool below: j

Re: [Openstack] BSaaS project status

2012-01-16 Thread Monty Taylor
On 01/17/2012 08:02 AM, Vishvananda Ishaya wrote: > Hi, > > This was not a governance decision. AFAIK Lunr is still under > development, but will exposed to openstack as a backend to the existing > nova-volume code. We have made significant progress during the Essex > release at separating out no

Re: [Openstack] [GLANCE] Performance testing tool beta test

2012-01-16 Thread Jesse Andrews
Nice! Jay - are you expecting folks to run this on the same server or in the same rack as the glance server? (eg, do you expect the transfer between the client and glance to make an noticeable impact on performance) Perhaps if people are going to share these numbers they should share benchmarks