Re: [openstack-dev] [Nova] pci stats format and functional tests

2015-03-05 Thread Jiang, Yunhong
Paul, you are right that the 'extra_info' should not be in the os-pci:pci_stats, since it's not part of 'pool-keys' anymore, but I'm not sure if both 'key1' and 'phys_function' will be part of the pci_stats. Thanks --jyh From: Murray, Paul (HP Cloud) [mailto:pmur...@hp.com] Sent: Thursday,

Re: [openstack-dev] [nova][libvirt] The None and 'none' for CONF.libvirt.cpu_mode

2015-03-05 Thread Jiang, Yunhong
-Original Message- From: Daniel P. Berrange [mailto:berra...@redhat.com] Sent: Wednesday, March 4, 2015 9:56 AM To: Jiang, Yunhong Cc: openstack-dev@lists.openstack.org; Xu, Hejie Subject: Re: [nova][libvirt] The None and 'none' for CONF.libvirt.cpu_mode On Wed, Mar 04, 2015

Re: [openstack-dev] [nova][libvirt] The None and 'none' for CONF.libvirt.cpu_mode

2015-03-04 Thread Jiang, Yunhong
/target cpu model, as the suggestion from Tony, am I right? Thanks --jyh -Original Message- From: Daniel P. Berrange [mailto:berra...@redhat.com] Sent: Wednesday, March 4, 2015 6:56 AM To: Jiang, Yunhong Cc: openstack-dev@lists.openstack.org; Xu, Hejie Subject: Re: [nova][libvirt

[openstack-dev] [nova][libvirt] The None and 'none' for CONF.libvirt.cpu_mode

2015-03-04 Thread Jiang, Yunhong
Hi, Daniel I'm a bit confused of the None/'none' for CONF.libvirt.cpu_mode. Per my understanding, None means there is no configuration provided and libvirt will select the default value based on the virt_type, none means no cpu_mode information should be provided. For the guest, am I

Re: [openstack-dev] [nova] The libvirt.cpu_mode and libvirt.cpu_model

2015-01-29 Thread Jiang, Yunhong
-Original Message- From: Daniel P. Berrange [mailto:berra...@redhat.com] Sent: Thursday, January 29, 2015 2:34 AM To: Jiang, Yunhong Cc: openstack-dev@lists.openstack.org Subject: Re: [nova] The libvirt.cpu_mode and libvirt.cpu_model On Wed, Jan 28, 2015 at 10:10:29PM +

[openstack-dev] [nova] The libvirt.cpu_mode and libvirt.cpu_model

2015-01-28 Thread Jiang, Yunhong
Hi, Daniel I recently tried the libvirt.cpu_mode and libvirt.cpu_model when I was working on cpu_info related code and found bug https://bugs.launchpad.net/nova/+bug/1412994 . The reason is because with these two flags, all guests launched on the host will use them, while when host

Re: [openstack-dev] [nova] The constraints from flavor and image metadata

2015-01-27 Thread Jiang, Yunhong
a huge strain on operators. I think it needs more expressive representation. On 01/13/2015 11:39 PM, Jiang, Yunhong wrote: Hi, There are some discussion and disagreement on the requirement from flavor and image metadata at nova spec https://review.openstack.org/#/c/138937/ and I want

Re: [openstack-dev] [nova] The constraints from flavor and image metadata

2015-01-27 Thread Jiang, Yunhong
-value items without any meaningful restriction and specific expression. It gives flexibility, but cause a huge strain on operators. I think it needs more expressive representation. On 01/13/2015 11:39 PM, Jiang, Yunhong wrote: Hi, There are some discussion and disagreement

[openstack-dev] [nova] The constraints from flavor and image metadata

2015-01-14 Thread Jiang, Yunhong
Resend because I forgot the [nova] in subject. Hi, There are some discussion and disagreement on the requirement from flavor and image metadata at nova spec https://review.openstack.org/#/c/138937/ and I want to get more input from the community. When launch a VM, some

[openstack-dev] The constraints from flavor and image metadata

2015-01-13 Thread Jiang, Yunhong
Hi, There are some discussion and disagreement on the requirement from flavor and image metadata at nova spec https://review.openstack.org/#/c/138937/ and I want to get more input from the community. When launch a VM, some requirements may come from image metadata and flavor.

[openstack-dev] Request Spec Freeze Exception For More Image Properties Support

2015-01-09 Thread Jiang, Yunhong
Hello Nova Community, Please grant a freeze exception for the nova spec more image properties support at https://review.openstack.org/#/c/138937/ . The potential changes in nova are limited, affecting only to the corresponding scheduler filters. Its purpose is to ensure and

[openstack-dev] Propose to define the compute capability clearly

2014-10-21 Thread Jiang, Yunhong
Hi, Daniel's all, This is a follow up to Daniel's http://osdir.com/ml/openstack-dev/2014-10/msg00557.html , Info on XenAPI data format for 'host_data' call. I'm considering to change the compute capability to be a nova object, with well defined field, the reasons are: a)

[openstack-dev] [nova] [feature freeze exception] Feature freeze exception for config-drive-image-property

2014-09-04 Thread Jiang, Yunhong
Hi, I'd like to ask for a feature freeze exception for the config-drive-image-property. The spec has been approved, and the corresponding patch (https://review.openstack.org/#/c/77027/ ) has been +W three time, but failed to be merged in the end because of gate issue and conflict on

Re: [openstack-dev] [Nova] Concerns around the Extensible Resource Tracker design - revert maybe?

2014-08-13 Thread Jiang, Yunhong
-Original Message- From: Nikola Đipanov [mailto:ndipa...@redhat.com] Sent: Tuesday, August 12, 2014 3:22 AM To: OpenStack Development Mailing List Subject: [openstack-dev] [Nova] Concerns around the Extensible Resource Tracker design - revert maybe? Hey Nova-istas, While I

Re: [openstack-dev] [nova][pci] A couple of questions

2014-06-10 Thread Jiang, Yunhong
it. --jyh From: Robert Li (baoli) [mailto:ba...@cisco.com] Sent: Tuesday, June 10, 2014 1:46 PM To: Jiang, Yunhong; He, Yongli Cc: OpenStack Development Mailing List (not for usage questions) Subject: [openstack-dev][nova][pci] A couple of questions Hi Yunhong Yongli, In the routine

Re: [openstack-dev] [NFV][QA] Mission statement prosal

2014-05-19 Thread Jiang, Yunhong
Hi, Nick, For “have a test case which can be verified using a an OpenSource implementation ….. ensure that tests can be done without any special hardware or proprietary software”, I totally agree the requirement for without proprietary software, however, I’m not sure about your exact meaing of

Re: [openstack-dev] [Nova] [Heat] Custom Nova Flavor creation through Heat (pt.2)

2014-05-09 Thread Jiang, Yunhong
This is why there is a distinction between properties set on images vs properties set on flavours. Image properties, which a normal user can set, are restricted to aspects of the VM which don't involve consumption of compute host resources. Flavour properties, which only a user with

Re: [openstack-dev] [nova] Question about addit log in nova-compute.log

2014-05-06 Thread Jiang, Yunhong
-Original Message- From: Jay Pipes [mailto:jaypi...@gmail.com] Sent: Monday, May 05, 2014 6:19 PM To: openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] [nova] Question about addit log in nova-compute.log On 05/05/2014 04:19 PM, Jiang, Yunhong wrote: -Original

