Thursday, 2016-09-01

*** zhurong has joined #senlin00:36
*** xuhaiwei has joined #senlin00:39
*** zzxwill has joined #senlin00:52
*** zzxwill has quit IRC01:08
*** zzxwill has joined #senlin01:11
*** zzxwill has quit IRC01:13
*** zzxwill has joined #senlin01:17
*** yanyanhu has joined #senlin01:27
*** elynn has joined #senlin01:30
openstackgerritMerged openstack/senlin: Updated from global requirements  https://review.openstack.org/36387501:38
*** elynn_ has joined #senlin01:39
*** elynn has quit IRC01:40
openstackgerritQiming Teng proposed openstack/senlin: Validation for zone placement policy  https://review.openstack.org/36402301:57
openstackgerritRUIJIE YUAN proposed openstack/senlin: scaleutils.py:nodes_by_age():filter un_normal nodes  https://review.openstack.org/36402401:57
*** zzxwill has quit IRC02:12
openstackgerritMerged openstack/senlin: Add host_cluster support in container profile  https://review.openstack.org/36271202:18
openstackgerritQiming Teng proposed openstack/senlin: Validation for region placement policy  https://review.openstack.org/36403002:32
openstackgerritQiming Teng proposed openstack/senlin: Validation for zone placement policy  https://review.openstack.org/36402302:34
openstackgerritXueFeng Liu proposed openstack/senlin: EResourceOperation code comments need modify  https://review.openstack.org/36403602:59
openstackgerritXueFeng Liu proposed openstack/senlin: EResourceOperation code comments need modify  https://review.openstack.org/36403603:00
openstackgerritRUIJIE YUAN proposed openstack/senlin: Enable node filtering to filter nodes not created.  https://review.openstack.org/36402403:06
*** zzxwill has joined #senlin03:16
*** zzxwill has quit IRC03:49
openstackgerritMerged openstack/senlin: Validation for zone placement policy  https://review.openstack.org/36402303:54
*** zzxwill has joined #senlin04:11
*** elynn_ has quit IRC04:37
openstackgerritMerged openstack/senlin: Enable node filtering to filter nodes not created.  https://review.openstack.org/36402404:39
*** elynn_ has joined #senlin05:01
*** elynn_ has quit IRC05:05
*** elynn_ has joined #senlin05:08
openstackgerritMerged openstack/senlin: A spec for container cluster service  https://review.openstack.org/28110206:39
openstackgerritzhufl proposed openstack/senlin: Remove unused LOG and CONF  https://review.openstack.org/36409406:52
*** zzxwill has quit IRC06:57
*** zzxwill has joined #senlin07:02
openstackgerritMerged openstack/senlin: EResourceOperation code comments need modify  https://review.openstack.org/36403607:06
openstackgerritxu-haiwei proposed openstack/senlin: Trim container id to a suitable size  https://review.openstack.org/36411407:30
Qimingxuhaiwei, there?07:43
xuhaiweiyes, Qiming07:44
Qimingabout triming container id07:44
xuhaiweiyes07:44
Qimingcan you help paste the return value from docker-py?07:44
xuhaiweiok07:44
xuhaiweiee4de842244f307e21ba1697b0bd001224628f98382f794af243db026cccc32507:45
xuhaiweithis is the original id07:45
xuhaiweibut when shown in 'docker ps', it only shows ee4de842244f07:45
xuhaiweiit seems docker uses short-id in the output by default07:46
xuhaiweisimilar with senlin07:46
*** zzxwill has quit IRC07:46
Qimingthe physical id column is 36 chars07:47
Qimingmaybe we should cut the first 36 chars instead of the first 12?07:47
xuhaiweiI am not sure it will work in deleting the container with 36 chars id07:49
xuhaiweiwhy should we keep so long physical_id, for heat and nova, it only shows 8 chars07:50
*** zzxwill has joined #senlin07:55
xuhaiweiQiming, 36 chars also works in deleting container, should I change it to 36 chars?08:00
Qimingyes, 36 is at least better than 1208:00
xuhaiweiok08:01
Qimingor we will need to bump the db schema version again08:01
openstackgerritxu-haiwei proposed openstack/senlin: Trim container id to a suitable size  https://review.openstack.org/36411408:03
openstackgerritxu-haiwei proposed openstack/senlin: Fix container profile samples and README file  https://review.openstack.org/36412908:04
openstackgerritlvdongbing proposed openstack/senlin: Use openstack client in profile examples readme file uniformly  https://review.openstack.org/36414308:32
xuhaiweiQiming, hi, there is an issue to discuss08:36
Qimingsure08:36
xuhaiweiwhen deleting a nova or heat node with container running on it, should we delete it with the container together or forbide the deletion action?08:37
xuhaiweior add a 'force' delete option?08:38
openstackgerritMerged openstack/senlin: Validation for region placement policy  https://review.openstack.org/36403008:51
Qimingwow, that is a hard question ...08:55
Qimingshould we make a decision for the users at all?08:56
*** elynn_ has quit IRC08:57
xuhaiweito be safe, we can raise an exception to user to tell them containers are running, and if user insists on deleting them, we can provide a --force option08:57
Qimingthe users should know well what each vm is used for ...08:58
xuhaiweiso delete them without warning?09:00
QimingI think so09:00
Qimingwe don't want to get into that business09:00
Qimingespecially when we don't have dependencies among clusters09:01
Qimingwe can introduce dependencies later and provide this kind of warning09:02
Qimingtelling users that the hosting cluster is still being referenced ...09:02
xuhaiweiI am afraid in order to deleting vm nodes with deleting container nodes together, we have to create some dependacies, for examples add container node infos into node.data09:03
Qimingsounds like an abuse of the data field ...09:04
Qimingthe dependency should be persisted into database IMO09:04
xuhaiweiso in metadata?09:04
Qimingmaybe as a separate column09:04
xuhaiweithe column's name is a little difficult, because vm type node and contianer type node seems different09:06
Qimingcould be generalized into a 'dependents' column09:07
xuhaiweiok09:07
Qimingfor the hosting cluster, it will record the container cluster ID09:07
Qimingwhen the container cluster is removed (completely), that field will get cleared09:07
Qimingthen the hosting (VM) cluster can be deleted09:08
xuhaiweiok, I will do this09:08
Qimingthx09:15
QimingI'm about to cut a newton-3 release09:16
Qimingany patches you want to get in ?09:16
Qimingcan use some helps on reviewing this one: https://review.openstack.org/#/c/363408/09:17
xuhaiweiI think the two patches about containers can be added09:25
openstackgerritxu-haiwei proposed openstack/senlin: Trim container id to a suitable size  https://review.openstack.org/36411409:28
Qimingokay09:28
Qimingapproved09:30
Qimingwill see what the gate say09:30
openstackgerritShan Guo proposed openstack/python-senlinclient: senlin profile-create has no argument -t  https://review.openstack.org/36419509:42
*** yanyanhu has quit IRC09:52
openstackgerritMerged openstack/senlin: Remove unused LOG and CONF  https://review.openstack.org/36409409:55
openstackgerritMerged openstack/senlin: Protect cluster from being deleted when appropriate  https://review.openstack.org/36340809:55
*** zzxwill has quit IRC09:56
*** zzxwill has joined #senlin09:58
openstackgerritMerged openstack/senlin: Fix container profile samples and README file  https://review.openstack.org/36412909:59
openstackgerritMerged openstack/senlin: Use openstack client in profile examples readme file uniformly  https://review.openstack.org/36414310:00
*** zhurong has quit IRC10:03
openstackgerritMerged openstack/senlin: Trim container id to a suitable size  https://review.openstack.org/36411410:35
*** Qiming has quit IRC10:40
*** chenfei has quit IRC10:40
*** Qiming has joined #senlin10:45
*** chenfei has joined #senlin10:46
*** zhurong has joined #senlin12:34
*** zzxwill has quit IRC13:05
openstackgerritQiming Teng proposed openstack/senlin: Some more release notes for newton-3  https://review.openstack.org/36429913:11
*** openstackgerrit has quit IRC13:49
*** openstackgerrit has joined #senlin13:50
*** ChanServ sets mode: +v openstackgerrit13:50
openstackgerritQiming Teng proposed openstack/senlin: Refactor affinity policy  https://review.openstack.org/36432813:54
openstackgerritQiming Teng proposed openstack/senlin: Refactor zone placement policy  https://review.openstack.org/36432913:54
openstackgerritQiming Teng proposed openstack/senlin: Refactor region placement policy  https://review.openstack.org/36433013:54
*** Drago has joined #senlin14:39
*** Drago has quit IRC14:41
*** Drago has joined #senlin14:41
*** zhurong has quit IRC14:58
*** elynn has joined #senlin16:55
*** elynn has quit IRC17:19
*** openstackgerrit has quit IRC18:18
*** openstackgerrit has joined #senlin18:19
*** ChanServ sets mode: +v openstackgerrit18:19
openstackgerritOpenStack Proposal Bot proposed openstack/python-senlinclient: Updated from global requirements  https://review.openstack.org/36450618:50
openstackgerritOpenStack Proposal Bot proposed openstack/senlin: Updated from global requirements  https://review.openstack.org/36450918:51
*** Drago has quit IRC22:16
openstackgerritMerged openstack/senlin: Updated from global requirements  https://review.openstack.org/36450923:44
*** zhurong has joined #senlin23:48
*** zhurong has quit IRC23:59

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