[openstack-dev] [OpenStack][InstanceGroup] metadetails and metadata in instance_group.py

2014-08-10 Thread Jay Lau
Hi, Does anyone know why in instance_group.py, why do we have the following logic for transferring metadetails to metadata? Why not transfer metadata directly from client? https://github.com/openstack/nova/blob/master/nova/objects/instance_group.py#L99-L101 -- Thanks, Jay

Re: [openstack-dev] [OpenStack][InstanceGroup] metadetails and metadata in instance_group.py

2014-08-10 Thread Jay Lau
I was asking this because I got a -2 for https://review.openstack.org/109505 , just want to know why this new term metadetails was invented when we already have details, metadata, system_metadata, instance_metadata, and properties (on images and volumes). Thanks! 2014-08-11 10:09 GMT+08:00 Jay

Re: [openstack-dev] [OpenStack][InstanceGroup] metadetails and metadata in instance_group.py

2014-08-11 Thread Jay Lau
jaypi...@gmail.com: On 08/11/2014 05:58 PM, Jay Lau wrote: I think the metadata in server group is an important feature and it might be used by https://blueprints.launchpad.net/nova/+spec/soft-affinity- for-server-group Actually, we are now doing an internal development for above bp

Re: [openstack-dev] [OpenStack][Docker][HEAT] Cloud-init and docker container

2014-08-12 Thread Jay Lau
is spawned. Is that what you want? Regards, Qiming On Tue, Aug 12, 2014 at 02:27:39PM +0800, Jay Lau wrote: Hi, I'm now doing some investigation for docker + HEAT integration and come up one question want to get your help. What is the best way for a docker container to run some

Re: [openstack-dev] [OpenStack][Docker][HEAT] Cloud-init and docker container

2014-08-12 Thread Jay Lau
2014-08-12 17:11 GMT+08:00 Qiming Teng teng...@linux.vnet.ibm.com: Don't have an answer to this. You may try it though. Regards, Qiming On Tue, Aug 12, 2014 at 04:52:58PM +0800, Jay Lau wrote: Thanks Qiming. ;-) Yes, this is one solution for running user data when using docker

Re: [openstack-dev] [OpenStack][Docker][HEAT] Cloud-init and docker container

2014-08-12 Thread Jay Lau
Thanks Eric for the confirmation ;-) 2014-08-12 23:30 GMT+08:00 Eric Windisch ewindi...@docker.com: On Tue, Aug 12, 2014 at 5:53 AM, Jay Lau jay.lau@gmail.com wrote: I did not have the environment set up now, but by reviewing code, I think that the logic should be as following: 1

[openstack-dev] [OpenStack][Docker] Run OpenStack Service in Docker Container

2014-08-14 Thread Jay Lau
I see a few mentions of OpenStack services themselves being containerized in Docker. Is this a serious trend in the community? http://allthingsopen.com/2014/02/12/why-containers-for-openstack-services/ -- Thanks, Jay ___ OpenStack-dev mailing list

Re: [openstack-dev] Live Migration Bug in vmware VCDriver

2014-08-18 Thread Jay Lau
It seems that VCDriver do not support live migration till now. I recalled in ATL summit, the VMWare team is going to do some enhancement to enable live migration: 1) Make sure one nova compute can only manage one cluster or resource pool, this can make sure VMs in different cluster/resource pool

Re: [openstack-dev] [OpenStack][Docker] Run OpenStack Service in Docker Container

2014-08-18 Thread Jay Lau
the outcome was. Any suggestions on what the most appropriate service would be to begin with? On 14 August 2014 14:54, Jay Lau jay.lau@gmail.com wrote: I see a few mentions of OpenStack services themselves being containerized in Docker. Is this a serious trend in the community? http

Re: [openstack-dev] Live Migration Bug in vmware VCDriver

2014-08-18 Thread Jay Lau
-18 19:32 GMT+08:00 한승진 yongi...@gmail.com: Thanks for reply Jay~! From icehouse, one nova-compute can manage multi clusters I think. In this case, how should we progress in order to archive the live migration functions. Thanks. John Haan. 2014-08-18 19:00 GMT+09:00 Jay Lau jay.lau

Re: [openstack-dev] [OpenStack][Docker] Run OpenStack Service in Docker Container

2014-08-18 Thread Jay Lau
2014-08-19 4:11 GMT+08:00 Eric Windisch ewindi...@docker.com: On Mon, Aug 18, 2014 at 8:49 AM, Jyoti Ranjan jran...@gmail.com wrote: I believe that everything can not go as a dock container. For e.g. 1. compute nodes 2. baremetal provisioning 3. L3 router etc Containers are a good

Re: [openstack-dev] [OpenStack][Docker] Run OpenStack Service in Docker Container

2014-08-18 Thread Jay Lau
Thanks Eric for the detailed explanation, clear. Will check more for related links, thanks! 2014-08-19 7:09 GMT+08:00 Eric Windisch ewindi...@docker.com: On Mon, Aug 18, 2014 at 8:49 AM, Jyoti Ranjan jran...@gmail.com wrote: I believe that everything can not go as a dock container. For e.g.

