Re: [Openstack] Swift Object Storage ACLs with KeyStone

2012-05-11 Thread Vishvananda Ishaya
I'm not totally sure about this, but you might have to use the project_id from keystone instead of the project_name when setting up acls. The same may be true of user_id. Vish On Fri, May 11, 2012 at 12:51 AM, 张家龙 zhan...@awcloud.com wrote: Hello, everyone. I encountered some problems

Re: [Openstack] Improving Xen support in the libvirt driver

2012-05-10 Thread Vishvananda Ishaya
On May 10, 2012, at 1:56 AM, Daniel P. Berrange wrote: On Thu, May 10, 2012 at 09:06:58AM +0100, Daniel P. Berrange wrote: I had a quick chat with Kevin Wolf who's the upstream QEMU qcow2 maintainer and he said that 64k is the current recommended cluster size for qcow2. Above this size,

Re: [Openstack] Improving Xen support in the libvirt driver

2012-05-10 Thread Vishvananda Ishaya
On May 9, 2012, at 10:08 PM, Jim Fehlig wrote: Hi, I've been tinkering with improving Xen support in the libvirt driver and wanted to discuss a few issues before submitting patches. Awesome! Even the latest upstream release of Xen (4.1.x) contains a rather old qemu, version 0.10.2,

Re: [Openstack] Floating IPs don't get dissociated after delete

2012-05-09 Thread Vishvananda Ishaya
This definitely sounds like a bug. Floating Ips should be automatically disassociated on delete Vish On May 9, 2012, at 8:26 AM, Steven Dake wrote: On 05/09/2012 07:20 AM, Bilel Msekni wrote: Hi , I am having this problem just like many others. Each time I delete a VM, the floating IP

Re: [Openstack] questions on the dynamic loading of virt drivers in nova

2012-05-09 Thread Vishvananda Ishaya
No this is mostly just legacy stuff that was never refactored. Vish On May 9, 2012 3:33 PM, Sean Dague sda...@linux.vnet.ibm.com wrote: I'm familiarizing myself with the nova code and trying to reconcile that while there is dynamic class based loading in ComputeManager using import_utils in

Re: [Openstack] 'nova flavor-list' fails with ERROR: string indices must be integers, not str, but 'nova-manage flavor list' succeeds.

2012-05-09 Thread Vishvananda Ishaya
Is there a traceback from nova-api? ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

Re: [Openstack] proposal for Russell Bryant to be added to Nova Core

2012-05-08 Thread Vishvananda Ishaya
More than a week has passed without -1s, and I count 7 votes. Welcome to core Russell! Vish On Apr 27, 2012, at 8:09 AM, Dan Prince wrote: Russell Bryant wrote the Nova Qpid rpc implementation and is a member of the Nova security team. He has been helping chipping away at reviews and

[Openstack] Nova Core Cleanup

2012-05-08 Thread Vishvananda Ishaya
Hey Everyone, There appear to be a number of people on nova-core that no longer have sufficient time to participate in reviews. In order to facilitate the review process, I'd like to remove some of these people and consider if we may need to add some new core members. By my count (from

Re: [Openstack] [Glance] Replication implementations

2012-05-08 Thread Vishvananda Ishaya
Alternatively, we could just consider the ec2 mapping layer to be global data that must be replicated somehow across the system. I don't think we can really ensure no collisions mapping from uuid - ec2_id deterministically, and I don't see a clear path forward when we do get a collision. Vish

Re: [Openstack] [Nova] Live migration libvirt authentication error.

2012-05-08 Thread Vishvananda Ishaya
I haven't tried sasl so hopefully someone else has an idea. I have sucessfully used qemu+ssh with ssh keys setup though. Vish On May 8, 2012, at 1:13 AM, Szymon Grzybowski wrote: Hey, I'm trying to migrate machine from HostA to HostB, but I have virtNetSASLSessionClientStart:484:

Re: [Openstack] Nova Core Cleanup

2012-05-08 Thread Vishvananda Ishaya
On May 8, 2012, at 3:19 PM, Brian Lamar wrote: I'll be the second to admit I haven't been doing a ton of reviews lately, but that doesn't mean I'm not dedicated to making the project the best it can be. That is not to say your email implies any judgement but I'd love a couple

Re: [Openstack] Provisioning performance in Essex

2012-05-07 Thread Vishvananda Ishaya
On May 6, 2012, at 11:48 PM, Salman A Baset wrote: Hello folks, I was looking into the provisioning process in OpenStack. If force_raw_images flag is set to False, the provisioning process looks like: (1) Copy the image (2) Create a copy of the copied image to an appropriate flavor

Re: [Openstack] Problem with security_groups quota exceeded.

2012-05-07 Thread Vishvananda Ishaya
Sorry for the confusion, but if you are using essex with keystone, you actually will need to use the tenant_id for your quota changes, not your tenant name. Nova has no way of mapping names to ids since that data is in keystone now. try nova-manage project quota tenant_id Vish On May 7, 2012,

