Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-15 Thread Leander Bessa Beernaert
he authtoken middleware is doing in the /var/log/syslog (or > wherever syslog log on your distro). > > Chmouel. > > > > On Tue, Jan 15, 2013 at 12:09 PM, Leander Bessa Beernaert < > leande...@gmail.com> wrote: > >> I've updated the keystoneclient to th

Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-15 Thread Leander Bessa Beernaert
dleware for validating a token to keystone) > in your proxy-server log. I would advise to take a look at a devstack, > running it with swift and see how it work on the swift proxy server console > (in screen). > > > On Mon, Jan 14, 2013 at 8:00 PM, Leander Bessa Beernaert < &g

Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-14 Thread Leander Bessa Beernaert
gt; the client makes. The server still haves to validate the token on > every request. > > -- > Chuck > > On Mon, Jan 14, 2013 at 12:37 PM, Leander Bessa Beernaert > wrote: > > Below is an output from Swift stat, since I don't see any requests to > > keys

Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-14 Thread Leander Bessa Beernaert
Are you by any chance referring to this topic https://lists.launchpad.net/openstack/msg08639.html regarding the keystone token cache? If so I've already added the configuration line and have not noticed any speedup :/ On Mon, Jan 14, 2013 at 5:19 PM, Leander Bessa Beernaert <

Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-14 Thread Leander Bessa Beernaert
I'm using the ubuntu 12.04 packages of the folsom repository by the way. On Mon, Jan 14, 2013 at 5:18 PM, Chuck Thier wrote: > On Mon, Jan 14, 2013 at 11:03 AM, Leander Bessa Beernaert > wrote: > > Also, I'm unable to run the swift-bench with keystone. > > > &

Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-14 Thread Leander Bessa Beernaert
202:5000/v2.0 user = [tenant]:[user] key = [key] auth_version = 2 log-level = INFO timeout = 10 put_concurrency = 10 get_concurrency = 10 lower_object_size = 20 upper_object_size = 2 num_objects = 1000 num_gets = 1 num_containers = 20 delete = yes On Mon, Jan 14, 2013 at 5:01 PM, Le

Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-14 Thread Leander Bessa Beernaert
until you max either your > network or cpu. I would start with one client first, until you max it > out, then move on to the next. > > -- > Chuck > > On Mon, Jan 14, 2013 at 10:45 AM, Leander Bessa Beernaert > wrote: > > I'm currently using the swift clie

Re: [Openstack] [OpenStack][Swift] Reset Swift | Clear Swift and Account Database

2013-01-14 Thread Leander Bessa Beernaert
ate rings with the correct partition size > 4. Push new rings out to all servers > 5. Start services back up and test. > > -- > Chuck > > On Mon, Jan 14, 2013 at 8:02 AM, Leander Bessa Beernaert > wrote: > > Hello all, > > > > I've come to realize that my

Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-14 Thread Leander Bessa Beernaert
elayed > quite a bit as you are heavily loading the cluster. It also might be > worthwhile to use a tool like swift-bench to test your cluster to make > sure it is properly setup before loading data into the system. > > -- > Chuck > > On Mon, Jan 14, 2013 at 10:38 AM, Leander B

Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-14 Thread Leander Bessa Beernaert
gt; aren't being saturated, as it is pretty easy to saturate pushing 200k > files around. > > -- > Chuck > > On Mon, Jan 14, 2013 at 10:15 AM, Leander Bessa Beernaert > wrote: > > Well, I've fixed the node size and disabled the all the replicator and > >

Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-14 Thread Leander Bessa Beernaert
Well, I've fixed the node size and disabled the all the replicator and auditor processes. However, it is even slower now than it was before :/. Any suggestions? On Mon, Jan 14, 2013 at 3:23 PM, Leander Bessa Beernaert < leande...@gmail.com> wrote: > Ok, thanks for all the tips/hel

Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-14 Thread Leander Bessa Beernaert
Ok, thanks for all the tips/help. Regards, Leander On Mon, Jan 14, 2013 at 3:21 PM, Robert van Leeuwen < robert.vanleeu...@spilgames.com> wrote: > > Allow me to rephrase. > > I've read somewhere (can't remember where) that it would be faster to > upload files if they would be uploaded to sepa

Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-14 Thread Leander Bessa Beernaert
Allow me to rephrase. I've read somewhere (can't remember where) that it would be faster to upload files if they would be uploaded to separate containeres. This was suggested for a standard swift installation with a certain replication factor. Since I'll be uploading the files with the replicators

Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-14 Thread Leander Bessa Beernaert
I see. With replication switched off during upload, does inserting into various containers speed up the process or is it irrelevant? On Mon, Jan 14, 2013 at 1:49 PM, Robert van Leeuwen < robert.vanleeu...@spilgames.com> wrote: > > According to the info below, i think the current size is 256 rig

[Openstack] [OpenStack][Swift] Reset Swift | Clear Swift and Account Database