Re: [openstack-dev] [Congress] Policy Enforcement logic

2014-08-21 Thread Jay Lau
I know that Congress is still under development, but it is better that it can provide some info for How to use it just like docker https://wiki.openstack.org/wiki/Docker , this might attract more people contributing to it. 2014-08-21 22:07 GMT+08:00 Madhu Mohan mmo...@mvista.com: Hi, I am

Re: [openstack-dev] New feature on Nova

2014-08-21 Thread Jay Lau
There is already a blueprint tracing KVM host maintain: https://blueprints.launchpad.net/nova/+spec/host-maintenance , but I think that nova will not handle the case of auto live migration for maintenance host, this should be a use case of Congress: https://wiki.openstack.org/wiki/Congress

Re: [openstack-dev] [Congress] Policy Enforcement logic

2014-08-21 Thread Jay Lau
, 2014, at 7:54 AM, Jay Lau jay.lau@gmail.com wrote: I know that Congress is still under development, but it is better that it can provide some info for How to use it just like docker https://wiki.openstack.org/wiki/Docker , this might attract more people contributing to it. 2014-08-21 22:07

Re: [openstack-dev] [Congress] Upcoming alpha release

2014-08-21 Thread Jay Lau
Just go through the tutorial, it is very clear, thanks Tim and the Congress team. In the README.rst, the link http://docs.openstack.org/developer/congress cannot be opened. One minor comments, I noticed that you are using Neutron for the example, can you please add another case without neutron?

Re: [openstack-dev] [Nova] - do we need .start and .end notifications in all cases ?

2014-09-22 Thread Jay Lau
Hi Jay, There was actually a discussion about file a blueprint for object notification http://markmail.org/message/ztehzx2wc6dacnk2 But for patch https://review.openstack.org/#/c/107954/ , I'd like we keep it as it is now to resolve the requirement of server group notifications for 3rd party

[openstack-dev] [OpenStack][Nova][API] Still need to update v2 API in Icehouse release

2013-12-26 Thread Jay Lau
Hi, In Icehouse development, do we have some guidelines for nova api change? If I want to make some changes for nova api, do I need to update both v2 and v3 or just v3? There are some patches related to this, hope can get some comments from you. https://review.openstack.org/#/c/52733/

Re: [openstack-dev] [OpenStack][Nova][API] Still need to update v2 API in Icehouse release

2013-12-27 Thread Jay Lau
Gordon joe.gord...@gmail.com On Thu, Dec 26, 2013 at 1:03 AM, Jay Lau jay.lau@gmail.com wrote: Hi, In Icehouse development, do we have some guidelines for nova api change? If I want to make some changes for nova api, do I need to update both v2 and v3 or just v3? For every new

[openstack-dev] [OpenStack][HEAT][Template][Dashboard] HEAT editing dashboard

2013-12-30 Thread Jay Lau
Hi, I noticed that there is a bp https://blueprints.launchpad.net/horizon/+spec/heat-template-managementwhich want to improve the UI for HEAT template, does anyone working on this? If not, does anyone who have some mock up dashboard for editing heat template? Thanks, Jay

Re: [openstack-dev] [nova]Should we add the api to move the removed or damaged hosts

2014-01-02 Thread Jay Lau
Its duplicate with https://blueprints.launchpad.net/nova/+spec/remove-nova-compute Thanks, Jay 2014/1/3 黎林果 lilinguo8...@gmail.com Hi, All Should we add the api to move the removed or damaged hosts? See also: https://blueprints.launchpad.net/nova/+spec/add-delete-host-api

[openstack-dev] [OpenStack][Gantt][filters] AvailabilityZoneFilter in Gantt and Oslo

2014-01-05 Thread Jay Lau
Greetings, Here come a question related to AvailabilityZoneFilter. A new project Gantt which is a common scheduler for OpenStack is now under incubation, and now most of the code are get from nova scheduler. I'm planning to make Gantt use common scheduler from oslo, and I think that this is the

Re: [openstack-dev] [OpenStack][Gantt][filters] AvailabilityZoneFilter in Gantt and Oslo

2014-01-05 Thread Jay Lau
connected with db models, that makes a really hard (or impossible we already tried) process of making common scheduler. Third: Why this project, that is actually just Nova copy paste is under openstack? Best regards, Boris Pavlovic On Sun, Jan 5, 2014 at 6:13 PM, Jay Lau jay.lau@gmail.com

Re: [openstack-dev] [nova][infra] nova py27 unit test failures in libvirt

2014-01-07 Thread Jay Lau
A bug was filed: https://bugs.launchpad.net/nova/+bug/1266711 Thanks, Jay 2014/1/7 Lu, Lianhao lianhao...@intel.com Hi guys, This afternoon I suddenly find that there are quite a lot of nova py27 unit test failures on Jenkins, like

Re: [openstack-dev] [Nova] libvirt unit test errors

2014-01-07 Thread Jay Lau
Gary, Please search email with title as [openstack-dev] [nova][infra] nova py27 unit test failures in libvirt, a bug has been filed for this: https://bugs.launchpad.net/nova/+bug/1266711 Thanks, Jay 2014/1/7 Gary Kotton gkot...@vmware.com Hi, Anyone aware of the following: 2014-01-07

