[Openstack] nova-network issues

2014-08-07 Thread Sam Lee
Hi All, I set up an openstack all-in-one environment with nova-network. I create a network 172.16.10.0/24 which is the same as the real local area network. When I create an instances, The local area network can not work correctly sometimes. I used arping command and found

Re: [Openstack] [openstack][nova][vwware]Does present vmware driver support resource pool?

2014-08-07 Thread Kai KT Tong
: [Openstack] [openstack][nova][vwware]Does present vmware driver support resource pool? Hi, There was talk at the last summit about supporting resource pools. My recollection is that there were too many edge cases found. Please note that this is something that I not officially tested

[Openstack] nova-network,VRRP and NAT

2014-08-07 Thread mad Engineer
Hi, I am using nova-network on Havana in multi-node setup with almost 20 instances that are web servers. i am planning to use HA proxy cluster with keepalived for fail over. but concerned whether nova security policies allow VRRP to work as it requires multiple IP on same MAC? Is

Re: [Openstack] nova-network,VRRP and NAT

2014-08-07 Thread mad Engineer
Thanks Xav, i am using nova-network and not neutron.Looks like this can not work with nova-network Thanks On Thu, Aug 7, 2014 at 3:23 PM, Xav Paice xavpa...@gmail.com wrote: On 07/08/14 21:42, mad Engineer wrote: but concerned whether nova security policies allow VRRP to

[Openstack] [openstack][nova][vwware]Does present vmware driver support resource pool?

2014-08-06 Thread Kai KT Tong
Hi all: I found that if I configure resource pool as the cluster way: /etc/nova/nova.conf cluster_name=resource pool name It works and retrieve the resource pool as a cluster. Such as: I want to know whether it is as design. Is there official doc? Thanks. Thanks Best Regards , Kai KT

Re: [Openstack] [openstack][nova][vwware]Does present vmware driver support resource pool?

2014-08-06 Thread Gary Kotton
: Wednesday, August 6, 2014 at 1:38 PM To: openstack@lists.openstack.orgmailto:openstack@lists.openstack.org openstack@lists.openstack.orgmailto:openstack@lists.openstack.org Subject: [Openstack] [openstack][nova][vwware]Does present vmware driver support resource pool? Hi all: I found that if I

Re: [openstack-dev] [OpenStack][Nova][Scheduler] Promote select_destination as a REST API

2014-07-23 Thread Alex Xu
Maybe we can implement this goal by another way, adding new API 'confirm_before_migration' that's similar with 'confirm_resize'. This also can resolve Chris Friesen's concern. On 2014年07月23日 00:13, Jay Pipes wrote: On 07/21/2014 11:16 PM, Jay Lau wrote: Hi Jay, There are indeed some China

Re: [openstack-dev] [OpenStack][Nova][Scheduler] Promote select_destination as a REST API

2014-07-23 Thread Jay Lau
Thanks Alex and Jay Pipes. @Alex, I want a common interface for all VM operations to get target host list, seems only adding a new API 'confirm_before_migration' not enough to handle this? ;-) @Jay Pipes, I will try to see if we can export this in K or L via Gantt Thanks. 2014-07-23 17:14

Re: [openstack-dev] [OpenStack][Nova][Scheduler] Promote select_destination as a REST API

2014-07-22 Thread Jay Pipes
On 07/21/2014 11:16 PM, Jay Lau wrote: Hi Jay, There are indeed some China customers want this feature because before they do some operations, they want to check the action plan, such as where the VM will be migrated or created, they want to use some interactive mode do some operations to make

[openstack-dev] [OpenStack][Nova][Scheduler] Prompt select_destination as a REST API

2014-07-21 Thread Jay Lau
Now in OpenStack Nova, select_destination is used by create/rebuild/migrate/evacuate VM when selecting target host for those operations. There is one requirement that some customers want to get the possible host list when create/rebuild/migrate/evacuate VM so as to create a resource plan

Re: [openstack-dev] [OpenStack][Nova][Scheduler] Promote select_destination as a REST API

2014-07-21 Thread Jay Lau
Sorry, correct one typo. I mean Promote select_destination as a REST API 2014-07-21 23:49 GMT+08:00 Jay Lau jay.lau@gmail.com: Now in OpenStack Nova, select_destination is used by create/rebuild/migrate/evacuate VM when selecting target host for those operations. There is one

Re: [openstack-dev] [OpenStack][Nova][Scheduler] Promote select_destination as a REST API

2014-07-21 Thread Chris Friesen
On 07/21/2014 09:52 AM, Jay Lau wrote: Sorry, correct one typo. I mean Promote select_destination as a REST API 2014-07-21 23:49 GMT+08:00 Jay Lau jay.lau@gmail.com mailto:jay.lau@gmail.com: Now in OpenStack Nova, select_destination is used by create/rebuild/migrate/evacuate

Re: [openstack-dev] [OpenStack][Nova][Scheduler] Promote select_destination as a REST API

2014-07-21 Thread Sylvain Bauza
this proposal until Gantt is created and propose a REST API for Gantt instead (in Kilo or L) -Sylvain 2014-07-21 23:49 GMT+08:00 Jay Lau jay.lau@gmail.com mailto:jay.lau@gmail.com: Now in OpenStack Nova, select_destination is used by create/rebuild/migrate/evacuate VM when selecting