Re: [openstack-dev] [nova] Question about addit log in nova-compute.log

2014-05-06 Thread Jiang, Yunhong
-Original Message- From: Jay Pipes [mailto:jaypi...@gmail.com] Sent: Tuesday, May 06, 2014 10:44 AM To: openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] [nova] Question about addit log in nova-compute.log On 05/06/2014 01:37 PM, Jiang, Yunhong wrote

Re: [openstack-dev] [nova] about pci device filter

2014-05-06 Thread Jiang, Yunhong
hope to add a mechanism to specify which filter to use for getting the pci devices from host. Best regards to you. Ricky -Original Message- From: Jiang, Yunhong [mailto:yunhong.ji...@intel.com] Sent: Tuesday, May 06, 2014 1:54 AM To: OpenStack Development Mailing List

Re: [openstack-dev] [Nova] [Heat] Custom Nova Flavor creation through Heat (pt.2)

2014-05-06 Thread Jiang, Yunhong
-Original Message- From: Solly Ross [mailto:sr...@redhat.com] Sent: Tuesday, May 06, 2014 10:16 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [Nova] [Heat] Custom Nova Flavor creation through Heat (pt.2) For your first question,

Re: [openstack-dev] [nova] about pci device filter

2014-05-05 Thread Jiang, Yunhong
Hi, Bohai, are you talking about the scheduler filter for PCI, right? I think the scheduler filters can be changed by nova options already, so I don't think we need another mechanism and just create another filter to replace the default pci filter? --jyh -Original Message- From:

