[openstack-dev] [nova][libvirt] VIR_MIGRATE_NON_SHARED_INC works more like full copy in block migration ?

2016-01-10 Thread Luo Gangyi
Hi devs, Do you test the difference between within and without VIR_MIGRATE_NON_SHARED_INC ? When I add VIR_MIGRATE_NON_SHARED_INC in block_migration_flags in nova, nova block migration behaves more like a full copy of disk. The disk in destination nodes is large(10GB+) and the process of

Re: [openstack-dev] [Ceilometer][Gnocchi] inconsistentinstanceattributes cause infinite update

2015-12-21 Thread Luo Gangyi
Yes, it will be better if we can synchronise them. But to achieve this, we have to do some modification in nova side which seems not easy :( -- Luo Gangyi luogan...@cmss.chinamobile.com -- Original -- From: "gord

Re: [openstack-dev] [Ceilometer][Gnocchi] inconsistent instanceattributes cause infinite update

2015-12-21 Thread Luo Gangyi
@gord, I have looked your link, seems related. But still, image_ref is a problem. -- Luo Gangyi luogan...@cmss.chinamobile.com -- Original -- From: "gord chung";<g...@live.ca>; Date: Mon, Dec 2

[openstack-dev] [Ceilometer][Gnocchi] inconsistent instance attributes cause infinite update

2015-12-20 Thread Luo Gangyi
these meters which came from notifications to another resource type like "instance_from_notification". Any other idea? ------ Luo Gangyi luogan...@chinamobile.com__ OpenStack Development Ma

Re: [openstack-dev] [Ceilometer][Gnocchi]Gnocchi cannot deal with combined resource-id ?

2015-09-13 Thread Luo Gangyi
ks Julien. ---------- Luo Gangyi luogan...@cmss.chinamobile.com -- Original -- From: "Julien Danjou";<jul...@danjou.info>; Date: Sat, Sep 12, 2015 10:54 PM To: "Luo Gangyi"<lgy...@foxmail.com>; Cc: "OpenStack Developmen

[openstack-dev] ?????? [Ceilometer][Gnocchi] Gnocchi cannot deal with combined resource-id ?

2015-09-11 Thread Luo Gangyi
tributes of instance can save the infomation of tap name. Although I can search all metric ids from resouce id(instance uuid), how do I distinguish them from different taps of an instance? -- Luo Gangyi luogan...@cmss.chinamobile.com -- --

[openstack-dev] [Ceilometer][Gnocchi] Gnocchi cannot deal with combined resource-id ?

2015-09-11 Thread Luo Gangyi
Hi devs, I am trying Ceilometer with gnocchi. I find that gnocchi cannot deal with combined resource-id such as instance-xx-tapxx or instance--vda. I'm not sure whether it is my configuration problem or just bug. And if such combined resource-id can be processed correctly,

Re: [openstack-dev] [Ceilometer][Gnocchi] Gnocchi cannot deal with combined resource-id ?

2015-09-11 Thread Luo Gangyi
t to query the network traffic of an vm, I know the instance uuid -, I know metric name 'network.incoming.byte.rate' but I do not know the exact resouce_id and metric id. What procedure should I do ? ------ Luo Gangyi luogan...@cmss.china

Re: [openstack-dev] [Ceilometer][Gnocchi] Gnocchi cannot deal withcombined resource-id ?

2015-09-11 Thread Luo Gangyi
hould add some attribute to describe such relation. ---------- Luo Gangyi luogan...@cmss.chinamobile.com__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.open

Re: [openstack-dev] [Nova] Let's set instance.root_gb=0 forvolume-backed instances

2015-06-26 Thread Luo Gangyi
fundamentally. -- Luo Gangyi -- Original -- From: Feodor Tersin;fter...@hotmail.com; Date: Fri, Jun 26, 2015 09:42 PM To: openstack-dev@lists.openstack.orgopenstack-dev@lists.openstack.org; Subject: [openstack-dev] [Nova] Let's set

Re: [openstack-dev] [ceilometer] polling agent configuration speculation

2015-06-08 Thread Luo Gangyi
Hi, Chris, In current, ceilometer load pollsters by agent namespace, So do you mean you want load pollsters one by one through their name(maybe defined in pipeline.yaml)? If loading all pollsters in one time do not cost much, I think your change is bit unnecessary. But if it does cost

[openstack-dev] [nova][cinder][libvirt] Serious problem of block migration of a hybrid instance (instance based on local disk and cinder volume attached)

2015-05-20 Thread Luo Gangyi
Hi devs, I find a serious problem when I try to live migrate a hybrid instance (instance based on local disk and cinder volume attached) . In current nova, such operation is allowed. But I don't think libvirt can deal with such condition correctly. When block migration of a hybird intance

[openstack-dev] ?????? [heat][ceilometer] autoscaling

2015-05-06 Thread Luo Gangyi
I don't understand what you mean. Firstly, ceilometer doesn't return meters or samples to heat. In fact, heat configures an alarm in ceilometer and the action of this alarm is to send a REST to heat. When heat gets this REST, it triggers autoscalling. Besides, you can use #ceilometer

[openstack-dev] [Ceilometer][Gnocchi] How to try ceilometer with gnocchi ?

2015-05-06 Thread Luo Gangyi
Hi guys, I want to try using ceilometer with gnocchi, but I didn't any docs about how to configure it. I have check the master branch of ceilometer and didn't see how ceilometer interact with gnocchi neither (I think there should be something like a gnocchi-dispatcher?) Any hints?

[openstack-dev] [Ceilometer] Why ceilometer do not offer run_tests.sh script?

2015-04-28 Thread Luo Gangyi
Hi guys, When I try to run unit tests of ceilometer, I find there is no run_tests.sh script offers. And when I use tox directly, I got a message ' 'Could not find mongod command'. So another question is why unit tests needs mongo? Can someone give me some hint? Thanks a lot.

Re: [openstack-dev] [Ceilometer] Why ceilometer do notoffer run_tests.sh script?

2015-04-28 Thread Luo Gangyi
To: OpenStack Development Mailing List (not for usage questions)openstack-dev@lists.openstack.org; Subject: Re: [openstack-dev] [Ceilometer] Why ceilometer do notoffer run_tests.sh script? On Apr 29, 2015 09:49, Luo Gangyi wrote: Hi guys, When I try to run unit tests of ceilometer, I

[openstack-dev] ?????? [ceilometer] time based auto scaling

2015-04-28 Thread Luo Gangyi
Agree with ZhiQiang. Maybe we could achieve this by heat itself or other project like Mistral, but it seems more natural to achieve this through ceilometer alarm system. -- Luo gangyiluogan...@chinamobile.com -- -- ??:

Re: [openstack-dev] [Nova] Add config option for real deletes insteadof soft-deletes

2015-04-22 Thread Luo Gangyi
Hi, Artom I checked my cluster (20 compute nodes fully operated for 5 month, with 258 VMs and 112 users), the datebase size of nova only 1.5MB. So, is it necessary to do the cleanup? -- Luo gangyiluogan...@chinamobile.com -- Original

[openstack-dev] [Nova] Mislead of Nova Documents in configuring hosts aggregates

2015-04-16 Thread Luo Gangyi
Hi, guys, I found a misleading configuration in openstack official documents. When I follow the guide (http://docs.openstack.org/trunk/config-reference/content/section_compute-scheduler.html) to configure nova host aggregates, I got following DEBUG message in nova-schuduler log:

[openstack-dev] ?????? [Nova][Docs] Mislead of Nova Documents in configuringhosts aggregates

2015-04-16 Thread Luo Gangyi
that, by checking out the appropriate repo and making the change (just as you would patch code). Help is available on the wiki here: https://wiki.openstack.org/wiki/Documentation/HowTo Hope that helps, Lana On 16/04/15 16:50, Luo Gangyi wrote: Hi, guys, I found a misleading configuration

Re: [openstack-dev] [Ceilometer]Add hardware pollster of memory buffer and cache

2015-03-24 Thread Luo Gangyi
Hi guys, I have submit a blueprint of adding hardware memory buffer and cache pollster.‍ Anyone interested in it, Please review https://blueprints.launchpad.net/ceilometer/+spec/hardware-memory-buffer-and-cache-metrics,‍ Thanks All. -- Luo gangyiluogan...@chinamobile.com

[openstack-dev] [Ceilometer]Add hardware pollster of memory buffer and cache

2015-03-19 Thread Luo Gangyi
Hello everyone, I am using Ceilometer to monitor both physical servers and virtutal machines in IAAS. And I found current Ceilometer only support 4 memory oid of SNMP: _memory_total_oid = 1.3.6.1.4.1.2021.4.5.0 _memory_avail_real_oid = 1.3.6.1.4.1.2021.4.6.0 _memory_total_swap_oid =

Re: [openstack-dev] [Ceilometer] Real world experience with Ceilometerdeployments - Feedback requested

2015-02-11 Thread Luo Gangyi
Hi, maishsk I have deployed serveral test environment in my company's labs and each environment has 20-30 servers. Here were the problems I have met. 1. MongoDB consumes too much memory. I use cgroups to restrict the memory used. but if using hard restriction, MongoDB may be terminated by