Re: [Openstack-doc-core] Boolean fields (=True or not?)

2012-06-01 Thread Anne Gentle
Thanks for the clarification - the latest review copy of the install guide has force_dhcpelease=True in the nova.conf file. When I tested the nova.conf the old way, it didn't work anyway, so great catch! Anne On Fri, Jun 1, 2012 at 12:48 AM, Tom Fifield fifie...@unimelb.edu.au wrote: Speaking

Re: [Openstack] Understanding shutdown VM behavior

2012-06-01 Thread Vaze, Mandar
But the pickle is the case where a user initiates a shutdown inside the VM. What's the expected behavior after it's detected? Should it respect the shutdown_terminate flag or work more like an OS API? Right now when a shutdown in a VM is detected, the vm state is updated to SHUTOFF and

Re: [Openstack] openstack.common inside swiftclient and RPM

2012-06-01 Thread Mark McLoughlin
Hi Pete, On Thu, 2012-05-31 at 17:48 -0600, Pete Zaitcev wrote: Hi, Monty: The python-swiftclient has something that I believe you added: [zaitcev@lembas python-swiftclient-tip]$ git log swiftclient/openstack/__init__.py commit 7df012329f0b22e19f878cee2602407cb23042ef Author: Monty

Re: [Openstack] dhcp is not leasing an ip address in vlan mode

2012-06-01 Thread Vishvananda Ishaya
do you see sent and received packets on the vlan? I would suspect that you actually don't have the vlans trunked on the ports so the packets aren't making it across the switch. Vish On May 31, 2012, at 9:53 AM, Vijay wrote: Thanks for the reply. Network controller assigns a private ip

Re: [Openstack] inter vm communication issue

2012-06-01 Thread Vishvananda Ishaya
Ideas inline. Vish On May 31, 2012, at 1:41 PM, Bram De Wilde wrote: Hi all, Can I request some help in resolving a vlan networking issue we are encountering in the final stages of our openstack installation? We have installed a multi host vlan network configuration on 3 hosts all

Re: [Openstack] question about security

2012-06-01 Thread Vishvananda Ishaya
Generally I handle this by using a different eth device (or vlan) for the instance network. Then you make sure that no services on compute are listening on 0.0.0.0 If you have only one interface for example, you can run three vlans across it eth0:10 - public network public ip address for

Re: [Openstack] Understanding shutdown VM behavior

2012-06-01 Thread Vishvananda Ishaya
I did some cleanup of stop and power_off in the review here. https://review.openstack.org/#/c/8021/ I removed the weird shutdown_terminate handling. Honestly I feel like that is compatibility we don't need. It should be up to the provider whether a stop_instances counts as a terminate. In my

Re: [Openstack] inter vm communication issue

2012-06-01 Thread Bram De Wilde
Thanx Vish, On the name resolution: would you consider this a bug (I can file one if you would like) or a feature? Could this be fixed by changing the /usr/bin/nova-dhcpbridge script to load all mac, hostname, ip combinations for the database instead of just the physical hosts one? Or would

Re: [Openstack] cfg usage - option registration, global objects

2012-06-01 Thread Gary Kotton
On 06/01/2012 12:47 AM, Russell Bryant wrote: On 05/31/2012 04:21 PM, Mark McLoughlin wrote: I expect to do a pretty detailed review of the patch to add rpc to openstack-common and make some API design recommendations. But I think we'll have to balance some of those design ideas between stuff

Re: [Openstack] Please approve Allow [:print:] chars for security group names

2012-06-01 Thread Vishvananda Ishaya
It doesn't have 2 +2 from core members, and it has a -1 from Sandy which will block it. Hopefully he can pop in and change it. Vish On Jun 1, 2012, at 12:09 AM, Alexey Ababilov wrote: Hi! Please, could someone approve https://review.openstack.org/#/c/7584/ ? It passed two code reviews and

Re: [Openstack] inter vm communication issue

