[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. V

[Openstack] [GLANCE] owner: name vs id

2012-03-08 Thread Vishvananda Ishaya
I reported a bug today about glance using the tenant_name as owner: https://bugs.launchpad.net/bugs/950364 The current use is incorrect and will cause breakages in the case that a tenant is renamed. It seems vital that we get this fixed before releasing essex, although I don't know if we need t

[Openstack] Libvirt Snapshots

2012-03-08 Thread Vishvananda Ishaya
Hello Everyone, I've been trying to come up with a solution for libvirt snapshots to fix the issue with snapshotting when a volume is attached: https://bugs.launchpad.net/nova/+bug/946830 The main issue here is that calling snapshot in libvirt makes an internal snapshot of the entire vm, which

Re: [Openstack] Libvirt Snapshots

2012-03-09 Thread Vishvananda Ishaya
On Mar 9, 2012, at 8:51 AM, Daniel P. Berrange wrote: > On Fri, Mar 09, 2012 at 10:43:35AM -0600, rb...@hexagrid.com wrote: >> Even though it's more of a libvirt question since the topic of snapshot >> is being discussed, thought of asking it. Does libvirt 0.95 uses the >> backing file concept? o

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

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'v

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

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 ha

[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] Removal of VSA Code

2012-03-15 Thread Vishvananda Ishaya
orage@lists.launchpad.net > [mailto:openstack-bounces+vladimir=zadarastorage@lists.launchpad.net] > On Behalf Of Vishvananda Ishaya > Sent: Wednesday, March 14, 2012 6:54 PM > To: openstack@lists.launchpad.net (openstack@lists.launchpad.net) > Subject: [Openstack] Removal o

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... netw

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] [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] Scalability issue in nova-dhcpbridge

2012-03-18 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 instal

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 run

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 pro

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

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 i

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: guib...@

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) i

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 opt

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 netw

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

2012-03-29 Thread Vishvananda Ishaya
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:150 errors:0 dropped:0 overruns:0 frame:0 > TX packets:792 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:500 > RX bytes:15341 (15.3 KB) TX bytes:61254 (61.2 KB) >

Re: [Openstack] [OpenStack] Xen Hypervisor

2012-03-29 Thread Vishvananda Ishaya
On Mar 29, 2012, at 7:40 AM, John Garbutt wrote: > If you want all your traffic going through a single nic (Management, > Instance, Public), it might be possible using these settings: > > public_interface=eth0 I don't think this will work unless the implementation is very different in xen.

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, > Jo

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

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 underlyi

Re: [Openstack] multiple floating ip pools

2012-04-02 Thread Vishvananda Ishaya
; > Take care, > > 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 p

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: m

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: https://launchpad.net/~op

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 w

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 featur

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, Joe

Re: [Openstack] [OpenStack] preallocation

2012-04-09 Thread Vishvananda Ishaya
You can disable using backing files with the following config: use_cow_images=false You should be aware that you likely won't be able to snapshot images unless you make sure to upload them all in qcow format and also set: force_raw_images=false On Apr 9, 2012, at 9:37 PM, William Herry wrote: >

Re: [Openstack] [OpenStack] preallocation