Re: [openstack-dev] [OpenStack][Nova][Scheduler] Promote select_destination as a REST API

2014-07-21 Thread Jay Lau
and propose a REST API for Gantt instead (in Kilo or L) -Sylvain 2014-07-21 23:49 GMT+08:00 Jay Lau jay.lau@gmail.com: Now in OpenStack Nova, select_destination is used by create/rebuild/migrate/evacuate VM when selecting target host for those operations. There is one requirement

Re: [openstack-dev] [OpenStack][Nova][Scheduler] Promote select_destination as a REST API

2014-07-21 Thread Jay Pipes
On 07/21/2014 07:45 PM, Jay Lau wrote: There is one requirement that some customers want to get the possible host list when create/rebuild/migrate/evacuate VM so as to create a resource plan for those operations, but currently select_destination is not a REST API, is it possible that we promote

Re: [openstack-dev] [OpenStack][Nova][Scheduler] Promote select_destination as a REST API

2014-07-21 Thread Jay Lau
Hi Jay, There are indeed some China customers want this feature because before they do some operations, they want to check the action plan, such as where the VM will be migrated or created, they want to use some interactive mode do some operations to make sure no errors. Thanks. 2014-07-22

[Openstack] nova-compute accessing gluster via libfgapi

2014-07-21 Thread samuel
Hi folks, I've been trying to setup nova to use glusterfs volumes directly via libfgapi but I haven't been able to configure it on icehouse version. Gluster version is 3.5.1 and I can manually create gluster files via qemu-img commands from the CLI of the compute nodes. I've been trying to look

Re: [Openstack] unable to start openstack service : openstack-nova-api

2014-07-17 Thread mehmet hacısalihoğlu
Hi, What result is netstat -tnlp command? Regards. 2014-07-17 9:49 GMT+03:00 dhanesh1212121212 dhanesh1...@gmail.com: Hi Team, In compute node iam not able to start openstack-nova-api. Its showing error: 2014-07-17 12:03:07.908 3313 ERROR nova.wsgi [-] Could not bind to 0.0.0.0:8775

Re: [Openstack] unable to start openstack service : openstack-nova-api

2014-07-17 Thread Sushma Korati
Hi Dhanesh, openstack-nova-api and openstack-nova-metadata-api both run on the same port so you are getting Address already in use error. Try stopping openstack-nova-metadata-api service and run openstack-nova-api. Regards, Sushma Korati sushma_kor...@persistent.co.in Persistent Systems Ltd

[Openstack] Nova Plugin/Hooks

2014-07-11 Thread Akshya Gupta
Hi All, I am kind of new to the openstack. I was looking to work on the nova component. My aim is to be able to perform some tasks as soon as a VM is created on a particular compute node. I found there can be 2 ways: 1) Listen to the notification queue of nova (not sure which one) 2) Use a nova

Re: [Openstack] [nova][oslo.rootwrap] RegExpFilter optional parameter

2014-07-09 Thread Kai Brennenstuhl
Many Thanks Thierry. I figured out that the same applies for PathFilter with the pass parameter. A rule containing a pass parameter means your command needs to have this parameter no mater how it looks like. Your advice with a second rule which is named differently works fine. Many Thanks, Kai

Re: [openstack-dev] [Openstack] [Nova] Launch of VM failed after certain count openstack Havana

2014-07-08 Thread Vikash Kumar
Regards~hrushi *From:* Vikash Kumar [mailto:vikash.ku...@oneconvergence.com] *Sent:* Monday, July 07, 2014 9:13 PM *To:* Openstack Milis; openstack-dev *Subject:* [Openstack] [Nova] Launch of VM failed after certain count openstack Havana Hi all, I am facing issue with VM launch. I

Re: [Openstack] [Nova] Launch of VM failed after certain count openstack Havana

2014-07-08 Thread Vikash Kumar
Regards~hrushi *From:* Vikash Kumar [mailto:vikash.ku...@oneconvergence.com] *Sent:* Monday, July 07, 2014 9:13 PM *To:* Openstack Milis; openstack-dev *Subject:* [Openstack] [Nova] Launch of VM failed after certain count openstack Havana Hi all, I am facing issue with VM launch. I

[Openstack] [nova][oslo.rootwrap] RegExpFilter optional parameter

2014-07-08 Thread Kai Brennenstuhl
Hi list, I want to create a RegExpFilter (in nova/rootwrap.d) where the last parameter is optional. I can create a filter so that it works either with the last parameter or without. But I don't know how the rule has to look like so that the last parameter is optional. Following is in my

[Openstack] Nova vs Heat in easy statement

2014-07-08 Thread Frans Thamura
Hi all I run openshift in Vmplayer and try to run in nova, still stack, because can run it, but cannot access, still finding workaround and i got that there is heat template https://github.com/openstack/heat-templates there are openshift also and in my opinion, we can run openshift in vm,

[openstack-dev] [Openstack][Nova] Launch of VM failed after certain count openstack Havana

