Tuesday, 2016-06-07

openstackgerritxu-haiwei proposed openstack/senlin: Initialize docker driver  https://review.openstack.org/32269200:40
openstackgerritxu-haiwei proposed openstack/senlin: Initialize docker driver  https://review.openstack.org/32269201:07
openstackgerritQiming Teng proposed openstack/senlin: Improve DB sorting  https://review.openstack.org/32619401:13
*** yanyanhu has joined #senlin01:17
*** Qiming_ has joined #senlin01:34
*** Qiming_ has quit IRC01:46
*** chenfei has joined #senlin01:49
openstackgerritMerged openstack/senlin: Initial framework for health manager listener  https://review.openstack.org/32504501:53
openstackgerritYanyan Hu proposed openstack/senlin: Add negative tempest API test for node update  https://review.openstack.org/32620201:54
yanyanhuhi, Qiming, around?01:59
Qimingyes01:59
yanyanhucurrently, node_update API will raise 400 err when it is invoked without specifying any property to update02:00
*** elynn has joined #senlin02:00
yanyanhubut for cluster, the update request will pass silently02:00
yanyanhuhttp://git.openstack.org/cgit/openstack/senlin/tree/senlin/engine/service.py#n152502:00
yanyanhuI'm thinking maybe we should make them consistent?02:01
openstackgerritxu-haiwei proposed openstack/senlin: Initialize docker driver  https://review.openstack.org/32269202:01
yanyanhuand profile_update now behaves like cluster_update02:02
Qiming... saw "if inputs == {}" again ...02:02
Qimingconsistency is aways good02:02
yanyanhuyes02:02
elynnMorning!02:02
yanyanhumorning, elynn :)02:03
yanyanhuso maybe we follow node_update's behavior?02:03
yanyanhuBTW, this kind of change will vary the API behavior, do we need to change API micro version for it?02:04
QimingI'm inclined to a stricter checking02:05
*** elynn_ has joined #senlin02:05
Qimingyes, we should bump the microversion if possible02:06
yanyanhuI see, will fix it02:06
Qimingbut ..02:06
Qimingit is not an essential api behavior change, imo02:07
*** elynn has quit IRC02:08
Qimingit is more about a change to the error response02:08
yanyanhuyes, that's why I'm not sure whether we need to bump api micro version02:08
yanyanhuyes02:08
yanyanhuand we don't need to change the api doc as well02:08
Qimingright02:10
Qimingif it is distinguishable from api docs02:10
Qimingwe should definitely bump the version02:10
yanyanhuI see02:10
openstackgerritQiming Teng proposed openstack/senlin: Add basic schema support for profile operations  https://review.openstack.org/32620802:14
Qimingneed some helps reviewing this patch ^^02:15
Qimingit is about adding operations to profiles02:15
openstackgerritMerged openstack/senlin: Add negative tempest API test for cluster update  https://review.openstack.org/32577702:25
openstackgerritxu-haiwei proposed openstack/senlin: Initialize docker driver  https://review.openstack.org/32269202:29
*** yuanying_ has joined #senlin02:51
*** yuanying has quit IRC02:51
*** Drago has quit IRC02:53
openstackgerritQiming Teng proposed openstack/senlin: Replace 'format_time' with 'isotime'  https://review.openstack.org/32621302:56
openstackgerritYanyan Hu proposed openstack/senlin: Minor revise cluster_update and profile_update  https://review.openstack.org/32621603:34
*** Drago has joined #senlin03:48
*** Drago has quit IRC03:48
*** Drago has joined #senlin03:48
openstackgerritxu-haiwei proposed openstack/senlin: Initialize docker driver  https://review.openstack.org/32269204:10
*** Drago has quit IRC04:13
*** yuanying_ has quit IRC04:18
*** yuanying has joined #senlin04:21
*** elynn_ has quit IRC04:28
*** zzxwill has joined #senlin04:40
*** elynn_ has joined #senlin04:50
*** elynn__ has joined #senlin04:54
*** elynn_ has quit IRC04:56
*** zzxwill has quit IRC05:09
*** zzxwill has joined #senlin05:26
*** elynn__ has quit IRC05:27
Qimingzzxwill, about Bug 158945605:27
openstackbug 1589456 in senlin "cluster creation with option "-c" won't output the execution result " [Undecided,New] https://launchpad.net/bugs/158945605:27
QimingI cannot reproduce it05:27
Qimingit could be that 'openstack cluster05:28
Qimingcreate --profile server1 -c 1 mycluster_to_be_deleted05:28
Qiming' command still fails05:28
Qimingopenstackclient is using --profile for os-profiler, so there is a conflict we identified05:29
Qimingand that ... is the reason we didn't deprecate senlinclient command line as planned05:29
zzxwillHello Qiming. I will update the code the latest and try again. The code in my environment is several-days late.05:30
QimingI mean ... using openstackclient to create a cluster is problematic05:31
Qimingthe '--profile' parameter has been used by OSC for os-profiler05:31
Qimingso you will have to use 'senlin cluster-create' for that purpose05:31
Qimingcheck this: http://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=530fe42589a2138278f100f791d8c6d3fbed895005:33
Qimingso --profile won't be removed until Apr 2017, so we have to use 'senlin cluster-create' for quite some time05:34
*** elynn has joined #senlin05:48
*** elynn_ has joined #senlin05:53
*** elynn has quit IRC05:56
openstackgerritYanyan Hu proposed openstack/senlin: Minor revise profile_update API  https://review.openstack.org/32625906:58
openstackgerritYanyan Hu proposed openstack/senlin: Minor revise cluster_update and profile_update  https://review.openstack.org/32621607:16
openstackgerritYanyan Hu proposed openstack/senlin: Add negative tempest API test for profile/policy update  https://review.openstack.org/32626607:16
openstackgerritMerged openstack/senlin: Add negative tempest API test for node update  https://review.openstack.org/32620207:20
openstackgerritMerged openstack/senlin: Improve DB sorting  https://review.openstack.org/32619407:33
yanyanhuhi, Qiming, around?07:33
yanyanhuI'm thinking whether we can provide operator a config option to clean all successful actions automatically of cluster after the cluster is deleted07:35
yanyanhuthe size of action table increase very fast when large size cluster is created/deleted frequently07:35
yanyanhuand the action_list API fails frequently for db access timeout in that case07:36
Qimingyanyanhu, that is a good suggestion07:40
Qimingthe only problem is for cluster_delete calls07:40
yanyanhuyou mean the action for cluster_delete itself?07:41
Qimingcallers should not check the status of the CLUSTER_DELETE action07:41
yanyanhuah07:41
yanyanhuthat's a problem07:41
Qimingor they should not rely solely on checking the action status07:41
yanyanhuyes, not found of resource become the only symbol can be used to check cluster_delete complete07:42
yanyanhulet me think about it07:43
yanyanhuor cluster_delete action is the only action that will be left in DB07:44
elynn_Why not just delete all the other actions except cluster_delete action left for now?07:44
yanyanhu:)07:44
yanyanhuhave the same feeling07:44
elynn_So it won't break the compatible. Then we can consider how we deal with this only action.07:45
yanyanhubut the same problem exists for node07:45
elynn_yes..07:46
yanyanhuso theoretically, removing all other actions except delete actions can reduce the size of action log by nearly 50%07:47
yanyanhuso an option is we only leave cluster_delete action after cluster is deleted. All other cluster and node actions that have been done successfully will be removed07:49
Qimingmore than 50% I think07:49
yanyanhuQiming, yes07:49
Qimingwe may want to delete events associated with a cluster/node as well07:51
yanyanhuyes07:51
yanyanhuthere have been a even purge db api, but not very sure where we should invoke it07:51
Qimingthere could be some reasons that we need to keep events/actions there, for auditing07:52
yanyanhumaybe cluster_delete is a possible position07:52
yanyanhuyes07:52
Qimingonce we have a new backend for event generation, we can safely delete every action/events from db07:52
yanyanhuright07:53
Qimingauditing can be done via a different backend07:53
yanyanhuin that case, user has better way to track and log the workflow07:53
Qimingthen, what is the RIGHT thing to do?07:54
Qimingleaving just xxx_DELETE actions there sounds a workaround07:54
yanyanhumaybe start from adding config option for control action/event history purging07:55
yanyanhuyes, that looks feasible07:55
Qimingan option is something we need to maintain for a long time07:55
Qimingjust to remind07:55
yanyanhuunderstand07:56
Qimingjust checked heat code07:58
Qimingsenlin resources are not relying on the actions for determining whether a cluster/node is gone07:58
elynn_yes07:59
Qimingso, maybe we should just delete all actions related to a cluster or a node08:00
Qimingoh, wait ...08:01
Qiminga NODE_DELETE action cannot be deleted if it is waited by a CLUSTER_DELETE action08:01
Qimingthe safest bet would be delete all actions related to a cluster and all nodes that were in that cluster08:05
openstackgerritMerged openstack/senlin-dashboard: Use entities.reverse() rather sorted(.., reverse=True)  https://review.openstack.org/32585408:10
Qimingbtw, this seems interesting: http://logs.openstack.org/13/326213/1/check/gate-senlin-dsvm-tempest-api/4899d3c/logs/stackviz/#/stdin/timeline?test=senlin.tests.tempest.api.nodes.test_node_create_negative.TestNodeCreateNegativeBadRequest.test_node_create_bad_request_profile_invalid08:19
QimingI'm trying to revise the event db model/api to enable event pruning09:04
openstackgerritEthan Lynn proposed openstack/senlin: Revise cluster resize test  https://review.openstack.org/32630809:08
openstackgerritEthan Lynn proposed openstack/senlin: Add API test for cluster scale_out action  https://review.openstack.org/32630909:08
openstackgerritQiming Teng proposed openstack/senlin: Remove event config option and fix prune api  https://review.openstack.org/32632209:22
openstackgerritYanyan Hu proposed openstack/senlin: Add a db_api interface for deleting actions  https://review.openstack.org/32632809:36
openstackgerritEthan Lynn proposed openstack/senlin: Add API test for cluster scale_in action  https://review.openstack.org/32633009:39
openstackgerritEthan Lynn proposed openstack/senlin: Add API test for cluster add_nodes action  https://review.openstack.org/32633109:39
openstackgerritEthan Lynn proposed openstack/senlin: Add API test for cluster del_nodes action  https://review.openstack.org/32633209:39
openstackgerritEthan Lynn proposed openstack/senlin: Add API test for cluster check action  https://review.openstack.org/32633309:39
openstackgerritEthan Lynn proposed openstack/senlin: Add API  test for cluster recover action  https://review.openstack.org/32633409:39
openstackgerritEthan Lynn proposed openstack/senlin: Add API test for cluster policy_attach action  https://review.openstack.org/32634209:51
openstackgerritEthan Lynn proposed openstack/senlin: Add API test for cluster policy_detach action  https://review.openstack.org/32634309:51
openstackgerritEthan Lynn proposed openstack/senlin: Add API test for cluster policy_update action  https://review.openstack.org/32634409:51
*** shu-mutou is now known as shu-mutou-AFK09:54
openstackgerritEthan Lynn proposed openstack/senlin: Add API test for node recover action  https://review.openstack.org/32634609:59
*** yanyanhu has quit IRC10:10
*** yanyanhu has joined #senlin10:10
*** elynn_ has quit IRC10:12
openstackgerritMerged openstack/senlin: Minor revise profile_update API  https://review.openstack.org/32625910:51
openstackgerritMerged openstack/senlin: Minor revise cluster_update and profile_update  https://review.openstack.org/32621610:52
openstackgerritMerged openstack/senlin: Add negative tempest API test for profile/policy update  https://review.openstack.org/32626610:53
*** zzxwill has quit IRC12:28
*** zzxwill has joined #senlin12:32
*** yanyanhu has joined #senlin12:51
*** lixinhui_ has joined #senlin12:52
*** elynn has joined #senlin13:01
*** zzxwill has quit IRC13:16
*** zzxwill has joined #senlin13:16
*** zzxwill has quit IRC13:46
*** elynn has quit IRC13:50
openstackgerritMerged openstack/senlin: Replace 'format_time' with 'isotime'  https://review.openstack.org/32621313:54
Qimingoh, don't know if you have noticed it13:57
Qimingwe have senlin 2.0.0.0b1 released last Friday13:57
Qimingsenlinclient 0.5.0 released today13:57
yanyanhuyes, saw the msg in mail list :)13:58
yanyanhunice13:59
Qimingoh, I was typing here, when I was supposed to type in meeting channel14:00
yanyanhu...14:00
yanyanhuttyl14:01
yanyanhuhave a good night14:01
*** yanyanhu has quit IRC14:01
*** lixinhui_ has quit IRC14:01
*** jdandrea_ has joined #senlin14:17
*** jdandrea has quit IRC14:17
*** zzxwill has joined #senlin14:18
*** Drago has joined #senlin15:10
*** Drago has quit IRC15:12
*** Drago has joined #senlin15:12
*** jdandrea_ is now known as jdandrea15:39
*** zzxwill has quit IRC16:17
*** Drago has quit IRC16:49
*** Drago has joined #senlin16:50
*** Drago has quit IRC16:50
*** Drago has joined #senlin16:51
*** Drago has quit IRC16:51
*** Drago has joined #senlin16:51
*** Drago has quit IRC17:08
*** Drago has joined #senlin17:56
*** Drago has quit IRC22:45

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