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

2014-08-12 Thread Qiming Teng
Hi, Are you aware of the dockter_container resource type (DockerInc::Docker::Container) in Heat contrib directory? I am seeing a 'CMD' property which is a list of command to run after the container is spawned. Is that what you want? Regards, Qiming On Tue, Aug 12, 2014 at 02:27:39PM +0800, J

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

2014-08-12 Thread Qiming Teng
almost all of the parameters > used in "docker run". > > Do you know if docker container support cloud-init in a image? My > understanding is NOT as I did not see "userdata" in docker property. > > > > 2014-08-12 16:21 GMT+08:00 Qiming Teng : > >

Re: [openstack-dev] [Heat] convergence flow diagrams

2014-09-08 Thread Qiming Teng
On Tue, Sep 09, 2014 at 10:15:04AM +1000, Angus Salkeld wrote: > On Mon, Sep 8, 2014 at 11:22 PM, Tyagi, Ishant wrote: (snip) > > > Great! Good to see something. Indeed. These diagrams are very useful for those who read plain English text very slow and those who do visual thinking, like me. Than

Re: [openstack-dev] China blocking access to OpenStack git review push

2014-09-14 Thread Qiming Teng
> As an alternative to pushing via ssh you can push via https over port > 443 which may bypass this port blockage. Both latest git review and the > version of gerrit that we are running support this. > > The first step is to generate a gerrit http password, this will be used > to authenticate ag

Re: [openstack-dev] Heat dependency visualisation

2014-09-15 Thread Qiming Teng
> Nice. What would be even nicer is a change to python-heatclient so that > heat resource-list has an option to output in dotfile format. +1. It would also be interesting to check if the dependency analysis is capable of exploding a resource-group. Say I have a ResourceGroup where each resource

Re: [openstack-dev] [heat] Convergence - persistence desired and observed state

