Re: [openstack-dev] [nova] Server Group API: add 'action' to authorizer?

2014-08-25 Thread Alex Xu
On 2014年08月23日 18:29, Christopher Yeoh wrote: On Sat, 23 Aug 2014 03:56:27 -0500 Joe Cropper cropper@gmail.com wrote: Hi Folks, Would anyone be opposed to adding the 'action' checking to the v2/v3 authorizers? This would allow administrators more fine-grained control over who can read

Re: [openstack-dev] [nova] are we going to remove the novaclient v3 shell or what?

2014-09-18 Thread Alex Xu
On 2014年09月18日 18:14, Day, Phil wrote: -Original Message- From: Kenichi Oomichi [mailto:oomi...@mxs.nes.nec.co.jp] Sent: 18 September 2014 02:44 To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [nova] are we going to remove the novaclient v3

Re: [openstack-dev] [nova] Expand resource name allowed characters

2014-09-18 Thread Alex Xu
On 2014年09月18日 18:57, Sean Dague wrote: On 09/18/2014 06:38 AM, Christopher Yeoh wrote: On Sat, 13 Sep 2014 06:48:19 -0400 Sean Dague s...@dague.net wrote: On 09/13/2014 02:28 AM, Kenichi Oomichi wrote: Hi Chris, Thanks for bring it up here, -Original Message- From: Chris St.

[openstack-dev] [Nova] Some ideas for micro-version implementation

2014-09-19 Thread Alex Xu
Close to Kilo, it is time to think about what's next for nova API. In Kilo, we will continue develop the important feature micro-version. In previous v2 on v3 propose, it's include some implementations can be used for micro-version.

Re: [openstack-dev] [Nova] Some ideas for micro-version implementation

2014-09-22 Thread Alex Xu
On 2014年09月23日 04:27, Brant Knudson wrote: On Fri, Sep 19, 2014 at 1:39 AM, Alex Xu x...@linux.vnet.ibm.com mailto:x...@linux.vnet.ibm.com wrote: Close to Kilo, it is time to think about what's next for nova API. In Kilo, we will continue develop the important feature micro

Re: [openstack-dev] [all] REST API style guide (Re: [Nova] Some ideas for micro-version implementation)

2014-09-22 Thread Alex Xu
On 2014年09月23日 08:00, Ken'ichi Ohmichi wrote: # I changed the title for getting opinions from many projects. 2014-09-22 23:47 GMT+09:00 Anne Gentle a...@openstack.org: -Original Message- From: Alex Xu [mailto:x...@linux.vnet.ibm.com] Sent: Friday, September 19, 2014 3:40 PM

Re: [openstack-dev] [Nova] Some ideas for micro-version implementation

2014-09-23 Thread Alex Xu
On 2014年09月23日 17:12, Christopher Yeoh wrote: On Mon, 22 Sep 2014 09:29:26 + Kenichi Oomichi oomi...@mxs.nes.nec.co.jp wrote: Before discussing how to implement, I'd like to consider what we should implement. IIUC, the purpose of v3 API is to make consistent API with the backwards

Re: [openstack-dev] [Nova] [All] API standards working group

2014-09-24 Thread Alex Xu
I'm interesting in the group too! On 2014年09月24日 18:01, Salvatore Orlando wrote: Please keep me in the loop. The importance of ensuring consistent style across Openstack APIs increases as the number of integrated project increases. Unless we decide to merge all API endpoints as proposed in

Re: [openstack-dev] [openstack-qa] [qa][nova] The document for the changes from Nova v2 api to v3

2013-12-10 Thread Alex Xu
? Seems better than keeping it in the wiki so that you can update with code changes. Anne On Wed, Nov 13, 2013 at 11:11 PM, Alex Xu x...@linux.vnet.ibm.com mailto:x...@linux.vnet.ibm.com wrote: On 2013?11?14? 07:09, Christopher Yeoh wrote: On Thu, Nov 14, 2013 at 7:52 AM, David Kranz

Re: [openstack-dev] [Nova] Support for Pecan in Nova

2013-12-11 Thread Alex Xu
On 2013年12月12日 04:41, Ryan Petrello wrote: Hello, I’ve spent the past week experimenting with using Pecan for Nova’s API, and have opened an experimental review: https://review.openstack.org/#/c/61303/6 …which implements the `versions` v3 endpoint using pecan (and paves the way for other

Re: [openstack-dev] [Nova] Support for Pecan in Nova

2013-12-18 Thread Alex Xu
I replied some comments on the gerrit also. If we have patch for demonstrate pecan style extension, that will be great. Thanks Alex On 2013年12月18日 05:08, Ryan Petrello wrote: So any additional feedback on this patch? I’d love to start working on porting some of the other extensions to pecan,

Re: [openstack-dev] [nova] [rfc] drop XML from v3 API entirely

2014-01-14 Thread Alex Xu
+1 for drop xml. But if we can't drop it, can we think about use XMLDictSerializer instead of XmlTemplate? We spend a lot of time to maintain XmlTemplate, and it make xml format inconsistent(some of resouce's attribute is output as xml sub-element, some of them is output as xml element's

Re: [openstack-dev] [nova] [rfc] drop XML from v3 API entirely