[Openstack] [Nova] Blueprints for Folsom

2012-05-07 Thread Vishvananda Ishaya
Hello everyone, The number of blueprints for nova has gotten entirely out-of-hand. I've obsoleted about 40 blueprints and there are still about 150 blueprints for nova. Many of these are old, or represent features that are cool ideas, but haven't had any activity in a long time. I've

Re: [Openstack] Nova subsystem branches and feature branches

2012-05-04 Thread Vishvananda Ishaya
Apologies for top posting. Just wanted to say +1 This all makes sense to me. Vish On May 3, 2012, at 4:08 AM, Mark McLoughlin wrote: Hey, We discussed this during the baking area for features design summit session. I found that discussion fairly frustrating because there were so many of

Re: [Openstack] Any issue with pycurl?

2012-05-04 Thread Vishvananda Ishaya
unknown, but your httplib issues might be solved with from eventlet.green import httplib Vish On May 3, 2012, at 3:55 PM, Ken Thomas wrote: Hi all, We're working on a custom plugin where we make a web service call. We're having some issues with urllib2 and httplib that we're trying to

Re: [Openstack] Questions on VM Lifecycle

2012-05-04 Thread Vishvananda Ishaya
On May 3, 2012, at 4:50 PM, Mark Moseley wrote: * What is the right way to stop/start a persistent instance? So far I've been using 'nova boot' to start and 'nova delete' to stop. E.g.: nova boot --flavor=1 --image c5cecc17-295c-4ebc-9019-2ccc222d3f52 --key_name=key3 --nic

Re: [Openstack] [client] creating blueprints for the unified CLI project

2012-05-02 Thread Vishvananda Ishaya
going into interactive mode when no args are specified works well for virsh. Vish On May 1, 2012, at 8:08 PM, Doug Hellmann wrote: I thought having it run like that by default made sense, but if the list agrees we want a flag I'm happy to change it. On Tue, May 1, 2012 at 8:06 PM, Matt

Re: [Openstack] proposal for Russell Bryant to be added to Nova Core

2012-05-02 Thread Vishvananda Ishaya
+1 From me! On Apr 28, 2012, at 11:41 PM, Mark McLoughlin wrote: Definite +1 Mark. On Fri, 2012-04-27 at 11:09 -0400, Dan Prince wrote: Russell Bryant wrote the Nova Qpid rpc implementation and is a member of the Nova security team. He has been helping chipping away at reviews and

Re: [Openstack] Nova compute manager: trying to understand rationale for kpartx atop qemu-nbd

2012-05-02 Thread Vishvananda Ishaya
That seems like a reasonable approach. Would be nice to work with packagers to verify that the packages are properly installing nbd. I'm pretty sure i used kpartx because i didn't know about the max_part parameter. Vish On May 2, 2012, at 11:37 AM, Lee Schermerhorn wrote: With diablo plus

Re: [Openstack] Periodic clean-up of fixed_ip addresses in multi-host DHCP mode

2012-04-30 Thread Vishvananda Ishaya
Hey Phil. I think you have a case of old-coditis This was modified to properly query in multihost mode before the essex release: 996 def fixed_ip_disassociate_all_by_timeout(context, host, time): 997 session = get_session() 998 # NOTE(vish): only update fixed ips that belong to this

Re: [Openstack] nova-manage vpn run not available issue

2012-04-30 Thread Vishvananda Ishaya
the vpn commands were moved to apis and are now launched by the nova cli tool. As an admin user: nova cloudpipe-create project_id or using the api look for cloudpipe on: http://api.openstack.org/ On Apr 30, 2012, at 2:34 PM, Vijay wrote: Hello, I am trying to launch cloudpipe image. I

Re: [Openstack] [Nova] RPC API Versioning Prototype

2012-04-30 Thread Vishvananda Ishaya
Looking good. A few points: a) can we just do hasattr dispatch instead of isinstance. it seems more pythonic than forcing the use of the dispatcher base class b) it seems like we should make the dispatcher pick version 1.0 instead of failing if version is not passed in, that way a new

Re: [Openstack] Using VMWare ESXi with openstack

2012-04-26 Thread Vishvananda Ishaya
On Apr 25, 2012, at 7:44 PM, Michael March wrote: I just curious. Is anyone using the VMware functionality in OpenStack? I'm getting the feeling that it is more of a 'check box' thing of yeah, we have that hypervisor covered than something that's seriously being used. If my feeling is

Re: [Openstack] questions about IP addressing and network config

2012-04-26 Thread Vishvananda Ishaya
On Apr 25, 2012, at 7:31 PM, Jimmy Tsai wrote: Hi everyone, I'm running with Essex 2012.1, and have some questions about the nova network operation, 1. Is it possible manually assigned IP address to a launched instance, my situation is : after instance boot up (OS: CentOS 6.2), I