2014-09-17 Thread Qiming Teng
On Wed, Sep 17, 2014 at 12:27:34PM +, Gurjar, Unmesh wrote: > Hi All, > > The convergence blueprint (https://review.openstack.org/#/c/95907/) > introduces two new database tables (resource_observed and > resource_properties_observed ) for storing the observed state of a resource > (currentl

[openstack-dev] [Heat] Need more sample HOT templates for users

2014-02-13 Thread Qiming Teng
n addition to the API references, we also provide resource references (think of the AWS CFN online docs). Does this makes senses? Regards, - Qiming ----- Qiming Teng, PhD. Research Staff Member IB

Re: [openstack-dev] [Heat] Need more sample HOT templates for users

2014-02-14 Thread Qiming Teng
ails like documentation of all > resources: > http://docs.openstack.org/developer/heat/template_guide/index.html > > HOT template guide: > http://docs.openstack.org/developer/heat/template_guide/hot_guide.html > > HOT template spec: > http://docs.openstack.org/developer/heat/template_g

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

2014-02-27 Thread Qiming Teng
The creation a stack is usually a time costly process, considering that there are cases where software packages need to be installed and configured. There are also cases where a stack consists of more than one VM instance and the dependency between instances. The instances may have to be created

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

2014-03-01 Thread Qiming Teng
On Fri, Feb 28, 2014 at 03:45:39PM -0500, Zane Bitter wrote: > On 28/02/14 02:28, Qiming Teng wrote: > > > >The creation a stack is usually a time costly process, considering that > >there are cases where software packages need to be installed and > >configured. > >

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

2014-03-01 Thread Qiming Teng
Condition | 37389 | state changed | > CREATE_IN_PROGRESS | 2014-02-28T16:51:07Z | > | HadoopMasterWaitCondition | 37390 | state changed | > CREATE_COMPLETE| 2014-02-28T16:52:46Z | > +-------+---+++---

Re: [openstack-dev] boot server with attached network

2014-03-03 Thread Qiming Teng
Hi, You may want to tag the subject of your post with [Nova][Neutron] etc, so that people won't accidentally filter your email out. - Qiming ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman

Re: [openstack-dev] [Heat] About the DEFAULT_PAGE_SIZE

2014-11-27 Thread Qiming Teng
It looks like some constants not yet used in pagination. (refer to: heatclient/v1/stacks.py: StackManager.list()) Regards, Qiming On Thu, Nov 27, 2014 at 03:56:07PM +0800, Baohua Yang wrote: > Hi, all > Just notice there're several DEFAULT_PAGE_SIZE=20 lines inside the > latest python-hea

[openstack-dev] [Heat] Rework auto-scaling support in Heat

2014-11-27 Thread Qiming Teng
Dear all, Auto-Scaling is an important feature supported by Heat and needed by many users we talked to. There are two flavors of AutoScalingGroup resources in Heat today: the AWS-based one and the Heat native one. As more requests coming in, the team has proposed to separate auto-scaling support

Re: [openstack-dev] Compute Node lost the net-connection after spawning vm

2014-11-28 Thread Qiming Teng
Sounds like a iptables problem. BTW, you may want to post this kind of question to openst...@lists.openstack.org, not here. Regards, Qiming On Thu, Nov 27, 2014 at 06:45:26PM +0530, Aman Kumar wrote: > Hi, > > I am using DevStack since 4 months and it was working fine but 2 days back > i got s

Re: [openstack-dev] [heat] [cinder backend options] Propagate Cinder backend config information to Heat

2014-11-28 Thread Qiming Teng
The first thing you may want to check is the Cinder API. If I'm understanding this correctly, Heat only interact with other OpenStack services via their APIs. It is not supposed to peek into their internals. Regards, - Qiming On Fri, Nov 28, 2014 at 06:19:56PM +0530, Pradip Mukhopadhyay wrote

Re: [openstack-dev] [Heat] Rework auto-scaling support in Heat

2014-12-01 Thread Qiming Teng
On Fri, Nov 28, 2014 at 02:33:10PM +, Jastrzebski, Michal wrote: > > > > -Original Message- > > From: Qiming Teng [mailto:teng...@linux.vnet.ibm.com] > > Sent: Friday, November 28, 2014 8:33 AM > > To: openstack-dev@lists.openstack.org > > Subject

[openstack-dev] [Heat][oslo-incubator][oslo-log] Logging Unicode characters

2014-12-24 Thread Qiming Teng
Hi, When trying to enable stack names in Heat to use unicode strings, I am stuck by a weird behavior of logging. Suppose I have a stack name assigned some non-ASCII string, then when stack tries to log something here: heat/engine/stack.py: 536 LOG.info(_LI('Stack %(action)s %(status)s (%(n

Re: [openstack-dev] [Heat][oslo-incubator][oslo-log] Logging Unicode characters

2014-12-24 Thread Qiming Teng
Seems that the reason is in devstack 'screen' is not started with Unicode support. Still checking ... Regards, Qiming On Wed, Dec 24, 2014 at 05:48:56PM +0800, Qiming Teng wrote: > Hi, > > When trying to enable stack names in Heat to use unicode strings, I am > stuck

Re: [openstack-dev] [Heat][oslo-incubator][oslo-log] Logging Unicode characters

2014-12-25 Thread Qiming Teng
On Wed, Dec 24, 2014 at 10:50:48AM -0600, Ben Nemec wrote: > On 12/24/2014 03:48 AM, Qiming Teng wrote: > > Hi, > > > > When trying to enable stack names in Heat to use unicode strings, I am > > stuck by a weird behavior of logging. > > > > Suppose I ha

Re: [openstack-dev] [Heat][devstack] Logging Unicode characters

2014-12-25 Thread Qiming Teng
, - Qiming On Wed, Dec 24, 2014 at 08:58:13PM +0800, Qiming Teng wrote: > Seems that the reason is in devstack 'screen' is not started with > Unicode support. Still checking ... > > Regards, > Qiming > > On Wed, Dec 24, 2014 at 05:48:56PM +0800, Qiming Teng wrot

[openstack-dev] [Heat] Support status of Heat resource types

2015-01-18 Thread Qiming Teng
Dear all, One question we constantly get from Heat users is about the support status of resource types. Some users are not well informed of this information so that is something we can improve. Though some resource types are already labelled with support status, there are quite some of them not id

Re: [openstack-dev] [Heat] Support status of Heat resource types

2015-01-19 Thread Qiming Teng
On Mon, Jan 19, 2015 at 09:49:08AM +, Steven Hardy wrote: > On Sun, Jan 18, 2015 at 08:41:46PM +0800, Qiming Teng wrote: > > Dear all, > > One question we constantly get from Heat users is about the support > > status of resource types. Some users are not well informed of

Re: [openstack-dev] [Heat] Support status of Heat resource types

2015-01-19 Thread Qiming Teng
On Mon, Jan 19, 2015 at 01:24:19PM +, Steven Hardy wrote: > On Mon, Jan 19, 2015 at 07:29:42PM +0800, Qiming Teng wrote: > > On Mon, Jan 19, 2015 at 09:49:08AM +, Steven Hardy wrote: > > > On Sun, Jan 18, 2015 at 08:41:46PM +0800, Qiming Teng wrote: > > > >

[openstack-dev] oslo_log/oslo_config initialization

2015-01-21 Thread Qiming Teng
Hi, In the oslo_log 0.1.0 release, the setup() function demands for a conf parameter, but I have failed to find any hint about setting this up. The problem is cfg.CONF() returns None, so the following code fails: conf = cfg.CONF(name='prog', project='project') # conf is always None here, so

Re: [openstack-dev] oslo_log/oslo_config initialization

2015-01-21 Thread Qiming Teng
On Wed, Jan 21, 2015 at 12:27:15PM +0200, Denis Makogon wrote: > On Wed, Jan 21, 2015 at 12:16 PM, Qiming Teng > wrote: > > > Hi, > > > > In the oslo_log 0.1.0 release, the setup() function demands for a conf > > parameter, but I have failed to find any hint a

Re: [openstack-dev] oslo_log/oslo_config initialization

2015-01-21 Thread Qiming Teng
On Wed, Jan 21, 2015 at 12:27:15PM +0200, Denis Makogon wrote: > On Wed, Jan 21, 2015 at 12:16 PM, Qiming Teng > wrote: > > > Hi, > > > > In the oslo_log 0.1.0 release, the setup() function demands for a conf > > parameter, but I have failed to find any hint a

Re: [openstack-dev] oslo_log/oslo_config initialization

2015-01-21 Thread Qiming Teng
ed together. Please > hop onto #openstack-oslo to debug in real time. > > [1] https://review.openstack.org/#/c/147635/ Thanks, glad to know some projects already took the adventure and it works. Regards, Qiming > On Wed, Jan 21, 2015 at 8:11 AM, Qiming Teng > wrote: > > O

Re: [openstack-dev] oslo_log/oslo_config initialization

2015-01-21 Thread Qiming Teng
On Wed, Jan 21, 2015 at 08:25:57AM -0500, Davanum Srinivas wrote: > Qiming, > > Nova already uses oslo.config. there's a patch against nova to use > oslo_log. Doug took the effort to do this so we'd not face issues once > we release oslo_log, so yes, they have been tested together. Please > hop on

Re: [openstack-dev] oslo_log/oslo_config initialization

2015-01-21 Thread Qiming Teng
port/guru_meditation_report.py: > logging.setup(CONF, 'blah') > ./nova/test.py:logging.register_options(CONF) > ./nova/test.py:logging.setup(CONF, 'nova') > > If you file a review with what you have, maybe we can help, again, pop > onto the #openstack-oslo chann

Re: [openstack-dev] oslo_log/oslo_config initialization

2015-01-22 Thread Qiming Teng
On Thu, Jan 22, 2015 at 06:06:54AM -0500, Davanum Srinivas wrote: > Qiming, > > you are reading bits and pieces of my responses."if you checkout the > review" guess i give up! > > -- dims Ah, I see. I jumped directly into the code review dashboard without realizing that patch is still WIP. That

Re: [openstack-dev] [heat][hot]

2015-01-26 Thread Qiming Teng
On Sun, Jan 25, 2015 at 05:41:33PM +0200, Dmitry wrote: > Hello, > I need to receive instance id as part of the instance installation script. > Something like: > params: > $current_id: {get_param: $this.id} Please be specific about the 'installation script', i.e. which resource type and

Re: [openstack-dev] [heat][hot]

2015-01-26 Thread Qiming Teng
On Mon, Jan 26, 2015 at 07:44:25PM +0200, Dmitry wrote: > thanks, exactly what I was looking for: > curl http://169.254.169.254/1.0/meta-data/instance-id or, /var/lib/cloud/data/instance-id, if cloud-init is there. Regards, Qiming > On Mon, Jan 26, 2015 at 7:31 PM, Zane Bitter wrote: > > > O

Re: [openstack-dev] [Neutron][Heat] How to bind IP&MAC for a stack VM resources

2015-01-26 Thread Qiming Teng
On Tue, Jan 27, 2015 at 10:13:59AM +0800, Jay Lau wrote: > Greetings, > > I have a question related to MAC and IP binding, I know that we can create > a port to bind a private IP and MAC together then create VM using this > specified port to make sure the VM can use the the IP and MAC in this port

Re: [openstack-dev] [Neutron][Heat] How to bind IP&MAC for a stack VM resources

2015-01-26 Thread Qiming Teng
On Tue, Jan 27, 2015 at 10:34:47AM +0800, Jay Lau wrote: > 2015-01-27 10:28 GMT+08:00 Qiming Teng : > > > On Tue, Jan 27, 2015 at 10:13:59AM +0800, Jay Lau wrote: > > > Greetings, > > > > > > I have a question related to MAC and IP binding, I know that w

Re: [openstack-dev] [Heat][Summit] Input wanted - real world heat spec

2014-04-24 Thread Qiming Teng
> > Specifically, I am not clear on whether 'convergence' means: > > (a) Heat continues to respect the dependency graph but does not stop > > after one traversal, instead repeatedly processing it until (and even > > after) the stack is complete; or > > (b) Heat ignores the dependency graph an

Re: [openstack-dev] [nova] Proposal: remove the server groups feature

2014-04-29 Thread Qiming Teng
On Mon, Apr 28, 2014 at 10:58:50AM -0600, Chris Friesen wrote: > On 04/25/2014 03:15 PM, Jay Pipes wrote: > > >There are myriad problems with the above user experience and > >implementation. Let me explain them. > > > >1. The user isn't creating a "server group" when they issue a nova > >server-gr

Re: [openstack-dev] [nova] Proposal: remove the server groups feature

2014-05-03 Thread Qiming Teng
On Thu, May 01, 2014 at 08:49:11PM +0800, Jay Lau wrote: > Jay Pipes and all, I'm planning to merge this topic to > http://junodesignsummit.sched.org/event/77801877aa42b595f14ae8b020cd1999after > some discussion in this week's Gantt IRC meeting, hope it is OK. > > Thanks! The link above didn't wo

Re: [openstack-dev] Heat SoftwareConfig and SoftwareDevelopment

2014-05-13 Thread Qiming Teng
On Mon, May 12, 2014 at 08:56:22AM +, LIU Casper A wrote: > Hello dear Heat Developers, > > I am Casper Liu from Alcatel-Lucent. I am doing a project based on > Heat(Icehouse), and have questions about Heat SoftwareConfig and > SoftwareDevelopment resources. > > Your reply would be highly a

Re: [openstack-dev] [HEAT] Discussion: How to list nested stack resources.

2014-05-14 Thread Qiming Teng
# heat stack-create -f example.yaml # heat stack-list Assume the stack id is: 5d44526e-e75c-4cec-aeea-252d6d15254b # heat resource-list 5d44526e-e75c-4cec-aeea-252d6d15254b You get the resource named 'MyStack'. To check the details: # heat resource-show 5d44526e-e75c-4cec-aeea-252d6d15254b MySt

Re: [openstack-dev] [heat]How to get metadata when vm in a network without dhcp?

2014-05-15 Thread Qiming Teng
Please post usage question to openst...@lists.openstack.org, not this development mailing list. As for your case, you may want to check config_drive, which is supported both at nova cli and heat templates. Regards, Qimng On Thu, May 15, 2014 at 05:34:57PM +0800, xuanlangjian wrote: > Hi guys,

[openstack-dev] [Nova][Heat] How to reliably detect VM failures?

2014-03-18 Thread Qiming Teng
Hi, Folks, I have been trying to implement a HACluster resource type in Heat. I haven't created a BluePrint for this because I am not sure everything will work as expected. The basic idea is to extend the OS::Heat::ResourceGroup resource type with inner resource types fixed to be OS::Nova::Se

Re: [openstack-dev] [Nova][Heat] How to reliably detect VM failures?

2014-03-18 Thread Qiming Teng
On Tue, Mar 18, 2014 at 09:42:18AM -0700, Steven Dake wrote: > On 03/18/2014 07:54 AM, Qiming Teng wrote: > >Hi, Folks, > > > > I have been trying to implement a HACluster resource type in Heat. I > >haven't created a BluePrint for this because I am not sure eve

Re: [openstack-dev] [Nova][Heat] How to reliably detect VM failures?

2014-03-19 Thread Qiming Teng
On Wed, Mar 19, 2014 at 12:08:30PM -0400, Zane Bitter wrote: > On 19/03/14 02:07, Chris Friesen wrote: > >On 03/18/2014 11:18 AM, Zane Bitter wrote: > >>On 18/03/14 12:42, Steven Dake wrote: > > > >>>You should be able to use the HARestarter resource and functionality to > >>>do healthchecking of a

Re: [openstack-dev] [Nova][Heat] How to reliably detect VM failures?

2014-03-19 Thread Qiming Teng
On Wed, Mar 19, 2014 at 01:04:55PM +, WICKES, ROGER wrote: > > On 03/18/2014 07:54 AM, Qiming Teng wrote: > >> Hi, Folks, > >> > >>I have been trying to implement a HACluster resource type in Heat. I > >> haven't created a BluePrint for this

Re: [openstack-dev] [heat] Standing down as PTL

2014-04-02 Thread Qiming Teng
Let's vote for the K, L, M release names now. :) Thanks, Steve. On Mon, Mar 31, 2014 at 11:22:49AM +1300, Steve Baker wrote: > I don't intend to run for PTL for the Juno cycle; thankfully there are > many Heat developers who would do a great job. > > Hopefully this wasn't a one-off though. I m

[openstack-dev] [Heat] Some thoughts on the mapping section

2014-04-02 Thread Qiming Teng
Hi, Regarding the discussion about the adding of a native 'mappings' section to HOT [1], which has been abandoned, I have some different thoughts for the team to consider. Maybe having that section added is not a bad idea. I do think we need a 'mappings' kind of functionality in HOT, to allow u

Re: [openstack-dev] [heat] Re: deliver the vm-level HA to improve the business continuity with openstack

2014-04-15 Thread Qiming Teng
What I saw in this thread are several topics: 1) Is VM HA really relevant (in a cloud)? This is the most difficult question to answer, because it really depends on who you are talking to, who are the user community you are facing. IMHO, for most web-based applications that are born to run on clou

Re: [openstack-dev] [heat] computed package names?

2014-04-16 Thread Qiming Teng
In the case of yum or apt package installation, I would recommend to give OS::Heat::CloudConfig a try, instead of sticking to cfn-init. The function you proposed (Fn::MemberListToMap) actually brings us back to the previous discussion whether a mapping section is really needed in the native HOT te

Re: [openstack-dev] [heat] computed package names?

2014-04-16 Thread Qiming Teng
+1 on porting the templates. What I would suggest also is to restructure the heat-templates directory layout. Most of the templates are not so different between OS distros. Besides this, what the heat-templates project really helps is that the templates are the best teaching materials for new us

Re: [openstack-dev] [Heat] Meeting time redux

2014-04-23 Thread Qiming Teng
Well, in a world where people are driven crazy by all kinds of internal and external work items, it would be definitely difficult to find a time slot that suits everyone. In a MNE like IBM, we always have this problem. We do a lot of meetings in evenings (before 11:30pm most of the time), and some

Re: [openstack-dev] [Heat] naming of provider template for docs

2014-09-19 Thread Qiming Teng
On Fri, Sep 19, 2014 at 11:20:43AM +0200, Thomas Spatzier wrote: > > From: Mike Spreitzer > > To: "OpenStack Development Mailing List \(not for usage questions\)" > > > > Date: 19/09/2014 07:15 > > Subject: Re: [openstack-dev] [Heat] naming of provider template for docs > > > > Angus Salkeld wro

[openstack-dev] [Ceilometer] MySQL performance and Mongodb backend maturity question

2014-09-24 Thread Qiming Teng
Hi, Some weeks ago, I checked my then latest devstack install and I learned this: event support in Ceilometer is only available for sqlalchemy backend; mongodb backend was still under development. I have been using MySQL during the past weeks and now I think I'm trapped by a performance problem o

Re: [openstack-dev] [Ceilometer] MySQL performance and Mongodb backend maturity question

2014-09-25 Thread Qiming Teng
So MongoDB support to events is ready in tree? Regards, Qiming On Thu, Sep 25, 2014 at 10:26:08AM +0300, Igor Degtiarov wrote: > Hi, Qiming Teng. > > Now all backends support events. So you may use MongoDB instead of > MySQL, or if you like you may choose HBase. > > Cheer

Re: [openstack-dev] [Ceilometer] MySQL performance and Mongodb backend maturity question

2014-09-25 Thread Qiming Teng
On Wed, Sep 24, 2014 at 09:43:54PM -0700, Preston L. Bannister wrote: > Sorry, I am jumping into this without enough context, but ... > > > On Wed, Sep 24, 2014 at 8:37 PM, Qiming Teng > wrote: > > > > mysql> select count(*) from metadata_text

Re: [openstack-dev] [Ceilometer] MySQL performance and Mongodb backend maturity question

2014-09-25 Thread Qiming Teng
On Thu, Sep 25, 2014 at 11:40:11AM +0200, Daniele Venzano wrote: > On 09/25/14 10:12, Qiming Teng wrote: > >Yes, just about 3 VMs running on two hosts, for at most 3 weeks. > >This is leading me to another question -- any best practices/tools > >to retire the old data on a r

Re: [openstack-dev] [Ceilometer] MySQL performance and Mongodb backend maturity question

2014-09-25 Thread Qiming Teng
On Thu, Sep 25, 2014 at 11:51:23AM -0400, gordon chung wrote: > > mysql> select count(*) from metadata_text; > > +--+ > > | count(*) | > > +--+ > > | 25249913 | > > +--+ > > 1 row in set (3.83 sec)> > > There were 25M records in one table. The deletion time is reaching an

Re: [openstack-dev] cant launch instace

2014-10-19 Thread Qiming Teng
On Mon, Oct 20, 2014 at 02:29:10AM +0530, shailendra acharya wrote: > hello folks, >i m trying to install openstack multinode in my laptop. i > cant launch instance. even it cant update nova-compute. plz help i m very > confused Please post to openst...@lists.openstack.org, this is

Re: [openstack-dev] [heat][ceilometer]: scale up/ down based on number of instances in a group

2014-10-25 Thread Qiming Teng
On Sat, Oct 25, 2014 at 07:58:28AM +0100, Daniel Comnea wrote: > HI all, > > > Unfortunately i couldn't find any resource - blueprint/ document/ examples/ > presentations about my below use case, hence the question i'm raising now > (if this is not the best place to ask, please let me know). > >

Re: [openstack-dev] [heat] Sergey Kraynev for heat-core

2014-06-28 Thread Qiming Teng
On Fri, Jun 27, 2014 at 07:11:48PM +0400, Sergey Kraynev wrote: > Thanks you everyone for the chance to join to this awesome team! > It's honor for me and I hope, that my 5 cents will help to make Heat even > better :) > > Regards, > Sergey. > > Congratulations! - Qiming

Re: [openstack-dev] [heat] health maintenance in autoscaling groups

2014-07-02 Thread Qiming Teng
Just some random thoughts below ... On Tue, Jul 01, 2014 at 03:47:03PM -0400, Mike Spreitzer wrote: > In AWS, an autoscaling group includes health maintenance functionality --- > both an ability to detect basic forms of failures and an ability to react > properly to failures detected by itself o

Re: [openstack-dev] [heat] health maintenance in autoscaling groups

2014-07-02 Thread Qiming Teng
On Wed, Jul 02, 2014 at 11:02:36AM +0100, Steven Hardy wrote: > On Wed, Jul 02, 2014 at 03:02:14PM +0800, Qiming Teng wrote: > > Just some random thoughts below ... > > > > On Tue, Jul 01, 2014 at 03:47:03PM -0400, Mike Spreitzer wrote: > > > In AWS, an aut

Re: [openstack-dev] [heat] health maintenance in autoscaling groups

2014-07-02 Thread Qiming Teng
On Wed, Jul 02, 2014 at 12:29:31PM -0400, Mike Spreitzer wrote: > Qiming Teng wrote on 07/02/2014 03:02:14 AM: > > > Just some random thoughts below ... > > > > On Tue, Jul 01, 2014 at 03:47:03PM -0400, Mike Spreitzer wrote: > > > ... > > > I have n

Re: [openstack-dev] [heat] health maintenance in autoscaling groups

2014-07-02 Thread Qiming Teng
On Wed, Jul 02, 2014 at 10:54:49AM -0700, Clint Byrum wrote: > Excerpts from Qiming Teng's message of 2014-07-02 00:02:14 -0700: > > Just some random thoughts below ... > > > > On Tue, Jul 01, 2014 at 03:47:03PM -0400, Mike Spreitzer wrote: > > > In AWS, an autoscaling group includes health mainte

[openstack-dev] [Heat][Ceilometer] A proposal to enhance ceilometer alarm

2014-07-04 Thread Qiming Teng
Hi, In current Alarm implementation, Ceilometer will send back Heat an 'alarm' using the pre-signed URL (or other channel under development). The alarm carries a payload that looks like: { alarm_id: ID previous: ok current: alarm reason: transision to alarm due to n samples outside t

Re: [openstack-dev] [Heat][Ceilometer] A proposal to enhance ceilometer alarm

2014-07-07 Thread Qiming Teng
On Mon, Jul 07, 2014 at 02:13:57AM -0400, Eoghan Glynn wrote: > > > > In current Alarm implementation, Ceilometer will send back Heat an > > 'alarm' using the pre-signed URL (or other channel under development). > > By the other channel, do you mean the trusts-based interaction? Yes, Sir. Trust

Re: [openstack-dev] [Heat][Ceilometer] A proposal to enhance ceilometer alarm

2014-07-07 Thread Qiming Teng
On Mon, Jul 07, 2014 at 03:46:19AM -0400, Eoghan Glynn wrote: > > > Near the end of the Icehouse cycle, there was an attempt to implement > > > this style of notification-based alarming but the feature did not land. > > > > After realizing 'Statistics' is not the ideal place for extension, I > >

Re: [openstack-dev] heat stack-create with two vm instances always got one failed

2014-07-16 Thread Qiming Teng
It seems that you are sharing one port between two instances, which won't be a legal configuration. On Wed, Jul 16, 2014 at 01:17:00AM -0500, yulin...@dell.com wrote: > Dell Customer Communication > > Hi, > I'm using heat to create a stack with two instances. I always got one of them > successfu

Re: [openstack-dev] Step by step OpenStack Icehouse Installation Guide

2014-08-03 Thread Qiming Teng
Thanks for the efforts. Just want to add some comments on installing and configuring Heat, since an incomplete setup may cause bizarre problems later on when users start experiments. Please refer to devstack script below for proper configuration of Heat: https://github.com/openstack-dev/devstack

Re: [openstack-dev] [ceilometer][nova] extra Ceilometer Samples of the instance gauge

2014-08-04 Thread Qiming Teng
Regarding the intevals, it can be configured in your pipeline.yaml file. e.g. sources: - name: meter_source interval: 600 <-- change this to a smaller one if you like meters: - "*" sinks: - meter_sink Regards, - Qiming On Wed, Jul 30, 2014 at 02:16:

Re: [openstack-dev] OpenStack Heat installation guide and Heat utilisation manual

2014-08-06 Thread Qiming Teng
This is good work. However, I would suggest you check with some deployment tools such as devstack to understand additional steps needed for configuring Heat. For example: http://git.openstack.org/cgit/openstack-dev/devstack/tree/lib/heat#n215 There you can see the role creation work and domain

Re: [openstack-dev] [Heat] core team nomination

2015-10-20 Thread Qiming Teng
+1 to both. Qiming On Tue, Oct 20, 2015 at 04:38:12PM +0300, Sergey Kraynev wrote: > I'd like to propose new candidates for heat core-team: > Rabi Mishra > Peter Razumovsky > > According statistic both candidate made a big effort in Heat as > reviewers and as contributors [1][2]. > They were inv

[openstack-dev] [Senlin] Weekly meeting 10/27 cancelled, resuming after summit

2015-10-21 Thread Qiming Teng
Since most developers will attend the summit next week. The weekly Senlin meeting next Tuesday will be skipped. We will resume on 11/03/2015. Right. We have more than 10 days to prepare an agenda, :) https://wiki.openstack.org/wiki/Meetings/SenlinAgenda Best Wishes, Qiming __

[openstack-dev] [Senlin] Design summit meetup proposed schedule

2015-10-26 Thread Qiming Teng
Hi, After consulting with ttx, we still cannot find a meeting room for a meetup for Senlin developers. However, we can grab a table in the Prince room on Friday morning, as suggested by ttx. Location: Prince Room Time: 09:00am - 12:00am So, team, let's get tuned for a fruitful discussion. Topics

[openstack-dev] [senlin] Mitaka summit meetup - a summary

2015-11-04 Thread Qiming Teng
Hi, Thanks for joining the senlin meetup last week at Tokyo summit. We know some of you were not able to make it for various reasons. I'm trying to summarize things we discussed during the meetup and some preliminary conclusions we got. Please feel free to reply to this email or find the team on #

Re: [openstack-dev] Fwd: [Senlin]Support more complicated scaling scenario

2015-11-22 Thread Qiming Teng
Hi, Please try quote previous responses in your message because it will make the message a little bit easier to follow. You can set up your mail client to do so. For example: # # # Now this is your response # # # When appropriate, you can even delete irrelevant texts when responding. Just

Re: [openstack-dev] Fwd: [Senlin]Support more complicated scalingscenario

2015-11-24 Thread Qiming Teng
> After debugging, I found that former result is not overridden by > another policy. > http://git.openstack.org/cgit/openstack/senlin/tree/senlin/engine/actions/base.py#n441 I think you are not referring to a correct location in the source code. That line was only about checking whether there are

Re: [openstack-dev] Fwd: [Senlin]Support more complicatedscalingscenario

2015-11-27 Thread Qiming Teng
On Wed, Nov 25, 2015 at 03:58:35PM +0800, Jun Xu wrote: > > If a cluster attached two scaling_in policies(policy1 with priority > 20 and policy2 with priority 40), > when policy_check function is called, it will do policy1 checking > first and then check policy2. > If any policy failed, it will r

Re: [openstack-dev] openstackdocstheme to be considered (very) harmful for your generated sphinx docs

2015-12-06 Thread Qiming Teng
Hi, Anne, As someone unfortunately who was born and is still working behind a national firewall, having a lot Google calls in docs do have some impacts on us. It would be great if we can make the docs just self-contained docs. Thanks. Qiming ___

Re: [openstack-dev] [tacker]ad-hoc meeting of May 16

2016-05-14 Thread Qiming Teng
pic that you believe should be covered? > > Bruce T > > On 5/12/16, 8:37 PM, "Qiming Teng" wrote: > > >UTC 16:00 is too late for most of senlin developers to join. > >Still interested in the outcomes from this discussion. > > > >Regards

Re: [openstack-dev] [magnum] Discuss the idea of manually managing the bay nodes

2016-05-15 Thread Qiming Teng
On Sun, May 15, 2016 at 10:49:39PM +, Hongbin Lu wrote: > Hi all, > > This is a continued discussion from the design summit. For recap, Magnum > manages bay nodes by using ResourceGroup from Heat. This approach works but > it is infeasible to manage the heterogeneity across bay nodes, which

Re: [openstack-dev] [API] os-api-ref HTTP Response code formating

2016-05-18 Thread Qiming Teng
> Having some generic language for each error message if. Typing "User > must authenticate" every time there is a 401 is tiresome, and will just > mean typos. Ideally even generating links to an overview of what each > code means in general would be nice. I was assuming we were going to > write u

Re: [openstack-dev] [higgins] Continued discussion from the last team meeting

2016-05-24 Thread Qiming Teng
On Tue, May 24, 2016 at 08:55:28PM +, Hongbin Lu wrote: > Hi all, > > At the last team meeting, we tried to define the scope of the Higgins > project. In general, we agreed to focus on the following features as an > initial start: > > * Build a container abstraction and use docker a

Re: [openstack-dev] [Senlin] Asking about launching an instance in Senlin cluster

2016-03-30 Thread Qiming Teng
Hi, Please refer to Senlin user documentation [1] to start your journey (aka adventure). Also, you can stop by the #senlin channel on freenode IRC for any questions, suggestions. BTW, This mailinglist is intended for developers not for usage questions. You really want to check if someone on the I

Re: [openstack-dev] [Heat] Re-evaluate conditions specification

2016-03-31 Thread Qiming Teng
On Thu, Mar 31, 2016 at 10:40:33AM +0200, Thomas Herve wrote: > Hi all, > > As the patches for conditions support are incoming, I've found > something in the code (and the spec) I'm not really happy with. We're > creating a new top-level section in the template called "conditions" > which holds na

Re: [openstack-dev] 答复: [Heat] Re-evaluate conditions specification

2016-03-31 Thread Qiming Teng
On Thu, Mar 31, 2016 at 09:21:43AM -0400, Rabi Mishra wrote: > If I understand the suggestion correctly, the only relation it has with > conditions is, > conditions are nothing but variables(boolean). > > conditions: { > 'for_prod': {equals: [{get_param: env_type}, 'prod']} > } > > would

Re: [openstack-dev] 答复: [Heat] Re-evaluate conditions specification

2016-04-02 Thread Qiming Teng
> parameters: > env: >type: string >default: prod > > is_prod: > type: boolean > default: {equals: {get_param, env}} > > From an interface standpoint this seems much cleaner and more intuitive than > the other solutions discussed IMHO, but I suspect it's potentially harder t

Re: [openstack-dev] [Nova] FPGA as a resource

2016-04-05 Thread Qiming Teng
Emm... finally this is brought up. We from IBM have already done some work on FPGA/GPU resource management [1]. Let me bring the SMEs into this discussion and see if we together can work out a concrete roadmap to land this upstream. Fei and Yonghua, this is indeed very interesting a topic for us.

Re: [openstack-dev] [nova] FYI: Removing default flavors from nova

2016-04-05 Thread Qiming Teng
Not an expert of Nova but I am really shocked by such a change. Because I'm not a Nova expert, I don't have a say on the *huge* efforts in maintaining some builtin/default flavors. As a user I don't care where the data have been stored, but I do care that they are gone. They are gone because they *

Re: [openstack-dev] [nova] [all] FYI: Removing default flavors from nova

2016-04-06 Thread Qiming Teng
gt; > > > > > Le 06/04/2016 06:44, Qiming Teng a écrit : > >> Not an expert of Nova but I am really shocked by such a change. Because > >> I'm not a Nova expert, I don't have a say on the *huge* efforts in > >> maintaining some builtin/default fl

Re: [openstack-dev] [designate][osc] new sub commands - how should they be named?

2016-04-06 Thread Qiming Teng
On Wed, Apr 06, 2016 at 01:59:29PM +, Hayes, Graham wrote: > Designate is adding support for viewing the status of the various > services that are running. > > We have added support to our openstack client plugin, but were looking > for guidance / advices on what the actual commands should be.

Re: [openstack-dev] [Nova] RFC Host Maintenance

2016-04-07 Thread Qiming Teng
The only gap based on my limited understanding is that nova is not emitting events compute host state changes. This knowledge is still kept inside nova as some service states. If that info is posted to oslo messaging, a lot of usage scenarios can be enabled and we can avoid too much churns to nova

Re: [openstack-dev] [Nova] RFC Host Maintenance

2016-04-08 Thread Qiming Teng
On Fri, Apr 08, 2016 at 09:52:31AM +, Balázs Gibizer wrote: > > -Original Message- > > From: Qiming Teng [mailto:teng...@linux.vnet.ibm.com] > > Sent: April 07, 2016 15:42 > > > > The only gap based on my limited understanding is that nova is not emitting

Re: [openstack-dev] [all] Openstack rpm build

2016-04-18 Thread Qiming Teng
On Mon, Apr 18, 2016 at 06:05:41AM +0200, Andreas Jaeger wrote: > On 04/18/2016 05:30 AM, Kenny Ji-work wrote: > > Hi all, > > > > In our developing environment, we want to create openstack's rpms by > > ourselves. By typing 'python setup.py bdist_rpm', there would be some > > files not packaged i

[openstack-dev] [Senlin] Two weekly meetings skipped, Tue Apr 19/26, 13:00 UTC

2016-04-19 Thread Qiming Teng
Due most core team members are busy prepraring for the summit and design summit next week. We are skipping the weekly meeting this week and next week. Meeting will be resumed on May 3rd, UTC 13:00 UTC. Sorry for the late notice. Regards, Qiming

Re: [openstack-dev] [api] [senlin] [keystone] [ceilometer] [telemetry] Questions about api-ref launchpad bugs

2016-05-10 Thread Qiming Teng
p with the bulk filter/export? > Also, are any teams concerned about taking on their API reference bugs? > Let's chat. > > > > > > > > 2)Status of API-Ref > > a)Why keystone and senlin are no person at this moment? > > > > > > > Keysto

Re: [openstack-dev] [oslo.messaging] [smaug] Gate Py34 is failure

2016-05-11 Thread Qiming Teng
I believe the infra team is busy working on it. Seems it was caused by pip 8.1.2. Please be patient and avoid doing 'recheck' until problem is fixed. Regards, Qiming On Wed, May 11, 2016 at 04:42:49PM +0800, xiangxinyong wrote: > hello folks, > > > I find [gate-smaug-python34] is FAILURE. >

Re: [openstack-dev] [oslo.messaging] [smaug] Gate Py34 is failure

2016-05-11 Thread Qiming Teng
I believe the gate is back. You may want to do 'recheck' now. Regards, Qiming __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http:/

Re: [openstack-dev] [kolla] How to contribute to kolla

2016-05-12 Thread Qiming Teng
Try setup your HTTP password on gerrit by clicking 'settings'. Say you have a HTTP password 'abcdef', then your 'gerrit' remote should look like: [remote "gerrit"] url = https://huzhj:abc...@review.openstack.org/openstack/kolla.git fetch = +refs/heads/*:refs/remotes/gerrit/* This is how we fr

Re: [openstack-dev] [tacker]ad-hoc meeting of May 16

2016-05-12 Thread Qiming Teng
UTC 16:00 is too late for most of senlin developers to join. Still interested in the outcomes from this discussion. Regards, Qiming On Thu, May 12, 2016 at 11:59:37PM +, Bruce Thompson (brucet) wrote: > Hi, > > IRC meeting: https://webchat.freenode.net/?channels=tacker on Monday 16 > star

  1   2   >