*** elynn has joined #senlin | 00:27 | |
*** shu-mutou-AWAY is now known as shu-mutou | 00:34 | |
*** catintheroof has quit IRC | 00:57 | |
*** catintheroof has joined #senlin | 01:18 | |
*** ruijie has joined #senlin | 01:22 | |
*** catintheroof has quit IRC | 01:25 | |
chenyb4 | Hi, 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 |
---|---|---|
chenyb4 | The node update has exist same probrelm | 03:53 |
*** yuanying has quit IRC | 04:28 | |
*** elynn has quit IRC | 04:32 | |
*** yuanying has joined #senlin | 04:42 | |
openstackgerrit | Merged openstack/senlin-dashboard master: Updated from global requirements https://review.openstack.org/488140 | 04:53 |
openstackgerrit | Merged openstack/senlin-dashboard master: Unable to update policy https://review.openstack.org/487638 | 04:55 |
openstackgerrit | Merged openstack/senlin-dashboard master: Unable to update profile https://review.openstack.org/487705 | 04:55 |
openstackgerrit | Merged openstack/senlin-dashboard master: Imported Translations from Zanata https://review.openstack.org/487790 | 04:55 |
XueFeng | hi, chenyb4 | 04:57 |
XueFeng | In where you add time.sleep(2) | 04:57 |
chenyb4 | XueFeng, def cluster_update beforce resp = cluster.to_dict() | 04:58 |
chenyb4 | XueFeng, senlin/engine/service.py | 04:58 |
XueFeng | hi,chenyb4, all these operation are asynchronous actions | 05:01 |
chenyb4 | XueFeng, So, the cluster-update return old parameter ir right, example: name ? | 05:02 |
XueFeng | When dispatcher.start_action() is run ,it send actions to the action queue, but may not be scheduled immediately. | 05:03 |
chenyb4 | s/ir/is | 05:03 |
chohoor | chenyb4: 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 |
XueFeng | And 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 |
chenyb4 | XueFeng, Yes, So, This question is not a probrelm ? the node-update has exist same | 05:08 |
XueFeng | Let me check it | 05:23 |
*** elynn has joined #senlin | 05:42 | |
XueFeng | Hi, chenyb4, | 05:56 |
chenyb4 | Hi | 05:57 |
XueFeng | I think we can only return return {'action': action_id} | 05:57 |
chenyb4 | I think it works | 05:59 |
XueFeng | Reference this: | 06:05 |
XueFeng | senlin 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-94bce580bbde | 06:05 |
*** yuanying has quit IRC | 06:05 | |
*** yuanying has joined #senlin | 06:06 | |
*** yuanying_ has joined #senlin | 06:07 | |
chenyb4 | XueFeng, ok, thanks | 06:07 |
chenyb4 | XueFeng, 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 status | 06:09 |
openstack | Launchpad bug 1706532 in senlin "cluster-node-add faild" [Undecided,New] - Assigned to chenyb4 (chenyb4) | 06:09 |
chenyb4 | is not lastst status | 06:09 |
*** yuanying has quit IRC | 06:10 | |
openstackgerrit | Shu Muto proposed openstack/senlin-dashboard master: Add receiver update action https://review.openstack.org/488301 | 06:15 |
XueFeng | chenyb4, 1706532 is a problem | 07:17 |
chenyb4 | XueFeng, I have start fix it | 07:19 |
XueFeng | OK | 07:19 |
*** elynn has quit IRC | 07:20 | |
*** elynn has joined #senlin | 07:21 | |
openstackgerrit | lidong proposed openstack/senlin-dashboard master: Update node fialed https://review.openstack.org/488312 | 07:21 |
openstackgerrit | Shu Muto proposed openstack/senlin-dashboard master: Add receiver update action https://review.openstack.org/488301 | 07:22 |
*** snecklifter has quit IRC | 07:23 | |
openstackgerrit | lidong proposed openstack/senlin-dashboard master: Update node failed https://review.openstack.org/488312 | 07:24 |
openstackgerrit | Shu Muto proposed openstack/senlin-dashboard master: Add receiver update action https://review.openstack.org/488301 | 07:35 |
openstackgerrit | Merged openstack/senlin-dashboard master: Update node failed https://review.openstack.org/488312 | 07:37 |
chenyb4 | XueFeng, about cluster-update return action_id, this change will be update senlin, senlinclient, python-openstacksdk, so, ensure this way? | 08:10 |
*** snecklifter has joined #senlin | 08:15 | |
openstackgerrit | Shu Muto proposed openstack/senlin-dashboard master: Add receiver update action https://review.openstack.org/488301 | 08:15 |
*** openstackgerrit has quit IRC | 08:18 | |
*** elynn has quit IRC | 08:18 | |
*** yuanying_ has quit IRC | 08:35 | |
*** yuanying has joined #senlin | 08:35 | |
*** yuanying has quit IRC | 08:35 | |
*** yuanying has joined #senlin | 08:36 | |
*** openstackgerrit has joined #senlin | 08:51 | |
*** ChanServ sets mode: +v openstackgerrit | 08:51 | |
openstackgerrit | Shu Muto proposed openstack/senlin-dashboard master: Add receiver update action https://review.openstack.org/488301 | 08:51 |
openstackgerrit | Shu Muto proposed openstack/senlin-dashboard master: Add cluster scale-in/out actions https://review.openstack.org/488335 | 08:52 |
openstackgerrit | Shu Muto proposed openstack/senlin-dashboard master: Add receiver update action https://review.openstack.org/488301 | 09:01 |
openstackgerrit | Shu Muto proposed openstack/senlin-dashboard master: Add cluster scale-in/out actions https://review.openstack.org/488335 | 09:03 |
shu-mutou | I'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-AWAY | 09:15 | |
*** ruijie has quit IRC | 09:42 | |
*** snecklifter has quit IRC | 11:15 | |
*** AlexeyAbashkin has joined #senlin | 11:40 | |
*** AlexeyAbashkin has quit IRC | 11:47 | |
*** catintheroof has joined #senlin | 11:48 | |
*** catintheroof has quit IRC | 12:14 | |
*** snecklifter has joined #senlin | 12:23 | |
*** catintheroof has joined #senlin | 12:50 | |
*** elynn has joined #senlin | 12:53 | |
*** elynn has quit IRC | 14:01 | |
*** snecklifter has quit IRC | 16:30 | |
*** openstackstatus has quit IRC | 16:41 | |
*** openstack has joined #senlin | 16:46 | |
*** catinthe_ has joined #senlin | 16:54 | |
*** catintheroof has quit IRC | 16:58 | |
-openstackstatus- NOTICE: The Gerrit service on review.openstack.org is being taken offline for roughly 5 minutes to perform a database backup and reconfiguration | 17:14 | |
*** openstackgerrit has quit IRC | 17:33 | |
*** catinthe_ has quit IRC | 18:08 | |
*** catintheroof has joined #senlin | 18:10 | |
*** openstackstatus has quit IRC | 18:11 | |
*** openstack has joined #senlin | 18:16 | |
*** openstackstatus has quit IRC | 18:42 | |
*** openstack has joined #senlin | 18:46 | |
*** catintheroof has quit IRC | 20:08 | |
*** openstackgerrit has joined #senlin | 21:08 | |
*** ChanServ sets mode: +v openstackgerrit | 21:08 | |
openstackgerrit | OpenStack Release Bot proposed openstack/python-senlinclient master: Update reno for stable/pike https://review.openstack.org/488811 | 21:08 |
*** chenyb4_ has joined #senlin | 23:54 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!