[openstack-dev] [OpenStack][Nova][cold migration] Why we need confirm resize after cold migration

2014-01-08 Thread Jay Lau
Greetings, I have a question related to cold migration. Now in OpenStack nova, we support live migration, cold migration and resize. For live migration, we do not need to confirm after live migration finished. For resize, we need to confirm, as we want to give end user an opportunity to

Re: [openstack-dev] [OpenStack][Nova][cold migration] Why we need confirm resize after cold migration

2014-01-08 Thread Jay Lau
/08/2014 04:52 AM, Jay Lau wrote: Greetings, I have a question related to cold migration. Now in OpenStack nova, we support live migration, cold migration and resize. For live migration, we do not need to confirm after live migration finished. For resize, we need to confirm

Re: [openstack-dev] [OpenStack][Nova][cold migration] Why we need confirm resize after cold migration

2014-01-08 Thread Jay Lau
. However, it doesn't. Like Jay said, we should skip this step during cold migration, does it make sense? Not sure. On Wed, Jan 8, 2014 at 5:52 PM, Jay Lau jay.lau@gmail.com wrote: Greetings, I have a question related to cold migration. Now in OpenStack nova, we support live

Re: [openstack-dev] [OpenStack][Nova][cold migration] Why we need confirm resize after cold migration

2014-01-08 Thread Jay Lau
. Thus, nova should skip resize verifying. However, it doesn't. Like Jay said, we should skip this step during cold migration, does it make sense? Not sure. On Wed, Jan 8, 2014 at 5:52 PM, Jay Lau jay.lau@gmail.com wrote: Greetings, I have a question related to cold

[openstack-dev] [OpenStack][Oslo] What is the policy of sync up from Oslo to other projects

2014-01-12 Thread Jay Lau
Hi, Just want to know do we have some policy to sync up from Oslo to other projects? I often noticed that there are some important changes to Oslo but the code did not sync up to other projects on time. Do we want to sync up from Oslo to other projects one by one or sync up batch patches at one

Re: [openstack-dev] [OpenStack][Oslo] What is the policy of sync up from Oslo to other projects

2014-01-12 Thread Jay Lau
Thanks Doug, clear now. Regards, Jay 2014/1/13 Doug Hellmann doug.hellm...@dreamhost.com On Sun, Jan 12, 2014 at 8:59 AM, Jay Lau jay.lau@gmail.com wrote: Hi, Just want to know do we have some policy to sync up from Oslo to other projects? I often noticed that there are some