2014-07-07 Thread Vikash Kumar
Hi all, I am facing issue with VM launch. I am using openstack *Havana.* I have one compute node with following specification: root@compute-node:~# lscpu Architecture: x86_64 CPU op-mode(s):32-bit, 64-bit Byte Order:Little Endian CPU(s):8 On-line

Re: [Openstack] [openstack][nova] Compute node update interval

2014-07-01 Thread Kai Brennenstuhl
@lists.openstack.org *Subject:* [Openstack] [openstack][nova] Compute node update interval Hi, how can I specify the interval in which the (free) resources of my compute nodes are updated and written into the DB? I looked into nova.conf doc and already changed the following attributes

Re: [Openstack] [openstack][nova] Compute node update interval

2014-06-30 Thread Dugger, Donald D
...@gmail.com] Sent: Thursday, June 26, 2014 6:56 AM To: openstack@lists.openstack.org Subject: [Openstack] [openstack][nova] Compute node update interval Hi, how can I specify the interval in which the (free) resources of my compute nodes are updated and written into the DB? I looked into nova.conf

Re: [Openstack] [OpenStack] [nova] Is there any method to record the operation of a nova user

2014-06-29 Thread yangmin zhu
Hi sylecn, Thank you for your information, I will then do more investigations about the notification system. Thank you! -- zym On Fri, Jun 27, 2014 at 7:39 PM, sylecn syl...@gmail.com wrote: On Fri, Jun 27, 2014 at 7:32 PM, sylecn syl...@gmail.com wrote: On Fri, Jun 27, 2014 at 5:03 PM,

Re: [Openstack] [OpenStack] [nova] Is there any method to record the operation of a nova user

2014-06-29 Thread Matt Riedemann
On 6/29/2014 8:41 AM, yangmin zhu wrote: Hi sylecn, Thank you for your information, I will then do more investigations about the notification system. Thank you! -- zym On Fri, Jun 27, 2014 at 7:39 PM, sylecn syl...@gmail.com wrote: On Fri, Jun 27, 2014 at 7:32 PM, sylecn

Re: [Openstack] [openstack][nova] Compute node update interval

2014-06-27 Thread Kai Brennenstuhl
] [openstack][nova] Compute node update interval Hi, how can I specify the interval in which the (free) resources of my compute nodes are updated and written into the DB? I looked into nova.conf doc and already changed the following attributes: heal_instance_info_cache_interval = 20

[Openstack] [OpenStack] [nova] Is there any method to record the operation of a nova user

2014-06-27 Thread yangmin zhu
Hi all, I want to record a user's operation for later audit purpose. For example, A user may start/reboot/shutdown a VM using nova command from terminal or using the dashboard from browser. How can I record this action and it's result to a log file(or some other database) for later check? And I

Re: [Openstack] [OpenStack] [nova] Is there any method to record the operation of a nova user

2014-06-27 Thread sylecn
On Fri, Jun 27, 2014 at 5:03 PM, yangmin zhu zym00...@gmail.com wrote: Hi all, I want to record a user's operation for later audit purpose. For example, A user may start/reboot/shutdown a VM using nova command from terminal or using the dashboard from browser. How can I record this action

Re: [Openstack] [OpenStack] [nova] Is there any method to record the operation of a nova user

2014-06-27 Thread sylecn
On Fri, Jun 27, 2014 at 7:32 PM, sylecn syl...@gmail.com wrote: On Fri, Jun 27, 2014 at 5:03 PM, yangmin zhu zym00...@gmail.com wrote: Hi all, I want to record a user's operation for later audit purpose. For example, A user may start/reboot/shutdown a VM using nova command from terminal or

Re: [Openstack] nova error migrating with floating ips: 'FixedIP' object has no attribute '_sa_instance_state'

2014-06-26 Thread Noel Burton-Krahn
Thanks, Nate. looking at FloatingIP.save(), I see the problem FixedIP object is stashed in updates['fixed_ip'] updates = self.obj_get_changes() Shouldn't we save the updated fixed_ip object like so: updates['fixed_ip'].save(context) del(updates['fixed_ip']) rather than

Re: [Openstack] [openstack][nova] Compute node update interval

2014-06-26 Thread Steve Gordon
- Original Message - From: Kai Brennenstuhl kai.brennenst...@gmail.com To: openstack@lists.openstack.org Sent: Thursday, June 26, 2014 8:56:20 AM Subject: [Openstack] [openstack][nova] Compute node update interval Hi, how can I specify the interval in which the (free) resources

Re: [openstack-dev] [Openstack] [nova] How can I obtain compute_node_id in nova

2014-06-25 Thread Steve Martinelli
You should probably email the openstack-dev mailing list (openstack-dev@lists.openstack.org) or better yet, ask for help in #openstack-nova on IRC. Regards, Steve Martinelli Software Developer - Openstack Keystone Core Member Phone: 1-905-413-2851 E-mail: steve...@ca.ibm.com 8200 Warden

Re: [Openstack] nova error migrating with floating ips: 'FixedIP' object has no attribute '_sa_instance_state'