2012-06-01 Thread Vishvananda Ishaya
On Jun 1, 2012, at 12:46 AM, Bram De Wilde wrote: Thanx Vish, On the name resolution: would you consider this a bug (I can file one if you would like) or a feature? Bug if it is an easy fix :) Could this be fixed by changing the /usr/bin/nova-dhcpbridge script to load all mac,

[Openstack] search on the mailing list

2012-06-01 Thread Massimo Canonico
Hi, I'm having a problem deleting my running instance and I would like to search on the mailing list in order to figure out if someone had already had this problem (i'm quite sure). So I went to https://lists.launchpad.net/openstack/ with my credentials, but I did not find any search button.

[Openstack] how to forbid the instances communicating on the same host but different bridges and vlans?

2012-06-01 Thread romi zhang
Hi, I use following command to create 2 NICs for the instances of adminTenant and 1 NICs for aipuTenant: nova-manage network create --label=admin_web --fixed_range_v4=192.168.2.0/28 --num_networks=1 --vlan=200 --bridge=br200 --bridge_interface=eth1 --network_size=16 --multi_host=T

[Openstack] XCP with DevStack

2012-06-01 Thread Takaaki Suzuki
Hi all. I need your knowledge. :) I prepared XCP plus OpenvSwitch with Ubuntu precise on own environment. And I want to prepare DevStack for XCP(Ubuntu). https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md I don't understand localrc network settings part. The script

Re: [Openstack] [OpenStack][Nova] deference between live-migration and migrate

2012-06-01 Thread John Garbutt
From: Vishvananda Ishaya [mailto:vishvana...@gmail.com] Keep in mind that we actually have three options Good point, I forgot about resize. I guess we have: - Live Migrate (with/without block migrate) - (Non-live) Migrate - Resize I guess the more general way of looking at this is having an

Re: [Openstack] search on the mailing list

2012-06-01 Thread Hua ZZ Zhang
you can try google search with site prefix like: YourKeyWord site:lists.launchpad.net/openstack/. perhaps it is not so perfect, but it is better to have none. :-) - Edward Massimo Canonico

[Openstack] Not able to delete a running instance

2012-06-01 Thread Massimo Canonico
Hi, I have a running instance and I'm not able to delete it. It is the tty img proposed here: https://fedoraproject.org/wiki/Getting_started_with_OpenStack_Nova#Images Note that new instances of this image work (can start-up and shutting-down). Now the problem is that I'm not able to delete

Re: [Openstack] search on the mailing list

2012-06-01 Thread Michael J Fork
Searchable archives are available at http://www.mail-archive.com/openstack@lists.launchpad.net/ http://openstack.markmail.org/ Michael - Michael Fork Cloud Architect, Emerging Solutions IBM Systems Technology Group From: Massimo Canonico

Re: [Openstack] search on the mailing list

2012-06-01 Thread Christopher B Ferris
Could we get these links added to the splash onhttps://launchpad.net/openstack? I'm sure this is a rather common problem.e.g.:Mailing list - openstack@lists.launchpad.net -seehttps://launchpad.net/~openstackto join - searchable archives: http://www.mail-archive.com/openstack@lists.launchpad.net/

Re: [Openstack] search on the mailing list

2012-06-01 Thread Emilien Macchi
Hi Massimo, You can have a look here : http://openstack.markmail.org Good luck ! Regards On Fri, Jun 1, 2012 at 10:05 AM, Massimo Canonico m...@di.unipmn.it wrote: Hi, I'm having a problem deleting my running instance and I would like to search on the mailing list in order to figure

Re: [Openstack] [Metering] Meeting agenda for Thursday at 16:00 UTC (May 31th, 2012)

2012-06-01 Thread Julien Danjou
On Wed, May 30 2012, Julien Danjou wrote: The metering project team holds a meeting in #openstack-meeting, Thursdays at 1600 UTC http://www.timeanddate.com/worldclock/fixedtime.html?hour=16min=0sec=0. Everyone is welcome. http://wiki.openstack.org/Meetings/MeteringAgenda Topic: API