Re: [openstack-dev] [gantt[ Patches to sync gantt up to the current nova tree

2014-01-12 Thread Jay Lau
According to https://www.mail-archive.com/openstack-dev@lists.openstack.org/msg12973.html, it is said that we should not stop nova scheduler working for now. BTW: I think that we may need to consider the following patches to enable Nova use scheduler from Oslo first to reduce future work before

Re: [openstack-dev] [gantt[ Patches to sync gantt up to the current nova tree

2014-01-12 Thread Jay Lau
and only when the gantt tree is functional and provides the same functionality as the scheduler inside the nova will we consider moving all development to gantt. -- Don Dugger Censeo Toto nos in Kansa esse decisse. - D. Gale Ph: 303/443-3786 *From:* Jay Lau [mailto:jay.lau

[openstack-dev] [OpenStack][Nova][Cold Migration] What about enable cold migration with taraget host

2014-01-13 Thread Jay Lau
Greetings, Now cold migration do not support migrate a VM instance with target host, what about add this feature to enable cold migration with a target host? I encounter this issue is because I was creating a HA service and the service will monitor if there are some hosts failure, and the HA

Re: [openstack-dev] [OpenStack][Nova][Cold Migration] What about enable cold migration with taraget host

2014-01-13 Thread Jay Lau
Thanks Russell, will add this to V3 api ad leave V2 API as it is. Regards, Jay 2014/1/13 Russell Bryant rbry...@redhat.com On 01/13/2014 03:16 AM, Jay Lau wrote: Greetings, Now cold migration do not support migrate a VM instance with target host, what about add this feature to enable

Re: [openstack-dev] [OpenStack][Nova][Cold Migration] What about enable cold migration with taraget host

2014-01-14 Thread Jay Lau
! and by the way, is the code of the HA service you have implemented open source? 2014/1/13 Jay Lau jay.lau@gmail.com Thanks Russell, will add this to V3 api ad leave V2 API as it is. Regards, Jay 2014/1/13 Russell Bryant rbry...@redhat.com On 01/13/2014 03:16 AM, Jay Lau wrote

Re: [openstack-dev] [OpenStack][HEAT][Dashboard] Edit JSON tempalte on OpenStack Dashboard

2014-01-15 Thread Jay Lau
Thanks Tim and Liz, comments in line. 2014/1/15 Tim Schnell tim.schn...@rackspace.com On 1/15/14 9:01 AM, Liz Blanchard lsure...@redhat.com wrote: On Jan 9, 2014, at 4:41 AM, Jay Lau jay.lau@gmail.com wrote: My bad, the image cannot be viewed. Upload again. Thanks

[openstack-dev] [OpenStack][Nova][compute] Why prune all compute node stats when sync up compute nodes

2014-01-15 Thread Jay Lau
Greeting, In compute/manager.py, there is a periodic task named as update_available_resource(), it will update resource for each compute periodically. @periodic_task.periodic_task def update_available_resource(self, context): See driver.get_available_resource() Periodic

Re: [openstack-dev] [Nova] why don't we deal with claims when live migrating an instance?

2014-01-16 Thread Jay Lau
Hi Scott, I'm now trying to fix this issue at https://blueprints.launchpad.net/nova/+spec/auto-confirm-cold-migration After the fix, we do not need to confirm the cold migration. http://lists.openstack.org/pipermail/openstack-dev/2014-January/023726.html Thanks, Jay 2014/1/17 Scott Devoid

Re: [openstack-dev] [nova]can someone help me? when I use cmd nova migration-list error.

2014-01-19 Thread Jay Lau
It is being fixed https://review.openstack.org/#/c/61717/ Thanks, Jay 2014/1/20 li zheming lizhemin...@gmail.com hi all: when I use cmd nova migration-list, it return error,like this: openstack@ openstack@devstack:/home$devstack:/home$ nova migration-list ERROR: 'unicode'

Re: [openstack-dev] [OpenStack][Nova][cold migration] Why we need confirm resize after cold migration

2014-01-19 Thread Jay Lau
, if really want to distinguish, we may need to add some data in system metadata to mark if the VM was cold migrated by V2 or V3 API. Any comments? Thanks, Jay 2014/1/9 John Garbutt j...@johngarbutt.com On 8 January 2014 15:29, Jay Lau jay.lau@gmail.com wrote: 2014/1/8 John Garbutt j

Re: [openstack-dev] [OpenStack][Nova][cold migration] Why we need confirm resize after cold migration

2014-01-21 Thread Jay Lau
2014/1/22 Christopher Yeoh cbky...@gmail.com On Mon, Jan 20, 2014 at 6:10 PM, Jay Lau jay.lau@gmail.com wrote: Hey, I have to bring up this topic again. A patch https://review.openstack.org/#/c/66101/ has been uploaded for review to resolve the cold migration auto confirm issue. One

Re: [openstack-dev] [OpenStack][Nova][cold migration] Why we need confirm resize after cold migration

2014-01-21 Thread Jay Lau
/22 Alex Xu x...@linux.vnet.ibm.com On 2014年01月08日 23:12, Jay Lau wrote: Thanks Russell, OK, will file a bug for first issue. For second question, I want to show some of my comments here. I think that we should disable cold migration for an ACTIVE VM as cold migrating will first destroy

[openstack-dev] [OpenStack][Nova][Scheduler] Enable nova use filters/weight from oslo

2014-01-28 Thread Jay Lau
Greetings, I have logged a bp https://blueprints.launchpad.net/nova/+spec/nova-oslo-scheduler which wants to enable nova scheduler use scheduler utils from oslo like cinder. Can any core help take a look and check if it can be approved? I have uploaded some patches for this bp. Thanks, Jay

[openstack-dev] [OpenStack][Nova][VCDriver] VMWare VCDriver problems

2014-02-12 Thread Jay Lau
Greetings, I was now doing some integration with VMWare VCDriver and have some questions during the integration work. 1) In Hong Kong Summit, it was mentioned that ESXDriver will be dropped, so do we have any plan when to drop this driver? 2) There are many good features in VMWare was not

Re: [openstack-dev] [OpenStack][Nova][VCDriver] VMWare VCDriver problems

2014-02-13 Thread Jay Lau
to deprecate it. Thanks Gary From: Jay Lau jay.lau@gmail.com Reply-To: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.org Date: Thursday, February 13, 2014 4:00 AM To: OpenStack Development Mailing List openstack-dev@lists.openstack.org Subject

Re: [openstack-dev] [OpenStack][Nova][VCDriver] VMWare VCDriver problems

2014-02-14 Thread Jay Lau
Cool, thanks Gary. Do you have some bugs or bp filed in launchpad to trace those issues? 2014-02-14 17:11 GMT+08:00 Gary Kotton gkot...@vmware.com: Hi, We are currently looking into that. Thanks Gary From: Jay Lau jay.lau@gmail.com Reply-To: OpenStack Development Mailing List

[openstack-dev] [Nova][VMWare] VMwareVCDriver related to resize/cold migration

2014-02-15 Thread Jay Lau
Hey, I have one question related with OpenStack vmwareapi.VMwareVCDriver resize/cold migration. The following is my configuration: DC | |Cluster1 | | | |9.111.249.56 | |Cluster2 | |9.111.249.49 *Scenario

Re: [openstack-dev] [Nova][VMWare] VMwareVCDriver related to resize/cold migration

2014-02-16 Thread Jay Lau
://review.openstack.org/#/c/69262/ (we need to restore) Thanks Gary From: Jay Lau jay.lau@gmail.com Reply-To: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.org Date: Sunday, February 16, 2014 6:39 AM To: OpenStack Development Mailing List openstack-dev

Re: [openstack-dev] [Nova][VMWare] VMwareVCDriver related to resize/cold migration

2014-02-16 Thread Jay Lau
for above two scenarios or else can you please provide some best practise for VCDriver? I did not get much info from admin guide. Thanks, Jay 2014-02-16 23:01 GMT+08:00 Jay Lau jay.lau@gmail.com: Thanks Gary, clear now. ;-) 2014-02-16 21:40 GMT+08:00 Gary Kotton gkot...@vmware.com: Hi

[openstack-dev] [Network] Allocate MAC and IP address for a VM instance

2014-02-18 Thread Jay Lau
Greetings, Not sure if it is suitable to ask this question in openstack-dev list. Here come a question related to network and want to get some input or comments from you experts. My case is as this: For some security issue, I want to put both MAC and internal IP address to a pool and when create

Re: [openstack-dev] [Network] Allocate MAC and IP address for a VM instance

2014-02-18 Thread Jay Lau
with this port. But the mapping of them need to manage by yourself. 在 2014年2月18日,22:41,Jay Lau jay.lau@gmail.com 写道: Greetings, Not sure if it is suitable to ask this question in openstack-dev list. Here come a question related to network and want to get some input or comments from

Re: [openstack-dev] [Network] Allocate MAC and IP address for a VM instance

2014-02-18 Thread Jay Lau
| [] | | metadata | {} | +--+--+ Thanks, Jay 2014-02-19 8:11 GMT+08:00 Jay Lau jay.lau@gmail.com: Thanks Dong for the great help, it does

Re: [openstack-dev] [Network] Allocate MAC and IP address for a VM instance

2014-02-18 Thread Jay Lau
于 2014-02-19 8:11, Jay Lau 写道: Thanks Dong for the great help, it does worked with command line! This seems not available via dashboard, right? Thanks, Jay 2014-02-19 1:11 GMT+08:00 Dong Liu willowd...@gmail.com mailto:willowd...@gmail.com: Hi Jay, In neutron API, you

Re: [openstack-dev] [Network] Allocate MAC and IP address for a VM instance

2014-02-19 Thread Jay Lau
+08:00 Dong Liu willowd...@gmail.com: Jay, what the mac belong to? Is it a vm mac, or a mac of floatingip. If it is a vm mac, you can associate any floatingip to vm port. If it is a floatingip mac, I have no idea. 2014-02-19 11:44, Jay Lau : Thanks Liu Dong. In case that you may not get my

Re: [openstack-dev] [Network] Allocate MAC and IP address for a VM instance

2014-02-19 Thread Jay Lau
Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:352 (352.0 b) TX bytes:352 (352.0 b) 2014-02-19 17:59 GMT+08:00 Jay Lau jay.lau@gmail.com: Thanks

Re: [openstack-dev] [Network] Allocate MAC and IP address for a VM instance

2014-02-19 Thread Jay Lau
floatingip-mac is that, actually, when you creating a floatingip, neutron will automatic create a port use that public ip, this port has a mac-address, I mean this one. 在 2014年2月19日,18:22,Jay Lau jay.lau@gmail.com 写道: Hi Liu Dong, Just found a solution for this as following, the method

[openstack-dev] [OpenStack-dev][HEAT][Windows] Does HEAT support provisioning windows cluster

2014-02-20 Thread Jay Lau
Hi, Does HEAT support provisioning windows cluster? If so, can I also use user-data to do some post install work for windows instance? Is there any example template for this? Thanks, Jay ___ OpenStack-dev mailing list

Re: [openstack-dev] [OpenStack-dev][HEAT][Windows] Does HEAT support provisioning windows cluster

2014-02-20 Thread Jay Lau
support provisioning windows cluster with heat. Thanks, Jay 2014-02-20 18:02 GMT+08:00 Jay Lau jay.lau@gmail.com: Hi, Does HEAT support provisioning windows cluster? If so, can I also use user-data to do some post install work for windows instance? Is there any example template

Re: [openstack-dev] [OpenStack-dev][HEAT][Windows] Does HEAT support provisioning windows cluster

2014-02-21 Thread Jay Lau
://wiki.cloudbase.it/heat-windows [2] http://technet.microsoft.com/library/hh831579 [3] https://wiki.openstack.org/Murano [4] http://www.youtube.com/watch?v=Y_CmrZfKy18 -- Regards, Alexander Tivelkov On Thu, Feb 20, 2014 at 2:02 PM, Jay Lau jay.lau@gmail.com wrote: Hi, Does HEAT

Re: [openstack-dev] [nova][libvirt] Is there anything blocking the libvirt driver from implementing the host_maintenance_mode API?

2014-02-22 Thread Jay Lau
So there is no need to implement libvirt driver for the host_maintenance_mode API as host_maintenance_mode is mainly for VMWare and XenServer, also we can use evacuate and os-services/disable for libvirt host maintain, right? Thanks, Jay 2014-02-23 5:22 GMT+08:00 Bruce Montague

Re: [openstack-dev] [Network] Allocate MAC and IP address for a VM instance

2014-02-22 Thread Jay Lau
Sorry to bring this up again, just want to ask more, currently, I can only use neutron to bind IP and MAC but cannot reach this goal via nova-network, right? Thanks, Jay 2014-02-19 21:05 GMT+08:00 Jay Lau jay.lau@gmail.com: Thanks Liu Dong. Clear now! ;-) 2014-02-19 20:17 GMT+08:00

[openstack-dev] [OpenStack][Runtime Policy] A proposal for OpenStack run time policy to manage compute/storage resource

2014-02-25 Thread Jay Lau
Greetings, Here I want to bring up an old topic here and want to get some input from you experts. Currently in nova and cinder, we only have some initial placement polices to help customer deploy VM instance or create volume storage to a specified host, but after the VM or the volume was

Re: [openstack-dev] [OpenStack][Runtime Policy] A proposal for OpenStack run time policy to manage compute/storage resource

2014-02-25 Thread Jay Lau
of the Pets vs. Cattles analogy, and I definitely think | that Compute resources could be treated like Pets, provided the | Scheduler does a move. | | | -Sylvain | | | | 2014-02-26 0:40 GMT+01:00 Jay Lau jay.lau@gmail.com : | | | | | Greetings, | | | Here I want to bring up

Re: [openstack-dev] [OpenStack][Runtime Policy] A proposal for OpenStack run time policy to manage compute/storage resource

2014-02-25 Thread Jay Lau
GMT+01:00 Jay Lau jay.lau@gmail.com : | | | | | Greetings, | | | Here I want to bring up an old topic here and want to get some input | from you experts. | | | Currently in nova and cinder, we only have some initial placement | polices to help customer deploy VM instance or create

Re: [openstack-dev] [OpenStack][Runtime Policy] A proposal for OpenStack run time policy to manage compute/storage resource

2014-02-26 Thread Jay Lau
Hi Tim, I'm not sure if we can put resource monitor and adjust to solver-scheduler (Gantt), but I have proposed this to Gantt design [1], you can refer to [1] and search jay-lau-513. IMHO, Congress does monitoring and also take actions, but the actions seems mainly for adjusting single VM

Re: [openstack-dev] [Heat] Thoughts on adding a '--progress' option?

2014-02-28 Thread Jay Lau
Does heat resource-list and heat event-list help? [gyliu@drsserver hadoop_heat(keystone_admin)]$ heat resource-list a1 ++--++--+ | logical_resource_id| resource_type

Re: [openstack-dev] [OpenStack][Runtime Policy] A proposal for OpenStack run time policy to manage compute/storage resource

2014-02-28 Thread Jay Lau
). Tim - Original Message - | From: Jay Lau jay.lau@gmail.com | To: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.org | Sent: Wednesday, February 26, 2014 6:30:54 PM | Subject: Re: [openstack-dev] [OpenStack][Runtime Policy] A proposal