2014-06-25 Thread Noel Burton-Krahn
Thanks a lot for the quick reply, Dan. It's good to know that _context is expected to be a RequestContext. We do have some changes to nova, although none are obviously in this area. I'll look there and file a bug if this is from pure nova. -- Noel On Tue, Jun 24, 2014 at 3:33 PM, Dan Smith

Re: [Openstack] [Nova] Admin pass injection in launch libvirt/kvm instance

2014-06-25 Thread Wangpan
it, then I can login the instance by VNC successfully! I don't know what happened? anyone can help me? thanks! 2014-06-25 14:57 (UTC+8) Wangpan - Original Message - From: CôngTT tcvn1...@gmail.com To: Thang Phamthang.g.p...@gmail.com Sent: 2014-06-25 12:21 Subject: Re: [Openstack] [Nova] Admin

Re: [Openstack] [Nova] Admin pass injection in launch libvirt/kvm instance

2014-06-25 Thread Juerg Haefliger
: True ...Juerg thanks! 2014-06-25 14:57 (UTC+8) Wangpan - Original Message - From: CôngTT tcvn1...@gmail.com To: Thang Phamthang.g.p...@gmail.com Sent: 2014-06-25 12:21 Subject: Re: [Openstack] [Nova] Admin pass injection in launch libvirt/kvm instance Hi Thang Pham and all

Re: [Openstack] [Nova] Admin pass injection in launch libvirt/kvm instance

2014-06-25 Thread Wangpan
:50 Subject: Re: [Openstack] [Nova] Admin pass injection in launch libvirt/kvm instance On Wed, Jun 25, 2014 at 9:07 AM, Wangpan hzwang...@corp.netease.com wrote: Hi all, I debug the process of libvirt admin password injection, I found everything is OK before the instance is booting up

[Openstack] [nova] How can I obtain compute_node_id in nova

2014-06-25 Thread afe.yo...@gmail.com
I found a bug recently and reported it here https://bugs.launchpad.net/nova/+bug/1333498 The function requires compute_node_id as its parameter. I'm trying to fix this bug. However I fail to find any way to obtain the compute_node_id. Any help will be greatly appreciated!

Re: [Openstack] nova error migrating with floating ips: 'FixedIP' object has no attribute '_sa_instance_state'

2014-06-25 Thread Roman Podoliaka
Hi all, I believe this should be fixed by https://review.openstack.org/#/c/102514 Thanks, Roman On Wed, Jun 25, 2014 at 9:39 AM, Noel Burton-Krahn n...@pistoncloud.com wrote: Thanks a lot for the quick reply, Dan. It's good to know that _context is expected to be a RequestContext. We do

Re: [Openstack] [Nova] Admin pass injection in launch libvirt/kvm instance

2014-06-25 Thread Thang Pham
. 2014-06-25 16:14 (UTC+8) Wangpan - Original Message - From: Juerg Haefliger jue...@gmail.com To: Wangpanhzwang...@corp.netease.com Sent: 2014-06-25 15:50 Subject: Re: [Openstack] [Nova] Admin pass injection in launch libvirt/kvm instance On Wed, Jun 25, 2014 at 9:07 AM

Re: [Openstack] nova error migrating with floating ips: 'FixedIP' object has no attribute '_sa_instance_state'

2014-06-25 Thread Noel Burton-Krahn
Thanks, Roman. That fix did get past the sa_instance_state problem, but I bumped into something new. It looks like floating_ip_update() doesn't like the SA fixed ip that's fetched here: +updates['fixed_ip'] = db.fixed_ip_get(context, id_) I'm not sure what A conflicting state is

Re: [Openstack] nova error migrating with floating ips: 'FixedIP' object has no attribute '_sa_instance_state'

2014-06-25 Thread Nathanael Burton
I've recreated the same issue as Noel with the proposed code under review ( https://review.openstack.org/#/c/102514). Nate On Wed, Jun 25, 2014 at 1:45 PM, Noel Burton-Krahn n...@pistoncloud.com wrote: Thanks, Roman. That fix did get past the sa_instance_state problem, but I bumped into

Re: [Openstack] nova error migrating with floating ips: 'FixedIP' object has no attribute '_sa_instance_state'

2014-06-25 Thread Nathanael Burton
Noel, Roman, I made some comments on the proposed review with some minor changes that fixed the AssertionError: A conflicting state is already present in the identity map that Noel and I were both having. Please take a look and let me know if that looks ok. Thanks, Nate On Wed, Jun 25, 2014

Re: [Openstack] nova error migrating with floating ips: 'FixedIP' object has no attribute '_sa_instance_state'

2014-06-25 Thread Noel Burton-Krahn
Thanks, Nate. I couldn't find your detailed comments in the code review. Is there a better way to do a recursive update of SA objects? This fix worked for me, but it seems ugly to have a special case for a field by name. Is there a less hard-coded way to do this? def save(self, context):

Re: [Openstack] nova error migrating with floating ips: 'FixedIP' object has no attribute '_sa_instance_state'

2014-06-25 Thread Nathanael Burton
Noel, it was an inline comment to the db/sqlalchemy/api.py file for the referenced review. This is the way I suggested in the floating_ip_update() method, but it's not really much better: if 'fixed_ip' in values: values['fixed_ip'] = _fixed_ip_get_by_address(context,

