)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"5f719762e9aff49d8e2b16e94f23dbad8c759521","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Ceilometer cAdvisor driver"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"User can delpoyed the containers with magnum. ceilometer needs to"},{"line_number":10,"context_line":"collect the meters of these containers deployed by OpenStack. This"},{"line_number":11,"context_line":"blueprint is used to solve this problem."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"ba8a016a_c4d29034","line":9,"updated":"2015-11-21 20:43:40.000000000","message":"If your plan is to implement an independent ceilometer agent, please remove Magnum from the context.","commit_id":"f11aff44d2daba7473cede84a58b38f130eaeaef"}],"specs/mitaka/ceilometer-cadvisor-driver.rst":[{"author":{"_account_id":18137,"name":"Xia Linjuan","email":"ljxiash@cn.ibm.com","username":"xialinjuan"},"change_message_id":"1f7ec91a1cec474727475e2041bc9774196ac8e1","unresolved":false,"context_lines":[{"line_number":15,"context_line":"Problem description"},{"line_number":16,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"User can deploy the contianers with OpenStack magnum[1]. But they can not"},{"line_number":19,"context_line":"collect meters of these contianers for ceilometer doesn\u0027t support it. And"},{"line_number":20,"context_line":"the meters of containers are necessary to the users. In order to help the"},{"line_number":21,"context_line":"users to overcome this problem and the mession of the ceilometer is to"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_a7c75563","line":18,"updated":"2015-11-21 10:07:54.000000000","message":"typo. should be \"containers\"","commit_id":"f11aff44d2daba7473cede84a58b38f130eaeaef"},{"author":{"_account_id":18137,"name":"Xia Linjuan","email":"ljxiash@cn.ibm.com","username":"xialinjuan"},"change_message_id":"1f7ec91a1cec474727475e2041bc9774196ac8e1","unresolved":false,"context_lines":[{"line_number":16,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"User can deploy the contianers with OpenStack magnum[1]. But they can not"},{"line_number":19,"context_line":"collect meters of these contianers for ceilometer doesn\u0027t support it. And"},{"line_number":20,"context_line":"the meters of containers are necessary to the users. In order to help the"},{"line_number":21,"context_line":"users to overcome this problem and the mession of the ceilometer is to"},{"line_number":22,"context_line":"collect the meters in OpenStack. Ceilometer needs to support to collect"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_67a08da6","line":19,"updated":"2015-11-21 10:07:54.000000000","message":"containers","commit_id":"f11aff44d2daba7473cede84a58b38f130eaeaef"},{"author":{"_account_id":18137,"name":"Xia Linjuan","email":"ljxiash@cn.ibm.com","username":"xialinjuan"},"change_message_id":"1f7ec91a1cec474727475e2041bc9774196ac8e1","unresolved":false,"context_lines":[{"line_number":18,"context_line":"User can deploy the contianers with OpenStack magnum[1]. But they can not"},{"line_number":19,"context_line":"collect meters of these contianers for ceilometer doesn\u0027t support it. And"},{"line_number":20,"context_line":"the meters of containers are necessary to the users. In order to help the"},{"line_number":21,"context_line":"users to overcome this problem and the mession of the ceilometer is to"},{"line_number":22,"context_line":"collect the meters in OpenStack. Ceilometer needs to support to collect"},{"line_number":23,"context_line":"the data of the containers deployed by magnum."},{"line_number":24,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_87a571b6","line":21,"updated":"2015-11-21 10:07:54.000000000","message":"mission","commit_id":"f11aff44d2daba7473cede84a58b38f130eaeaef"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"e0adec3a296bdb0c460bd1e54d2728207414f103","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":"a. Implement a notification agent. It will be installed in the host where the"},{"line_number":40,"context_line":"VMs are running and the containers are deployed in these VMs. The agent can"},{"line_number":41,"context_line":"pull data of the containers from each cAdvisor installed in the VMs. It will"},{"line_number":42,"context_line":"keep the corresponding data, including host id, the instance id of VM and"},{"line_number":43,"context_line":"name of the container."},{"line_number":44,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_bd4ecf38","line":41,"updated":"2015-11-19 20:27:51.000000000","message":"How about pushing metrics to ceilometer instead. It seems pushing is more scalable than pulling.","commit_id":"f11aff44d2daba7473cede84a58b38f130eaeaef"},{"author":{"_account_id":18137,"name":"Xia Linjuan","email":"ljxiash@cn.ibm.com","username":"xialinjuan"},"change_message_id":"1f7ec91a1cec474727475e2041bc9774196ac8e1","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":"a. Implement a notification agent. It will be installed in the host where the"},{"line_number":40,"context_line":"VMs are running and the containers are deployed in these VMs. The agent can"},{"line_number":41,"context_line":"pull data of the containers from each cAdvisor installed in the VMs. It will"},{"line_number":42,"context_line":"keep the corresponding data, including host id, the instance id of VM and"},{"line_number":43,"context_line":"name of the container."},{"line_number":44,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_077421cd","line":41,"in_reply_to":"ba8a016a_9ce5f4dc","updated":"2015-11-21 10:07:54.000000000","message":"It\u0027s like a new agent running on compute node like polling-agent but have different mechanism, like cache and push. Could you please give more details?","commit_id":"f11aff44d2daba7473cede84a58b38f130eaeaef"},{"author":{"_account_id":9526,"name":"Zi Lian Ji","email":"jizilian@cn.ibm.com","username":"jizilian"},"change_message_id":"616ea96ffe02e8d26615f25b58613c53ddd38f90","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":"a. Implement a notification agent. It will be installed in the host where the"},{"line_number":40,"context_line":"VMs are running and the containers are deployed in these VMs. The agent can"},{"line_number":41,"context_line":"pull data of the containers from each cAdvisor installed in the VMs. It will"},{"line_number":42,"context_line":"keep the corresponding data, including host id, the instance id of VM and"},{"line_number":43,"context_line":"name of the container."},{"line_number":44,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_9ce5f4dc","line":41,"in_reply_to":"ba8a016a_bd4ecf38","updated":"2015-11-20 09:25:15.000000000","message":"Hi Hong Bin\n\nThanks for your comments.\n\nI use the mechanism of pushing metrics to ceilometer. The agent in the host is used to collect the data of the containers and cache them. Only when the data has changed, it will push the data to ceilometer.\n\nThanks","commit_id":"f11aff44d2daba7473cede84a58b38f130eaeaef"},{"author":{"_account_id":18137,"name":"Xia Linjuan","email":"ljxiash@cn.ibm.com","username":"xialinjuan"},"change_message_id":"1f7ec91a1cec474727475e2041bc9774196ac8e1","unresolved":false,"context_lines":[{"line_number":46,"context_line":"a host and 10 containers are running in each VM, 10*10 data will be generated"},{"line_number":47,"context_line":"and send to ceilometer in each polling. It will have some performance problems"},{"line_number":48,"context_line":"when many containers have been deploied. So the agent need to notify the"},{"line_number":49,"context_line":"ceilometer only when the meters have changed."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"c. In ceilometer server side, need to implement the transformation function."},{"line_number":52,"context_line":"In order to reduce the impact to network, the data sent to ceilometer needs"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_a780b58c","line":49,"updated":"2015-11-21 10:07:54.000000000","message":"I think the meters you want to monitor is cpu,memory,disk of containers, they\u0027re always changing, right?","commit_id":"f11aff44d2daba7473cede84a58b38f130eaeaef"},{"author":{"_account_id":18137,"name":"Xia Linjuan","email":"ljxiash@cn.ibm.com","username":"xialinjuan"},"change_message_id":"1f7ec91a1cec474727475e2041bc9774196ac8e1","unresolved":false,"context_lines":[{"line_number":59,"context_line":"Implement a plugin to invoke the Docker api directly."},{"line_number":60,"context_line":"The advantage of this blueprint:"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"a. cAdvisor is a popular monitor tool to collect the contianer data. We don\u0027t"},{"line_number":63,"context_line":"need to re-invent the wheel. It has REST api and we don\u0027t cover the currency"},{"line_number":64,"context_line":"work in the future when Docker apis have change."},{"line_number":65,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_c7a9397d","line":62,"updated":"2015-11-21 10:07:54.000000000","message":"container","commit_id":"f11aff44d2daba7473cede84a58b38f130eaeaef"},{"author":{"_account_id":18137,"name":"Xia Linjuan","email":"ljxiash@cn.ibm.com","username":"xialinjuan"},"change_message_id":"1f7ec91a1cec474727475e2041bc9774196ac8e1","unresolved":false,"context_lines":[{"line_number":64,"context_line":"work in the future when Docker apis have change."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"b. Now magnum deploies the containers in the VM. If we implement a new plugin"},{"line_number":67,"context_line":"to collect the container data. We need to let user to install it in every VM."},{"line_number":68,"context_line":"I think it\u0027s not friendly to user. Now the cAdvisor has been deployed by"},{"line_number":69,"context_line":"default when usring the kubernetes. If the users use magnum with mesos or"},{"line_number":70,"context_line":"swarm, they can just write a init-config script to run the cAdvisor container"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_07c74146","line":67,"updated":"2015-11-21 10:07:54.000000000","message":"lower case - \"we\"","commit_id":"f11aff44d2daba7473cede84a58b38f130eaeaef"},{"author":{"_account_id":18137,"name":"Xia Linjuan","email":"ljxiash@cn.ibm.com","username":"xialinjuan"},"change_message_id":"1f7ec91a1cec474727475e2041bc9774196ac8e1","unresolved":false,"context_lines":[{"line_number":66,"context_line":"b. Now magnum deploies the containers in the VM. If we implement a new plugin"},{"line_number":67,"context_line":"to collect the container data. We need to let user to install it in every VM."},{"line_number":68,"context_line":"I think it\u0027s not friendly to user. Now the cAdvisor has been deployed by"},{"line_number":69,"context_line":"default when usring the kubernetes. If the users use magnum with mesos or"},{"line_number":70,"context_line":"swarm, they can just write a init-config script to run the cAdvisor container"},{"line_number":71,"context_line":"when booting VM."},{"line_number":72,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_67dc0d19","line":69,"updated":"2015-11-21 10:07:54.000000000","message":"using","commit_id":"f11aff44d2daba7473cede84a58b38f130eaeaef"}]}