Re: [openstack-dev] [nova] Automatic Evacuation

2014-02-28 Thread Jay Lau
Hey, Sorry to bring this up again. There are also some discussions here: http://markmail.org/message/5zotly4qktaf34ei You can also search [Runtime Policy] in your email list. Not sure if we can put this to Gantt and enable Gantt provide both initial placement and rum time polices like HA, load

Re: [openstack-dev] [nova] Automatic Evacuation

2014-03-03 Thread Jay Lau
. On Mon, Mar 3, 2014 at 10:30 PM, Andrew Laski andrew.la...@rackspace.comwrote: On 03/01/14 at 07:24am, Jay Lau wrote: Hey, Sorry to bring this up again. There are also some discussions here: http://markmail.org/message/5zotly4qktaf34ei You can also search [Runtime Policy] in your email

Re: [openstack-dev] [OpenStack][Runtime Policy] A proposal for OpenStack run time policy to manage compute/storage resource

2014-03-05 Thread Jay Lau
this to contribute to the right project. :) Thanks! -Gokul On Fri, Feb 28, 2014 at 5:46 PM, Jay Lau jay.lau@gmail.com wrote: Hi Yathiraj and Tim, Really appreciate your comments here ;-) I will prepare some detailed slides or documents before summit and we can have a review then. It would