Re: [Openstack] dhcp is not leasing an ip address in vlan mode

2012-06-01 Thread Sergio Ariel de la Campa Saiz
Hi: I had a similar problem as Vijay: Network controller assigns a private ip address to the vm launched on compute node. However, I still cannot ping this ip address from the network(controller node). I am running nova-network service only on the controller. can't connect to remote host

Re: [Openstack] metadata and file injection

2012-06-01 Thread Pádraig Brady
On 06/01/2012 10:55 AM, William Herry wrote: I have been spend all days to search metadata and file injection related info with Google, there are few doc or blog about this topic (or I am not use the proper keyword) I know about this is only pieces what I know now is: cloud-init can

Re: [Openstack] XCP with DevStack

2012-06-01 Thread John Garbutt
Hi, I assume you are using xcp-xapi in Ubuntu. First of all, is it all running correctly (i.e. xe vm-list is returning correctly): http://wiki.xen.org/wiki/Using_XCP_-_preparing_the_toolstack It turns out the current DevStack will not work with this, but I have pushed some changes to support

[Openstack] detect hypervisor

2012-06-01 Thread Massimo Canonico
Hi all, since I'm having problem with my machine where I have installed openstack following this procedure: http://fedoraproject.org/wiki/Getting_started_with_OpenStack_Nova I'm wondering if this is the correct procedure for a machine with xen as supervisor. The procedure seems to me

Re: [Openstack] dhcp is not leasing an ip address in vlan mode

2012-06-01 Thread Vijay
I did have a problem in vlan trunking on the switch. I fixed it. Now, I am able to ping and ssh the instance that is launched on the compute node from the controller. However, when I look into euca-get-console-output of that instance on compute node, I still see that it is not able to connect

Re: [Openstack] search on the mailing list

2012-06-01 Thread Stefano Maffulli
On 06/01/2012 04:21 AM, Christopher B Ferris wrote: Could we get these links added to the splash on https://launchpad.net/openstack? Good idea. Done. thanks, stef ___ Mailing list: https://launchpad.net/~openstack Post to :

Re: [Openstack] hidden / phasing out instance_types/flavors

2012-06-01 Thread Doug Davis
Just wondering, is there any reason flavors are not limited to just create-time? Meaning, use it to create a new instance and then copy all of the flavor data into the new instance's data. This breaks the relationship between the instance and the flavor, allow each to be changed independently

Re: [Openstack] Not able to delete a running instance

2012-06-01 Thread Vishvananda Ishaya
it looks like you are running a very old version of openstack (perhaps diablo?), so it might be harder to figure out the problem. Please check: a) if your compute worker is still up and running b) if there is an error message in the nova-api.log or the nova-compute.log Vish On Jun 1, 2012, at

Re: [Openstack] search on the mailing list

2012-06-01 Thread Christopher B Ferris
Cool! ThanksCheers,Christopher FerrisIBM Distinguished Engineer, CTO Industry and Cloud StandardsMember, IBM Academy of TechnologyIBM Software Group, Standards Strategyemail: chris...@us.ibm.comTwitter: christo4ferrisphone: +1 508 234

[Openstack] 401 Not Authorized from glance - How to fix ?

2012-06-01 Thread Mandar Vaze / मंदार वझे
Hi, I'm working on python program that needs to get images detail from glance. I was using get_admin_context earlier to do all the work in nova side, but this doesn't seem to work when I query glance. I get 401 Not Authorized error. I think I need to get auth_token from keystone, and use it when

Re: [Openstack] 401 Not Authorized from glance - How to fix ?

2012-06-01 Thread Anne Gentle
Several thoughts to ponder. One is, the nova image-list command is using the Compute API, not the Image API. You can turn on --debug to see the curl statement issued from the nova client (very handy, that). Do: nova --debug image-list to see what I mean. Also note there's a new bugfix for

[Openstack] New Quantum Meeting Time: Monday 21:00 UTC