2014-01-15 Thread Alex Xu
On 2014年01月14日 20:04, Ken'ichi Ohmichi wrote: Hi, 2014/1/14 Alex Xu x...@linux.vnet.ibm.com: +1 for drop xml. But if we can't drop it, can we think about use XMLDictSerializer instead of XmlTemplate? We spend a lot of time to maintain XmlTemplate, and it make xml format inconsistent(some

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

2014-01-21 Thread Alex Xu
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 the VM then re-create the VM when using

Re: [openstack-dev] [nova] Checking before delete flavor?

2014-01-27 Thread Alex Xu
On 2014?01?26? 20:05, Rui Chen wrote: Hi Stackers: Some instance operations and flavor are closely connected, for example, resize. If I delete the flavor when resize instance, instance will be error. Like this: 1. run instance with flavor A 2. resize instance from flavor A to flavor B 3.

Re: [openstack-dev] [Nova] Putting nova-network support into the V3 API

2014-02-04 Thread Alex Xu
On 2014年02月04日 19:36, Christopher Yeoh wrote: On Tue, 04 Feb 2014 11:37:29 +0100 Thierry Carrez thie...@openstack.org wrote: Christopher Yeoh wrote: On Tue, Feb 4, 2014 at 12:03 PM, Joe Gordon joe.gord...@gmail.com mailto:joe.gord...@gmail.com wrote: John and I discussed a third possibility:

[openstack-dev] [Nova][Neutron] Neutron network in Nova V3 API

2014-02-12 Thread Alex Xu
Hi, guys, I'm working neutron network stuff in nova V3 API. We will only pass port ids when create server, and Nova won't proxy any neutron call in the future. I plan to add new v3 network extension, that only accept port ids as parameters. And it will pass those port ids in the old

Re: [openstack-dev] [Nova][Neutron] Neutron network in Nova V3 API

2014-02-12 Thread Alex Xu
On 2014?02?12? 17:15, Alex Xu wrote: Hi, guys, I'm working neutron network stuff in nova V3 API. We will only pass port ids when create server, and Nova won't proxy any neutron call in the future. I plan to add new v3 network extension, that only accept port ids as parameters

Re: [openstack-dev] [Nova] v3 API in Icehouse

2014-02-20 Thread Alex Xu
Russell, that's much appreciated. I'm also very thankful to everyone who has worked on the V3 API either through patches and/or reviews, especially Alex Xu and Ivan Zhu who have done a lot of work on it in Havana and Icehouse. Thank you, Chris, hope we get a great v3 api. Chris

Re: [openstack-dev] [nova] Future of the Nova API

2014-02-25 Thread Alex Xu
On 2014年02月25日 21:17, Ken'ichi Ohmichi wrote: 2014-02-25 19:48 GMT+09:00 Thierry Carrez thie...@openstack.org: Sean Dague wrote: So, that begs a new approach. Because I think at this point even if we did put out Nova v3, there can never be a v4. It's too much, too big, and doesn't fit in the

Re: [openstack-dev] [nova] Future of the Nova API

2014-02-26 Thread Alex Xu
On 2014年02月26日 18:40, Thierry Carrez wrote: Kenichi Oomichi wrote: From: Christopher Yeoh [mailto:cbky...@gmail.com] So the problem here is what we consider a bug becomes a feature from a user of the API point of view. Eg they really shouldn't be passing some data in a request, but its ignored

Re: [openstack-dev] [nova] Future of the Nova API

2014-02-27 Thread Alex Xu
On 2014?02?28? 00:05, Dan Smith wrote: Sure, but that's still functionally equivalent to using the /v2 prefix. So we could chuck the current /v3 code and do: /v2: Current thing /v3: invalid, not supported /v4: added simple task return for server create /v5: added the event extension /v6:

Re: [openstack-dev] [nova] Future of the Nova API

2014-02-28 Thread Alex Xu
On 2014?02?28? 13:40, Chris Friesen wrote: On 02/27/2014 06:00 PM, Alex Xu wrote: Does mean our code looks like as below? if client_version 2: elif client_version 3 ... elif client_version 4: ... elif client_version 5: ... elif client_version 6: .. And we need test

Re: [openstack-dev] [Nova] API weekly meeting

2014-03-07 Thread Alex Xu
Any time except 15-22 UTC On 2014年03月07日 08:45, Christopher Yeoh wrote: Hi, I'd like to start a weekly IRC meeting for those interested in discussing Nova API issues. I think it would be a useful forum for: - People to keep up with what work is going on the API and where its headed. -

Re: [openstack-dev] [nova] a question about instance snapshot

2014-03-09 Thread Alex Xu
Hi, Jeremy, the discussion at here http://lists.openstack.org/pipermail/openstack-dev/2013-August/013688.html Thanks Alex On 2014年03月07日 10:29, Liuji (Jeremy) wrote: Hi, all Current openstack seems not support to snapshot instance with memory and dev states. I searched the blueprint and

Re: [openstack-dev] [nova] Backwards incompatible API changes

2014-03-21 Thread Alex Xu
On 2014年03月21日 17:04, Christopher Yeoh wrote: On Thu, 20 Mar 2014 15:45:11 -0700 Dan Smith d...@danplanet.com wrote: I know that our primary delivery mechanism is releases right now, and so if we decide to revert before this gets into a release, that's cool. However, I think we need to be

[openstack-dev] [qa][nova] The document for the changes from Nova v2 api to v3

2013-11-13 Thread Alex Xu
Hi, guys This is the document for the changes from Nova v2 api to v3: https://wiki.openstack.org/wiki/NovaAPIv2tov3 I will appreciate if anyone can help for review it. Another problem comes up - how to keep the doc updated. So can we ask people, who change something of api v3, update the doc

[openstack-dev] [Nova] Remove ratelimits from nova v3 api

2013-11-25 Thread Alex Xu
Hi, guys, Looks like ratelimits is not really useful. The reason already pointed out by this patch: https://review.openstack.org/#/c/34821/ , Thanks Joe for point it out. So v3 API is a chance to cleanup those stuff. If there isn't anyone object it. I will send patch to get ride of

Re: [openstack-dev] [Nova] Splitting up V3 API admin-actions plugin

2013-12-01 Thread Alex Xu
On 2013?12?01? 21:39, Christopher Yeoh wrote: Hi, At the summit we agreed to split out lock/unlock, pause/unpause, suspend/unsuspend functionality out of the V3 version of admin actions into separate extensions to make it easier for deployers to only have loaded the functionality that they

Re: [openstack-dev] [Nova] Nominating Ken'ichi Ohmichi for nova-core

2014-06-15 Thread Alex Xu
+1 On 2014年06月14日 06:40, Michael Still wrote: Greetings, I would like to nominate Ken'ichi Ohmichi for the nova-core team. Ken'ichi has been involved with nova for a long time now. His reviews on API changes are excellent, and he's been part of the team that has driven the new API work we've

Re: [openstack-dev] [nova] top gate bug is libvirt snapshot

2014-07-15 Thread Alex Xu
Question about swap volume, swap volume's implementation is very similar with live snapshot. Both implemented by blockRebase. But swap volume didn't check any libvirt and qemu version. Should we add version check for swap_volume now? That means swap_volume will be disable also. On 2014?06?26?

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] [nova] libvirtError: XML error: Missing CPU model name on 2nd level vm