Re: [openstack-dev] [Nova] Updates to Juno blueprint review process

2014-03-20 Thread Jay Lau
It is better that we can have some diagram workflow just like Gerrit_Workflow https://wiki.openstack.org/wiki/Gerrit_Workflow to show the new process. Thanks! 2014-03-21 4:23 GMT+08:00 Dolph Mathews dolph.math...@gmail.com: On Thu, Mar 20, 2014 at 10:49 AM, Russell Bryant

[openstack-dev] [OpenStack-dev][NOVA][VCDriver][live-migration] VCDriver live migration problem

2014-03-21 Thread Jay Lau
Hi, Currently we cannot do live migration with VCDriver in nova, live migration is really an important feature, so any plan to fix this? I noticed that there is already bug tracing this but seems no progress since last year's November: https://bugs.launchpad.net/nova/+bug/1192192 Here just

Re: [openstack-dev] [NOVA][VMWare][live-migration] VCDriver live migration problem

2014-03-22 Thread Jay Lau
is where we'll start the discussion. On Sat, Mar 22, 2014 at 1:18 AM, Jay Lau jay.lau@gmail.com wrote: Hi, Currently we cannot do live migration with VCDriver in nova, live migration is really an important feature, so any plan to fix this? I noticed that there is already bug tracing

