Friday, 2017-07-28

*** elynn has joined #senlin00:27
*** shu-mutou-AWAY is now known as shu-mutou00:34
*** catintheroof has quit IRC00:57
*** catintheroof has joined #senlin01:18
*** ruijie has joined #senlin01:22
*** catintheroof has quit IRC01:25
chenyb4Hi, I have a question, when i use senlin cluster-update operation, the return old parameter. but i use time.sleep(2) after, the return new parameter, this is database can't refresh quickly ?03:48
chenyb4The node update has exist same probrelm03:53
*** yuanying has quit IRC04:28
*** elynn has quit IRC04:32
*** yuanying has joined #senlin04:42
openstackgerritMerged openstack/senlin-dashboard master: Updated from global requirements  https://review.openstack.org/48814004:53
openstackgerritMerged openstack/senlin-dashboard master: Unable to update policy  https://review.openstack.org/48763804:55
openstackgerritMerged openstack/senlin-dashboard master: Unable to update profile  https://review.openstack.org/48770504:55
openstackgerritMerged openstack/senlin-dashboard master: Imported Translations from Zanata  https://review.openstack.org/48779004:55
XueFenghi, chenyb404:57
XueFengIn where you add time.sleep(2)04:57
chenyb4XueFeng, def cluster_update beforce resp = cluster.to_dict()04:58
chenyb4XueFeng, senlin/engine/service.py04:58
XueFenghi,chenyb4, all these operation are asynchronous actions05:01
chenyb4XueFeng, So, the cluster-update return old parameter ir right, example: name ?05:02
XueFengWhen dispatcher.start_action() is run ,it send actions to the action queue, but may not be scheduled immediately.05:03
chenyb4s/ir/is05:03
chohoorchenyb4: Before return new params I think you should make sure that update success and new values have save in db. As you see, this function called CLUSTER_UPDATE action, you should return new values after this action.05:03
XueFengAnd in cluster_update it will run serial, and return the result in currently db. The result is not the really result you want to update.05:06
chenyb4XueFeng, Yes, So, This question is not a probrelm ? the node-update has exist same05:08
XueFengLet me check it05:23
*** elynn has joined #senlin05:42
XueFengHi, chenyb4,05:56
chenyb4Hi05:57
XueFengI think we can only return return {'action': action_id}05:57
chenyb4I think it works05:59
XueFengReference this:06:05
XueFengsenlin cluster-scale-out mycluster2 WARNING (shell) "senlin cluster-scale-out" is deprecated and will be removed by Apr 2017, please use "openstack cluster expand" instead. Request accepted by action af69199e-83fc-4def-af43-94bce580bbde06:05
*** yuanying has quit IRC06:05
*** yuanying has joined #senlin06:06
*** yuanying_ has joined #senlin06:07
chenyb4XueFeng, ok, thanks06:07
chenyb4XueFeng, https://bugs.launchpad.net/senlin/+bug/1706532 this bug , I think execute "senlin cluster-node-add " must execute node-check, the database record node status is lastst status06:09
openstackLaunchpad bug 1706532 in senlin "cluster-node-add faild" [Undecided,New] - Assigned to chenyb4 (chenyb4)06:09
chenyb4is not lastst status06:09
*** yuanying has quit IRC06:10
openstackgerritShu Muto proposed openstack/senlin-dashboard master: Add receiver update action  https://review.openstack.org/48830106:15
XueFengchenyb4, 1706532 is a problem07:17
chenyb4XueFeng, I have start fix it07:19
XueFengOK07:19
*** elynn has quit IRC07:20
*** elynn has joined #senlin07:21
openstackgerritlidong proposed openstack/senlin-dashboard master: Update node fialed  https://review.openstack.org/48831207:21
openstackgerritShu Muto proposed openstack/senlin-dashboard master: Add receiver update action  https://review.openstack.org/48830107:22
*** snecklifter has quit IRC07:23
openstackgerritlidong proposed openstack/senlin-dashboard master: Update node failed  https://review.openstack.org/48831207:24
openstackgerritShu Muto proposed openstack/senlin-dashboard master: Add receiver update action  https://review.openstack.org/48830107:35
openstackgerritMerged openstack/senlin-dashboard master: Update node failed  https://review.openstack.org/48831207:37
chenyb4XueFeng, about cluster-update return action_id, this change will be update senlin, senlinclient, python-openstacksdk, so, ensure this way?08:10
*** snecklifter has joined #senlin08:15
openstackgerritShu Muto proposed openstack/senlin-dashboard master: Add receiver update action  https://review.openstack.org/48830108:15
*** openstackgerrit has quit IRC08:18
*** elynn has quit IRC08:18
*** yuanying_ has quit IRC08:35
*** yuanying has joined #senlin08:35
*** yuanying has quit IRC08:35
*** yuanying has joined #senlin08:36
*** openstackgerrit has joined #senlin08:51
*** ChanServ sets mode: +v openstackgerrit08:51
openstackgerritShu Muto proposed openstack/senlin-dashboard master: Add receiver update action  https://review.openstack.org/48830108:51
openstackgerritShu Muto proposed openstack/senlin-dashboard master: Add cluster scale-in/out actions  https://review.openstack.org/48833508:52
openstackgerritShu Muto proposed openstack/senlin-dashboard master: Add receiver update action  https://review.openstack.org/48830109:01
openstackgerritShu Muto proposed openstack/senlin-dashboard master: Add cluster scale-in/out actions  https://review.openstack.org/48833509:03
shu-mutouI'm sorry for updating patchsets many times. Now, these patches for adding new actions are ready for reviewing. Please check them. I'm happy to add new features into Pike release.09:08
*** shu-mutou is now known as shu-mutou-AWAY09:15
*** ruijie has quit IRC09:42
*** snecklifter has quit IRC11:15
*** AlexeyAbashkin has joined #senlin11:40
*** AlexeyAbashkin has quit IRC11:47
*** catintheroof has joined #senlin11:48
*** catintheroof has quit IRC12:14
*** snecklifter has joined #senlin12:23
*** catintheroof has joined #senlin12:50
*** elynn has joined #senlin12:53
*** elynn has quit IRC14:01
*** snecklifter has quit IRC16:30
*** openstackstatus has quit IRC16:41
*** openstack has joined #senlin16:46
*** catinthe_ has joined #senlin16:54
*** catintheroof has quit IRC16:58
-openstackstatus- NOTICE: The Gerrit service on review.openstack.org is being taken offline for roughly 5 minutes to perform a database backup and reconfiguration17:14
*** openstackgerrit has quit IRC17:33
*** catinthe_ has quit IRC18:08
*** catintheroof has joined #senlin18:10
*** openstackstatus has quit IRC18:11
*** openstack has joined #senlin18:16
*** openstackstatus has quit IRC18:42
*** openstack has joined #senlin18:46
*** catintheroof has quit IRC20:08
*** openstackgerrit has joined #senlin21:08
*** ChanServ sets mode: +v openstackgerrit21:08
openstackgerritOpenStack Release Bot proposed openstack/python-senlinclient master: Update reno for stable/pike  https://review.openstack.org/48881121:08
*** chenyb4_ has joined #senlin23:54

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