2014-08-05 Thread Alex Xu
You can search nested kvm on the web to get more info, or you can try just use qemu not kvm on 2nd level. On 2014?08?06? 11:32, Chen CH Ji wrote: Thanks a lot for your suggestions , I guess it might be 2nd level configuration issue ... will take more time on it , thanks my 1st level host

[openstack-dev] [nova] nova-network stuck at get semaphores lock when startup

2014-08-07 Thread Alex Xu
When I startup nova-network, it stuck at trying get lock for ebtables. @utils.synchronized('ebtables', external=True) def ensure_ebtables_rules(rules, table='filter'): . Checking the code found that invoke utils.synchronized without parameter lock_path, the code will try to use posix

Re: [openstack-dev] [nova] nova-network stuck at get semaphores lock when startup

2014-08-07 Thread Alex Xu
Software Park, Haidian District, Beijing 100193, PRC Inactive hide details for Alex Xu ---08/07/2014 04:54:09 PM---When I startup nova-network, it stuck at trying get lock for ebtaAlex Xu ---08/07/2014 04:54:09 PM---When I startup nova-network, it stuck at trying get lock for ebtables

[openstack-dev] nova-network stuck at get semaphores lock when startup

2014-08-07 Thread Alex Xu
Software Park, Haidian District, Beijing 100193, PRC Inactive hide details for Alex Xu ---08/07/2014 04:54:09 PM---When I startup nova-network, it stuck at trying get lock for ebtaAlex Xu ---08/07/2014 04:54:09 PM---When I startup nova-network, it stuck at trying get lock for ebtables

Re: [openstack-dev] [nova] nova-network stuck at get semaphores lock when startup

2014-08-07 Thread Alex Xu
Oops, thanks On 2014年08月07日 22:08, Ben Nemec wrote: Unfortunately this is a known issue. We're working on a fix: https://bugs.launchpad.net/oslo/+bug/1327946 On 08/07/2014 03:57 AM, Alex Xu wrote: When I startup nova-network, it stuck at trying get lock for ebtables. @utils.synchronized

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

2014-04-20 Thread Alex Xu
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. Hi, Yunhong, Chris may

[openstack-dev] [Nova] Enable policy improvment both v2/v3 API or not

2014-05-30 Thread Alex Xu
Hi, guys There are some BPs working on improve the usability of API policy. Initially those BP just for v2.1/v3 API. For v2 API, we just want to it keep the same as before. But in Juno design summit, we get some complain about policy is hard to use.

Re: [openstack-dev] [api] Forming the API Working Group

2014-10-14 Thread Alex Xu
On 2014年10月14日 12:52, Christopher Yeoh wrote: On Mon, 13 Oct 2014 22:20:32 -0400 Jay Pipes jaypi...@gmail.com wrote: On 10/13/2014 07:11 PM, Christopher Yeoh wrote: On Mon, 13 Oct 2014 10:52:26 -0400 Jay Pipes jaypi...@gmail.com wrote: On 10/10/2014 02:05 AM, Christopher Yeoh wrote: I

Re: [openstack-dev] [api] Forming the API Working Group