2013-01-14 Thread Leander Bessa Beernaert
Hello all, I've come to realize that my swift storage partitions are setup with the wrong node size. The only way for me to fix this is to format the partitions. I was wondering how I could reset swift (remove all data from stored files) without having to install it again. Regards, Leander _

Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-14 Thread Leander Bessa Beernaert
=4096 blocks=25994, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 On Mon, Jan 14, 2013 at 1:29 PM, Leander Bessa Beernaert < leande...@gmail.com> wrote: > By stopping, do you mean

Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-14 Thread Leander Bessa Beernaert
By stopping, do you mean halt the service (kill the process) or is it a change in the configuration file? On Mon, Jan 14, 2013 at 1:20 PM, Robert van Leeuwen < robert.vanleeu...@spilgames.com> wrote: > On Mon, Jan 14, 2013 at 11:02 AM, Leander Bessa Beernaert < > leande...@g

Re: [Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-14 Thread Leander Bessa Beernaert
I forgot to mention that I'm also using the suggestions mentioned here: http://docs.openstack.org/developer/swift/deployment_guide.html#general-system-tuning On Mon, Jan 14, 2013 at 11:02 AM, Leander Bessa Beernaert < leande...@gmail.com> wrote: > Hello all, > > > I'

[Openstack] [OpenStack][Swift] Fast way of uploading 200GB of 200KB files to Swift

2013-01-14 Thread Leander Bessa Beernaert
Hello all, I'm trying to upload 200GB of 200KB files to Swift. I'm using 4 clients (each hosted on a different machine) with 10 threads each uploading files using the official python-swiftclient. Each thread is uploading to a separate container. I have 5 storage nodes and 1 proxy node. The nodes

Re: [Openstack] [OpenStack][Swift] Cannot perform multiple requests with Python API

2013-01-08 Thread Leander Bessa Beernaert
rote: > I am not sure why it does that (works fine for me), can you try with the > git version to see if you can reproduce ? > > Thanks, > Chmouel. > > > On Mon, Jan 7, 2013 at 7:31 PM, Leander Bessa Beernaert < > leande...@gmail.com> wrote: > >> Hello all,

[Openstack] [OpenStack][Swift] Cannot perform multiple requests with Python API

2013-01-07 Thread Leander Bessa Beernaert
Hello all, I'm having an issue when using the Python API for swift [1]. I am unable to do two sequential operations. The first operation works and the second ceases to work. Is this expected, or is this a bug? I'm using Ubuntu 12.04 with the Folsom Packages. Example output (Python Interpreter):

Re: [Openstack] [OpenStack][Swift] Calculating necessary disk space with replication

2013-01-05 Thread Leander Bessa Beernaert
Thanks for the info! Regards, Leander On Thu, Jan 3, 2013 at 7:08 PM, Samuel Merritt wrote: > On 1/3/13 7:07 AM, Leander Bessa Beernaert wrote: > >> Hello all, >> >> Could some please confirm my analysis of the ring creation in swift? >> >> I need to r

Re: [Openstack] [OpenStack][Swift] Calculating necessary disk space with replication

2013-01-03 Thread Leander Bessa Beernaert
the moment 1 proxy node and 5 storage nodes with a 200GB storage partition. This won't be enough to accomodate everything right? Also, sorry for the split email, I pressed the send instead of the save button :S. Regards, Leander On Thu, Jan 3, 2013 at 3:01 PM, Leander Bessa Beernaer

[Openstack] [OpenStack][Swift] Calculating necessary disk space with replication

2013-01-03 Thread Leander Bessa Beernaert
Hello all, Could some please confirm my analysis of the ring creation in swift? I need to run a few benchmarks on a set of data (200GB) total and need it to be replicated at least 3 times. >From the Swift docs [1], I understood that [1] http://docs.openstack.org/trunk/openstack-compute/inst

Re: [Openstack] [OpenStack][Cinder] ISCSITargetCreateFailed: Failed to create iscsi target for volume

2013-01-02 Thread Leander Bessa Beernaert
That did it!! Thanks! On Wed, Jan 2, 2013 at 12:13 PM, Pierre FREUND wrote: > include /var/lib/cinder/volumes/* ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstac

Re: [Openstack] [OpenStack][Cinder] ISCSITargetCreateFailed: Failed to create iscsi target for volume

2013-01-02 Thread Leander Bessa Beernaert
y one include line per file instead of *. > > Pierre FREUND > > > 2013/1/2 Leander Bessa Beernaert > >> I've already tried restarting all cinder services and tgt, the error >> still remains. >> >> Thanks for the help though. >> >> Regards,

Re: [Openstack] [OpenStack][Cinder] ISCSITargetCreateFailed: Failed to create iscsi target for volume

2013-01-02 Thread Leander Bessa Beernaert
of. > > I had similar issue and after I set the path right and restarted the > services, it worked fine. > > Regards, > Balu > > > On Wed, Jan 2, 2013 at 4:23 PM, Leander Bessa Beernaert < > leande...@gmail.com> wrote: > >> >> Reply is inlined below. >

Re: [Openstack] [OpenStack][Cinder] ISCSITargetCreateFailed: Failed to create iscsi target for volume

2013-01-02 Thread Leander Bessa Beernaert
ngle install of OpenStack using the packages provided by Ubuntu 12.04. > Hope this helps. > > Regards, > Balu > > > On Wed, Jan 2, 2013 at 3:47 PM, Leander Bessa Beernaert < > leande...@gmail.com> wrote: > >> # /etc/tgt/conf.d/cinder_tgt.conf >> nclude /

[Openstack] [OpenStack][Cinder] ISCSITargetCreateFailed: Failed to create iscsi target for volume

2013-01-02 Thread Leander Bessa Beernaert
Hello all, I'm having trouble getting Cinder to create volumes. I'm using a single install of OpenStack Folsom on Ubuntu 12.04 and a lvm volume with 40 GB labeled cinder-volumes. # Output from vgs: VG #PV #LV #SN Attr VSize VFree cinder-volumes 1 0 0 wz--n- 45.69g 45.69g

[Openstack] [OpenStack] Upgraded from Essex to Folsom, instances lost all internet connectivity

2012-12-03 Thread Leander Bessa Beernaert
Hello all, I've upgraded my OpenStack installation about a month ago or so. I've been recently informed that the virtual machines no longer have internet connectivity. They can be accessed through ssh and can reach each other. They can however no longer perform any outside access such as "apt-get

Re: [Openstack] [OpenStack] Nova API does not start

2012-11-09 Thread Leander Bessa Beernaert
For anyone with the same problem, I've managed to fix my problem by updating my old api-paste.ini with the one provided with the Folsom package. Regards, Leander On Fri, Nov 9, 2012 at 2:42 PM, Leander Bessa Beernaert wrote: > Hello, > > I have just installed the Folsom packa

Re: [Openstack] [OpenStack][Glance] Error starting Glance

2012-11-09 Thread Leander Bessa Beernaert
I've managed to fix the problem by replacing my old paste.ini files for glance-api and glance-registry with the ones provided with the packages. On Fri, Nov 9, 2012 at 2:55 PM, Leander Bessa Beernaert wrote: > Hello all, > > I'm unable to start glance. I upgraded it from

[Openstack] [OpenStack][Glance] Error starting Glance

2012-11-09 Thread Leander Bessa Beernaert
Hello all, I'm unable to start glance. I upgraded it from Essex to Folsom on ubuntu 12.04. It produces the following output: 2012-11-09 14:51:27 29928 DEBUG glance.common.config [-] Loading glance-api-keystone from /etc/glance/glance-api-paste.ini load_paste_app /usr/lib/python2.7/dist-packages/

[Openstack] [OpenStack] Nova API does not start

2012-11-09 Thread Leander Bessa Beernaert
Hello, I have just installed the Folsom package of Nova API and am unable to get it to start. Here's the error log: 2012-11-09 14:28:40 DEBUG nova.wsgi [-] Loading app metadata from /etc/nova/api-paste.ini from (pid=25593) load_app /usr/lib/python2.7/dist-packages/nova/wsgi.py:371 2012-11-09 14:

[Openstack] [OpenStack] Upgrading from Essex to Folsom

2012-11-06 Thread Leander Bessa Beernaert
Hello all, I'm trying to upgrade my current installation of OpenStack Essex running on ubuntu 12.04 to the Folsom release. I'm following the instructions from [1] but I can't get the new packages to appear. For instance, after following the instruction, the version parameter for the command "apt-c

[Openstack] [OpenStack][Nova] Reuse part of Nova-API

2012-09-12 Thread Leander Bessa Beernaert
Hello, I've been tasked with translating the OpenStack API to another provider, so that the other provider is able to handle both it's own API and requests nova's API. Is it possible to reuse most of nova-api's handling of the REST request and simply change the underlying execution? In other words

Re: [Openstack] [OpenStack][Nova] Help with Cloudpipe setup

2012-09-07 Thread Leander Bessa Beernaert
I'd like to add that i'm unable to ping or ssh this instance from any nodes in my setup. Ping and ssh are working on normal instances. On Fri, Sep 7, 2012 at 10:28 AM, Leander Bessa Beernaert < leande...@gmail.com> wrote: > Hello, > > I've been trying to set up

[Openstack] [OpenStack][Nova] Help with Cloudpipe setup

2012-09-07 Thread Leander Bessa Beernaert
Hello, I've been trying to set up cloud pipe for OpenStack. I'm running OpenStack Essex on Ubuntu 12.04 with the default packages. I'm following the instructions from [1,2]. When i get to the part of generating certificates to connect to the cloudpipe instance i get this error [3]. Any ideas? [

[Openstack] [OpenStack][Nova] Cloudpipe creation error

2012-09-06 Thread Leander Bessa Beernaert
Hello all, I'm trying to setup a cloudpipe for a project. I'm running OpenStack Essex on Ubuntu 12.04. I ran the command "nova cloudpipe create [project_id]" and i found this in the nova-api log: 2012-09-06 12:19:46 ERROR nova.api.openstack.wsgi > [req-6f5432b5-026c-413f-bb78-558cabe67af5 projec

Re: [Openstack] [OpenStack][Nova]Problems and questions regarding network and/or routing

2012-09-06 Thread Leander Bessa Beernaert
tivity from the hosts, etc. > > ** ** > > ** ** > ---------- > > *From:* Leander Bessa Beernaert [mailto:leande...@gmail.com] > *Sent:* Wednesday, September 05, 2012 11:26 AM > *To:* **George Mihaiescu > ** > *Cc:* openstack@lists.launchpad.net

Re: [Openstack] [OpenStack][Nova]Problems and questions regarding network and/or routing

2012-09-05 Thread Leander Bessa Beernaert
Do i also no ip_forward enabled on the controller node? On Wed, Sep 5, 2012 at 3:18 PM, Leander Bessa Beernaert wrote: > All compute nodes have /proc/sys/net/ipv4/ip_forward set to 1. So that > can't be the issue :s > > > On Wed, Sep 5, 2012 at 3:11 PM, Georg

Re: [Openstack] [OpenStack][Nova]Problems and questions regarding network and/or routing

2012-09-05 Thread Leander Bessa Beernaert
Do i also need ip_forward enabled on the controller node? (sorry about the duplicate) On Wed, Sep 5, 2012 at 4:25 PM, Leander Bessa Beernaert wrote: > Do i also no ip_forward enabled on the controller node? > > > On Wed, Sep 5, 2012 at 3:18 PM, Leander Bessa Beernaert < > l

Re: [Openstack] [OpenStack][Nova]Problems and questions regarding network and/or routing

2012-09-05 Thread Leander Bessa Beernaert
** > -- > > *From:* openstack-bounces+george.mihaiescu=q9@lists.launchpad.net[mailto: > openstack-bounces+george.mihaiescu=q9@lists.launchpad.net] *On Behalf > Of *Leander Bessa Beernaert > *Sent:* Wednesday, September 05, 2012 9:49 AM >

Re: [Openstack] [OpenStack][Nova]Problems and questions regarding network and/or routing

2012-09-05 Thread Leander Bessa Beernaert
ch as 10.0.108.4,10.0.108.6,10.0.108.8 and 10.0.108.4.10. I have also no connectivity from within the instances to the outside world. Has this happend to anyone before? On Tue, Sep 4, 2012 at 11:38 PM, Vishvananda Ishaya wrote: > > On Sep 4, 2012, at 3:01 PM, Leander Bessa Beernaert > wrote: > &

Re: [Openstack] [OpenStack][Nova]Problems and questions regarding network and/or routing

2012-09-04 Thread Leander Bessa Beernaert
Question follows inlined below. On Tue, Sep 4, 2012 at 6:48 PM, Vishvananda Ishaya wrote: > > On Sep 4, 2012, at 8:35 AM, Leander Bessa Beernaert > wrote: > > Hello all, > > I've had a few reports from users testing out the sample installation of > OpenStack

[Openstack] [OpenStack][Nova]Problems and questions regarding network and/or routing

2012-09-04 Thread Leander Bessa Beernaert
Hello all, I've had a few reports from users testing out the sample installation of OpenStack i setup. The reports were all related to problems with inter-vm network speeds and connection timeouts as well as the inability to connect to the outside word from within the VM (e.g.: ping www.google.co

Re: [Openstack] Live Migration with libvirtError

2012-08-09 Thread Leander Bessa Beernaert
Hello, I'm no expert on the subject, but i think you should just use "mount -t nfs 172.18.32.7:/ /var/lib/nova/instances" instead of "mount -t nfs 172.18.32.7: /var/lib/nova/instances /var/lib/nova/instances". Also from the stack trace it seems your libvirtd is not running. On Thu, Aug 9, 2012 at

Re: [Openstack] [OpenStack][Nova] Question regarding multiple network interfaces

2012-08-08 Thread Leander Bessa Beernaert
o 1 > /proc/sys/net/ipv4/ip_forward > > Then edit your /etc/sysctl.conf and uncomment net.ipv4.ip_forward=1 to > make this persistent after reboot. > > Finally run --> # sysctl -p > > That's all, cheers! > > > On Tue, Aug 7, 2012 at 11:50 PM, Leander Bessa Be

Re: [Openstack] [OpenStack][Nova] Question regarding multiple network interfaces

2012-08-07 Thread Leander Bessa Beernaert
4 forwarding on the compute > node. Thanks to this the VMs will have access to the outside world and > the packet will be routed from eth1 to eth0 :). > > Cheers! > > On Tue, Aug 7, 2012 at 5:18 PM, Leander Bessa Beernaert > wrote: > > Hello, > > > > I have a q

[Openstack] [OpenStack][Nova] Question regarding multiple network interfaces

2012-08-07 Thread Leander Bessa Beernaert
Hello, I have a question regarding the use of two network interfaces. According to the official documentation, one of the interfaces is used for public access and the other for internal access (inter-vm communication). What i'd like to know is how does an instance connect to the outside world (int

Re: [Openstack] [OpenStack][Nova] Live Migration Error

2012-07-10 Thread Leander Bessa Beernaert
Ok. Thx for the help :) On Tue, Jul 10, 2012 at 11:30 AM, Sébastien Han wrote: > It's production ready, RedHat offers a commercial support on it. > Just keep in mind that it's owned by Redhat ;) > > > > On Tue, Jul 10, 2012 at 12:24 PM, Leander Bessa Beernaert &l

Re: [Openstack] [OpenStack][Nova] Live Migration Error

2012-07-10 Thread Leander Bessa Beernaert
t; with NFS once but it was in Diablo (horrible), I don't really remember my > setup. Maybe you should consider to try GlusterFS. > > > On Tue, Jul 10, 2012 at 12:07 PM, Leander Bessa Beernaert < > leande...@gmail.com> wrote: > >> That did! Thanks :) >> >&

Re: [Openstack] [OpenStack][Nova] Live Migration Error

2012-07-10 Thread Leander Bessa Beernaert
esults :) > > > > On Tue, Jul 10, 2012 at 11:52 AM, Leander Bessa Beernaert < > leande...@gmail.com> wrote: > >> If i don't run libvirt with root, it can't write to the shared folder. >> It's the only way i've been able to get this to work. :S >

Re: [Openstack] [OpenStack][Nova] Live Migration Error

2012-07-10 Thread Leander Bessa Beernaert
t; find 'pm-is-supported' in path: No such file or directory >> >> >> This error is harmless and can be easily solved by installing the >> following package: >> >> sudo apt-get install pm-utils -y >> >> >> Do you have something in the

Re: [Openstack] [OpenStack][Nova] Live Migration Error

2012-07-10 Thread Leander Bessa Beernaert
; is the instance still running on the first node while you are lauching the > migration process ? > > Razique > *Nuage & Co - Razique Mahroua** * > razique.mahr...@gmail.com > > > Le 9 juil. 2012 à 16:09, Leander Bessa Beernaert a écrit : > > Ok, so i've up

Re: [Openstack] [OpenStack][Nova] Live Migration Error

2012-07-09 Thread Leander Bessa Beernaert
ot; in destination compute log, so migration at > least started. > > Since there are no errors in either compute log, is it possible that > migration is taking long ? (Just a possibility) > When you say "migration fails" what error did you get ? > > -Mandar >

Re: [Openstack] [OpenStack][Nova] Live Migration Error

2012-07-09 Thread Leander Bessa Beernaert
19319/ and the destination compute node: http://paste.openstack.org/show/19318/ . The scheduler's log has no visible errors or stack traces. I'm still using nfsv4. Any ideas? On Fri, Jul 6, 2012 at 7:57 PM, Leander Bessa Beernaert wrote: > Thanks for the tip, it's a better than

Re: [Openstack] [OpenStack][Nova] Live Migration Error

2012-07-06 Thread Leander Bessa Beernaert
t; -Mandar > > > On Fri, Jul 6, 2012 at 3:26 PM, Leander Bessa Beernaert < > leande...@gmail.com> wrote: > >> Hello, >> >> I've recently setup a system to test out the live migration feature. So >> far i've been able to launch the instances with

Re: [Openstack] 答复: [OpenStack][Nova] Live Migration + NFSv4 - Permission issues

2012-07-06 Thread Leander Bessa Beernaert
I'm still using nfsv4 so far, still haven't tried with nfs3. I will give it shot on monday though. On Fri, Jul 6, 2012 at 6:24 PM, Anne Gentle wrote: > Sure, please make a doc bug at > http://bugs.launchpad.net/Openstack-manuals and we'll triage it by > linking to the conclusions posted here. >

Re: [Openstack] [OpenStack][Nova] Help with libvirt unit-test - get_diagnostics command

2012-07-06 Thread Leander Bessa Beernaert
libvirt/diagnostics.py", line 97, in > get_diagnostics > import libvirt > ImportError: No module named libvirt On Fri, Jul 6, 2012 at 1:11 PM, Daniel P. Berrange wrote: > On Fri, Jul 06, 2012 at 11:59:51AM +0100, Leander Bessa Beernaert wrote: > > Hello, > > > >

[Openstack] [OpenStack][Nova] Help with libvirt unit-test - get_diagnostics command

2012-07-06 Thread Leander Bessa Beernaert
Hello, I've been working on implementing the "diagnostics" command for libvirt - https://review.openstack.org/#/c/8839/ . Now i need to create the unit test for this new operation. I've been looking at the code to try and figure out an easy way to replicate this, but i'm a bit lost. What i need t

[Openstack] [OpenStack][Nova] Live Migration Error

2012-07-06 Thread Leander Bessa Beernaert
Hello, I've recently setup a system to test out the live migration feature. So far i've been able to launch the instances with the shared nfs folder. However, when i run the live-migration command i encounter this error in the destination compute node: 2012-07-05 09:33:48 ERROR nova.manager [-] E

Re: [Openstack] 答复: [OpenStack][Nova] Live Migration + NFSv4 - Permission issues

2012-07-05 Thread Leander Bessa Beernaert
file > or directory” after modify factors of libvirt, also use NFS as share > storage. > > ** ** > > Romi > > ** ** > > ** ** > > *发件人:* openstack-bounces+romizhang1968=163@lists.launchpad.net[mailto: > openstack-bounces+romizhang1968=163@

Re: [Openstack] [OpenStack][Nova] Live Migration + NFSv4 - Permission issues

2012-07-04 Thread Leander Bessa Beernaert
drwxr-xr-x 2 nova nova 4096 Jun 25 20:11 keys > drwxr-xr-x 2 nova nova 4096 Jun 25 20:11 networks > -rw--- 1 nova nova 104448 Jul 3 13:13 nova.sqlite > drwxr-xr-x 2 nova nova 4096 Jun 25 20:11 tmp On Wed, Jul 4, 2012 at 4:35 PM, Daniel P. Berrange wrote: > On Wed, Jul 04,

Re: [Openstack] [OpenStack][Nova] Live Migration + NFSv4 - Permission issues

2012-07-04 Thread Leander Bessa Beernaert
Ok. so i have added the option you mentioned, restarted nfs and remounted on the compute nodes. Now i get this error: http://paste.openstack.org/show/19260/ :S On Wed, Jul 4, 2012 at 4:18 PM, Daniel P. Berrange wrote: > On Tue, Jul 03, 2012 at 02:48:05PM +0100, Leander Bessa Beernaert wr

Re: [Openstack] [OpenStack][Nova] Live Migration + NFSv4 - Permission issues

2012-07-04 Thread Leander Bessa Beernaert
Shouldn't libvirt have write permission in a nova directory, since it's executed by root? On Tue, Jul 3, 2012 at 4:51 PM, Leander Bessa Beernaert wrote: > Still the same problem :S > > > On Tue, Jul 3, 2012 at 4:46 PM, Marnus van Niekerk wrote: > >> Have you trie

Re: [Openstack] [OpenStack][Nova] Live Migration + NFSv4 - Permission issues

2012-07-03 Thread Leander Bessa Beernaert
Still the same problem :S On Tue, Jul 3, 2012 at 4:46 PM, Marnus van Niekerk wrote: > Have you tried setting the ownership of /var/lib/nova/instances to the > nova user? > > sudo chown -R nova:nova /var/lib/nova/instances > > M > > > On 03/07/2012 15:48, Le

Re: [Openstack] [OpenStack][Nova] Live Migration + NFSv4 - Permission issues

2012-07-03 Thread Leander Bessa Beernaert
Here's an output from ls -l: drwxr-xr-x 3 nova nova 4096 Jul 3 14:10 instances On Tue, Jul 3, 2012 at 4:25 PM, Leander Bessa Beernaert wrote: > Currently it's using the default permission. Everything belongs to user > "nova" and the group "nova".

Re: [Openstack] [OpenStack][Nova] Live Migration + NFSv4 - Permission issues

2012-07-03 Thread Leander Bessa Beernaert
Currently it's using the default permission. Everything belongs to user "nova" and the group "nova". On Tue, Jul 3, 2012 at 4:23 PM, Sébastien Han wrote: > Which permissions did you set on /var/lib/nova/instances? > > > On Tue, Jul 3, 2012 at 3:48 P

[Openstack] [OpenStack][Nova] Live Migration + NFSv4 - Permission issues

2012-07-03 Thread Leander Bessa Beernaert
Hello all, I've been trying to get the live migration to work according to the guide http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-live-migrations.html. So far i've setup 2 compute nodes and 1 controller node. They all share the /var/lib/nova/instances dir. I've alre

Re: [Openstack] [OpenStack][Nova] Issues with "run_tests.sh", no tests are run when "import libvirt is present"

2012-07-02 Thread Leander Bessa Beernaert
rt installed, and it needs to run it and pass if you do. > > Jenkins is going to run "tox -v -epy27" and then eventually also "tox -v > -efull" - so make sure both of those work and you'll be set. > > Monty > > On 07/02/2012 10:30 AM, Leander Bessa Beernae

Re: [Openstack] [OpenStack][Nova] Issues with "run_tests.sh", no tests are run when "import libvirt is present"

2012-07-02 Thread Leander Bessa Beernaert
Running with " ./run_tests.sh -N nova.tests.test_libvirt" works just fine, however i don't know if this is enough to get it past jenkins :/ On Mon, Jul 2, 2012 at 3:26 PM, Daniel P. Berrange wrote: > On Mon, Jul 02, 2012 at 01:43:31PM +0100, Leander Bessa Beernaert wrote: &g

Re: [Openstack] [OpenStack][Nova] Issues with "run_tests.sh", no tests are run when "import libvirt is present"

2012-07-02 Thread Leander Bessa Beernaert
@Jay Thx. @Monty I'm unable to run "tox -efull", it keeps saying the command could not be located. I'm supposed to run this from the same place i run "run_tests.sh" right? On Mon, Jul 2, 2012 at 2:08 PM, Jay Pipes wrote: > On 07/02/2012 08:57 AM, Leand

Re: [Openstack] [OpenStack][Nova] Issues with "run_tests.sh", no tests are run when "import libvirt is present"

2012-07-02 Thread Leander Bessa Beernaert
r wrote: > > > On 07/02/2012 08:43 AM, Leander Bessa Beernaert wrote: > > So, if no system packages can be imported, how do you test the > > "connection" class for the libvirt driver? > > We're working on that - but as I said, please try running tox -

Re: [Openstack] [OpenStack][Nova] Issues with "run_tests.sh", no tests are run when "import libvirt is present"

2012-07-02 Thread Leander Bessa Beernaert
der On Mon, Jul 2, 2012 at 1:27 PM, Monty Taylor wrote: > > > On 07/02/2012 06:02 AM, Leander Bessa Beernaert wrote: > > Thanks, that let me see the real problem now: > > > > ./tools/with_venv.sh nosetests -svx nova > > nose.config: INFO: Set working dir t

Re: [Openstack] [OpenStack][Nova] Issues with "run_tests.sh", no tests are run when "import libvirt is present"

2012-07-02 Thread Leander Bessa Beernaert
est runner) sometimes either throwing errors > (particularly errors raised by nosetests) away and/or coming up with a > different set of skip tests than when running just with nosetests. > > So, I'd recommend running just this: > > ./tools/with_venv.sh nosetests -svx nova > &

[Openstack] [OpenStack][Nova] Issues with "run_tests.sh", no tests are run when "import libvirt is present"

2012-06-29 Thread Leander Bessa Beernaert
Hello, I'm sorry to restart the topic ( https://lists.launchpad.net/openstack/msg13621.html), but i accidentally deleted the message in my inbox :S. I'm still having the same problem, each time i add "import libvirt" to the file "diangostics.py" (https://review.openstack.org/#/c/8839/) the entire

Re: [Openstack] [OpenStack][Nova] Possible inconsistency between devstack/nova execution and test_virt_drivers.py

2012-06-28 Thread Leander Bessa Beernaert
Ok. I will add the required methods to the fakelbvirt. Regards, Leander On Wed, Jun 27, 2012 at 4:50 PM, Jay Pipes wrote: > On 06/27/2012 10:17 AM, Leander Bessa Beernaert wrote: > > > How do I proceed now? Should i ate the required methods to the >> fake_libvirt? Do not

Re: [Openstack] [OpenStack][Nova] Snapshot stuck in Queued state, no erros found in compute log

2012-06-27 Thread Leander Bessa Beernaert
ack or devstack's PXE images), then you can remedy > the situation using a bit of a hack: > > ln -s /tmp /some/mount/with/space > > Best, > -jay > > > On 06/27/2012 08:52 AM, Leander Bessa Beernaert wrote: > >> I've tried to snapshot again today and i fo

Re: [Openstack] [OpenStack][Nova] Possible inconsistency between devstack/nova execution and test_virt_drivers.py

2012-06-27 Thread Leander Bessa Beernaert
7;memoryParameters', 'memoryPeek', 'memoryStats', 'migrate', 'migrate2', > 'migrateGetMaxSpeed', 'migrateSetMaxDowntime', 'migrateSetMaxSpeed', > 'migrateToURI', 'migrateToURI2', 'name',

Re: [Openstack] [OpenStack][Nova] Snapshot stuck in Queued state, no erros found in compute log

2012-06-27 Thread Leander Bessa Beernaert
I've tried to snapshot again today and i found this error in the compute.log: http://paste.openstack.org/show/18882/ Any ideas? On Tue, Jun 26, 2012 at 9:26 AM, Leander Bessa Beernaert < leande...@gmail.com> wrote: > I can't find any error traces in the glance api and registr

Re: [Openstack] [OpenStack][Nova] No tests available in custom branch

2012-06-26 Thread Leander Bessa Beernaert
> On Tue, 2012-06-26 at 16:33 +0100, Leander Bessa Beernaert wrote: > > I'm not calling run_tests.sh from the nova subdirectory. I'm saying > > that from the location where nova_tests.sh is located, i can import > > connection.py. > > However, when i try to im

Re: [Openstack] [OpenStack][Nova] No tests available in custom branch

2012-06-26 Thread Leander Bessa Beernaert
s int that directory perfectly, except connection.py. On Tue, Jun 26, 2012 at 4:28 PM, Kevin L. Mitchell < kevin.mitch...@rackspace.com> wrote: > On Tue, 2012-06-26 at 16:21 +0100, Leander Bessa Beernaert wrote: > > It works from the top level, but fails if i try to import it directly &g

Re: [Openstack] [OpenStack][Nova] No tests available in custom branch

2012-06-26 Thread Leander Bessa Beernaert
It works from the top level, but fails if i try to import it directly from the same dir (nova/virt/libvirt). The other files there import just fine :/ On Tue, Jun 26, 2012 at 4:17 PM, Kevin L. Mitchell < kevin.mitch...@rackspace.com> wrote: > On Tue, 2012-06-26 at 16:05 +0100, Lean

Re: [Openstack] [OpenStack][Nova] No tests available in custom branch

2012-06-26 Thread Leander Bessa Beernaert
till keeps failing :s On Tue, Jun 26, 2012 at 3:56 PM, Kevin L. Mitchell < kevin.mitch...@rackspace.com> wrote: > On Tue, 2012-06-26 at 15:50 +0100, Leander Bessa Beernaert wrote: > > I've successfully imported the diagnostics.py in the interpreter, so > > that can'

Re: [Openstack] [OpenStack][Nova] No tests available in custom branch

2012-06-26 Thread Leander Bessa Beernaert
I've successfully imported the diagnostics.py in the interpreter, so that can't be the problem. On Tue, Jun 26, 2012 at 3:40 PM, Kevin L. Mitchell < kevin.mitch...@rackspace.com> wrote: > On Tue, 2012-06-26 at 09:36 +0100, Leander Bessa Beernaert wrote: > > Any ideas? &g

Re: [Openstack] Nova image-list error

2012-06-26 Thread Leander Bessa Beernaert
Execute the command with --debug and post the output. On Tue, Jun 26, 2012 at 10:54 AM, Trinath Somanchi < trinath.soman...@gmail.com> wrote: > Hi- > > I have uploaded an image using glance. " $> glance index " command has > given the output. > > But nova image-list is giving me error. > > roo

Re: [Openstack] [OpenStack][Nova] No tests available in custom branch

2012-06-26 Thread Leander Bessa Beernaert
I'v tried doing those modifications directly on the master branch, just to see if the tests would run. Sadly, i get the same output. Am i supposed to change something when adding new files before running the tests? On Tue, Jun 26, 2012 at 9:36 AM, Leander Bessa Beernaert < leande...@g

Re: [Openstack] [OpenStack][Nova] No tests available in custom branch

2012-06-26 Thread Leander Bessa Beernaert
ance check... > 4 imports missing in this test environment Any ideas? On Mon, Jun 25, 2012 at 7:01 PM, Kevin L. Mitchell < kevin.mitch...@rackspace.com> wrote: > On Mon, 2012-06-25 at 16:56 +0100, Leander Bessa Beernaert wrote: > > Here's the diff http://paste.openstack.org/show

Re: [Openstack] [OpenStack][Nova] Multi-host ip mix up.

2012-06-26 Thread Leander Bessa Beernaert
check for > security group rules, then start doing tcpdump to see where you are losing > packets. > > Vish > > On Jun 25, 2012, at 9:08 AM, Leander Bessa Beernaert wrote: > > Hello, > > I've setup OpenStack with a multi-host configuration. Everything appears >

Re: [Openstack] [OpenStack][Nova] Snapshot stuck in Queued state, no erros found in compute log

2012-06-26 Thread Leander Bessa Beernaert
; related. > > Vish > > On Jun 25, 2012, at 3:50 AM, Leander Bessa Beernaert wrote: > > Hello, > > I've performed snapshots over and over without ever running into trouble, > however now one of them is stuck in the Queued state. I've searched the > machine'

[Openstack] [OpenStack][Nova] Multi-host ip mix up.

2012-06-25 Thread Leander Bessa Beernaert
Hello, I've setup OpenStack with a multi-host configuration. Everything appears to be working fine. However, when i launch an instance, it get's assigned an ip (10.0.9.3) and when i ping that IP i get this output: > ping 10.0.9.3 > PING 10.0.9.3 (10.0.9.3) 56(84) bytes of data. > From 10.0.9.5 ic

Re: [Openstack] [OpenStack][Nova] No tests available in custom branch

2012-06-25 Thread Leander Bessa Beernaert
at? > > Brian > > > > On Jun 25, 2012, at 7:03 AM, Leander Bessa Beernaert wrote: > > I've just added a new file and added a new method in the connection.py of > libvirt. Those are the changes i made, surely they haven' screwed up the > test system :/

Re: [Openstack] [OpenStack][Nova] Possible inconsistency between devstack/nova execution and test_virt_drivers.py

2012-06-25 Thread Leander Bessa Beernaert
plied by the test is different than the one i'm currently receiving. Now, i'm unsure which data type i should except from the get_diagnostics method. On Mon, Jun 25, 2012 at 4:01 PM, Sean Dague wrote: > On 06/25/2012 10:41 AM, Leander Bessa Beernaert wrote: > >> Hello, >> >

Re: [Openstack] [OpenStack][Nova] Possible inconsistency between devstack/nova execution and test_virt_drivers.py

2012-06-25 Thread Leander Bessa Beernaert
, 2012 at 4:10 PM, Jay Pipes wrote: > You are not returning the data in the test method, whereas you are in the > real method :) > > -jay > > > On 06/25/2012 10:44 AM, Leander Bessa Beernaert wrote: > >> Sorry, forgot to add the code: >> >> *Th

Re: [Openstack] [OpenStack][Nova] Possible inconsistency between devstack/nova execution and test_virt_drivers.py

2012-06-25 Thread Leander Bessa Beernaert
stics(self): instance_ref, network_info = self._get_running_instance() self.connection.get_diagnostics(instance_ref['name']) On Mon, Jun 25, 2012 at 3:41 PM, Leander Bessa Beernaert < leande...@gmail.com> wrote: > Hello, > > I'm working on the diagnostics method for

[Openstack] [OpenStack][Nova] Possible inconsistency between devstack/nova execution and test_virt_drivers.py

2012-06-25 Thread Leander Bessa Beernaert
Hello, I'm working on the diagnostics method for libvirt. I've successfully managed to test it while running it manually and with devstack. However, the test case in test_virt_drivers.py fails since it supplies a different data type to the method. Could it be possible that there's a certain misma

Re: [Openstack] [OpenStack][Nova] No tests available in custom branch

2012-06-25 Thread Leander Bessa Beernaert
must be due to some changes > in your own branch. > > Thanks, > > Joseph > > > (w) 703-248-6160 > (c) 571-340-2434 > (f) 703-812-3712 > 3811 N. Fairfax Drive Suite 200 > Arlington, VA, 22203, USA > http://www.east.isi.edu/~jsuh > > - Original Me

Re: [Openstack] [OpenStack][Nova] No tests available in custom branch

2012-06-25 Thread Leander Bessa Beernaert
> (f) 703-812-3712 > 3811 N. Fairfax Drive Suite 200 > Arlington, VA, 22203, USA > http://www.east.isi.edu/~jsuh > > - Original Message - > From: "Leander Bessa Beernaert" > To: openstack@lists.launchpad.net > Sent: Monday, June 25, 2012 9:13:43 AM > Subje

[Openstack] [OpenStack][Swift] Global data backup, possible or not?

2012-06-25 Thread Leander Bessa Beernaert
Hello, I've been tasked with finding out if Swift has any means of performing a consistent global backup of all the information stored, which then could easily be restored in case of failure. I've been reading the documentation and these are my conclusions so far are: - Swift maintains a copy of

  1   2   3   >