Re: [openstack-dev] [NOVA][VMWare][live-migration] VCDriver live migration problem

2014-03-22 Thread Jay Lau
Thanks Shawn, what you proposed is exactly I want ;-) Cool! We can discuss more during the IRC meeting. Thanks! 2014-03-22 20:22 GMT+08:00 Jay Lau jay.lau@gmail.com: Thanks Shawn, I have updated the title with VMWare. Yes, I know that live migration works. But the problem is when

[openstack-dev] [OpenStack-Dev][Nova][VMWare] Enable live migration with one nova compute

2014-03-31 Thread Jay Lau
Hi, Currently with VMWare VCDriver, one nova compute can manage multiple clusters/RPs, this caused cluster admin cannot do live migration between clusters/PRs if those clusters/PRs managed by one nova compute as the current live migration logic request at least two nova computes. A bug [1] was

Re: [openstack-dev] [OpenStack-Dev][Nova][VMWare] Enable live migration with one nova compute

2014-03-31 Thread Jay Lau
to consider the possibility that VMWare's might not be the only Nova driver with this requirement in the relatively short term future. Thanks, Alessandro Best Regards, Solly Ross - Original Message - From: Jay Lau jay.lau@gmail.com To: OpenStack Development Mailing List

Re: [openstack-dev] [OpenStack-Dev][Nova][VMWare] Enable live migration with one nova compute

2014-04-03 Thread Jay Lau
+08:00 Chris Friesen chris.frie...@windriver.com: On 04/03/2014 05:48 PM, Jay Pipes wrote: On Mon, 2014-03-31 at 17:11 +0800, Jay Lau wrote: Hi, Currently with VMWare VCDriver, one nova compute can manage multiple clusters/RPs, this caused cluster admin cannot do live migration between

Re: [openstack-dev] [OpenStack-Dev][Nova][VMWare] Enable live migration with one nova compute

2014-04-03 Thread Jay Lau
2014-04-04 12:46 GMT+08:00 Jay Pipes jaypi...@gmail.com: On Fri, 2014-04-04 at 11:08 +0800, Jay Lau wrote: Thanks Jay and Chris for the comments! @Jay Pipes, I think that we still need to enable one nova compute live migration as one nova compute can manage multiple clusters and VMs

Re: [openstack-dev] [OpenStack-Dev][Nova][VMWare] Enable live migration with one nova compute

2014-04-05 Thread Jay Lau
, this bp can be treated as the base for VCDriver, as if the VCDriver can get all resources, then it would be very easy to do what we want. Thanks! 2014-04-06 4:32 GMT+08:00 Jay Pipes jaypi...@gmail.com: On Fri, 2014-04-04 at 13:30 +0800, Jay Lau wrote: 2014-04-04 12:46 GMT+08:00 Jay

Re: [openstack-dev] [OpenStack-Dev][Nova][VMWare] Enable live migration with one nova compute

2014-04-06 Thread Jay Lau
: Jay Pipes [mailto:jaypi...@gmail.com] Sent: Sunday, April 06, 2014 2:02 AM To: openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] [OpenStack-Dev][Nova][VMWare] Enable live migration with one nova compute Importance: High On Fri, 2014-04-04 at 13:30 +0800, Jay Lau wrote

Re: [openstack-dev] [Openstack] Does openstack have a notification system that will let us know when a server changes state ?

2013-10-20 Thread Jay Lau
Please get more detail from https://wiki.openstack.org/wiki/SystemUsageData Thanks, Jay 2013/10/19 Gabriel Hurley gabriel.hur...@nebula.com The answer is “sort of”. Most projects (including Nova) publish to an RPC “notifications” channel (e.g. in rabbitMQ or whichever you use in your

Re: [openstack-dev] [nova][cinder][oslo][scheduler] How to leverage oslo schduler/filters for nova and cinder

2013-11-10 Thread Jay Lau
I noticed that there is already a bp in oslo tracing what I want to do: https://blueprints.launchpad.net/oslo/+spec/oslo-scheduler Thanks, Jay 2013/11/9 Jay Lau jay.lau@gmail.com Greetings, Now in oslo, we already put some scheduler filters/weights logic there and cinder is using

Re: [openstack-dev] [nova] Do we have some guidelines for mock, stub, mox when writing unit test?

2013-11-11 Thread Jay Lau
On Sun, Nov 10, 2013 at 11:25 PM, Noorul Islam K M noo...@noorul.com wrote: Jay Lau jay.lau@gmail.com writes: Hi, I noticed that we are now using mock, mox and stub for unit test, just curious do we have any guidelines for this, in which condition shall we use mock, mox or stub