2014-10-14 Thread Alex Xu
On 2014年10月14日 21:57, Jay Pipes wrote: On 10/14/2014 05:04 AM, Alex Xu wrote: There is one reason to think about what projects *currently* do. When we choice which convention we want. For example, the CamelCase and snake_case, if the most project use snake_case, then choice snake_case style

Re: [openstack-dev] [nova] APIImpact flag for nova specs

2014-10-15 Thread Alex Xu
On 2014年10月15日 14:20, Christopher Yeoh wrote: Hi, I was wondering what people thought of having a convention of adding an APIImpact flag to proposed nova specs commit messages where the Nova API will change? It would make it much easier to find proposed specs which affect the API as its not

Re: [openstack-dev] [api] API recommendation

2014-10-16 Thread Alex Xu
2014-10-16 17:57 GMT+08:00 Salvatore Orlando sorla...@nicira.com: In an analysis we recently did for managing lifecycle of neutron resources, it also emerged that task (or operation) API are a very useful resource. Indeed several neutron resources introduced the (in)famous PENDING_XXX

[openstack-dev] [Nova] Add scheduler-hints when migration/rebuild/evacuate

2014-10-28 Thread Alex Xu
Hi, Currently migration/rebuild/evacuate didn't support pass scheduler-hints, that means any migration can't use schedule-hints that passed when creating instance. Can we add scheduler-hints support when migration/rebuild/evacuate? That also can enable user move in/out instance to/from an

Re: [openstack-dev] [Nova] Add scheduler-hints when migration/rebuild/evacuate

2014-10-28 Thread Alex Xu
Inactive hide details for Alex Xu ---10/29/2014 12:19:35 PM---Hi, Currently migration/rebuild/evacuate didn't support passAlex Xu ---10/29/2014 12:19:35 PM---Hi, Currently migration/rebuild/evacuate didn't support pass From: Alex Xu x...@linux.vnet.ibm.com To: openstack-dev@lists.openstack.org Date

Re: [openstack-dev] [Nova] Add scheduler-hints when migration/rebuild/evacuate

2014-10-29 Thread Alex Xu
/China/IBM@IBMCN Internet: jiche...@cn.ibm.com Phone: +86-10-82454158 Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC [image: Inactive hide details for Alex Xu ---10/29/2014 01:34:13 PM---On 2014年10月29日 12:37, Chen CH Ji wrote: ]Alex Xu ---10/29

Re: [openstack-dev] [Nova] Add scheduler-hints when migration/rebuild/evacuate

2014-10-29 Thread Alex Xu
Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC [image: Inactive hide details for Alex Xu ---10/29/2014 01:34:13 PM---On 2014年10月29日 12:37, Chen CH Ji wrote: ]Alex Xu ---10/29/2014 01:34:13 PM---On 2014年10月29日 12:37, Chen CH Ji wrote: From: Alex Xu x

Re: [openstack-dev] [Nova] Add scheduler-hints when migration/rebuild/evacuate

2014-10-30 Thread Alex Xu
that. From: Alex Xu [sou...@gmail.com] Sent: Wednesday, October 29, 2014 9:11 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [Nova] Add scheduler-hints when migration/rebuild/evacuate 2014-10

Re: [openstack-dev] [nova][compute] propose to use a table to deal with the vm_state when _init_instance in compute

2014-11-04 Thread Alex Xu
+1, good idea! 2014-11-04 15:15 GMT+08:00 Eli Qiao ta...@linux.vnet.ibm.com: hello all: in current _init_instance function in compute manager, there's flood 'and' 'or' logic, to check the vm_state and task_state when initialize a instance during service list, this lead hard to read and

[openstack-dev] [Nova] Network stuff in Nova API v3

2013-08-07 Thread Alex Xu
Hi, guys, Currently we have one core and two extensions that related network in Nova API v3. They are ips, attach_interface and multinic. I have two questions for them. The first question is about ips and attach_interface. The below was the index's response of ips and attach_interface: ips:

Re: [openstack-dev] [Nova] Network stuff in Nova API v3

2013-08-07 Thread Alex Xu
to provide networking information, so there will be a nova-api that has to proxy info from neutron, but I agree we should reduce where we can. John On 7 August 2013 10:08, Alex Xu x...@linux.vnet.ibm.com wrote: Hi, guys, Currently we have one core and two extensions that related network in Nova API

Re: [openstack-dev] [Nova] Network stuff in Nova API v3

2013-08-08 Thread Alex Xu
On 2013年08月07日 22:24, John Garbutt wrote: Hey, On 7 August 2013 14:42, Alex Xu x...@linux.vnet.ibm.com wrote: On 2013年08月07日 17:38, John Garbutt wrote: multi-nic added an extra virtual interface on a seprate network, like adding a port: http://docs.openstack.org/trunk/openstack-compute/admin

Re: [openstack-dev] [Nova] Network stuff in Nova API v3

2013-08-12 Thread Alex Xu
On 2013年08月08日 13:49, Zhu Bo wrote: On 2013年08月07日 21:42, Alex Xu wrote: On 2013年08月07日 17:38, John Garbutt wrote: multi-nic added an extra virtual interface on a seprate network, like adding a port: http://docs.openstack.org/trunk/openstack-compute/admin/content/using-multi-nics.html