2012-04-10 Thread Vishvananda Ishaya
ag (true | false) > 3. force_raw_images 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 wr

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" Ac

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 serve

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 us

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 m

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 > (https://github.com

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 > (2011.3-nova-milestone-tarball:tarmac-20110922115702-k9nkvxqzhj130

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
nd their resources-allocated will be reused for the > new instances. > > - Thông điệp gốc : - > Gửi từ : 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: [Opensta

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

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: > http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-compute-to-use-t

Re: [Openstack] Using Foreign Keys

2012-04-19 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"

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

Re: [Openstack] raw or qcow2

2012-04-24 Thread Vishvananda Ishaya
have, instead of forcing raw for > snapshots? > > On 4/24/12 3:51 PM, "Vishvananda Ishaya" 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 con

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 th

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 e

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 in

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 hav

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 Basic

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 fee

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

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 rea

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 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 created the

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 dispatc

Re: [Openstack] Nova volume service and the nova client command

2012-05-02 Thread Vishvananda Ishaya
Correct. Vish On May 1, 2012, at 3:01 PM, Lillie Ross-CDSR11 wrote: > Once again, I think I'm answering my own question. > > Nova_volume works in conjunction with nova-api to talk to any number of iscsi > targets that you might have configured in your cloud. Each target runs an > instance of

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

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

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

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 fla

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 Vish On May 7, 2012, at 7:07 A

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

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

[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 http:

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: au

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

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 f

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" 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 __init__() there is al

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

Re: [Openstack] 'admin' role hard-coded in keystone and nova, and policy.json

2012-05-11 Thread Vishvananda Ishaya
Most of nova is configurable via policy.json, but there is the issue with context.is_admin checks that still exist in a few places. We definitely need to modify that. Joshua, the idea is that policy.json will ultimately be managed in keystone as well. Currently the policy.json is checked for modif

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, 张家龙 wrote: > > Hello, everyone. > > I encountered some problems when i set perm

Re: [Openstack] Nova subsystem branches and feature branches

2012-05-11 Thread Vishvananda Ishaya
On May 11, 2012, at 2:04 PM, Mark McLoughlin wrote: > > I'm guessing we could easily flick a switch in gerrit to cause it to > rebase instead of merge. > > I don't remember any debate about it, but I'm also guessing there aren't > any hugely strong opinions in OpenStack about which is better. >

Re: [Openstack] ERROR: Resize requires a change in size

2012-05-14 Thread Vishvananda Ishaya
If you have actually specified a different flavor with the command, then it sounds like this is a bug. I see the check here: 1450 if (current_memory_mb == new_memory_mb) and flavor_id: 1451 raise exception.CannotResizeToSameSize() And I don't see any reason for it. It seems

[Openstack] Dhcp lease errors in vlan mode

2012-05-14 Thread Vishvananda Ishaya
TL;DR To fix issues with failed dhcp leases in vlan mode, upgrade to dnsmasq 2.6.1[1] THE LONG VERSION There is an issue with the way nova uses dnsmasq in VLAN mode. It starts up a single copy of dnsmasq for each vlan on the network host (or on every host in multi_host mode). The problem is in

Re: [Openstack] Problem with attaching disks to an instance

2012-05-14 Thread Vishvananda Ishaya
It should be getting the connection properties via the call to the volume node. Is it possible your volume in the database has incorrect properties stored in provider_location? It is set from the cofig iscsi_ip_address, so if you have not set that configuration option to a routable ip from com

Re: [Openstack] Dhcp lease errors in vlan mode

2012-05-14 Thread Vishvananda Ishaya
Thanks lorin! Vish On May 14, 2012, at 12:59 PM, Lorin Hochstein wrote: > > On May 14, 2012, at 1:46 PM, Vishvananda Ishaya wrote: > >> TL;DR >> >> To fix issues with failed dhcp leases in vlan mode, upgrade to dnsmasq >> 2.6.1[1] >> > > I

Re: [Openstack] Problem with attaching disks to an instance

2012-05-14 Thread Vishvananda Ishaya
iscsi_ip_address option in the controller's nova.conf > file. > > Regards, > Shashank Sahni > > On 05/15/2012 02:15 AM, Vishvananda Ishaya wrote: >> >> It should be getting the connection properties via the call to the volume >> node. Is it poss

Re: [Openstack] Problem with attaching disks to an instance

2012-05-15 Thread Vishvananda Ishaya
FYI iscsi_ip_prefix doesn't exist in essex.  The ip is passed back to the compute node based on what it has stored in the database, so the compute node no longer finds it through discovery and matching to the prefix.  You should only need iscsi_ip_address on the volume node to make sure that the db

Re: [Openstack] [Nova] Server UUID from metadata service?

2012-05-15 Thread Vishvananda Ishaya
AFAIK there isn't a way to get the uuid from the metadata server in essex. We were also discussing that it might be valuable for the ec2 api to tag the uuid onto the instance, but that doesn't help for essex either. Vish On May 15, 2012, at 3:40 PM, Martin Packman wrote: > For juju, I need a s

Re: [Openstack] Problem with attaching disks to an instance

2012-05-15 Thread Vishvananda Ishaya
Yes that code is unused and the removal is under review here: https://review.openstack.org/#/c/7450/ Vish On May 15, 2012, at 8:18 PM, Lorin Hochstein wrote: > On May 15, 2012, at 1:27 PM, Vishvananda Ishaya wrote: > >> FYI iscsi_ip_prefix doesn't exist in essex.

Re: [Openstack] Unable to create a floating ip

2012-05-16 Thread Vishvananda Ishaya
to create an individual ip, use the full ip address without /32. The floating ip create code ignores the network and broadcast address for a range, so you will end up with no usable ips if you specify a /32 or /31 Vish On May 16, 2012, at 8:05 AM, Alessandro Tagliapietra wrote: > Hello guys, >

Re: [Openstack] [client] Hacking on the client

2012-05-16 Thread Vishvananda Ishaya
can't you use python setup.py develop? That is the general way of setting stuff up in dev mode. Vish On May 16, 2012, at 9:12 AM, Lorin Hochstein wrote: > If I want to hack on python-openstackclient, how should I set things up so I > don't need to install the egg to run it? I know how to insta

Re: [Openstack] vlan network question

2012-05-16 Thread Vishvananda Ishaya
Yes it is possible to do everything over one interface, but it is probably better to separate traffic out over multiple vlans if you can. You could have rabbit and mysql on one vlan (call it the management vlan), and the public internet traffic/api on a separate vlan. Finally you could put all

Re: [Openstack] vlan network question

2012-05-16 Thread Vishvananda Ishaya
On May 16, 2012, at 6:12 PM, Paras pradhan wrote: > Thanks for the reply. > > Another question :). To have multiple compute nodes (say 5), I can > either use vlan or FlatDHCP mode right? correct > Also, with FlatDHCP can I > have multiple tenants or I need to stick with VLAN to have multiple >

  1   2   3   4   5   6   7   8   >