[Openstack] nova error migrating with floating ips: 'FixedIP' object has no attribute '_sa_instance_state'

2014-06-24 Thread Noel Burton-Krahn
This error happens in Icehouse migrating a vm with floating ips. nova tries to call save() on a floating_ip object, but the sqlalchemy context appears broken: In nova/nova/network/floating_ips.py, FloatingIP.migrate_instance_start() floating_ip =

[Openstack] [Nova] Admin pass injection in launch libvirt/kvm instance

2014-06-24 Thread Wangpan
Hi all, I want to inject admin password to a libvirt/kvm instance, and I enable the config libvirt_inject_password=true on the compute node, I also find the /etc/shadow file in the instance is changed, but when I use the adminPass to login the instance from vnc, it is failed. I find that the

Re: [Openstack] [Nova] Admin pass injection in launch libvirt/kvm instance

2014-06-24 Thread Thang Pham
Hi Wangpan, Injecting admin password is not implemented or supported in libvirt/kvm. I believe only Xen supports it. Regards, Thang On Tue, Jun 24, 2014 at 11:36 PM, Wangpan hzwang...@corp.netease.com wrote: Hi all, I want to inject admin password to a libvirt/kvm instance, and I enable

Re: [openstack-dev] [Openstack] [Nova] How to confirm I have the right database schema when checkout to another branch?

2014-06-20 Thread Vishvananda Ishaya
You need to remove the old .pyc files in the migrate_repo/versions directory. I have an alias in my .gitconfig to allow me to checkout a branch and delete pycs in one command: [alias] cc = !TOP=$(git rev-parse --show-toplevel); find $TOP -name '*.pyc' -delete; git-checkout” so i can do:

Re: [Openstack] [Nova] How to confirm I have the right database schema when checkout to another branch?

2014-06-20 Thread Vishvananda Ishaya
You need to remove the old .pyc files in the migrate_repo/versions directory. I have an alias in my .gitconfig to allow me to checkout a branch and delete pycs in one command: [alias] cc = !TOP=$(git rev-parse --show-toplevel); find $TOP -name '*.pyc' -delete; git-checkout” so i can do:

[Openstack] [Nova] get-vnc-console command do not work

2014-06-19 Thread Li, Chen
Also I start services openstack-nova-novncproxy openstack-nova-cert openstack-nova-consoleauth on api node too. Then I try to run command nova -debug get-vnc-console my_instances novnc I get error: .. INFO (connectionpool:203) Starting new HTTP connection (1): 172.16.24.2 DEBUG

Re: [Openstack] [Nova] get-vnc-console command do not work

2014-06-19 Thread Jitendra Bhaskar
vncserver_proxyclient_address=192.168.40.121 vnc_enabled=true nova.conf on *compute node* with: novncproxy_base_url=http://172.16.24.2:6080/vnc_auto.html vncserver_listen=0.0.0.0 vncserver_proxyclient_address=192.168.40.127 vnc_enabled=true Also I start services openstack-nova

Re: [Openstack] [Nova] get-vnc-console command do not work

2014-06-19 Thread Jitendra Bhaskar
) Wangpan - Original Message - From: Li, Chen chen...@intel.com To: Jitendra Bhaskarjeetuind...@gmail.com Sent: 2014-06-19 16:58 Subject: Re: [Openstack] [Nova] get-vnc-console command do not work Hi Jitendra, It can work now. Thanks a lot!!! J Compare the configuration you

Re: [openstack-dev] [Openstack] [Nova/Olso] Periodic task coalescing

2014-06-12 Thread Michael Still
Sorry, didn't notice the list changed. On Fri, Jun 13, 2014 at 8:40 AM, Michael Still mi...@stillhq.com wrote: On Thu, Jun 12, 2014 at 10:05 PM, Tom Cammann tom.camm...@hp.com wrote: Hello, I'm addressing https://bugs.launchpad.net/oslo/+bug/1326020 which is dealing with periodic tasks.

[Openstack] [Nova] Nova list can't return anything

2014-06-12 Thread 严超
Hi, All: I print *nova --debug list *, and got nothing return, how can that be ? RESP: [200] CaseInsensitiveDict({'date': 'Thu, 12 Jun 2014 08:52:19 GMT', 'content-length': '0', 'content-type': 'text/html; charset=UTF-8'}) RESP BODY:

[Openstack] [Nova/Olso] Periodic task coalescing

2014-06-12 Thread Tom Cammann
Hello, I'm addressing https://bugs.launchpad.net/oslo/+bug/1326020 which is dealing with periodic tasks. There is currently a code block that checks if a task is 0.2 seconds away from being run and if so it run now instead. Essentially coalescing nearby tasks together. From

Re: [Openstack] OpenStack Nova Architecture Document

2014-06-12 Thread Matt Riedemann
On 6/12/2014 4:21 AM, hua peng wrote: 于 2014-6-12 15:55, hossein zabolzadeh 写道: Where can I find useful resources for openstack nova project? Logical architecture is the best document to start learning about something. But I can not find this type of document for openstack nova project. You

Re: [Openstack] [Nova/Olso] Periodic task coalescing