[openstack-dev] Remove 'absolute_limit' from limits's response for v3

2013-08-12 Thread Alex Xu
Hi, guys, When I'm cleaning up v3 api. I found limits extension will return absolute_limit. I think that already done by extension quota_sets. And I can't guess the reason why we keep that in limits. For ensure, I didn't missing something, I bring it to here. If we haven't any reason for

Re: [openstack-dev] [nova] v3 api remove security_groups extension (was Re: security_groups extension in nova api v3)

2013-08-16 Thread Alex Xu
On 2013?08?16? 14:34, Christopher Yeoh wrote: On Fri, Aug 16, 2013 at 10:28 AM, Melanie Witt melw...@yahoo-inc.com mailto:melw...@yahoo-inc.com wrote: On Aug 15, 2013, at 1:13 PM, Joe Gordon wrote: +1 from me as long as this wouldn't change anything for the EC2 API's security

Re: [openstack-dev] [nova] v3 api remove security_groups extension (was Re: security_groups extension in nova api v3)

2013-08-19 Thread Alex Xu
On 2013年08月17日 00:14, Vishvananda Ishaya wrote: On Aug 15, 2013, at 5:58 PM, Melanie Witt melw...@yahoo-inc.com wrote: On Aug 15, 2013, at 1:13 PM, Joe Gordon wrote: +1 from me as long as this wouldn't change anything for the EC2 API's security groups support, which I assume it won't.

Re: [openstack-dev] [nova] Revert Baremetal v3 API extension?

2013-09-05 Thread Alex Xu
+1 On 2013年09月05日 17:51, John Garbutt wrote: +1 I meant to raise that myself when I saw some changes there the other day. On 4 September 2013 15:52, Thierry Carrez thie...@openstack.org wrote: Russell Bryant wrote: On 09/04/2013 10:26 AM, Dan Smith wrote: Hi all, As someone who has felt

Re: [openstack-dev] [nova] FFE Request: v3 setting v3 API core

2013-09-08 Thread Alex Xu
On 2013?09?08? 21:34, Christopher Yeoh wrote: Hi, The following 3 changesets in the queue: https://review.openstack.org/#/c/43274/ https://review.openstack.org/#/c/43278/ https://review.openstack.org/#/c/43280/ make keypairs, scheduler hints and console output part of the V3 core api. This

Re: [openstack-dev] [nova] V3 API support

2014-12-07 Thread Alex Xu
I think Chris is on vacation. We move V3 API to V2.1. V2.1 have some improvement compare to V2. You can find more detail at http://specs.openstack.org/openstack/nova-specs/specs/juno/implemented/v2-on-v3-api.html We need support instance tag for V2.1. And in your patch, we needn't json-schema for

[openstack-dev] [api] Using query string or request body to pass parameter

2014-12-07 Thread Alex Xu
Hi, I have question about using query string or request body for REST API. This question found when I review this spec: https://review.openstack.org/#/c/131633/6..7/specs/kilo/approved/judge-service-state-when-deleting.rst Think about use request body will have more benefit: 1. Request body can

Re: [openstack-dev] [api] Using query string or request body to pass parameter

2014-12-08 Thread Alex Xu
Kevin, thanks for the info! I agree with you. RFC is the authority. use payload in the DELETE isn't good way. 2014-12-09 7:58 GMT+08:00 Kevin L. Mitchell kevin.mitch...@rackspace.com: On Tue, 2014-12-09 at 07:38 +0800, Alex Xu wrote: Not sure all, nova is limited at https://github.com

[openstack-dev] [nova] Evacuate instance which in server group with affinity policy

2014-12-19 Thread Alex Xu
Hi, There is problem when evacuate instance. If the instance is in the server group with affinity policy, the instance can't evacuate out the failed compute node. I know there is soft affinity policy under development, but think of if the instance in server group with hard affinity means no way

Re: [openstack-dev] [nova] Evacuate instance which in server group with affinity policy

2014-12-21 Thread Alex Xu
2014-12-22 9:01 GMT+08:00 Lingxian Kong anlin.k...@gmail.com: 2014-12-19 17:44 GMT+08:00 Alex Xu sou...@gmail.com: Hi, There is problem when evacuate instance. If the instance is in the server group with affinity policy, the instance can't evacuate out the failed compute node. I

Re: [openstack-dev] [nova] Evacuate instance which in server group with affinity policy

2014-12-22 Thread Alex Xu
the environment is operational once again. [1] https://review.openstack.org/#/c/136487/ [2] https://review.openstack.org/#/c/139272/ - Joe On Dec 21, 2014, at 8:36 PM, Lingxian Kong anlin.k...@gmail.com wrote: 2014-12-22 9:21 GMT+08:00 Alex Xu sou...@gmail.com: 2014-12-22 9:01 GMT+08

Re: [openstack-dev] [nova] Evacuate instance which in server group with affinity policy

2014-12-22 Thread Alex Xu
2014-12-22 10:36 GMT+08:00 Lingxian Kong anlin.k...@gmail.com: 2014-12-22 9:21 GMT+08:00 Alex Xu sou...@gmail.com: 2014-12-22 9:01 GMT+08:00 Lingxian Kong anlin.k...@gmail.com: but what if the compute node is back to normal? There will be instances in the same server group

