Tuesday, 2015-12-29

*** Qiming has quit IRC00:16
*** bdrich has quit IRC00:44
*** Qiming has joined #senlin01:21
openstackgerritCindia-blue proposed openstack/senlin: Implement do_check method for nova profile  https://review.openstack.org/26199001:50
*** elynn has joined #senlin01:58
*** Qiming_ has joined #senlin02:00
*** Qiming has quit IRC02:00
*** pratikmallya has quit IRC02:04
elynnHi Qiming_02:09
elynnSaw your comment at https://review.openstack.org/#/c/261971/02:09
Qiming_location is not a cluster property02:10
Qiming_the usage of location should be transparent to client02:10
elynnIf don't use location, what do you suggest?02:11
elynnI notice that resize will return action02:12
elynnand client can receive that.02:12
Qiming_receiving an action is not a good practice either02:13
Qiming_say we have cluster_resize api, exposed from openstack/cluster/v1/_proxy.py02:14
Qiming_we may want to return action from that api02:14
Qiming_so client has no idea of 'location', where it comes from02:15
Qiming_returning action to client at this layer doesn't break any assumption about REST APIs02:15
Qiming_the key point, from client's perspective, is about sync/async calls02:16
Qiming_that is the problem we are solving02:16
Qiming_I'm thinking if we should do this: cluster_resize(async=True, **params)02:16
Qiming_if async is False, we do action status polling inside that function02:17
Qiming_still thinking02:17
elynnI'm not sure...02:18
elynnWe put it in senlinclient or openstacksdk?02:20
Qiming_for better control, put it in senlinclient02:37
Qiming_for better generality, put it in openstacksdk02:37
Qiming_it's a tradeoff02:37
openstackgerritEthan Lynn proposed openstack/senlin: Add new cluster status RESIZING  https://review.openstack.org/26193402:46
*** gongysh has quit IRC03:18
*** gongysh has joined #senlin03:35
openstackgerritCindia-blue proposed openstack/senlin: Implement do_check method for nova profile  https://review.openstack.org/26199004:34
*** Qiming_ has quit IRC04:38
*** pratikmallya has joined #senlin06:00
*** Qiming has joined #senlin06:18
openstackgerritQiming Teng proposed openstack/python-senlinclient: Fix formatters used for listing actions  https://review.openstack.org/26213806:49
*** Qiming_ has joined #senlin07:03
*** Qiming has quit IRC07:06
*** pratikmallya has quit IRC07:20
openstackgerritEthan Lynn proposed openstack/senlin: Re-enable lock breaker  https://review.openstack.org/26215108:13
*** gongysh has quit IRC08:23
openstackgerritQiming Teng proposed openstack/python-senlinclient: Fix formatters used for listing actions  https://review.openstack.org/26213808:27
*** gongysh has joined #senlin08:36
*** Yanyanhu has joined #senlin09:00
*** branw has joined #senlin09:16
openstackgerritQiming Teng proposed openstack/senlin: Allow action list to be filtered by 'status'.  https://review.openstack.org/26216909:40
*** Qiming_ has quit IRC09:55
*** Qiming has joined #senlin09:55
openstackgerritEthan Lynn proposed openstack/senlin: Catch ProfileNotFound exception when load_runtime_data in Node  https://review.openstack.org/26217810:05
Qiminggit review is failing?10:07
QimingI'm getting authentication failure now when doing 'git review'10:07
elynnSeems so10:08
Yanyanhulet me try10:08
elynnVery slow10:08
YanyanhuI got 502 error10:08
Qiminggoing home10:08
elynnMaybe it will recover later, I met once today and later it will come back.10:08
Qimingnot a time for working10:08
Qimingit's from Great Wall I think10:09
Yanyanhuguess so...10:09
elynnBut time to go home :)10:10
*** elynn has quit IRC10:10
*** Qiming has quit IRC10:13
*** Yanyanhu has quit IRC10:34
*** Qiming has joined #senlin11:04
openstackgerritQiming Teng proposed openstack/senlin: Add user doc for actions  https://review.openstack.org/26218911:08
*** Liuqing has joined #senlin11:27
*** Liuqing has quit IRC12:01
*** Liuqing has joined #senlin12:49
*** elynn has joined #senlin12:50
*** yanyanhu has joined #senlin12:53
Qimingmeeting time13:01
Qiming#openstack-meeting channel13:01
*** pratikmallya has joined #senlin13:38
*** lixinhui_ has joined #senlin13:52
*** haiwei has joined #senlin13:59
Qimingthanks for joining14:00
yanyanhuno problem14:00
elynnAnyway, add a response_headers to resource property is a good idea.14:00
QimingI'd still prefer doing wait inside sdk14:01
elynnIf I can get action from response_headers, then I won't need a wait function I guess.14:01
Qimingif that is becoming a blocker for heat14:01
elynnWe can do it, but I need to figure out how to use it in heat.14:01
Qimingyou will have the Cluster object directly14:02
Qimingthat object has a response_headers for you to check14:02
Qimingdo your own sleep in heat, possibly with a yield14:02
*** yanyanhu has quit IRC14:02
elynnYou still need to discuss it with sdk guys?14:03
Qiminglet's talk via code reviews14:03
elynnok, I will prepare codes tomorrow.14:04
Qimingseldom can we show up on IRC at the same time14:04
elynnAnd I might still need this patch https://review.openstack.org/26197014:05
elynnto expose headers.14:05
LiuqingQiming: while the `health management` implemented and we use the nova_server.yaml, senlin will have the recreate-after-delete logic?14:07
elynnWill take a shower, ttyl.14:07
QimingLiuqing, yes14:07
Liuqingautomate or we should call some api?14:08
*** lixinhui_ has quit IRC14:13
QimingLiuqing, via config file14:15
LiuqingQiming: not very clear, which config option will handle it ?14:16
Qimingan option to be added14:17
Liuqingi just thought the option should in our profile..14:17
Liuqingin config is fine14:17
Qiminghealth check will be don automatically14:17
Qimingbut recovery has to be configured14:18
Qimingwe are thinking of a global config that do_recover() will be invoked automatically when node failures are detected14:18
Qiminga more finer granularity of control should be done via a health policy attached to your cluster14:19
Liuqingyes, granularity is needed.14:20
Qimingnot all clusters are born equal14:21
Qimingsome are paid, :)14:21
Liuqingyes, so the granularity will in profile rather than config?14:22
Qimingnot in profile14:22
Qimingit will be about a cluster14:23
Qimingstill building the foundations at this stage14:24
Qimingwill make tradeoffs about configuration options and policy specs14:24
LiuqingQiming: so we will have some periodic task for do_check() in somewhere?14:29
Qimingyes, that is the health_manager14:29
*** elynn has quit IRC14:33
haiweiQiming, in Tokyo summit we are agreed to not to do health check automatically, it is changed?14:35
Liuqinghi haiwei, if we have time, we want to recycle rocket hahaha..14:37
Qiminghaiwei, we don't do monitoring14:38
haiweiwhat do you mean by 'recycle rocket'14:38
Qimingwe have removed all trigger related code14:39
Liuqinghaiwei, a joke.14:40
Qimingwe have do something to make sure we know the real status of the objects we created, especially nodes14:40
haiweiso the node's state will be updated periodically ?14:41
Qimingor else, we cannot do a good job regarding auto-scaling14:41
*** Liuqing has quit IRC14:43
*** Liuqing has joined #senlin15:02
*** haiwei has quit IRC15:22
*** Qiming has quit IRC15:33
*** Liuqing has quit IRC16:48
*** openstackgerrit has quit IRC21:17
*** openstackgerrit has joined #senlin21:18
*** pratikmallya has quit IRC21:55
*** pratikmallya has joined #senlin22:56
*** pratikmallya has quit IRC23:00
*** pratikmallya has joined #senlin23:34
*** Qiming has joined #senlin23:35
*** pratikmallya has quit IRC23:43

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