[Openstack] Openstack Object Storage:VMCreation

2011-11-22 Thread Sudhakar Maiya
Hi, is it possible to configure Openstack Object Storage on Virtual Machines (VM's) as i do not have much enough physical systems. If so, what is the recommended requirement to create VM for Openstack Object Storage Thanks & Regards Sudhakar Maiya.P ___

[Openstack] Increase replication from 2 to 3 in a swift cluster without loosing existing data?

2011-11-22 Thread Mark Hesel
Hi, It is possible to increase the replication from 2 copys to the default 3 copys without loosing data? Can I simply recreate the ringfile with a replication of 3 and sync the ring files to my nodes? Will Swift recognize the existing data? best regards Mark Hesel

Re: [Openstack] Git release tags?

2011-11-22 Thread Julien Danjou
On Tue, Nov 15 2011, Julien Danjou wrote: > Would it be possible to use git tags to mark released version? It seems to me that python-novaclient has no tag. Is it possible to solve this? -- Julien Danjou // eNovance http://enovance.com // ✉ julien.dan...@enovance.com ☎ +3

[Openstack] Reminder: OpenStack team meeting - 21:00 UTC

2011-11-22 Thread Thierry Carrez
Hello everyone, Our general meeting will take place at 21:00 UTC this Tuesday in #openstack-meeting on IRC. PTLs, if you can't make it, please name a substitute on [2]. We'll look into Swift 1.4.4 being deferred one week, progress towards essex-2, general Essex plans, and do final approval on Key

Re: [Openstack] [nova-testing] Efforts for Essex

2011-11-22 Thread Soren Hansen
2011/11/22 Rohit Karajgi : > Also I really  should not feel the need to install a DB on my box to run a > unit-test suite. None, but the DB API tests should have the need to perform > any database operations and validations. It slows down the overall execution. > Such things should be replaced wi

Re: [Openstack] [nova-testing] Efforts for Essex

2011-11-22 Thread Sandy Walsh
Excellent! I wrote a few blog posts recently, mostly based on my experience with openstack automated tests: http://www.sandywalsh.com/2011/06/effective-units-tests-and-integration.html http://www.sandywalsh.com/2011/08/pain-of-unit-tests-and-dynamically.html Would love to see some of those chan

Re: [Openstack] rpms for rhel5.x to install Open stack Object Storage

2011-11-22 Thread Jay Pipes
On Mon, Nov 21, 2011 at 9:34 PM, Lorin Hochstein wrote: > How does the deprecation of nova-objectstore affect nova support for > euca-upload-bundle? Will euca-upload-bundle support go away in the future, > or does Glance support euca-upload-bundle through an S3 front-end interface, > or something

[Openstack] OS as Edu Lab

2011-11-22 Thread Frans Thamura
hi all just a little meeting i am success create ubuntu inside openstack (ubuntu). but... now i try to add OpenStack to education, and their job to install operating system any glue to make they can install from .iso, but in GUI like they did in desktop.. -- Frans Thamura (曽志胜) Chief of Advi

Re: [Openstack] [nova-testing] Efforts for Essex

2011-11-22 Thread Trey Morris
Add me as a +1 to ensuring that unittests are actually unittests instead of a mix'n'match of different styles of test. This would make writing and updating tests much more straightforward and actually catch problems in the correct layer of tests, for example a change in network should not under any

[Openstack] Xen and openstack

2011-11-22 Thread Michaël Van de Borne
Hi all, On this page , one can see that XenServer 5.6 and XCP are supported. Is there any chance to run xen VMs using just the 'xen hypervisor' package from linux distributions? This means: bare me

[Openstack] turn a devstack into a deployment

2011-11-22 Thread Yun Mao
devstack makes setting up a dev environment such a breeze, that I'd rather not go back to the packages and manual installations if possible, for a not so serious deployment environment. So I wrote the script upstart.sh and a few templates. The basic idea is that once you like what stack.sh has don

Re: [Openstack] [nova-testing] Efforts for Essex

2011-11-22 Thread Jay Pipes
On Tue, Nov 22, 2011 at 8:31 AM, Soren Hansen wrote: > 2011/11/22 Rohit Karajgi : >> Also I really  should not feel the need to install a DB on my box to run a >> unit-test suite. None, but the DB API tests should have the need to perform >> any database operations and validations. It slows down

Re: [Openstack] [nova-testing] Efforts for Essex

2011-11-22 Thread Kevin L. Mitchell
On Tue, 2011-11-22 at 12:12 -0500, Jay Pipes wrote: > FWIW, I created a fake database store for Glance originally, and > indeed the unit tests ran quicker than they do now because we use an > in-memory SQLite database in the unit tests. That said, switching from > a faked datastore to a real one th

Re: [Openstack] [nova-testing] Efforts for Essex

2011-11-22 Thread Jay Pipes
On Tue, Nov 22, 2011 at 12:50 PM, Kevin L. Mitchell wrote: > On Tue, 2011-11-22 at 12:12 -0500, Jay Pipes wrote: >> FWIW, I created a fake database store for Glance originally, and >> indeed the unit tests ran quicker than they do now because we use an >> in-memory SQLite database in the unit test

Re: [Openstack] [nova-testing] Efforts for Essex

2011-11-22 Thread Soren Hansen
Ok, this seems like a good time to repeat what I posted to nova-database the other day. tl;dr: I'm adding a fake DB driver as well as a DB test suite that we can run against any of the backends to verify that they act the same. This should address all the concerns I've heard so far. #

Re: [Openstack] [nova-testing] Efforts for Essex

2011-11-22 Thread Sandy Walsh
I'm not a big fan of faking a database, not only for the reasons outlined already, but because it makes the tests harder to understand. I much prefer to mock the db call on a per-unit-test basis so you can see everything you need in a single file. Yes, this could mean some duplication across te

Re: [Openstack] [nova-testing] Efforts for Essex

2011-11-22 Thread Soren Hansen
2011/11/22 Sandy Walsh : > I'm not a big fan of faking a database, not only for the reasons outlined > already, but because it makes the tests harder to understand. Can you give me an example? I find the opposite to be true, so I'd love to see counterexamples. Most of the time, the data store is

Re: [Openstack] [nova-testing] Efforts for Essex

2011-11-22 Thread Sandy Walsh
I suppose there is a matter of preference here. I prefer to look in the setup() and teardown() methods of my test suite to find out how everything hangs together. Otherwise I have to check nova.TestCase when things break. The closer my test can stay to my expectations from unittest.TestCase the

Re: [Openstack] [nova-testing] Efforts for Essex

2011-11-22 Thread Soren Hansen
2011/11/22 Sandy Walsh : > I suppose there is a matter of preference here. I prefer to look in the > setup() and teardown() methods of my test suite to find out how everything > hangs together. Otherwise I have to check nova.TestCase when things break. > The closer my test can stay to my expecta

Re: [Openstack] [nova-testing] Efforts for Essex

2011-11-22 Thread Mark Washenberger
I'm tending to agree with Sandy's comments. I think we all agree that we have a mess with the database stubbing that is going on. And I'm confident that the db fake would make that mess more manageable. But the way I see the mess, it comes from having a giant flat db interface and really large

Re: [Openstack] [nova-testing] Efforts for Essex

2011-11-22 Thread Soren Hansen
2011/11/22 Soren Hansen : >> (real) Unit tests are our documentation and having to jump around to find >> out how the plumbing works doesn't make for good documentation. > I agree. That's exactly why I *don't* want mocks (for this) in the unit tests. It's been pointed out to me that I'm not makin

Re: [Openstack] [nova-testing] Efforts for Essex

2011-11-22 Thread Soren Hansen
2011/11/22 Mark Washenberger : > I think we all agree that we have a mess with the database stubbing that is > going on. And I'm confident that the db fake would make that mess more > manageable. > But the way I see the mess, it comes from having a giant flat db interface > and really large tes

Re: [Openstack] turn a devstack into a deployment

2011-11-22 Thread Lorin Hochstein
Cool! -- Lorin Hochstein, Computer Scientist USC Information Sciences Institute 703.812.3710 http://www.east.isi.edu/~lorin On Nov 22, 2011, at 12:05 PM, Yun Mao wrote: > devstack makes setting up a dev environment such a breeze, that I'd > rather not go back to the packages and manual instal

Re: [Openstack] [nova-testing] Efforts for Essex

2011-11-22 Thread Sandy Walsh
Yeah, email is making this tricky. I suspect the problem is coming in with our definition of "unit tests". I don't think a unit test should be calling out of the method being tested at all. So anything beyond stubbing out the methods within the method being tested seems like noise to me. What y

Re: [Openstack] [nova-testing] Efforts for Essex

2011-11-22 Thread Soren Hansen
2011/11/22 Sandy Walsh : > I suspect the problem is coming in with our definition of "unit > tests". I don't think a unit test should be calling out of the method > being tested at all. So anything beyond stubbing out the methods > within the method being tested seems like noise to me. What you're

Re: [Openstack] Xen and openstack

2011-11-22 Thread Todd Deshane
On Tue, Nov 22, 2011 at 12:03 PM, Michaël Van de Borne wrote: > Hi all, > > On this page, one can see that XenServer 5.6 and XCP are supported. Is there > any chance to run xen VMs using just the 'xen hypervisor' package from linux > distributions? > In theory you can use the libvirt OpenStack dr

[Openstack] use php to make container public or not

2011-11-22 Thread pf shineyear
php curl have a shit feature: can not post an empty http header, so if you want to perform a command like this in php: swift -A http://10.38.10.127:8080/auth/v1.0 -U AUTH_testa27:AUTH_testu27 -K testp post -r ' ' mycontainer2 the "X-Container-Read" will not be send, so you can not make a containe

[Openstack] the instance'ip lease time in DHCPflat mode

2011-11-22 Thread ljvsss
hi: when i use DHCPflat mode,the instance to get ip in fews times in the log of nova-network.log like this: 2011-11-23 13:33:30,840 DEBUG nova.network.manager [8d6b0be9-1ae7-4f69-a10c-c4d6a42ebc55 None None] Leased IP |10.0.0.22| from (pid=12204) lease_fixed_ip /usr/lib/python2.7/dist-packages/

Re: [Openstack] rpms for rhel5.x to install Open stack Object Storage

2011-11-22 Thread Razique Mahroua
Hi Lorin,Glance has it's own ways to upload objects : Here are the available ways to do it :  Startimg upload glance -v add name="ubuntu-10.10-amd64" is_public=true < /root/maverick-server-uec-amd64.tar.gz # OR add property (ex. distro) glance -v add name="ubuntu-10.10-amd64" is_public=true distro