Wednesday, 2016-08-24

*** zhurong has quit IRC00:05
*** zhurong has joined #cloudkitty01:13
*** zhangguoqing has joined #cloudkitty01:31
*** zhangguoqing has quit IRC01:44
*** zhangguoqing has joined #cloudkitty01:44
openstackgerritzhangguoqing proposed openstack/cloudkitty-dashboard: Adjust the reporting page  https://review.openstack.org/35954602:14
openstackgerritzhangguoqing proposed openstack/cloudkitty-dashboard: Adjust the reporting page  https://review.openstack.org/35954602:40
*** gongysh has joined #cloudkitty03:03
zhangguoqingI have propesed several path with cloudkitty-dashboard, please reviem them, thank you.03:03
zhangguoqinghttps://review.openstack.org/#/q/project:openstack/cloudkitty-dashboard03:04
*** gongysh has quit IRC03:59
*** peschk_l has joined #cloudkitty07:05
*** zhangguoqing has quit IRC09:20
*** zhangguoqing has joined #cloudkitty09:21
*** zhurong has quit IRC09:59
openstackgerritGuillaume Espanel proposed openstack/cloudkitty: Use local.conf instead of localrc in devstack doc  https://review.openstack.org/35976911:01
*** zhangguoqing has quit IRC13:25
*** zhangguoqing has joined #cloudkitty13:26
*** openstackgerrit has quit IRC13:26
*** openstackgerrit has joined #cloudkitty13:26
*** zhurong has joined #cloudkitty13:37
*** zhurong has quit IRC13:41
*** zhurong has joined #cloudkitty13:42
zhangguoqing@Guillaume Espanel, please review https://review.openstack.org/#/c/357680/ again.14:15
zhangguoqingI hope that we can speed up the process, if cloudkitty will be used widely.14:16
zhangguoqingThe rating is key of cloud, more and more cloud environments desired it.14:18
zhangguoqingI have worked on telemetry(ceilometer,gnocchi) last year, which is advantage and I'm interesting on cloudkitty.14:23
zhangguoqinglet's come on. thanks :)14:23
Qu4treHi zhangguoqing we are trying to be more reactive with the reviews14:33
Qu4treas for 357680, we really need to understand what the review is doing14:34
Qu4tremaybe we can talk about it on IRC and come up with a better commit message14:35
*** zhangguoqing has quit IRC14:52
*** zhangguoqing has joined #cloudkitty14:52
zhangguoqingQu4tre: what commit message is appropriate? i really don't know how to write.14:57
*** zhangguoqing has quit IRC14:59
*** zhangguoqing has joined #cloudkitty15:00
zhangguoqingI think the original rpc module make the thing a little complex, especially on api RPCHook and service.15:02
Qu4treSo thats a good start15:03
zhangguoqingyeah, we need more discuss and communication. :)15:05
Qu4treYou can say you simp[lified the service part15:05
Qu4treI see you removed the rpc module and replaced it with messaging, this is worth writing in the commit message I think15:06
zhangguoqingyes, good point.15:06
*** zhurong has quit IRC15:08
zhangguoqingImprove the rpc module15:10
zhangguoqing1. Removed the rpc module and replaced it with messaging.15:10
zhangguoqing2. Simplified the service part and RPCHook for api.15:10
zhangguoqinghow about?15:10
Qu4treI think it's better15:20
zhangguoqingOK, I will repush right now.15:21
openstackgerritzhangguoqing proposed openstack/cloudkitty: Improve the rpc module  https://review.openstack.org/35768015:22
zhangguoqingAnd can we discuss a bug now?15:24
zhangguoqinghttps://bugs.launchpad.net/cloudkitty/+bug/161594115:24
openstackLaunchpad bug 1615941 in cloudkitty "ClientHashMapError: You must specify either service_uuid, field_uuid or group_uuid." [Undecided,New] - Assigned to zhangguoqing (474751729-o)15:24
*** sergio_nubeliu has quit IRC15:31
Qu4treyes?15:48
zhangguoqingI have get the reason, and I have two ways to fix it, but I'm not sure which is better.15:48
Qu4treah yes either in the dashboard or in the API?15:49
zhangguoqingcloudkitty-api15:49
zhangguoqingcan not obtain the whole of group information on dashboard15:49
zhangguoqingthe first way: fix the cloudkitty source codes cloudkitty/rating/hash/db/sqlalchemy/api.py, remove the elif clause in list_mappings and list_thresholds. Then it may influence the python-cloudkitty.15:52
zhangguoqingthe second way: fix the cloudkitty-dashboard directy  cloudkittydashboard/dashboards/admin/hashmap/views.py what give completely parameters when mappings.findall and thresholds.findall.15:53
zhangguoqingI think the second way is too clumsy, because it should obtain all services to give completely parameters and not easy to get all. so I can't decide which way is better, could you help me?15:56
Qu4treI think a mapping is either linked to a service or a field15:56
Qu4trebut you are trying to get all the mappings that belong to a group?15:57
*** peschk_l has quit IRC15:57
zhangguoqingyes, the cloudkitty-dashboard do that.15:57
zhangguoqinghttps://github.com/openstack/cloudkitty-dashboard/blob/master/cloudkittydashboard/dashboards/admin/hashmap/views.py#L41415:59
zhangguoqingand #L41915:59
Qu4treindeed that looks like a mistake in the db api.py16:00
Qu4treBut i'm not sure it would work without the joins on either service of field16:02
Qu4treyou can try by changing  elif not service_uuid and not field_uuid: to  elif not service_uuid and not field_uuid and not group_uuid: ?16:02
zhangguoqingmappings = ck_client.hashmap.mappings.findall(group_id=group_id)16:05
zhangguoqingthresholds = ck_client.hashmap.thresholds.findall(group_id=group_id)16:05
zhangguoqingIn dashboard only give the one parameter group_id, which case this error.16:06
Qu4treyes16:07
Qu4trebu there's no field_uuid or a service_uuid in the dashboard16:07
zhangguoqingyour means, I fix the cloudkitty-api is a better way?16:07
Qu4treI think yes, if it works16:08
zhangguoqingok, I will try, and it's my inclined way.16:10
zhangguoqingtake a minute, other problem: https://review.openstack.org/#/c/355869/16:11
zhangguoqinghttps://review.openstack.org/#/c/359179/ the same wrong with image.16:11
Qu4treSo Itake it this is a bug16:13
zhangguoqingyeah, review 355869 again please.16:14
zhangguoqingmaybe, i should update the commit message?16:14
Qu4treThe commit message needs some updating yes16:15
Qu4treBut if it's a bug, can you create one in the launchpad and link it to the change?16:15
Qu4treIt will make it easyer for the other devs to know why you are making this change16:15
zhangguoqingok!16:15
Qu4treMaybe ceilometer has changed somethings in the frame format16:16
zhangguoqingyes, I will ensure it and describe it on new bug.16:18
Qu4treOk, once this is done we will as Gauvain to review it again16:20
zhangguoqingGood, a happy day with you, and indeed we need more more discuss and communication in the future. thank you again. I will fix them tomorrow. good night :)16:21
Qu4treit's the end of hollidays here, so we have other things to work on but I agree16:23
Qu4treWe are trying to improve the review process but it tqkes time16:24
zhangguoqingyes, let's come on. Bye16:25
*** zhangguoqing has quit IRC16:29
*** sergio_nubeliu has joined #cloudkitty17:25
*** huats has quit IRC21:03
*** cgayan has quit IRC21:04
*** sergio_nubeliu has quit IRC21:15
*** sheeprine has quit IRC22:55
*** sheeprine has joined #cloudkitty22:58
*** jd__ has quit IRC23:37
*** jd__ has joined #cloudkitty23:38
*** zhurong has joined #cloudkitty23:54

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!