Re: [openstack-dev] [nova] Evacuate instance which in server group with affinity policy

2014-12-23 Thread Alex Xu
2014-12-22 21:50 GMT+08:00 Sylvain Bauza sba...@redhat.com: Le 22/12/2014 13:37, Alex Xu a écrit : 2014-12-22 10:36 GMT+08:00 Lingxian Kong anlin.k...@gmail.com: 2014-12-22 9:21 GMT+08:00 Alex Xu sou...@gmail.com: 2014-12-22 9:01 GMT+08:00 Lingxian Kong anlin.k...@gmail.com

Re: [openstack-dev] [nova] Feature Freeze Exception request for x509 keypairs

2015-02-12 Thread Alex Xu
yea, this patch is on good shape. 2015-02-13 9:05 GMT+08:00 Ken'ichi Ohmichi ken1ohmi...@gmail.com: 2015-02-12 21:20 GMT+09:00 Claudiu Belu cb...@cloudbasesolutions.com: Hello. I would like to ask for a FFE for the x509 keypairs blueprint:

Re: [openstack-dev] [nova] Questions on pep8 F811 hacking check for microversion

2015-01-06 Thread Alex Xu
2015-01-06 20:31 GMT+08:00 Jay Pipes jaypi...@gmail.com: On 01/06/2015 06:25 AM, Chen CH Ji wrote: Based on nova-specs api-microversions.rst we support following function definition format, but it violate the hacking rule pep8 F811 because duplicate function definition we should use #noqa

Re: [openstack-dev] [Nova][Ironic] Question about scheduling two instances to same baremetal node

2015-01-09 Thread Alex Xu
2015-01-09 22:22 GMT+08:00 Sylvain Bauza sba...@redhat.com: Le 09/01/2015 14:58, Alex Xu a écrit : 2015-01-09 17:17 GMT+08:00 Sylvain Bauza sba...@redhat.com: Le 09/01/2015 09:01, Alex Xu a écrit : Hi, All There is bug when running nova with ironic https://bugs.launchpad.net/nova

[openstack-dev] [Nova][Ironic] Question about scheduling two instances to same baremetal node

2015-01-09 Thread Alex Xu
Hi, All There is bug when running nova with ironic https://bugs.launchpad.net/nova/+bug/1402658 The case is simple: one baremetal node with 1024MB ram, then boot two instances with 512MB ram flavor. Those two instances will be scheduling to same baremetal node. The problem is at scheduler side

Re: [openstack-dev] [nova][api]do we need to have a spec for all api related changes?

2015-01-06 Thread Alex Xu
2015-01-07 11:43 GMT+08:00 Eli Qiao ta...@linux.vnet.ibm.com: hi all: I have a patch [1], just did slight changes on api, do I need to write a spec(kinds of wasting time to get approved)? since api-microversion[2] is almost done, can we just feel free to add changes as micro-version api?

Re: [openstack-dev] [nova] request spec freeze exception for Attach/Detach SR-IOV interface

2015-01-12 Thread Alex Xu
2015-01-13 13:57 GMT+08:00 少合冯 lvmxhs...@gmail.com: Hello, I'd like to request an exception for Attach/Detach SR-IOV interface feature. [1] This is an important feature that aims to improve better performance than normal network interface in guests and not too hard to implement. Thanks,

[openstack-dev] [Nova] Requesting exception for add separated policy rule for each v2.1 api

2015-01-12 Thread Alex Xu
https://review.openstack.org/#/c/127863/ This spec is part of Nova REST API policy improvement. And those improvement already got generic agreement as in this full view devref https://review.openstack.org/#/c/138270/ This spec is just for Nova REST API v2.1. So really hope it can be done before

Re: [openstack-dev] [Nova][Ironic] Question about scheduling two instances to same baremetal node

2015-01-09 Thread Alex Xu
2015-01-09 17:17 GMT+08:00 Sylvain Bauza sba...@redhat.com: Le 09/01/2015 09:01, Alex Xu a écrit : Hi, All There is bug when running nova with ironic https://bugs.launchpad.net/nova/+bug/1402658 The case is simple: one baremetal node with 1024MB ram, then boot two instances with 512MB

Re: [openstack-dev] [Nova][Ironic] Question about scheduling two instances to same baremetal node

2015-01-09 Thread Alex Xu
two instances to same baremetal node To: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.org Le 09/01/2015 09:01, Alex Xu a écrit : Hi, All There is bug when running nova with ironic https://bugs.launchpad.net/nova/+bug/1402658 The case

Re: [openstack-dev] [nova] Question about force_host skip filters

2015-02-13 Thread Alex Xu
2015-02-14 1:41 GMT+08:00 Nikola Đipanov ndipa...@redhat.com: On 02/12/2015 04:10 PM, Chris Friesen wrote: On 02/12/2015 03:44 AM, Sylvain Bauza wrote: Any action done by the operator is always more important than what the Scheduler could decide. So, in an emergency situation, the

Re: [openstack-dev] [nova] is it possible to microversion a static class method?