Re: [Openstack] database migration cleanup

2012-04-26 Thread Vishvananda Ishaya
+1. Might be nice to have some kind of test to verify that the new migration leaves the tables in exactly the same state as the old migrations. Vish On Apr 26, 2012, at 12:24 PM, Dan Prince wrote: The OpenStack Essex release had 82 database migrations. As these grow in number it seems

Re: [Openstack] raw or qcow2

2012-04-25 Thread Vishvananda Ishaya
of forcing raw for snapshots? On 4/24/12 3:51 PM, Vishvananda Ishaya vishvana...@gmail.com wrote: On Apr 17, 2012, at 2:04 AM, William Herry wrote: so, what changes should I make if I want use raw in openstack, I didn't find some configure option in nova.conf.sample I also try to modify

Re: [Openstack] raw or qcow2

2012-04-25 Thread Vishvananda Ishaya
On Apr 25, 2012, at 7:44 AM, Lorin Hochstein wrote: Since we're talking snapshots, quick doc-related snapshot questions: - Are snapshots only supported on qemu/kvm, or do they work with other hypervisors as well? (Does Xen support qcow2 images?) I was speaking about libvirt/kvm, but the

Re: [Openstack] Nova and external NFS

2012-04-25 Thread Vishvananda Ishaya
There was discussion on the list recently of a similar problem using nfs4. Perhaps their solution will work for you: http://www.mail-archive.com/openstack@lists.launchpad.net/msg09440.html Vish On Apr 25, 2012, at 8:18 AM, Sergio Ariel de la Campa Saiz wrote: Hello: I have found some

Re: [Openstack] Using Foreign Keys

2012-04-25 Thread Vishvananda Ishaya
The main issue is when the relevant tables are moved into a separate service a la quantum or cinder. We can't keep referential integrity across multiple databases, so the foreign keys in this case need to be removed. It leads to an odd situation when there is still an internal implementation

Re: [Openstack] How does everyone build OpenStack disk images?

2012-04-25 Thread Vishvananda Ishaya
IDEA: Add pxe boot support to nova (which seems interesting on its own!), and pxe boot from an installer image, then snapshot it. OR: Modify boot from iso image to allow the iso to attach separately (currently it replaces the root drive in KVM) so that you could boot from an iso but still

Re: [Openstack] Using VMWare ESXi with openstack