Re: [openstack-dev] [nova] Question about addit log in nova-compute.log

2014-05-05 Thread Jiang, Yunhong
-Original Message- From: Jay Pipes [mailto:jaypi...@gmail.com] Sent: Monday, May 05, 2014 9:50 AM To: openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] [nova] Question about addit log in nova-compute.log On 05/04/2014 11:09 PM, Chen CH Ji wrote: Hi

[openstack-dev] [nova]The status of the hypervisor node and the service

2014-05-05 Thread Jiang, Yunhong
Hi, all Currently I'm working on spec at https://review.openstack.org/#/c/90172/4 which return the status of the hypervisor node. Per the comments, including comments from operator, this is a welcome features. As in

[openstack-dev] [nova][olso] How is the trusted message going on?

2014-05-05 Thread Jiang, Yunhong
Hi, all The trusted messaging (https://blueprints.launchpad.net/oslo.messaging/+spec/trusted-messaging) has been removed from icehouse, does anyone know how is current status? I noticed a summit session may cover it (

Re: [openstack-dev] How to add a property to the API extension?

2014-04-21 Thread Jiang, Yunhong
to the API extension? On 2014年04月17日 05:25, Jiang, Yunhong wrote: Hi, Christopher, I have some question to the API changes related to https://review.openstack.org/#/c/80707/4/nova/api/openstack/compute/ plugins/v3/hypervisors.py , which adds a property to the hypervisor information

Re: [openstack-dev] [Nova] nova-specs

2014-04-16 Thread Jiang, Yunhong
single comment they made was -1 worthy on its own. Often times I will -1 for a spelling mistake and then make a bunch of other purely-opinion comments which don't necessarily need to change. Do we really want to -1 for spelling mistake in nova-specs? This is really a bad news for non-native

[openstack-dev] How to add a property to the API extension?

2014-04-16 Thread Jiang, Yunhong
Hi, Christopher, I have some question to the API changes related to https://review.openstack.org/#/c/80707/4/nova/api/openstack/compute/plugins/v3/hypervisors.py , which adds a property to the hypervisor information. a) I checked the https://wiki.openstack.org/wiki/APIChangeGuidelines

Re: [openstack-dev] [Nova] why force_config_drive is a per comptue node config

2014-02-28 Thread Jiang, Yunhong
as precendence. Thanks --jyh -Original Message- From: Jiang, Yunhong [mailto:yunhong.ji...@intel.com] Sent: Thursday, February 27, 2014 1:55 PM To: OpenStack Development Mailing List (not for usage questions); yunhong jiang Subject: Re: [openstack-dev] [Nova] why force_config_drive

Re: [openstack-dev] inconsistent naming? node vs host vs vs hypervisor_hostname vs OS-EXT-SRV-ATTR:host

2014-02-28 Thread Jiang, Yunhong
One reason of the confusion is, in some virt driver (maybe xenapi or vmwareapi), one compute service manages multiple node. --jyh -Original Message- From: Chris Friesen [mailto:chris.frie...@windriver.com] Sent: Friday, February 28, 2014 7:40 AM To: openstack-dev@lists.openstack.org

[openstack-dev] Some changes on config drive

2014-02-28 Thread Jiang, Yunhong
Hi, Michael and all, I created some changes to config_drive, and hope to get some feedback. The patches are at https://review.openstack.org/#/q/status:open+project:openstack/nova+branch:master+topic:config_drive_cleanup,n,z The basically ideas of the changes are: 1)

Re: [openstack-dev] inconsistent naming? node vs host vs vs hypervisor_hostname vs OS-EXT-SRV-ATTR:host

2014-02-28 Thread Jiang, Yunhong
/2014 11:38 AM, Jiang, Yunhong wrote: One reason of the confusion is, in some virt driver (maybe xenapi or vmwareapi), one compute service manages multiple node. Okay, so in the scenario above, is the nova-compute service running on a I think the nova compute service runs on a host, as you can

[openstack-dev] [Nova] Some changes on config drive

2014-02-28 Thread Jiang, Yunhong
Sorry forgot nova prefix in subject. --jyh -Original Message- From: Jiang, Yunhong [mailto:yunhong.ji...@intel.com] Sent: Friday, February 28, 2014 9:32 PM To: openstack-dev@lists.openstack.org Subject: [openstack-dev] Some changes on config drive Hi, Michael and all, I

[openstack-dev] The BP for the persistent resource claim

2014-02-14 Thread Jiang, Yunhong
Hi, Brian I created the BP for persistent resource claim at https://blueprints.launchpad.net/nova/+spec/persistent-resource-claim , based on the discussion on IRC, can you please have a look on it to see any potential issue? Thanks --jyh

[openstack-dev] The simplified blueprint for PCI extra attributes

2014-02-03 Thread Jiang, Yunhong
Hi, John and all, I updated the blueprint https://blueprints.launchpad.net/nova/+spec/pci-extra-info-icehouse according to your feedback, to add the backward compatibility/upgrade issue/examples. I try to separate this BP with the SR-IOV NIC support as a standalone

Re: [openstack-dev] [nova] how is resource tracking supposed to work for live migration and evacuation?

2014-01-17 Thread Jiang, Yunhong
. -Original Message- From: Jiang, Yunhong [mailto:yunhong.ji...@intel.com] Sent: 17 January 2014 05:54 To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [nova] how is resource tracking supposed to work for live migration and evacuation

Re: [openstack-dev] [nova] [neutron] PCI pass-through network support

2014-01-17 Thread Jiang, Yunhong
Robert, thanks for your long reply. Personally I'd prefer option 2/3 as it keep Nova the only entity for PCI management. Glad you are ok with Ian's proposal and we have solution to resolve the libvirt network scenario in that framework. Thanks --jyh -Original Message- From: Robert

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

2014-01-16 Thread Jiang, Yunhong
I noticed the BP has been approved, but I really want to understand more on the reason, can anyone provide me some hints? In the BP, it states that For resize, we need to confirm, as we want to give end user an opportunity to rollback. But why do we want to give user an opportunity to rollback

Re: [openstack-dev] [nova] how is resource tracking supposed to work for live migration and evacuation?

2014-01-16 Thread Jiang, Yunhong
There are some related discussion on this before. There is a BP at https://blueprints.launchpad.net/nova/+spec/extensible-resource-tracking which try to support more resources. And I have a documentation at https://docs.google.com/document/d/1gI_GE0-H637lTRIyn2UPfQVebfk5QjDi6ohObt6MIc0 .

Re: [openstack-dev] [nova] [neutron] PCI pass-through network support

2014-01-13 Thread Jiang, Yunhong
Hi, Robert, scheduler keep count based on pci_stats instead of the pci flavor. As stated by Ian at https://www.mail-archive.com/openstack-dev@lists.openstack.org/msg13455.html already, the flavor will only use the tags used by pci_stats. Thanks --jyh From: Robert Li (baoli)

Re: [openstack-dev] [nova] [neutron] PCI pass-through network support

2014-01-13 Thread Jiang, Yunhong
To: OpenStack Development Mailing List (not for usage questions) Cc: Jiang, Yunhong; He, Yongli; Robert Li (baoli) (ba...@cisco.com); Sandhya Dasu (sadasu) (sad...@cisco.com); ijw.ubu...@cack.org.uk; j...@johngarbutt.com Subject: RE: [openstack-dev] [nova] [neutron] PCI pass-through network support

Re: [openstack-dev] [nova] [neutron] PCI pass-through network support

2014-01-13 Thread Jiang, Yunhong
be an excessive number of pci_stats pools. I am not going to stand up and say this makes it achievable - and if it doesn't them I'm not sure that anything would make overlapping flavors achievable - but I think it gives us some hope. -- Ian. On 13 January 2014 19:27, Jiang, Yunhong yunhong.ji

Re: [openstack-dev] The extra_resource in compute node object

2014-01-13 Thread Jiang, Yunhong
-Original Message- From: Dan Smith [mailto:d...@danplanet.com] Sent: Monday, January 13, 2014 6:35 AM To: Jiang, Yunhong; Murray, Paul (HP Cloud Services) (pmur...@hp.com) Cc: openstack-dev@lists.openstack.org Subject: Re: The extra_resource in compute node object This patch

Re: [openstack-dev] [nova] [neutron] PCI pass-through network support

2014-01-10 Thread Jiang, Yunhong
network support On 10 January 2014 07:40, Jiang, Yunhong yunhong.ji...@intel.commailto:yunhong.ji...@intel.com wrote: Robert, sorry that I'm not fan of * your group * term. To me, *your group mixed two thing. It's an extra property provided by configuration, and also it's a very-not-flexible

Re: [openstack-dev] [nova] [neutron] PCI pass-through network support

2014-01-10 Thread Jiang, Yunhong
Brian, the issue of 'class name' is because currently the libvirt does not provide such information, otherwise we are glad to add that :( But this is a good point and we have considered already. One solution is to retrieve it through some code like read the configuration space directly. But

Re: [openstack-dev] [nova] [neutron] PCI pass-through network support

2014-01-10 Thread Jiang, Yunhong
Ian, thanks for your reply. Please check comments prefix with [yjiang5]. Thanks --jyh From: Ian Wells [mailto:ijw.ubu...@cack.org.uk] Sent: Friday, January 10, 2014 12:17 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [nova] [neutron] PCI

[openstack-dev] The extra_resource in compute node object

2014-01-10 Thread Jiang, Yunhong
Hi, Paul/Dan For the extra_resource (refer to Dan's comments in https://review.openstack.org/#/c/60258/ for more information), I created a patch set https://review.openstack.org/#/q/status:open+project:openstack/nova+branch:master+topic:extra_resources,n,z and want to get some

Re: [openstack-dev] [nova] [neutron] PCI pass-through network support

2014-01-10 Thread Jiang, Yunhong
00:04, Jiang, Yunhong yunhong.ji...@intel.commailto:yunhong.ji...@intel.com wrote: [yjiang5] Really thanks for the summary and it is quite clear. So what's the object of equivalent devices at host level? Because 'equivalent device * to an end user * is flavor, so is it 'equivalent to *scheduler

Re: [openstack-dev] [nova] [neutron] PCI pass-through network support

2014-01-09 Thread Jiang, Yunhong
these properties. Thanks --jyh From: Robert Li (baoli) [mailto:ba...@cisco.com] Sent: Thursday, January 09, 2014 8:49 AM To: OpenStack Development Mailing List (not for usage questions); Irena Berezovsky; Sandhya Dasu (sadasu); Jiang, Yunhong; Itzik Brown; j...@johngarbutt.com; He, Yongli Subject: Re

Re: [openstack-dev] [nova] [neutron] PCI pass-through network support

2014-01-09 Thread Jiang, Yunhong
Hi, Ian, when you in aggrement with all of this, do you agree with the 'group name', or agree with John's pci flavor? I'm against the PCI group and will send out a reply later. --jyh From: Ian Wells [mailto:ijw.ubu...@cack.org.uk] Sent: Thursday, January 09, 2014 9:47 AM To: OpenStack

Re: [openstack-dev] [nova] [neutron] PCI pass-through network support

2014-01-09 Thread Jiang, Yunhong
BTW, I like the PCI flavor :) From: Jiang, Yunhong [mailto:yunhong.ji...@intel.com] Sent: Thursday, January 09, 2014 10:41 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [nova] [neutron] PCI pass-through network support Hi, Ian, when you

Re: [openstack-dev] [nova][api] Is this a potential issue

2013-11-15 Thread Jiang, Yunhong
-Original Message- From: Dan Smith [mailto:d...@danplanet.com] Sent: Friday, November 15, 2013 7:30 AM To: OpenStack Development Mailing List (not for usage questions); isaku.yamah...@gmail.com Subject: Re: [openstack-dev] [nova][api] Is this a potential issue You're not

Re: [openstack-dev] [nova][object] One question to the resource tracker session

2013-11-15 Thread Jiang, Yunhong
of Dan and Russell). Is there a particular part you were interested in? -Original Message- From: Jiang, Yunhong [mailto:yunhong.ji...@intel.com] Sent: 14 November 2013 18:20 To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [nova][object

Re: [openstack-dev] [nova][object] One question to the resource tracker session

2013-11-14 Thread Jiang, Yunhong
/13 at 11:12pm, Jiang, Yunhong wrote: Hi, Dan Smith and all, I noticed followed statement in 'Icehouse tasks' in https://etherpad.openstack.org/p/IcehouseNovaExtensibleSchedulerMetr ics convert resource tracker to objects make resoruce tracker extensible

Re: [openstack-dev] [nova][object] One question to the resource tracker session

2013-11-14 Thread Jiang, Yunhong
/13 at 05:37pm, Jiang, Yunhong wrote: -Original Message- From: Andrew Laski [mailto:andrew.la...@rackspace.com] Sent: Wednesday, November 13, 2013 3:22 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [nova][object] One question

Re: [openstack-dev] [nova][object] One question to the resource tracker session

2013-11-14 Thread Jiang, Yunhong
-Original Message- From: Dan Smith [mailto:d...@danplanet.com] Sent: Thursday, November 14, 2013 10:43 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [nova][object] One question to the resource tracker session You're right, it's

Re: [openstack-dev] [nova] Core pinning

2013-11-13 Thread Jiang, Yunhong
-Original Message- From: Tuomas Paappanen [mailto:tuomas.paappa...@tieto.com] Sent: Wednesday, November 13, 2013 4:46 AM To: openstack-dev@lists.openstack.org Subject: [openstack-dev] [nova] Core pinning Hi all, I would like to hear your thoughts about core pinning in

Re: [openstack-dev] [nova] Core pinning

2013-11-13 Thread Jiang, Yunhong
-Original Message- From: Chris Friesen [mailto:chris.frie...@windriver.com] Sent: Wednesday, November 13, 2013 9:57 AM To: openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] [nova] Core pinning On 11/13/2013 11:40 AM, Jiang, Yunhong wrote: But, from performance

[openstack-dev] [nova][object] One question to the resource tracker session

2013-11-13 Thread Jiang, Yunhong
Hi, Dan Smith and all, I noticed followed statement in 'Icehouse tasks' in https://etherpad.openstack.org/p/IcehouseNovaExtensibleSchedulerMetrics convert resource tracker to objects make resoruce tracker extensible no db migrations ever

Re: [openstack-dev] [nova][api] Is this a potential issue

2013-11-12 Thread Jiang, Yunhong
, Yunhong wrote: Resend after the HK summit, hope someone can give me hint on it. Thanks --jyh -Original Message- From: Jiang, Yunhong [mailto:yunhong.ji...@intel.com] Sent: Thursday, November 07, 2013 5:39 PM To: openstack-dev@lists.openstack.org Subject: [openstack-dev] [nova

Re: [openstack-dev] Custom Flavor creation through Heat

2013-11-12 Thread Jiang, Yunhong
-Original Message- From: Shawn Hartsock [mailto:hartso...@vmware.com] Sent: Tuesday, November 12, 2013 12:56 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [nova] [heat] Custom Flavor creation through Heat My concern with

[openstack-dev] [nova][api] Is this a potential issue

2013-11-07 Thread Jiang, Yunhong
Hi, all I'm a bit confused of followed code in ./compute/api.py, which will be invoked by api/openstack/compute/servers.py, _action_revert_resize(). From the code seems there is a small windows between get the migration object and update migration.status. If another API request

Re: [openstack-dev] [nova][scheduler]The database access in the scheduler filters

2013-11-04 Thread Jiang, Yunhong
[mailto:rbry...@redhat.com] Sent: Sunday, November 03, 2013 12:12 AM To: openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] [nova][scheduler]The database access in the scheduler filters On 11/01/2013 06:39 AM, Jiang, Yunhong wrote: I noticed several filters

Re: [openstack-dev] [nova][scheduler]The database access in the scheduler filters

2013-11-01 Thread Jiang, Yunhong
As Shawn Hartsock pointed out in the reply, I made a stupid error in the calculation. It's in fact 55 access per second, not that big number I calculated. I thought I graduated from elementary school but seems I'm wrong. Really sorry for the stupid error. --jyh -Original Message-

Re: [openstack-dev] [nova][scheduler]The database access in the scheduler filters

2013-11-01 Thread Jiang, Yunhong
Yes, you are right .. :( -Original Message- From: Shawn Hartsock [mailto:hartso...@vmware.com] Sent: Friday, November 01, 2013 8:20 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [nova][scheduler]The database access in the

Re: [openstack-dev] [nova][scheduler]The database access in the scheduler filters

2013-11-01 Thread Jiang, Yunhong
Aha, right after replied Harsock's mail, I realized I'm correct still. Glad that I did graduated from the school :) --jyh -Original Message- From: Jiang, Yunhong [mailto:yunhong.ji...@intel.com] Sent: Friday, November 01, 2013 10:32 AM To: OpenStack Development Mailing List

Re: [openstack-dev] [nova] [neutron] PCI pass-through network support

2013-10-29 Thread Jiang, Yunhong
--jyh From: Robert Li (baoli) [mailto:ba...@cisco.com] Sent: Monday, October 28, 2013 12:22 PM To: Irena Berezovsky; prashant.upadhy...@aricent.com; Jiang, Yunhong; chris.frie...@windriver.com; He, Yongli; Itzik Brown Cc: OpenStack Development Mailing List; Brian Bowen (brbowen); Kyle Mestery

Re: [openstack-dev] [nova] [neutron] PCI pass-through network support

2013-10-29 Thread Jiang, Yunhong
vNIC type assignment, the networking configuration can be applied by a dedicated L2 neutron agent. BR, Irena From: Jiang, Yunhong [mailto:yunhong.ji...@intel.com] Sent: Tuesday, October 29, 2013 9:04 AM To: Robert Li (baoli); Irena Berezovsky; prashant.upadhy

Re: [openstack-dev] [nova] [neutron] PCI pass-through network support

2013-10-29 Thread Jiang, Yunhong
, the PCI requirement should come from the network configuration and image property. Or you think user still need passing flavor with pci request? --jyh From: Irena Berezovsky [mailto:ire...@mellanox.com] Sent: Tuesday, October 29, 2013 3:17 AM To: Jiang, Yunhong; Robert Li (baoli); prashant.upadhy

Re: [openstack-dev] [nova] [neutron] PCI pass-through network support

2013-10-29 Thread Jiang, Yunhong
:*Robert Li (baoli) [mailto:ba...@cisco.com] *Sent:* Tuesday, October 29, 2013 3:31 PM *To:* Jiang, Yunhong; Irena Berezovsky; prashant.upadhy...@aricent.com; chris.frie...@windriver.com; He, Yongli; Itzik Brown *Cc:* OpenStack Development Mailing List; Brian Bowen (brbowen); Kyle Mestery

Re: [openstack-dev] [nova] [neutron] PCI pass-through network support

2013-10-29 Thread Jiang, Yunhong
, Jiang, Yunhong yunhong.ji...@intel.com wrote: Henry,why do you think the service VM need the entire PF instead of a VF? I think the SR-IOV NIC should provide QoS and performance isolation. I was speculating. I just thought it might be a good idea to leave open the possibility of assigning

Re: [openstack-dev] [nova] [neutron] PCI pass-through network support

2013-10-29 Thread Jiang, Yunhong
-through network support Hi Yunhong. On Tue, Oct 29, 2013 at 08:22:40PM +, Jiang, Yunhong yunhong.ji...@intel.com wrote: * describe resource external to nova that is attached to VM in the API (block device mapping and/or vif references) * ideally the nova scheduler needs to be aware

[openstack-dev] One question to AggregateRamFilter

2013-10-25 Thread Jiang, Yunhong
Hi, stackers, When reading code related to the resource tracker, I noticed AggregateRamFilter as in https://review.openstack.org/#/c/33828/. I'm not sure if it's better to use per node configuration of ram ration, instead of depends on the host aggregate? Currently we have to have DB call for

[openstack-dev] One question to the fakelibvirt in nova test

2013-10-15 Thread Jiang, Yunhong
Hi, stackers, I have a question to followed code in nova/tests/virt/libvirt/test_libvirt.py. My question is, when will the 'import libvirt' success and the fake libvirt not used? try: import libvirt except ImportError: import nova.tests.virt.libvirt.fakelibvirt as libvirt

Re: [openstack-dev] One question to the fakelibvirt in nova test

2013-10-15 Thread Jiang, Yunhong
I thought it will be used when use local environment for ./run_test.sh, but./run_test.sh -N will have several failure and seems not supported anymore. Thanks for any input/suggestions. --jyh -Original Message- From: Jiang, Yunhong [mailto:yunhong.ji...@intel.com] Sent: Tuesday

Re: [openstack-dev] [nova] [scheduler] blueprint for host/hypervisor location information

2013-10-02 Thread Jiang, Yunhong
IMHO, this seems fit better of the availability since location is more about availability like power supply, network switch availability etc. Or, what's the boundary of host aggregate and availability zone? Seems host aggregate is so magic that it can cover every requirement to separate/group

Re: [openstack-dev] [nova] [pci device passthrough] fails with NameError: global name '_' is not defined

2013-09-11 Thread Jiang, Yunhong
Sorry for slow response, I'm out of office to IDF, I will have a look on it today. Thanks --jyh -Original Message- From: David Kang [mailto:dk...@isi.edu] Sent: Wednesday, September 11, 2013 6:11 AM To: OpenStack Development Mailing List Subject: Re: [openstack-dev] [nova] [pci

Re: [openstack-dev] [Nova] Scheduler support for PCI passthrough

2013-08-28 Thread Jiang, Yunhong
Gary Firstly, thanks for your review very much. The pci_stats is calculated in the resource tracker in the compute node and is also saved in compute_node, I think currently the scheduler depends on the information provided by the compute_node table so this method should fit

Re: [openstack-dev] [Nova] Frustrations with review wait times

2013-08-27 Thread Jiang, Yunhong
-Original Message- From: Michael Still [mailto:mi...@stillhq.com] Sent: Tuesday, August 27, 2013 7:45 PM To: OpenStack Development Mailing List Subject: Re: [openstack-dev] [Nova] Frustrations with review wait times [Concerns over review wait times in the nova project] I think

[openstack-dev] The PCI support blueprint

2013-07-22 Thread Jiang, Yunhong
Hi, Boris I'm a surprised that you want to postpone the PCI support (https://blueprints.launchpad.net/nova/+spec/pci-passthrough-base) to I release. You and our team have been working on this for a long time, and the patches has been reviewed several rounds. And we have been waiting for

Re: [openstack-dev] [Nova] New DB column or new DB table?

2013-07-19 Thread Jiang, Yunhong
Boris I think you in fact covered two topic, one is if use db or rpc for communication. This has been discussed a lot. But I didn't find the conclusion. From the discussion, seems the key thing is the fan out messages. I'd suggest you to bring this to scheduler sub meeting.