2015-03-16 Thread Alex Xu
! Kevin (Chen) Ji 纪 晨 Engineer, zVM Development, CSTL Notes: Chen CH Ji/China/IBM@IBMCN Internet: jiche...@cn.ibm.com Phone: +86-10-82454158 Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC [image: Inactive hide details for Alex Xu ---03/16/2015

Re: [openstack-dev] [nova] is it possible to microversion a static class method?

2015-03-16 Thread Alex Xu
into the code. On Mon, Mar 16, 2015 at 12:21 PM, Alex Xu sou...@gmail.com wrote: 2015-03-16 9:48 GMT+08:00 Alex Xu sou...@gmail.com: 2015-03-13 19:10 GMT+08:00 Sean Dague s...@dague.net: On 03/13/2015 02:55 AM, Chris Friesen wrote: On 03/12/2015 12:13 PM, Sean Dague wrote: On 03/12/2015 02

Re: [openstack-dev] [nova] is it possible to microversion a static class method?

2015-03-15 Thread Alex Xu
2015-03-13 19:10 GMT+08:00 Sean Dague s...@dague.net: On 03/13/2015 02:55 AM, Chris Friesen wrote: On 03/12/2015 12:13 PM, Sean Dague wrote: On 03/12/2015 02:03 PM, Chris Friesen wrote: Hi, I'm having an issue with microversions. The api_version() code has a comment saying This

Re: [openstack-dev] [nova] is it possible to microversion a static class method?

2015-03-15 Thread Alex Xu
2015-03-16 9:48 GMT+08:00 Alex Xu sou...@gmail.com: 2015-03-13 19:10 GMT+08:00 Sean Dague s...@dague.net: On 03/13/2015 02:55 AM, Chris Friesen wrote: On 03/12/2015 12:13 PM, Sean Dague wrote: On 03/12/2015 02:03 PM, Chris Friesen wrote: Hi, I'm having an issue with microversions

Re: [openstack-dev] [nova] what is our shipped paste.ini going to be for Kilo

2015-03-16 Thread Alex Xu
2015-03-17 13:25 GMT+08:00 Christopher Yeoh cbky...@gmail.com: On Mon, 16 Mar 2015 11:22:12 -0400 Russell Bryant rbry...@redhat.com wrote: On 03/16/2015 11:08 AM, John Garbutt wrote: While its not under Nova's control, I think we need to consider the keystone catalog here. It

Re: [openstack-dev] removal of v3 in tree testing

2015-03-06 Thread Alex Xu
2015-03-06 13:49 GMT+08:00 GHANSHYAM MANN ghanshyamm...@gmail.com: Hi Sean, That is very nice idea to keep only 1 set of tests and run those twice via tox. Actually my main goal was- - 1. Create clean sample file structure for V2. V2.1 and micro-versions Something like below-

Re: [openstack-dev] [nova][api] Microversions. And why do we need API extensions for new API functionality?

2015-03-09 Thread Alex Xu
ok, no problem, will take a look it tomorrow. 2015-03-09 20:18 GMT+08:00 Christopher Yeoh cbky...@gmail.com: On Mon, Mar 9, 2015 at 10:08 PM, John Garbutt j...@johngarbutt.com wrote: +1 Please could you submit a dev ref for this? We can argue on the review, a bit like this one:

Re: [openstack-dev] [nova][api] Microversions. And why do we need API extensions for new API functionality?

2015-03-08 Thread Alex Xu
Thanks for Jay point this out! If we have agreement on this and document it, that will be great for guiding developer how to add new API. I know we didn't want extension for API. But I think we still need modularity. I don't think we should put everything in a single file, that file will become

[openstack-dev] [Nova] The expected behavior of os-tenant-network API

2015-03-13 Thread Alex Xu
Hi, All, When review the policy patches. I found there is a little strange behavior in os-tenant-network API. And just file a bug for them: 1. non-admin can't create network by os-tenant-network API https://bugs.launchpad.net/nova/+bug/1432101 2. non-admin can delete a network without any

Re: [openstack-dev] [nova] is it possible to microversion a static class method?

2015-03-12 Thread Alex Xu
2015-03-13 2:13 GMT+08:00 Sean Dague s...@dague.net: On 03/12/2015 02:03 PM, Chris Friesen wrote: Hi, I'm having an issue with microversions. The api_version() code has a comment saying This decorator MUST appear first (the outermost decorator) on an API method for it to work

Re: [openstack-dev] [nova][api] Microversions. And why do we need API extensions for new API functionality?

2015-03-10 Thread Alex Xu
confidence for my English and view. So please feel free to comment and update the doc to add your thought and your view, and add yourself as co-author.(If you feel hopeless, you also can start new one) Thanks Alex 2015-03-09 23:37 GMT+08:00 Alex Xu sou...@gmail.com: ok, no problem, will take a look

Re: [openstack-dev] [nova][api] Microversions. And why do we need API extensions for new API functionality?

2015-03-10 Thread Alex Xu
2015-03-10 3:37 GMT+08:00 Jay Pipes jaypi...@gmail.com: On 03/08/2015 08:10 AM, Alex Xu wrote: Thanks for Jay point this out! If we have agreement on this and document it, that will be great for guiding developer how to add new API. I know we didn't want extension for API. But I think we

Re: [openstack-dev] [nova] Question about boot-from-volume instance and flavor

2015-03-04 Thread Alex Xu
2015-03-04 4:45 GMT+08:00 Jay Pipes jaypi...@gmail.com: On 03/03/2015 01:10 AM, Rui Chen wrote: Hi all, When we boot instance from volume, we find some ambiguous description about flavor root_gb in operations guide, http://docs.openstack.org/openstack-ops/content/flavors.html /Virtual

Re: [openstack-dev] [nova] blueprint about multiple workers supported in nova-scheduler

2015-03-04 Thread Alex Xu
Rui, you still can run multiple nova-scheduler process now. 2015-03-05 10:55 GMT+08:00 Rui Chen chenrui.m...@gmail.com: Looks like it's a complicated problem, and nova-scheduler can't scale-out horizontally in active/active mode. Maybe we should illustrate the problem in the HA docs.

Re: [openstack-dev] [nova] Shared storage support

2015-02-25 Thread Alex Xu
Actually I have similar idea, an plan to work on it at L by a nova-spec (is it worth a spec?). But this idea not come from this bug, it's come from other cases: 1. Currently we need specified 'on_shared_storage' and 'block_migration' when evacuate and live_migration. After we tracking the shared

Re: [openstack-dev] [nova][python-novaclient] microversion implementation on client side

2015-04-23 Thread Alex Xu
Thanks Andrey for hard work on the microverison client support. Wrote down some my thought: I also agreed we will have only one endpoint 'compute'. Hope we can switch v2.1 export as '/v2' in the api-paste.conf as default very soon~ let's say what expected after we only have v2.1 in the world

Re: [openstack-dev] [nova][python-novaclient] microversion implementation on client side

2015-04-24 Thread Alex Xu
AM, Alex Xu sou...@gmail.com wrote: Thanks Andrey for hard work on the microverison client support. Wrote down some my thought: I also agreed we will have only one endpoint 'compute'. Hope we can switch v2.1 export as '/v2' in the api-paste.conf as default very soon~ let's say what expected

Re: [openstack-dev] [nova][python-novaclient] microversion implementation on client side

2015-04-24 Thread Alex Xu
, 2015 at 12:42 PM, Alex Xu sou...@gmail.com wrote: 2015-04-24 17:24 GMT+08:00 Andrey Kurilin akuri...@mirantis.com: Thank you for suggestions! I'll try modify patches as soon as possible. np, it's better waiting for more comment before you begin to update the code first. avoid you need

Re: [openstack-dev] [nova] Policy rules are killed by the context admin check

2015-04-22 Thread Alex Xu
2015-04-23 6:55 GMT+08:00 Matt Riedemann mrie...@linux.vnet.ibm.com: On 4/22/2015 8:32 AM, Sylvain Bauza wrote: Hi, By discussing on a specific bug [1], I just discovered that the admin context check which was done at the DB level has been moved to the API level thanks to the

Re: [openstack-dev] [nova][api] API working group liaisons and responsibilities

2015-05-03 Thread Alex Xu
2015-05-02 5:12 GMT+08:00 Everett Toews everett.to...@rackspace.com: On Apr 30, 2015, at 9:54 AM, Jay Pipes jaypi...@gmail.com wrote: Hi Stackers, OK, so Matthew Gilliard and Alex Xu have volunteered to be the Nova team's liaisons to the API working group. Big thank you to Matthew

Re: [openstack-dev] [nova] Proposal to add Melanie Witt to nova-core

2015-04-30 Thread Alex Xu
I'm not core, but I want to +1 :) 2015-04-30 19:30 GMT+08:00 John Garbutt j...@johngarbutt.com: Hi, I propose we add Melanie to nova-core. She has been consistently doing great quality code reviews[1], alongside a wide array of other really valuable contributions to the Nova project.

Re: [openstack-dev] [nova][python-novaclient] microversion implementation on client side

2015-04-28 Thread Alex Xu
2015-04-27 17:49 GMT+08:00 John Garbutt j...@johngarbutt.com: I see these changes as really important. We need to establish good patterns other SDKs can copy. On 24 April 2015 at 12:05, Alex Xu sou...@gmail.com wrote: 2015-04-24 18:15 GMT+08:00 Andrey Kurilin akuri...@mirantis.com: When

Re: [openstack-dev] [nova][python-novaclient] microversion implementation on client side

2015-04-28 Thread Alex Xu
2015-04-28 15:22 GMT+08:00 Alex Xu sou...@gmail.com: 2015-04-27 17:49 GMT+08:00 John Garbutt j...@johngarbutt.com: I see these changes as really important. We need to establish good patterns other SDKs can copy. On 24 April 2015 at 12:05, Alex Xu sou...@gmail.com wrote: 2015-04-24 18

Re: [openstack-dev] [nova] Which error code should we return when OverQuota

2015-05-05 Thread Alex Xu
From API-WG guideline, exceed quota should be 403 https://github.com/openstack/api-wg/blob/master/guidelines/http.rst 2015-05-06 3:30 GMT+08:00 Chen CH Ji jiche...@cn.ibm.com: In doing patch [1], A suggestion is submitted that we should return 400 (bad Request) instead of 403 (Forbidden) I

  1   2   3   4   >