[openstack-dev] [Ceilometer] use stevedore to upload event format

2016-09-05 Thread li . yuanzhen
Hi Ceilometer, How about modify Ceilometer to use stevedore to upload the event format? Now when Ceilometer handles the conversion of Notifications from openstack systems into Ceilometer Events, the structure of event format is constant.

[openstack-dev] [devstack] let's give a different warning message for different OS_PROJECT_NAME ?

2016-05-25 Thread li . yuanzhen
Hi All, A warning message leave me a doubt. After having installed openstack by devstack, when I use the cmd "source openrc", a warning message is printed in the terminal that "WARNING: setting legacy OS_TENANT_NAME to support cli tools." and then when I

Re: [openstack-dev] [aodhclient] does the aodh have the feature for import/export batch alarms?

2016-05-20 Thread li . yuanzhen
Hi, Thank you for giving me a good solution, although now I'm not familiar with Heat Template too much, I will research it to implement the requirement. BR, Rajen > > > Hi, > > > I also agree with ZhiQiang. > > How about using Heat Template which improve portability

[openstack-dev] [aodhclient] does the aodh have the feature for import/export batch alarms?

2016-05-19 Thread li . yuanzhen
HI All, in the aodh/aodhclient, I not find the feature for import/export batch alarms. I mainly want to use it to implement the following requirement: In "migrate alarms from one openstack env to another openstack env" scenario, I would like to do this requirement

Re: [openstack-dev] [Openstack] [AodhClient] "composite alarm" unit test missing in aodhclient ?

2016-05-19 Thread li . yuanzhen
Yes, right, the "composite_rule" should be None in def test_alarm_from_args :-) In addition, read the unit tests in "test_alarm_cli.py", there is no composite test, (like "def test_validate_args_composite", similar with "test_validate_args_threshold,

[openstack-dev] [aodhclient] "composite alarm" unit test missing in aodhclient ?

2016-05-18 Thread li . yuanzhen
HI All, in aodhclient/tests/unit/test_alarm_cli.py[1], the "composite_rule" is None. is the composite_rule test missing? and should we add it ? [1] https://github.com/openstack/python-aodhclient/blob/master/aodhclient/tests/unit/test_alarm_cli.py Rajen(liyuanzhen)

[openstack-dev] [Openstack] [AodhClient] "composite alarm" unit test missing in aodhclient ?

2016-05-18 Thread li . yuanzhen
HI All, in aodhclient/tests/unit/test_alarm_cli.py[1], the "composite_rule" is None. is the composite_rule test missing? and should we add it ? [1] https://github.com/openstack/python-aodhclient/blob/master/aodhclient/tests/unit/test_alarm_cli.py Rajen(liyuanzhen)

Re: [openstack-dev] [Openstack] [Aodh] add "meter-list" command in Aodh CLI

2016-05-17 Thread li . yuanzhen
Ok, Perfect. I like this solution. subsequently, I would like to add this message in aodhclient. Thank you very much Best Regards Rajen > Hi, > > > We shouldn't have 'meter-list' in aodhclient. > > Nova have API and function to show image list, and 'nova image-list' is talking to nova,

[openstack-dev] [Openstack] [Aodh] add "meter-list" command in Aodh CLI

2016-05-17 Thread li . yuanzhen
So sorry, my mistake when create the link. > On Tue, May 17 2016, li.yuanz...@zte.com.cn wrote: > > > Now, in Aodh CLI, when create a threshold alarm, the > > -m/--meter-name must be required. > > But, if the user is not familiar with ceilometer or aodh, the user > > is not

Re: [openstack-dev] [cinder] [nova] whether the ServiceGroup in Cinder is necessary

2015-12-27 Thread li . yuanzhen
> Hmm, I see. There's this spec[1] that was discussed in the past with a similar proposal. There's a SPEC with some other points on the discussion, I think Janice > forgot to mention. > Erlon > [1] https://review.openstack.org/#/c/176233/ > [2] https://review.openstack.org/#/c/258968/ > On

Re: [openstack-dev] [cinder] [nova] whether the ServiceGroup in Cinder is necessary

2015-12-27 Thread li . yuanzhen
Hi hao wang, Firstly, I agree with you that healthy backend is a requirement for creating volumes, as the same as service-up. So, monitor the state of backend is useful. While, ServiceGroup is only used for detecting state of service quickly, So whether backend is up or not is not taken into

[openstack-dev] [cinder] [nova] whether the ServiceGroup in Cinder is necessary

2015-12-16 Thread li . yuanzhen
/liberty/approved/service-group-using-tooz.rst [3] https://github.com/openstack/cinder-specs/blob/master/specs/mitaka/cinder-volume-active-active-support.rst Best Regards, Janice 李媛祯 Li Yuanzhen 无线产品经营部 / 控制器四部Product R / Controller IV 上海市张江高科技园碧波路889号D楼 D306, 889# Bibo Rd