2014-06-12 Thread Tom Cammann
Sorry wrong list, meant for openstack-dev. On 06/12/2014 01:05 PM, Tom Cammann wrote: Hello, I'm addressing https://bugs.launchpad.net/oslo/+bug/1326020 which is dealing with periodic tasks. There is currently a code block that checks if a task is 0.2 seconds away from being run and if so it

Re: [Openstack] OpenStack Nova Architecture Document

2014-06-12 Thread Anne Gentle
On Thu, Jun 12, 2014 at 2:55 AM, hossein zabolzadeh zabolza...@gmail.com wrote: Hi Everyone, I am wondering why there are no architectral documentation for openstack nova project. I search on the openstack wiki, but everything was find be some API documents and administration guides. Hi

Re: [Openstack] [Nova/Olso] Periodic task coalescing

2014-06-12 Thread Michael Still
On Thu, Jun 12, 2014 at 10:05 PM, Tom Cammann tom.camm...@hp.com wrote: Hello, I'm addressing https://bugs.launchpad.net/oslo/+bug/1326020 which is dealing with periodic tasks. There is currently a code block that checks if a task is 0.2 seconds away from being run and if so it run now

[Openstack] [Nova] baremetal-node-create failed

2014-06-12 Thread 严超
Hi, All : In tripleO project, it uses the following script to test *baremetal-node-create* : *nova --debug baremetal-node-create devtest_canary 1 1 1 11:22:33:44:55:66* But it failed, how can I fix this: DEBUG (shell:777) The server has either erred or is incapable of

Re: [Openstack] [Nova] How is nova flavour related to VNC usage ?

2014-06-11 Thread Deepak Shetty
Lars, Thanks that helped, just curious, why does it need to use libguestfs ? Why can't it just use qemu-img resize to check ? Also in my devstack setup i see that my Nova VM is stuck at this step.. so it looks like nova libvirt driver debug says Creating image in the n-cpu log and then it stuck

Re: [Openstack] [Nova] How is nova flavour related to VNC usage ?

