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

2013-01-15 Thread Leander Bessa Beernaert
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 leande...@gmail.com wrote: Neither keystone nor swift proxy

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

2013-01-15 Thread Leander Bessa Beernaert
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 the lastest version available in GitHub and I'm still not getting any speedups

[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

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'm trying to upload 200GB of 200KB

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...@gmail.com wrote: Hello

[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
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 right?

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
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 separate

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/help. Regards

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

2013-01-14 Thread Leander Bessa Beernaert
to saturate pushing 200k files around. -- Chuck On Mon, Jan 14, 2013 at 10:15 AM, Leander Bessa Beernaert leande...@gmail.com wrote: 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

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

2013-01-14 Thread Leander Bessa Beernaert
be delayed 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 Bessa Beernaert leande

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

2013-01-14 Thread Leander Bessa Beernaert
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 leande...@gmail.com wrote: Hello all, I've come to realize that my swift storage partitions are setup with the wrong node size

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

2013-01-14 Thread Leander Bessa Beernaert
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 leande...@gmail.com wrote: I'm currently using the swift client to upload files, would you recommend another

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

2013-01-14 Thread Leander Bessa Beernaert
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, Leander Bessa Beernaert leande...@gmail.com wrote: I currently have 4 machines running 10

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 cth...@gmail.com wrote: On Mon, Jan 14, 2013 at 11:03 AM, Leander Bessa Beernaert leande...@gmail.com wrote: Also, I'm unable to run the swift-bench with keystone. Hrm

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 leande

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

2013-01-14 Thread Leander Bessa Beernaert
that 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 leande...@gmail.com wrote: Below is an output from Swift stat, since I don't see any requests to keystone, I'm assuming that memcache

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

2013-01-08 Thread Leander Bessa Beernaert
...@chmouel.comwrote: 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, I'm having an issue when using the Python API

[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 s...@swiftstack.com 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 run a few benchmarks on a set

[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]

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

2013-01-03 Thread Leander Bessa Beernaert
at 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 Beernaert leande

[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

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

2013-01-02 Thread Leander Bessa Beernaert
, 2013 at 3:47 PM, Leander Bessa Beernaert leande...@gmail.com wrote: # /etc/tgt/conf.d/cinder_tgt.conf nclude /var/lib/cinder/volumes/* Regards, Leander ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net

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. On Wed, Jan 2, 2013 at 10:41 AM, Balamurugan V G balamuruga

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

2013-01-02 Thread Leander Bessa Beernaert
file instead of *. Pierre FREUND 2013/1/2 Leander Bessa Beernaert leande...@gmail.com I've already tried restarting all cinder services and tgt, the error still remains. Thanks for the help though. Regards, Leander On Wed, Jan 2, 2013 at 11:08 AM, Balamurugan V G balamuruga

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 pierre.fre...@gmail.comwrote: include /var/lib/cinder/volumes/* ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe :

[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

[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

[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

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 leande...@gmail.com wrote: Hello all, I'm unable to start glance. I upgraded it from Essex

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 leande...@gmail.com wrote: Hello, I have just installed the Folsom

[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

[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?

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 cloud pipe for OpenStack. I'm running

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

2012-09-06 Thread Leander Bessa Beernaert
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 *Subject:* Re: [Openstack] [OpenStack][Nova]Problems

[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

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

2012-09-05 Thread Leander Bessa Beernaert
such 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 vishvana...@gmail.comwrote: On Sep 4, 2012, at 3:01 PM, Leander Bessa Beernaert leande

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

2012-09-05 Thread Leander Bessa Beernaert
-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 *To:* Vishvananda Ishaya *Cc:* openstack@lists.launchpad.net *Subject:* Re: [Openstack

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 leande...@gmail.com 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, George Mihaiescu

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
/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 Beernaert leande...@gmail.com wrote: Is there a flag

[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

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

2012-08-07 Thread Leander Bessa Beernaert
the ipv4 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 leande...@gmail.com wrote: Hello, I have a question regarding the use

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

2012-07-10 Thread Leander Bessa Beernaert
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 updated to the test packages from The migration still fails, but i see no errors in the logs

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

2012-07-10 Thread Leander Bessa Beernaert
-get install pm-utils -y Do you have something in the nova-scheduler logs? Cheers! On Tue, Jul 10, 2012 at 11:29 AM, Leander Bessa Beernaert leande...@gmail.com wrote: Well i've checked the libvirt logs on both nodes and i found these two lines: 2012-07-09 13:58:27.179+: 10227

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

2012-07-10 Thread Leander Bessa Beernaert
better results :) 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 Below follows the configuration of one of the compute nodes

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

2012-07-10 Thread Leander Bessa Beernaert
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 :) Do you by change have any pointer on getting the live

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 han.sebast...@gmail.comwrote: 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 leande

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

2012-07-09 Thread Leander Bessa Beernaert
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 On Mon, Jul 9, 2012 at 7:39 PM, Leander Bessa Beernaert leande...@gmail.com wrote: Ok

[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 [-]

[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 to

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

2012-07-06 Thread Leander Bessa Beernaert
at 1:11 PM, Daniel P. Berrange berra...@redhat.comwrote: On Fri, Jul 06, 2012 at 11:59:51AM +0100, Leander Bessa Beernaert wrote: 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

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 anne.gen...@rackspace.comwrote: Sure, please make a doc bug at http://bugs.launchpad.net/Openstack-manuals and we'll triage it by linking to the

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

2012-07-06 Thread Leander Bessa Beernaert
. This used to cause some problem. It looks like you are using distribution package rather than devstack installation, so it is likely that the issue is now fixed. Can you try latest packages (and/or try devstack if you can) I wish I could help more. -Mandar On Fri, Jul 6, 2012 at 3:26 PM, Leander

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

2012-07-05 Thread Leander Bessa Beernaert
[mailto: openstack-bounces+romizhang1968=163@lists.launchpad.net] *代表 *Mandar Vaze / ? ??? *发送时间:* 2012年7月5日 星期四 12:14 *收件人:* Leander Bessa Beernaert *抄送:* openstack@lists.launchpad.net *主题:* Re: [Openstack] [OpenStack][Nova] Live Migration + NFSv4 - Permission issues ** ** See

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 berra...@redhat.comwrote: On Tue, Jul 03, 2012 at 02:48:05PM +0100, Leander Bessa

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

2012-07-04 Thread Leander Bessa Beernaert
-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 berra...@redhat.comwrote: On Wed, Jul 04, 2012 at 04:24:42PM +0100, Leander Bessa Beernaert

[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

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 han.sebast...@gmail.comwrote: Which permissions did you set on /var/lib/nova/instances? On Tue, Jul 3, 2012 at 3:48 PM, Leander Bessa Beernaert

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 leande...@gmail.com wrote: Currently it's using the default permission. Everything belongs to user nova and the group nova. On Tue, Jul 3, 2012 at 4:23

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 m...@mjvn.net 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, Leander Bessa Beernaert wrote

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
suppressed by the openstack nose plugin. best, -jay On 06/29/2012 09:02 AM, Leander Bessa Beernaert wrote: Hello, I'm sorry to restart the topic (https://lists.launchpad.net/**openstack/msg13621.htmlhttps://lists.launchpad.net/openstack/msg13621.html), but i accidentally deleted

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
...@inaugust.com 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 to /home/gsd/nova/nova/tests nose.config: INFO: Working directory /home/gsd

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
...@inaugust.com 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 -efull which _should_ run tests with libvirt support

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 jaypi...@gmail.com wrote: On 07/02/2012 08:57 AM, Leander Bessa Beernaert wrote

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 berra...@redhat.comwrote: On Mon, Jul 02, 2012 at 01:43:31PM +0100, Leander Bessa Beernaert wrote: So

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
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 Beernaert wrote: 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

[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 jaypi...@gmail.com wrote: On 06/27/2012 10:17 AM, Leander Bessa Beernaert wrote: snip How do I proceed now? Should i ate the required methods to the fake_libvirt? Do note

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 registry log. On Mon, Jun

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

2012-06-27 Thread Leander Bessa Beernaert
methods which i can't test. :s On Mon, Jun 25, 2012 at 4:43 PM, Leander Bessa Beernaert leande...@gmail.com wrote: I've implemented a diagnostics method for libvirt. The code works perfectly with the devstack installation. However, when i run the test from run_tests.sh this happens: http

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

2012-06-27 Thread Leander Bessa Beernaert
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 found this error in the compute.log: http://paste.openstack.org/**show

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

2012-06-26 Thread Leander Bessa Beernaert
, 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 to be working fine. However, when i launch an instance, it get's assigned an ip

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...@gmail.com

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? My gut instinct is that you

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

2012-06-26 Thread Leander Bessa Beernaert
: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't be the problem. Then try importing the other file you

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, Leander Bessa

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

2012-06-26 Thread Leander Bessa Beernaert
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 from the same dir (nova/virt

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

2012-06-26 Thread Leander Bessa Beernaert
, 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 import connection.py from with cd=nova/virt/libvirt, it fails. The funny thing is i

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

2012-06-25 Thread Leander Bessa Beernaert
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's compute.log for any indication of an error, but nothing showed up. I did a quick search and usually the erros appear in the

[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

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

2012-06-25 Thread Leander Bessa Beernaert
, 22203, USA http://www.east.isi.edu/~jsuh - Original Message - From: Leander Bessa Beernaert leande...@gmail.com To: openstack@lists.launchpad.net Sent: Monday, June 25, 2012 9:13:43 AM Subject: [Openstack] [OpenStack][Nova] No tests available in custom branch Hello, I've created

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

2012-06-25 Thread Leander Bessa Beernaert
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 Message - From: Leander Bessa Beernaert leande...@gmail.com

[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

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

2012-06-25 Thread Leander Bessa Beernaert
): 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 libvirt. I've successfully managed to test

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 jaypi...@gmail.com 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: *This is my method (this worked with devstack

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

2012-06-25 Thread Leander Bessa Beernaert
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 sda...@linux.vnet.ibm.comwrote: On 06/25/2012 10:41 AM, Leander Bessa Beernaert wrote: Hello, I'm working on the diagnostics

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

2012-06-25 Thread Leander Bessa Beernaert
a look 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 :/ On Mon, Jun 25, 2012 at 3:00 PM, Joseph Suh j

[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

[Openstack] [OpenStack][Nova] Can't access the outside from inside my instances.

2012-06-06 Thread Leander Bessa Beernaert
Hello, I'm having trouble accessing the outside world from within my instances. For instance, i can ping other instances on my network but i am unable to ping www.google.com. Any ideas? Regards, Leander ___ Mailing list:

Re: [Openstack] [OpenStack][Nova] Can't access the outside from inside my instances.

2012-06-06 Thread Leander Bessa Beernaert
0.0.0.0 255.255.255.192 U 0 0 0 eth0 Do you have multinode configuration ? if all services on one node, do you have ip_forward enabled? sysctl net.ipv4.ip_forward I have one controller node and 4 compute nodes. On Wed, Jun 6, 2012 at 5:16 PM, Leander Bessa

Re: [Openstack] [OpenStack][Nova] Can't access the outside from inside my instances.

2012-06-06 Thread Leander Bessa Beernaert
I turned out to be a routing problem with the vlan configuration i was using. Thanks for the help nonetheless! Regards, Leander On Wed, Jun 6, 2012 at 2:50 PM, Leander Bessa Beernaert leande...@gmail.com wrote: On the host node, the value of /proc/sys/net/ipv4/ip_forward is 1. On Wed

Re: [Openstack] [Nova] Instances which use flavors with disk space fail to spawn

2012-05-31 Thread Leander Bessa Beernaert
change the commit ratio using the config option ram_allocation_ratio Vish On May 30, 2012, at 2:31 AM, Leander Bessa Beernaert wrote: I'm using the filter scheduler. On Wed, May 30, 2012 at 5:44 AM, Vaze, Mandar mandar.v...@nttdata.comwrote: I'm a bit disappointed that the request even

[Openstack] [OpenStack][Nova][libvirt] libvirtError: Unable to read from monitor: Connection reset by peer

2012-05-31 Thread Leander Bessa Beernaert
Hello, I'm having the following output http://paste.openstack.org/show/18275/ when i try to run an instance on another compute node. I have no idea why this is happening. I'm using the m1.tiny flavor for testing purposes. I have 3 separate compute nodes and one all-in-one node , 4 compute nodes

Re: [Openstack] [OpenStack][Nova][libvirt] libvirtError: Unable to read from monitor: Connection reset by peer

2012-05-31 Thread Leander Bessa Beernaert
I think this solved it: https://answers.launchpad.net/nova/+question/198270 On Thu, May 31, 2012 at 5:29 PM, Leander Bessa Beernaert leande...@gmail.com wrote: Hello, I'm having the following output http://paste.openstack.org/show/18275/ when i try to run an instance on another compute node

Re: [Openstack] [Nova] Instances which use flavors with disk space fail to spawn

2012-05-30 Thread Leander Bessa Beernaert
, as the scheduler *should* already know the memory exceeds the available memory on the box. Best, -jay On 05/29/2012 11:07 AM, Leander Bessa Beernaert wrote: For anyone interested, i've figured out that the instances were not getting spawned because the amount of memory in the flavor

Re: [Openstack] [Nova] Instances which use flavors with disk space fail to spawn

2012-05-30 Thread Leander Bessa Beernaert
Bug submitted: https://bugs.launchpad.net/nova/+bug/1006322 On Wed, May 30, 2012 at 10:31 AM, Leander Bessa Beernaert leande...@gmail.com wrote: I'm using the filter scheduler. On Wed, May 30, 2012 at 5:44 AM, Vaze, Mandar mandar.v...@nttdata.comwrote: I'm a bit disappointed

[Openstack] [OpenStack][Horizon] Can't list users

2012-05-30 Thread Leander Bessa Beernaert
Hello, I'm unable to list users in the openstack dashboard. I'm using the packages provided with ubuntu 12.04. Here's the log outputted by horizon: http://paste.openstack.org/show/18228/ Regards, Leander ___ Mailing list:

  1   2   >