[openstack-dev] [heat][hadoop][template] Does anyone has a hadoop template

2013-11-28 Thread Jay Lau
Hi, I'm now trying to deploy a hadoop cluster with heat, just wondering if someone who has a heat template which can help me do the work. Thanks, Jay ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org

[openstack-dev] [OpenStack][DevStack] Failed to install OpenStack with DevStack

2014-07-02 Thread Jay Lau
Hi, Does any one encounter this error when install devstack? How did you resolve this issue? + [[ 1 -ne 0 ]] + echo 'Error on exit' Error on exit + ./tools/worlddump.py -d usage: worlddump.py [-h] [-d DIR] worlddump.py: error: argument -d/--dir: expected one argument 317.292u 180.092s 14:40.93

Re: [openstack-dev] [OpenStack][DevStack] Failed to install OpenStack with DevStack

2014-07-02 Thread Jay Lau
/stack.sh.log Thanks Ken'ichi Ohmichi --- 2014-07-02 14:58 GMT+09:00 Jay Lau jay.lau@gmail.com: Hi, Does any one encounter this error when install devstack? How did you resolve this issue? + [[ 1 -ne 0 ]] + echo 'Error on exit' Error on exit + ./tools/worlddump.py -d usage

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

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 Jay Lau
why I say I want to first do it in nova then migrate to Gantt. OK, agree with you, considering the spec is freeze now, I will consider this in K or L and find a workaround for now. ;-) Thanks. 2014-07-22 1:13 GMT+08:00 Sylvain Bauza sba...@redhat.com: Le 21/07/2014 17:52, Jay Lau a écrit

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

2014-07-21 Thread Jay Lau
:23 GMT+08:00 Jay Pipes jaypi...@gmail.com: 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

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

2014-07-23 Thread Jay Lau
+08:00 Alex Xu x...@linux.vnet.ibm.com: 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

[openstack-dev] [InstanceGroup] Why instance group API extension do not support setting metadata

2014-07-24 Thread Jay Lau
Hi, I see that the instance_group object already support instance group metadata, why we filter out metadata in instance group api extension? Can we enable this? -- Thanks, Jay ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org

Re: [openstack-dev] [nova] objects notifications

2014-07-29 Thread Jay Lau
Its a good idea to have a generic way to handle object notifications. Considering that different objects might have different payload and different logic for handling payload, we may need some clear design for this. Seems a bp is needed for this. Thanks. 2014-07-30 2:49 GMT+08:00 Mike Spreitzer

Re: [openstack-dev] [nova] objects notifications

2014-07-30 Thread Jay Lau
So we need to create a decorator method for create(), save(), destroy() etc as following? NOTIFICATION_FIELDS = ['host', 'metadata', ...] @notify_on_save(NOTIFICATION_FIELDS) @base.remotable def save(context): @notify_on_create(NOTIFICATION_FIELDS) @base.remotable def

[openstack-dev] [OpenStack][Summit] Please vote if you are interested

2014-08-05 Thread Jay Lau
Hi, We submitted three simple but very interesting topics for Paris Summit, please check if you are interested. 1) Holistic Resource Scheduling:

Re: [openstack-dev] Enabling ServerGroup filters by default (was RE: [nova] Server Groups are not an optional element, bug or feature ?)

2014-04-08 Thread Jay Lau
2014-04-08 20:08 GMT+08:00 Russell Bryant rbry...@redhat.com: On 04/08/2014 06:16 AM, Day, Phil wrote: https://bugs.launchpad.net/nova/+bug/1303983 -- Russell Bryant Wow - was there really a need to get that change merged within 12 hours and before others had a chance to review and

Re: [openstack-dev] [OpenStack-Dev][Nova][VMWare] Enable live migration with one nova compute

2014-04-09 Thread Jay Lau
: Inactive hide details for Jay Lau ---04/06/2014 07:02:15 PM---Hi Divakar, Can I say that the bare metal provisioning is now usi]Jay Lau ---04/06/2014 07:02:15 PM---Hi Divakar, Can I say that the bare metal provisioning is now using kind of Parent - From: Jay Lau jay.lau@gmail.com

Re: [openstack-dev] [OpenStack-Dev][Nova][VMWare] Enable live migration with one nova compute

2014-04-09 Thread Jay Lau
2014-04-09 19:04 GMT+08:00 Matthew Booth mbo...@redhat.com: On 09/04/14 07:07, Chen CH Ji wrote: we used to have one compute service corresponding to multiple hypervisors (like host and nodes concept ) our major issue on our platform is we can't run nova-compute service on the hypervisor

Re: [openstack-dev] [OpenStack-Dev][Nova][VMWare] Enable live migration with one nova compute

2014-04-09 Thread Jay Lau
@Divakar, yes, the Proxy Compute model is not new, but I'm not sure if this model can be accepted by community to manage both VM and PM. Anyway, I will try to file a bp and get more comments then. Thanks. 2014-04-09 22:52 GMT+08:00 Nandavar, Divakar Padiyar divakar.padiyar-nanda...@hp.com: Hi

  1   2   3   >