2012-06-01 Thread Dan Wendlandt
Starting this monday June 4th. See you there! Dan http://wiki.openstack.org/Network/Meetings -- ~~~ Dan Wendlandt Nicira, Inc: www.nicira.com twitter: danwendlandt ~~~ ___ Mailing list:

Re: [Openstack] XCP snapshotting with volumes attached failure

2012-06-01 Thread Vishvananda Ishaya
On Jun 1, 2012, at 7:40 AM, John Garbutt wrote: Hi, Sorry, not had chance to look at the bugs in the last few days. It should be possible to just snapshot the root VDI. I guess that is what makes the most sense, what does the API say should happen? +1 Snapshots should only be of the

Re: [Openstack] hidden / phasing out instance_types/flavors

2012-06-01 Thread Chris Behrens
Doug, That's the behavior I'd like to see and think it makes the most sense. It's really a requirement if we want a great cells implementation. instance_types table should only be used at the top level API cell. The data contained in the table is passed in the messaging and stored with the

Re: [Openstack] dhcp is not leasing an ip address in vlan mode

2012-06-01 Thread Vishvananda Ishaya
yes it can. The best way is to run nova-api-metadata on every host so the request can go locally. Alternatively you can set the metadata_host config option on your compute hosts to the ip of a nova-api server somewhere else. you might have to be careful which interface the ip metadata_host is

Re: [Openstack] hidden / phasing out instance_types/flavors

2012-06-01 Thread Doug Davis
Glad to hear that. Just FYI, CIMI [1] does this type of thing so if we ever do manage to harmonize the two APIs this might be a good place to start. [1] http://dmtf.org/sites/default/files/standards/documents/DSP0263_1.0.0d.pdf thanks -Doug

Re: [Openstack] 401 Not Authorized from glance - How to fix ?

2012-06-01 Thread Rafael Durán Castañeda
El 01/06/12 19:43, Anne Gentle escribió: Several thoughts to ponder. One is, the nova image-list command is using the Compute API, not the Image API. You can turn on --debug to see the curl statement issued from the nova client (very handy, that). Do: nova --debug image-list to see what I mean.

[Openstack] the right way to deprecate a config option?

2012-06-01 Thread Sean Dague
I'm reworking the virt driver loading so that it's using importutils (and thus looking more like the other driver interfaces), which means eventually connection_type parameter in nova.conf goes away, and computer_driver is used directly (the support is already there, but it's not currently

[Openstack] Signed Tokens

2012-06-01 Thread Adam Young
The signed tokens work has been updated. I think this is the final architecture. https://github.com/admiyo/keystone/commits/signed-tokens-5 Not all of the unit tests run. Some of the Memcache tests are suspect, and I wonder if we even need memcache support for tokens in the middle ware. I

[Openstack] OpenStack Community Newsletter — May 25

2012-06-01 Thread Stefano Maffulli
Highlights of the week Mark your calendars: Bug triage day on June 7th http://markmail.org/message/6qaxhvey3bamdj3f Short on the heels of folsom-1 publication and the upcoming Swift 1.5.0 release, it sounds like a good moment to spend some time sanitizing the *bug*

Re: [Openstack] dhcp is not leasing an ip address in vlan mode

2012-06-01 Thread Narayan Desai
Along these lines, it seemed simplest if we just ran nova-api-metadata on each nova-network server. That way we could get rid of the awful ospf setup for metadata and just let the network aggregation do its job. -nld On Fri, Jun 1, 2012 at 1:58 PM, Vishvananda Ishaya vishvana...@gmail.comwrote:

Re: [Openstack] how to forbid the instances communicating on the same host but different bridges and vlans?

2012-06-01 Thread romizhang1968
Vish, Thanks for your replay. Yes,I allowed icmp ping from 0.0.0.0/0, but the question is , i think the different instance in different tenant and vlan on the same compute node should not touch each other, admin03(192.168.2.3) in VLAN 200 and 201 should only could get ip touch to the same