2014-06-11 Thread Deepak Shetty
Thanks, switching from virt_type=kvm to qemu works! I spent close to 4 days on this :( On Wed, Jun 11, 2014 at 7:50 PM, Lars Kellogg-Stedman l...@redhat.com wrote: On Wed, Jun 11, 2014 at 11:24:04AM +0530, Deepak Shetty wrote: Thanks that helped, just curious, why does it need to use

[Openstack] [Nova] How to confirm I have the right database schema when checkout to another branch?

2014-06-11 Thread 严超
Hi, All: When I checkout nova to another branch. how to confirm I have the right database schema ? When I run nova-manage db sync, I've got below error: 2014-06-11 22:53:27.977 CRITICAL nova [-] KeyError: VerNum(242) 2014-06-11 22:53:27.977 TRACE nova Traceback (most recent call

Re: [Openstack] [Nova] How is nova flavour related to VNC usage ?

2014-06-10 Thread Lars Kellogg-Stedman
On Tue, Jun 10, 2014 at 06:03:14PM +0530, Deepak Shetty wrote: When i use m1.tiny flavour I see that qemu process does not have -vnc and instance name is guestfs-XXX and uses libguestfs stuff Prior to booting your instance, Nova uses libguestfs to check the image to see whether it can be

Re: [Openstack] Nova-network Bug??

2014-06-04 Thread Georgios Dimitrakakis
Can someone confirm if this is a bug or not? Brand new Icehouse installation with the same behavior! Best, G. On Sat, 31 May 2014 21:53:09 +0300, Georgios Dimitrakakis wrote: It seems that the chains - Chain nova-network-OUTPUT - Chain nova-network-POSTROUTING - Chain

Re: [Openstack] Nova-network Bug??

2014-06-04 Thread Kuvaja, Erno
: [Openstack] Nova-network Bug?? Can someone confirm if this is a bug or not? Brand new Icehouse installation with the same behavior! Best, G. On Sat, 31 May 2014 21:53:09 +0300, Georgios Dimitrakakis wrote: It seems that the chains - Chain nova-network-OUTPUT - Chain nova-network-POSTROUTING

[Openstack] Nova-network Bug??

2014-05-31 Thread Georgios Dimitrakakis
Hi! For some days now I am trying to figure out what is the problem and IceHouse instances don't get internet access (you can have a look here: https://www.mail-archive.com/openstack@lists.openstack.org/msg07138.html ) Today I 've discovered that I have to put a NAT-firewall rule in the

Re: [Openstack] Nova-network Bug??

2014-05-31 Thread Georgios Dimitrakakis
It seems that the chains - Chain nova-network-OUTPUT - Chain nova-network-POSTROUTING - Chain nova-network-PREROUTING - Chain nova-network-float-snat are not populated correctly every time I start an instance. Any ideas why this is happening? Best, G. On Sat, 31 May 2014 14:09:13 +0300,

[Openstack] nova-network vs neutron

2014-05-30 Thread Jeremy Utley
Hello list, I'm working on a proof-of-concept openstack installation for my company, and am looking for the answers to some questions that I haven't been able to find the answer to. Hopefully someone here can help point me in the right direction! I've got a basic setup already in place - 2

Re: [Openstack] nova-network vs neutron

2014-05-30 Thread Remo Mattei
HI Jeremy, I would personally look into neutron and consider provider network. ML2 allows different type of backends, and between nodes I would use GRE. Just my 2 cents. I know I was short but at least you got some ideas on where to look for. Remo On May 30, 2014, at 1:21 PM, Jeremy

[Openstack] [openstack][nova] placing HA controller and local compute service on same node

2014-05-21 Thread Curious Human
All, I have specific deployment of 3 high end physical boxes. Box 1 hosts all controller services and also compute whereas box 2 3 hold compute only. Now I want to configure 2 as passive controller for HA of controller services. Nova services like scheduler etc needs to be highly available

Re: [Openstack] nova-compute and cinder-scheduler HA

2014-05-17 Thread Сергей Мотовиловец
Hello, Jay! Thanks for the answer. Yeah, it seems like you literally gave me the answer by asking questions about Rabbit. That made me take a closer look at Rabbit and think of it as a source of these problems. What I missed was defining HA policy explicitly (as it's not enabled by default since

[Openstack] nova compute repeating logs

2014-05-16 Thread sonia verma
Hi I'm trying to boot VM from my controller node(openstack dashboard) onto compute node but it is stucking at spawning state. I'm able to see the VM interface onto the compute but the status is spawning even after 10-15 minutes. Below are the nova schedular logs..

Re: [Openstack] nova-compute and cinder-scheduler HA

2014-05-16 Thread Jay Pipes
On 05/14/2014 02:49 PM, Сергей Мотовиловец wrote: Hello everyone! Hi Motovilovets :) Comments and questions for you inline... I'm facing some troubles with nova and cinder here. I have 2 control nodes (active/active) in my testing environment with Percona XtraDB cluster (Galera+xtrabackup)

Re: [Openstack] nova compute repeating logs

2014-05-16 Thread Dimitri Maziuk
On 5/16/2014 6:00 AM, sonia verma wrote: Hi I'm trying to boot VM from my controller node(openstack dashboard) onto compute node but it is stucking at spawning state. I'm able to see the VM interface onto the compute but the status is spawning even after 10-15 minutes. Check

[Openstack] nova-compute and cinder-scheduler HA

2014-05-14 Thread Сергей Мотовиловец
Hello everyone! I'm facing some troubles with nova and cinder here. I have 2 control nodes (active/active) in my testing environment with Percona XtraDB cluster (Galera+xtrabackup) + garbd on a separate node (to avoid split-brain) + OpenStack Icehouse, latest from Ubuntu 14.04 main repo. The

[Openstack] nova periodic task can't use cinderclient because it has a blank context

2014-05-14 Thread Deng Kim
Hi all. I have a question on icehouse release version of nova. _reclaim_queued_deletes() method in /nova/compute/manager.py is a periodic task. And if I set cinder up in my openstack system, the method uses cinderclient to call terminate_connection(). But sadly a context object used by the

Re: [Openstack] nova-compute and cinder-scheduler HA

2014-05-14 Thread Chu Duc Minh
I hava the same setup got the same problem like Sergey. Not yet figured out a good solution for this (except Pacemaker/Corosync) On Thu, May 15, 2014 at 1:49 AM, Сергей Мотовиловец motovilovets.ser...@gmail.com wrote: Hello everyone! I'm facing some troubles with nova and cinder here. I

Re: [Openstack] nova ip 169.254.169.254

2014-05-12 Thread Howard Luckenbaugh
...@hp.com To: Robert Collins robe...@robertcollins.net, Howard Luckenbaugh/Raleigh/IBM@IBMUS Cc: openstack@lists.openstack.org openstack@lists.openstack.org Date: 05/11/2014 11:29 PM Subject:RE: [Openstack] nova ip 169.254.169.254 Few troubleshooting steps (assuming

Re: [Openstack] nova ip 169.254.169.254

2014-05-12 Thread Howard Luckenbaugh
...@robertcollins.net To: Howard Luckenbaugh/Raleigh/IBM@IBMUS Cc: Gangur, Hrushikesh (R D HP Cloud) hrushikesh.gan...@hp.com, openstack@lists.openstack.org openstack@lists.openstack.org Date: 05/12/2014 10:27 AM Subject:Re: [Openstack] nova ip 169.254.169.254 The VMs

Re: [Openstack] nova ip 169.254.169.254

2014-05-12 Thread Robert Collins
, Howard Luckenbaugh/Raleigh/IBM@IBMUS Cc: openstack@lists.openstack.org openstack@lists.openstack.org Date: 05/11/2014 11:29 PM Subject: RE: [Openstack] nova ip 169.254.169.254 -- Few troubleshooting steps (assuming neutron's metadata agent): 1. Check through

Re: [Openstack] nova ip 169.254.169.254

2014-05-11 Thread Gangur, Hrushikesh (R D HP Cloud)
up. 3. If yes to #1, restart neutron-metadata-agent Regards~hrushi -Original Message- From: Robert Collins [mailto:robe...@robertcollins.net] Sent: Saturday, May 10, 2014 3:03 PM To: Howard Luckenbaugh Cc: openstack@lists.openstack.org Subject: Re: [Openstack] nova ip 169.254.169.254

Re: [Openstack] nova ip 169.254.169.254

2014-05-10 Thread Robert Collins
On 10 May 2014 06:16, Howard Luckenbaugh hluc...@us.ibm.com wrote: This box was working and listening on 169.254.169.254 to access the metadata of the machines. However it has stopped listening. I have tried rebooting and comparing networks and etc and nothing I can see is stopping it. Anyone

[Openstack] nova compute error

2014-05-07 Thread sonia verma
Hi I'm getting foollowing error while booting VM on compute node in nova-compute service using devstack due to which the VM is stuck at spawning state.. ERROR nova.openstack.common.rpc.amqp [req-da485913-0cb2-47c1-ac61-6657361286c3 nova service] Exception during message handling [16:18:23]

[Openstack] [Nova Network] Hosts lost connectivity but not instances

2014-05-07 Thread Naman Muley
Hello, I have a multi-node install of openstack havana. Until yesterday I had all the nodes and instances with proper connectivity, using FlatDHCPManager. Today, when I tried to check connectivity, all compute hosts are unable to send a ping outside the machine. Curiously, the instances are

[Openstack] nova cells

2014-04-30 Thread Liam Young
Hi, I'm looking at setting up nova cells using a json file to store the cell information (http://docs.openstack.org/havana/config-reference/content/section_compute-cells.html#cell-config-optional-json) which is supposed to replace using the db but strangely the api_url is needed for the json

Re: [Openstack] nova cells

2014-04-30 Thread Chris Behrens
Ah, api_url was something that needed to be removed from the DB, as it's not being used. I suspect that it's also not used in the .conf file, but was put there just to match the DB. - Chris On Apr 30, 2014, at 11:19 AM, Liam Young liam.yo...@canonical.com wrote: Hi, I'm looking at

Re: [Openstack] [Nova] Icehouse - Virtual Interface creation failed

2014-04-26 Thread Yaguang Tang
The answer here may helps you for the same issue https://ask.openstack.org/en/question/26985/icehouse-virtual-interface-creation-failed/ 2014-04-19 21:55 GMT+08:00 trinath.soman...@freescale.com trinath.soman...@freescale.com: Hi- I got this error when I launched an instance

[Openstack] nova boot --ephemeral usage

2014-04-26 Thread Thang Pham
Hi everyone, I have a usage question about the --ephemeral option in nova boot: If you have a flavor, which contains an ephemeral disk, usually when you create an instance with it, disk.local is created. But what happens if you use that flavor and also use the --ephemeral option in nova boot,

Re: [Openstack] nova boot --ephemeral usage

2014-04-26 Thread Trump.Zhang
If ephemeral size in flavor is bigger than you specified in command line, it will be created with the size you specified. Otherwise API will return error. Best Regards Trump Zhang 在 2014年4月27日,上午1:16,Thang Pham thang.g.p...@gmail.com 写道: Hi everyone, I have a usage question about

Re: [Openstack] nova boot --ephemeral usage

2014-04-26 Thread Thang Pham
Thanks for the reply. What is noticed is that if no --ephemeral option is specified with nova boot, and the flavor contains an ephemeral disk, nova will just create an ephemeral disk using the default size in the flavor, called disk.local. Thang On Sat, Apr 26, 2014 at 4:57 PM, Trump.Zhang

Re: [Openstack] [Nova] How to attach an ISO image in Glance to running instance

2014-04-25 Thread Zhangleiqiang (Trump)
Regards From: Martinx - ジェームズ [mailto:thiagocmarti...@gmail.com] Sent: Friday, April 25, 2014 7:17 AM To: Zhangleiqiang (Trump) Cc: openstack@lists.openstack.org; Luohao (brian) Subject: Re: [Openstack] [Nova] How to attach an ISO image in Glance to running instance Hi! You can attach a Cinder

Re: [openstack-dev] [Openstack] [nova] Havana - Icehouse upgrades with cells

2014-04-24 Thread Chris Behrens
On Apr 23, 2014, at 6:36 PM, Sam Morrison sorri...@gmail.com wrote: Yeah I’m not sure what’s going on, I removed my hacks and tried it using the conductor rpcapi service and got what I think is a recursive call in nova-conductor. Added more details to

[openstack-dev] [OpenStack][Nova] infinite attempts left

2014-04-24 Thread Gareth
When run nova-manage db sync it outputs a lot of logs and SQL connection failed. infinite attempts left What does that means? -- Gareth *Cloud Computing, OpenStack, Distributed Storage, Fitness, Basketball* *OpenStack contributor, kun_huang@freenode* *My promise: if you find any spelling or

Re: [openstack-dev] [Openstack] [nova] Havana - Icehouse upgrades with cells

2014-04-24 Thread Sam Morrison
Hey Chris, On 24 Apr 2014, at 4:28 pm, Chris Behrens cbehr...@codestud.com wrote: On Apr 23, 2014, at 6:36 PM, Sam Morrison sorri...@gmail.com wrote: Yeah I’m not sure what’s going on, I removed my hacks and tried it using the conductor rpcapi service and got what I think is a recursive

<    2   3   4   5   6   7   8   9   10   11   >