2012-04-25 Thread Vishvananda Ishaya
On Apr 25, 2012, at 7:22 PM, Atul Gosain wrote: Hi Thanks a lot for the responses. I still have some clarifications. Openstack documentation states (http://docs.openstack.org/trunk/openstack-compute/admin/content/hypervisor-configuration-basics.html) Hypervisor Configuration Basics

Re: [Openstack] raw or qcow2

2012-04-24 Thread Vishvananda Ishaya
On Apr 17, 2012, at 2:04 AM, William Herry wrote: so, what changes should I make if I want use raw in openstack, I didn't find some configure option in nova.conf.sample I also try to modify the source code in nova/virt/libvirt/utils.py, and didn't succeed I noticed that the type of

Re: [Openstack] Using Foreign Keys

2012-04-20 Thread Vishvananda Ishaya
On Apr 19, 2012, at 8:59 PM, Vaze, Mandar wrote: +1 for data integrity ... Here is an example that could use data integrity check : tenant information is managed in keystone DB ovs_quantum DB has tenant_id column for networks table. When I use stack.sh - it puts a string default in

Re: [Openstack] Ubuntu packaging - cactus, older releases

2012-04-20 Thread Vishvananda Ishaya
Not sure why it isn't working, but releases are also tagged on github: https://github.com/openstack/nova/tarball/2011.2 Vish On Apr 20, 2012, at 1:10 PM, Razique Mahroua wrote: Yah I see that... I've all the packages if you want to for Ubuntu server (Just made a copy of my /var/cache/apt/

Re: [Openstack] question about configuring FlatDHCPManager

2012-04-19 Thread Vishvananda Ishaya
unfortunately there is a bug where deleting a network does not delete associated fixed ips: https://bugs.launchpad.net/nova/+bug/754900 The fix has landed in trunk and is proposed for backport into stable/essex https://review.openstack.org/6664 To work around this issue, you will have to

Re: [Openstack] image_service=nova.image.s3.S3ImageService???

2012-04-19 Thread Vishvananda Ishaya
Correct, S3ImageService is a wrapper, you can't specify it in the image_service config option. Vish On Apr 19, 2012, at 8:31 AM, Lorin Hochstein wrote: I'm updating the documentation for this page:

Re: [Openstack] Unable to ping launched Instance

2012-04-15 Thread Vishvananda Ishaya
On Apr 14, 2012, at 10:27 PM, Marton Kiss wrote: In that case, check the libvirt type value /opt/stack/etc/nova/nova.conf, and check the value inside the log file of nova-compute after starting. M. Devstack puts conf files in /etc/nova/nova.conf now, just like most packages.

Re: [Openstack] The Scheduling feature when reboot the instance

2012-04-12 Thread Vishvananda Ishaya
No this does not exist. If you are going to overprovision ram, you should probably make sure that you have swap enabled on your host. Vish On Apr 12, 2012, at 4:10 AM, Văn Đình Phúc wrote: Hi. I'm using Openstack (2011.3

Re: [Openstack] minimal IaaS openstack installation FROM SOURCE on CentOS

2012-04-12 Thread Vishvananda Ishaya
Devstack just gained support for Fedora, so you could try using it. You might have to make some modifications, but it is just a shell script so it should be easy to read. (From devstack.org) try: git clone git://github.com/openstack-dev/devstack.git cd devstack; ./stack.sh On Apr 12, 2012, at

Re: [Openstack] The Scheduling feature when reboot the instance

2012-04-12 Thread Vishvananda Ishaya
: Vishvananda Ishaya [vishvana...@gmail.com] Gửi lúc : 12/04/2012 11:43 PM Gửi tới : openstack@lists.launchpad.net;vishvana...@gmail.com Chủ đề : Re: [Openstack] The Scheduling feature when reboot the instance No this does not exist. If you are going to overprovision ram, you should probably make

Re: [Openstack] Management API Blueprint

2012-04-11 Thread Vishvananda Ishaya
FYI there were existing blueprints covering some of this functionality here: https://blueprints.launchpad.net/nova/+spec/admin-cli https://blueprints.launchpad.net/nova/+spec/admin-service-actions I like the detailed features in the wiki. A few notes: a) managing one administrative api across

Re: [Openstack] DevStack stable/essex branch

2012-04-11 Thread Vishvananda Ishaya
Yay! Awesome work Dean! Monty/Jim: Has the ci infrastructure been updated to use the stable/essex branch for integration tests on the stable/essex merges? Vish On Apr 11, 2012, at 1:57 PM, Dean Troyer wrote: The stable/essex branch of DevStack has been created in GitHub

Re: [Openstack] [OpenStack] preallocation

2012-04-10 Thread Vishvananda Ishaya
flag (true | false) Take care, Lorin -- Lorin Hochstein Lead Architect - Cloud Services Nimbis Services, Inc. www.nimbisservices.com On Apr 10, 2012, at 1:32 AM, Vishvananda Ishaya wrote: You can disable using backing files with the following config: use_cow_images=false

Re: [Openstack] Image API v2 Draft 4

2012-04-10 Thread Vishvananda Ishaya
On Apr 10, 2012, at 2:26 AM, Thierry Carrez wrote: Jay Pipes wrote: I take it you didn't attend the glorious JSON debate of a couple of summits ago :-) Glorious it was indeed. I think the key quote was something like: Please don't bastardize my JSON with your XML crap According to my

Re: [Openstack] Metadata and File Injection (code summit session?)

2012-04-10 Thread Vishvananda Ishaya
On Apr 10, 2012, at 3:04 PM, Justin Santa Barbara wrote: Having the ability to read config data from a runtime changeable metadata server (rather then a config file on an injected disk) serves a use case I am interested in. The only problem is horizontal scalability of the metadata server

Re: [Openstack] Metadata and File Injection (code summit session?)

2012-04-10 Thread Vishvananda Ishaya
On Apr 10, 2012, at 4:24 PM, Justin Santa Barbara wrote: One advantage of a network metadata channel is it allows for communication with cloud provider services without having to put a key into the vm. In other words, the vm can be authenticated via its ipv6 address. Did you have a use

Re: [Openstack] [OpenStack] boot from iso image

2012-04-09 Thread Vishvananda Ishaya
Assuming you are using kvm, the iso replaces the root drive of the system, so the next disk will be the ephemeral drive. Are you sure the ephemeral drive in the flavor/instance_type isn't 20G? Vish On Apr 8, 2012, at 10:37 PM, William Herry wrote: Hi I am try the openstack's new feature

Re: [Openstack] [Nova] removing nova-direct-api

2012-04-09 Thread Vishvananda Ishaya
+1 to removal. I just tested to see if it still works, and due to our policy checking and loading objects before sending them into compute.api, it no longer functions. Probably wouldn't be too hard to fix it, but clearly no one is using it so lets axe it. Vish On Apr 9, 2012, at 11:19 AM,

Re: [Openstack] can not start VM instance with specific image

2012-04-05 Thread Vishvananda Ishaya
I would try this again. 1. Delete all instances on the host. 2. Clean out the _base directory. 3. Restart nova-compute 4. Try to run the instance again. If that doesn't work, I would suspect a bad sector on your hard drive that is getting reused. Vish On Apr 5, 2012, at 2:43 AM, yuanke wei

Re: [Openstack] nova-api start failed in multi_host compute nodes.

2012-04-03 Thread Vishvananda Ishaya
Your api-paste.ini is very out of date. Here is the section from the current version: # Metadata # [composite:metadata] use = egg:Paste#urlmap /: metaversions /latest: meta /1.0: meta /2007-01-19: meta /2007-03-01: meta /2007-08-29: meta /2007-10-10: meta /2007-12-15:

Re: [Openstack] Limit flavors to specific hosts

2012-04-03 Thread Vishvananda Ishaya
On Apr 3, 2012, at 6:45 AM, Day, Phil wrote: Hi John, Maybe the problem with host aggregates is that it too quickly became something that was linked to hypervisor capability, rather than being the more general mechanism of which one form of aggregate could be linked to hypervisor

Re: [Openstack] Dashboard VNC Console failed to connect to server

2012-04-03 Thread Vishvananda Ishaya
It is working! You are in the bios screen, so you probably just need to wait (software mode booting can take a while) If the vm doesn't ever actually boot, you may be attempting to boot a non-bootable image. ___ Mailing list:

Re: [Openstack] multiple floating ip pools

2012-04-02 Thread Vishvananda Ishaya
, Lorin Take care, Lorin -- Lorin Hochstein Lead Architect - Cloud Services Nimbis Services, Inc. www.nimbisservices.com On Mar 30, 2012, at 2:18 PM, Vishvananda Ishaya wrote: Floating ip pools allow you to specify a different ip range and bind interface for sets of ips, so it will work

Re: [Openstack] Admin-ness in Keystone, Nova, et. al.

2012-03-30 Thread Vishvananda Ishaya
On Mar 30, 2012, at 7:41 AM, Julien Danjou wrote: On Fri, Mar 30 2012, Gabriel Hurley wrote: In practice today, Keystone no longer has global roles, and RBAC implementation isn't fully there yet across the ecosystem. So projects have adopted inconsistent means of determining when and how to

Re: [Openstack] multiple floating ip pools

2012-03-30 Thread Vishvananda Ishaya
Floating ip pools allow you to specify a different ip range and bind interface for sets of ips, so it will work for segregation purposes. There isn't policy acl on which pool the ip comes from but it could be added. The policy wrapping in the network layer is very basic right now. The

Re: [Openstack] wrong IP given by flat network dhcp

2012-03-29 Thread Vishvananda Ishaya
, CETIC Phone: +32 (0)71 49 07 45 Mobile: +32 (0)472 69 57 16, Skype: mikemowgli www.cetic.be, rue des Frères Wright, 29/3, B-6041 Charleroi Le 28/03/12 18:50, Vishvananda Ishaya a écrit : You have to create your network with the same range it looks like you created with something like

Re: [Openstack] [OpenStack] Xen Hypervisor

2012-03-29 Thread Vishvananda Ishaya
, and it attached its own bridges inside the DomU? I have tried to describe all this here: http://wiki.openstack.org/XenServer/NetworkingFlags Would be cool if people can check that for me, and I can push it into the manuals. Cheers, John From: Vishvananda Ishaya [mailto:vishvana

Re: [Openstack] KVM crash.

2012-03-28 Thread Vishvananda Ishaya
This was discussed on the mailing list earlier I believe: http://www.mail-archive.com/openstack@lists.launchpad.net/msg08475.html The solution appears to be to upgrade to a newer libvirt. Vish On Mar 28, 2012, at 6:01 AM, Guilherme Birk wrote: No one is having this issue? From:

Re: [Openstack] wrong IP given by flat network dhcp

2012-03-28 Thread Vishvananda Ishaya
You have to create your network with the same range it looks like you created with something like 10.18.9.0/24 On Mar 28, 2012, at 8:33 AM, Michaël Van de Borne wrote: Hello, I installed Essex on Ubuntu 12.04 Server, and I had a problem with VM IP. The IP given to the VM (10.18.9.2) isn't

Re: [Openstack] problem ssh-ing into vms

2012-03-28 Thread Vishvananda Ishaya
On Mar 28, 2012, at 8:01 AM, Pierre Amadio wrote: Was my assumption wrong or is there something special to do to have the metadata service available without running nova-api ? You can run the metadata service by itself using bin/nova-api-metadata. For performance reasons, I prefer this

Re: [Openstack] Validation of floating IP opertaions in Essex codebase ?

2012-03-28 Thread Vishvananda Ishaya
On Mar 28, 2012, at 10:04 AM, Day, Phil wrote: Hi Folks, At the risk of looking lazy in my first question by following up with a second: So I tracked this down in the code and can see that the validation has moved into network/manager.py, and what was a validation/cast in

Re: [Openstack] Generic method to make the OpenStack services daemonize / run as different user

2012-03-27 Thread Vishvananda Ishaya
On Mar 27, 2012, at 11:57 AM, Martin Gerhard Loschwitz wrote: Hi Folks, i'm looking for a generic way to make the OpenStack components (keystone-all, glance-api / glance-registry, nova-*) daemonize. I had expected the scripts to have such an option out of the box, but apparently that isn't

Re: [Openstack] Confusing about the nova authentication and keystone authentication

2012-03-26 Thread Vishvananda Ishaya
The commands in nova are deprecated and will be removed. They are still there to allow people to upgrade from old internal auth to keystone. Vish On Mar 26, 2012, at 2:52 AM, 下一个傻子 wrote: Hello ,every one: Here is a question that confusing me for days. I saw there is an authentication

Re: [Openstack] nova-manage quota --headroom

2012-03-22 Thread Vishvananda Ishaya
Seems like this would be much more useful as part of the quotas extension. This feature is small enough for a bug I think. Vish On Mar 22, 2012, at 6:36 AM, Eoghan Glynn wrote: Folks, One thing that's been on my wishlist since hitting a bunch of quota exceeded issues when first running

Re: [Openstack] Caching strategies in Nova ...

2012-03-22 Thread Vishvananda Ishaya
On Mar 22, 2012, at 8:06 AM, Sandy Walsh wrote: o/ Vek and myself are looking into caching strategies in and around Nova. There are essentially two approaches: in-process and external (proxy). The in-process schemes sit in with the python code while the external ones basically proxy the

Re: [Openstack] MySQL connection gone away handling in OpenStack projects

2012-03-22 Thread Vishvananda Ishaya
This looks like a much better solution than MySQLPingListener. It would be good to get this into common / nova, especially if we can verify that it works with postgres as well. Vish On Mar 22, 2012, at 7:48 AM, Unmesh Gurjar wrote: Hi, The current handling of the ‘SQL server has gone

Re: [Openstack] Scalability issue in nova-dhcpbridge

2012-03-19 Thread Vishvananda Ishaya
I believe it is safe to ignore the old leases. If nova-network has been down for a while it could potentially be nice to refresh all of the leases that it knows about, but I don't think it will harm anything if you remove it. Are you running flatdhcp with a single network host on a large

Re: [Openstack] [NOVA] Snapshotting may require significant disk space (in /tmp). How to properly solve disk space issues?

2012-03-16 Thread Vishvananda Ishaya
Now that we have the temdir context manager I was thinking something like: diff --git a/nova/utils.py b/nova/utils.py index e375f11..a3ac896 100644 --- a/nova/utils.py +++ b/nova/utils.py @@ -61,9 +61,11 @@ ISO_TIME_FORMAT = %Y-%m-%dT%H:%M:%S PERFECT_TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%f FLAGS =

Re: [Openstack] Removal of VSA Code

2012-03-15 Thread Vishvananda Ishaya
should we do in order to leave it in place. Thanks, -Vladimir Zadara Storage -Original Message- From: openstack-bounces+vladimir=zadarastorage@lists.launchpad.net [mailto:openstack-bounces+vladimir=zadarastorage@lists.launchpad.net] On Behalf Of Vishvananda Ishaya Sent

Re: [Openstack] Removal of VSA Code

2012-03-15 Thread Vishvananda Ishaya
On Mar 15, 2012, at 10:08 AM, Ghe Rivero wrote: I think is time (after essex release) to rethink the way plugins are integrated into mainline code. This problem, an outdated plugin, it's not new (Hyper-V), and with the increasing numbers of them (storage like Zadara, Nexenta... network

Re: [Openstack] Removal of VSA Code

2012-03-15 Thread Vishvananda Ishaya
On Mar 15, 2012, at 8:48 AM, Vladimir Popovski wrote: Hi Vish All, We would definitely prefer to leave the code in place and ready to fix any issues related to it. We found out that it is extremely hard to work with latest trunk version - our QA was constantly complaining about

Re: [Openstack] How could I delete errored volumes?

2012-03-14 Thread Vishvananda Ishaya
This is an annoying operational concern, so I have targeted it and proposed a fix. https://review.openstack.org/5342 Please verify that it works for you. Vish On Mar 14, 2012, at 9:03 AM, Jason Hedden wrote: On Mar 14, 2012, at 9:13 AM, Roman Sokolkov wrote: nova client couldn't delete

Re: [Openstack] Swift acting as nova-objectstore

2012-03-14 Thread Vishvananda Ishaya
I investigated this and it looks like there is some kind of odd race condition causing the status to show up as available before the image is actually available. This caused euca-deregister to get executed too quickly and the upload of the image to glance failed. I'm not quite sure how that

[Openstack] Removal of VSA Code

2012-03-14 Thread Vishvananda Ishaya
Apologies if you receive this email twice, I sent the first one from the wrong address. Hello Everyone, Last week during the release meeting it was mentioned that the VSA code is not working properly and we should either fix it or remove it. I propose to remove it for the following reasons:

Re: [Openstack] [NOVA] Possible causes for hung VMs (Diablo)

2012-03-12 Thread Vishvananda Ishaya
It seems unlikely that it would go straight from build - delete this way. Is it possible that the vms were stuck in build for a long time and so a user tried to delete them via the api, and the delete simply failed? Vish On Mar 12, 2012, at 9:26 AM, Jay Pipes wrote: Hey Stackers, We've

Re: [Openstack] Get nova diagnostics to work with libvirt

2012-03-12 Thread Vishvananda Ishaya
I gave pretty detailed instructions the last time this came up: http://www.mail-archive.com/openstack@lists.launchpad.net/msg06980.html That should be enough to get you started. Diagnostics are a bunch of key/value pairs, but unfortunately there doesn't seem to be an example of what they are.

Re: [Openstack] Help, How to restore existing vms after host reboot?

2012-03-09 Thread Vishvananda Ishaya
I think that this branch should make reboot work: https://review.openstack.org/#change,5177 It looks like we should also make sync_power_states run more frequently. It currently runs every 6 minutes by default. On Mar 8, 2012, at 6:27 PM, DeadSun wrote: As we all know, if host reboot since

[Openstack] [NOVA] RC-1 Buglist

2012-03-09 Thread Vishvananda Ishaya
Hello Everyone, We are very close on rc-1 bugs. Virtually all of the important ones are in flight with code under review: https://launchpad.net/nova/+milestone/essex-rc1 We could use reviews all of the outstanding branches so we can get them merged. There are a few smallish bugs that I have

[Openstack] Nova RC-1 Bugs

2012-03-07 Thread Vishvananda Ishaya
Hey Everyone, We are getting really close to finishing all of the bugs that I know about for RC-1. I could use some help (especially from nova-core!) with bug triaging. If anyone knows of any bugs that we absolutely shouldn't miss for essex, please find me via irc or email and let me know.

Re: [Openstack] Google Summer of Code-2012

2012-03-05 Thread Vishvananda Ishaya
I added myself. I hope we get a few more volunteers. Vish On Mar 5, 2012, at 6:31 AM, Russell Bryant wrote: On 02/27/2012 08:32 AM, Russell Bryant wrote: On 02/09/2012 04:27 PM, Thierry Carrez wrote: Thierry Carrez wrote: You should start a wiki page to collect mentors and the subjects

Re: [Openstack] Rationale behind using 'rpc:cast' instead of 'rpc:call' for the method run_instance

2012-03-05 Thread Vishvananda Ishaya
The use of cast is simply so we can return to the user more quickly instead of blocking waiting for a response. There are some cases where failure handling is a little more complicated and is simplified by using a call. The live migration is an example of this. It is much less frequently used

Re: [Openstack] eventlet weirdness

2012-03-02 Thread Vishvananda Ishaya
On Mar 2, 2012, at 7:54 AM, Day, Phil wrote: By properly multi-threaded are you instead referring to making the nova-api server multi-*processed* with eventlet greenthread pools in each process? i.e. The way Swift (and now Glance) works? Or are you referring to a different approach

Re: [Openstack] eventlet weirdness

2012-03-02 Thread Vishvananda Ishaya
On Mar 2, 2012, at 12:50 PM, Jay Pipes wrote: We are not using multiprocessing, no. We simply start multiple worker processes listening on the same socket, with each worker process having an eventlet greenthread pool. You can see the code (taken from Swift and adapted by Chris Behrens

Re: [Openstack] eventlet weirdness

2012-03-02 Thread Vishvananda Ishaya
On Mar 2, 2012, at 2:11 PM, Duncan McGreggor wrote: On Fri, Mar 2, 2012 at 4:10 PM, Monsyne Dragon mdra...@rackspace.com wrote: Has anyone thought about switching to gevent? It's similar enough to eventlet that the port shouldn't be too bad, and because it's event loop is in C,

Re: [Openstack] Essex OpenStack Global Hack-In

2012-03-01 Thread Vishvananda Ishaya
I don't know if there is a specific list yet. I just noticed a few new bugs reported by rajalakshmi ganesan that probably could be looked into. https://bugs.launchpad.net/~rajalakshmi-ganesan/+bugs (specifically the nova ones) On Mar 1, 2012, at 6:51 AM, Duncan McGreggor wrote: LLoyd and

Re: [Openstack] Running for Nova PTL

2012-03-01 Thread Vishvananda Ishaya
On Mar 1, 2012, at 5:21 AM, Soren Hansen wrote: 2012/2/28 Vishvananda Ishaya vishvana...@gmail.com: There is always progress to be made, but while we are toiling away working on testing, technical debt, and code smell, we have to keep our users in mind. This part of your e-mail really

Re: [Openstack] Memory leaks from greenthreads

2012-03-01 Thread Vishvananda Ishaya
...@redhat.com wrote: On 03/01/2012 02:48 PM, Vishvananda Ishaya wrote: On Mar 1, 2012, at 9:39 AM, Adam Young wrote: What would the drawbacks be? Probably the first thing people would look to from Eventlet is performance. I don't have the hard numbers to compare Eventlet to Apache HTTPD

[Openstack] Memory leaks from greenthreads

2012-02-29 Thread Vishvananda Ishaya
Hello Everyone, We have had a memory leak due to an interaction with eventlet for a while that Johannes has just made a fix for. bug: https://bugs.launchpad.net/nova/+bug/903199 fix: https://bitbucket.org/which_linden/eventlet/pull-request/10/monkey-patch-threadingcurrent_thread-as

Re: [Openstack] understanding ephemeral and persistant volumes

2012-02-28 Thread Vishvananda Ishaya
All images are downloaded to the local filesystem. Swift is an object storage system, not a block storage system. The original image will remain in swift to be downloaded again but it is not modified. Vish On Feb 23, 2012, at 7:46 AM, Michaël Van de Borne wrote: Hi all, I'd like to

Re: [Openstack] _base directory cleanup, sizing, and remote mounts

2012-02-28 Thread Vishvananda Ishaya
This was implemented recently. https://blueprints.launchpad.net/nova/+spec/nova-image-cache-management Vish On Feb 28, 2012, at 9:17 AM, Salman A Baset wrote: Hello folks, I was wondering if there is any plan to incorporate cleanup of unused images that reside on

Re: [Openstack] Docs: nova-manage network create FAILURE

2012-02-26 Thread Vishvananda Ishaya
you need to specify --bridge_interface when you create a network If you set --vlan_interface in your flagfile (for vlan mode) or --flat_interface (for flatdhcp mode) then you don't need to specify it on the command line. Vish On Feb 26, 2012, at 4:41 PM, Alexey Eromenko wrote: Platform: Debian

Re: [Openstack] Docs: credentials create FAILURE

2012-02-26 Thread Vishvananda Ishaya
The creds database is now created by running nova-cert (a patch went in recently to update that error message), but nova-manage project zipfile is not the best way to get creds. You can get credentials from the essex dashboard or by setting them manually. The devstack script sets them for you

Re: [Openstack] Basic networking/configuration woes

2012-02-23 Thread Vishvananda Ishaya
On Feb 23, 2012, at 5:42 PM, Justin Santa Barbara wrote: If you're going to go the cloud-init route... you wouldn't need DHCP, right? There should be iptables rules to allow you to talk to the metadata service over 169.254.* (And linux should give you a default link-local address that

Re: [Openstack] Security Group Rule Refresh

2012-02-22 Thread Vishvananda Ishaya
Maybe soren has a comment on this, but as far as I can tell it looks like a bug. It seems getting a list of instances that are in that group and refreshing those would be the right approach. Vish On Feb 22, 2012, at 9:13 AM, McNally, Dave (HP Cloud Services) wrote: Hi all, Currently I’m

Re: [Openstack] Problem in nova/volume/driver.py

2012-02-21 Thread Vishvananda Ishaya
The idea is that the backend should specify the lun number in provider_location when the volume is created. The logic of defaulting to 1 or 0 is to support legacy volumes that may not have set the lun in provider_location. The code previously would just determine the lun programatically on

Re: [Openstack] Remove Zones code - FFE

2012-02-18 Thread Vishvananda Ishaya
+1 to cell. On Feb 18, 2012 9:41 AM, Dean Troyer dtro...@gmail.com wrote: On Feb 17, 2012, at 9:06 AM, Ed Leafe wrote: The term zone was adopted at a time when we weren't really focusing on mimicking the AWS Availability Zone concept, and in hindsight, it was a poor choice. So we

Re: [Openstack] gerrit: basing a change on another uncommitted change

2012-02-16 Thread Vishvananda Ishaya
As I mentioned offline, the issue is that git-review automatically rebases, so if there has been a merge in between it will rebase and upload a new patch set. If you use git-review -R it will leave the old patch set, at the risk of not catching a possible conflict when you upload. Vish On

Re: [Openstack] OpenStack API V1.1 and V2.0 Complete Reference?

2012-02-15 Thread Vishvananda Ishaya
It uses the flavormanage extension through python-novaclient. This adds create and delete commands to the /flavors resource. Vish On Feb 15, 2012, at 6:11 AM, Leander Bessa wrote: Thanks for the links. Does anyone know horizon creates new flavors? Is it another api url or does it use

Re: [Openstack] KVM passthrough with Openstack

2012-02-15 Thread Vishvananda Ishaya
There was a blueprint and code for SR-IOV support, but it needed some help and never made it in. Code is here: https://review.openstack.org/#change,776 If someone wants to take it over and clean it up, we could support it in folsom. Vish On Feb 15, 2012, at 9:33 AM, James Bailey wrote:

<    1   2   3   4   5   6   7   >