*** jmlowe has quit IRC | 00:03 | |
*** liyi has joined #senlin | 00:36 | |
*** liyi has quit IRC | 01:34 | |
*** liyi has joined #senlin | 01:38 | |
*** liyi has quit IRC | 02:51 | |
*** liyi has joined #senlin | 02:54 | |
*** liyi has quit IRC | 03:32 | |
*** tman has joined #senlin | 03:35 | |
*** liyi has joined #senlin | 03:36 | |
tman | hi guys | 03:38 |
---|---|---|
tman | I'm testing the affinity policy | 03:39 |
tman | Following this guide, I understand that when it's not needed to create server_group in nova beforehand | 03:39 |
tman | https://docs.openstack.org/senlin/latest/contributor/policies/affinity_v1.html | 03:40 |
tman | I tried but failed to scale-out the cluster with an affinity policy attached | 03:41 |
tman | Here is the senlin-engine.log | 03:42 |
tman | http://paste.ubuntu.com/25958257/ | 03:43 |
tman | affinity policy spec: | 03:43 |
tman | http://paste.ubuntu.com/25958266/ | 03:44 |
tman | the profile spec doesn't also include the "scheduler_hints: group:" property | 03:50 |
tman | profile spec: | 03:51 |
tman | http://paste.ubuntu.com/25958294/ | 03:51 |
chenyb4 | tman, you can use "senlin profile-type-show os.nova.server-1.0" get about scheduler_hints | 04:06 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-senlinclient master: Updated from global requirements https://review.openstack.org/519171 | 04:20 |
tman | @chenyb4: but the guide said that it's not needed to declare the server_group name in both of profile and policy specs | 04:33 |
tman | quoted: "If the profile spec doesn’t contain a scheduler_hints property or the scheduler_hints property doesn’t have a group value, the Senlin engine will use the servergroup.name value from the affinity policy spec, if provided. If the policy spec also failed to provide a group name, the Senlin engine will try to create a server group with a random name, e.g. “server_group_x2mde78a”. " | 04:33 |
tman | I expected that senlin would automatically create the server_group with a random name | 04:35 |
tman | is there a mistake in the guide? | 04:36 |
ruijie | hi tman, looks like a bug | 05:19 |
ruijie | by the way, which version of senlin are you using? | 05:21 |
*** liyi has quit IRC | 05:33 | |
*** liyi has joined #senlin | 05:41 | |
*** liyi has quit IRC | 05:56 | |
*** liyi has joined #senlin | 06:01 | |
tman | @ruijie: I'm using v4.0.0 | 06:02 |
ruijie | http://git.openstack.org/cgit/openstack/senlin/tree/senlin/profiles/os/nova/server.py?h=4.0.0&id=59c6ea6617f1199d26d6e00ef431c3e5e42a7089#n848 | 06:06 |
ruijie | em.. this 'hints' should not be a 'NoneType' | 06:07 |
*** maestropandy has joined #senlin | 07:28 | |
*** maestropandy has left #senlin | 07:36 | |
tman | I got another error when creating a receiver | 07:41 |
tman | http://paste.ubuntu.com/25959124/ | 07:43 |
tman | my command to create a receiver: | 07:44 |
tman | # openstack cluster receiver create --cluster demo --action CLUSTER_SCALE_IN w_scale_in 'unicode' object has no attribute 'get' | 07:44 |
tman | 'unicode' object has no attribute 'get' --> the output of the command | 07:44 |
*** liyi has quit IRC | 07:56 | |
*** chenyb4 has quit IRC | 07:57 | |
ruijie | http://paste.openstack.org/show/626239/ | 08:02 |
*** liyi has joined #senlin | 08:02 | |
ruijie | mine is ok, @tman | 08:04 |
ruijie | are you using devstack? looks like some of your dependency packages are not latest version | 08:05 |
*** chenyb4 has joined #senlin | 08:07 | |
tman | @ruijie, I'm not using devstack | 08:09 |
tman | deploying in docker container | 08:10 |
tman | I just rebuilt the image and recreate the containers (senlin api/engine) | 08:10 |
tman | the problem solved | 08:10 |
tman | the prv. image using master branch | 08:11 |
tman | the rebuilt image, i switch to 4.0.0/pike | 08:11 |
*** XueFeng has quit IRC | 08:11 | |
ruijie | we are using versioned object to construct the request object: oslo.versionedobjects>=1.28.0 # Apache-2.0 | 08:12 |
tman | in the Dockerfile, I use that file http://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/pike | 08:14 |
tman | I checked the version, it is: oslo.versionedobjects===1.26.0 | 08:15 |
tman | but it would still ok | 08:15 |
tman | @ruijie: I'm confused with another case | 08:19 |
tman | I am testing health policy | 08:19 |
tman | here is the spec: | 08:19 |
tman | http://paste.ubuntu.com/25959268/ | 08:20 |
tman | I shutdown one Node in 2-node Cluster manually (Shutoff button in Horizon) | 08:21 |
tman | and expect that Senlin would (hard) reboot it | 08:21 |
tman | but actually, Senlin just delete it and recreate a new node | 08:22 |
ruijie | yes tman, it is a bug, senlin will not use the user defined action to recover the server | 08:22 |
ruijie | efforts are needed to improve it | 08:23 |
ruijie | hi Qiming, there | 08:24 |
Qiming | hi | 08:24 |
Qiming | I believe there are some missing links in the call path | 08:24 |
Qiming | should not be difficult to fix though | 08:25 |
ruijie | yes Qiming, these action parameters are not set to HealthRegistry object | 08:27 |
Qiming | we know what happened, we just need hands to work on it | 08:28 |
ruijie | I think chenyb4 is working on it, discussed that yesterday | 08:28 |
ruijie | but the problem of the version object,http://paste.ubuntu.com/25959124/ | 08:29 |
chenyb4 | About this question, I was fix it finish in this week. cc ruijie Qiming | 08:29 |
*** tman has quit IRC | 08:31 | |
Qiming | what is that about? | 08:32 |
Qiming | something changed in versioned_object? | 08:32 |
chenyb4 | About health manager node recover parameter | 08:33 |
*** tman has joined #senlin | 08:34 | |
ruijie | I tried it in my local environment, every thing is ok | 08:35 |
ruijie | # openstack cluster receiver create --cluster demo --action CLUSTER_SCALE_IN w_scale_in 'unicode' object has no attribute 'get' | 08:36 |
ruijie | 'unicode' object has no attribute 'get' --> the output of the command | 08:36 |
Qiming | when did that happen? | 08:37 |
Qiming | are you using master ? | 08:37 |
Qiming | could be caused by this one: http://git.openstack.org/cgit/openstack/senlin/commit/?id=30af0102e4fe98bd03f2ed3a5a1c26399b833d70 | 08:39 |
tman | Qiming, yes, I would use master branch when got the error "'unicode' object has no attribute 'get'" | 08:41 |
Qiming | have you upgraded your oslo.versionedobjects to >=1.28 ? | 08:42 |
tman | Nope | 08:43 |
Qiming | it could be that your lib is too old | 08:43 |
Qiming | the patch merged in oslo.versionedobjects is still not there | 08:43 |
Qiming | you may want to try: sudo pip install oslo.versionedobjects==1.28.0 | 08:44 |
tman | now I using 4.0.0/pike, with oslo.versionedobjects===1.26.0 | 08:44 |
tman | the problem dissappear | 08:44 |
*** AlexeyAbashkin has joined #senlin | 08:47 | |
*** XueFeng has joined #senlin | 09:18 | |
chenyb4 | hi, ruijie | 09:59 |
*** liyi has quit IRC | 10:02 | |
*** XueFeng has quit IRC | 10:44 | |
*** XueFeng has joined #senlin | 10:44 | |
tman | hi | 10:44 |
tman | I tried but failed to run this guide | 10:45 |
tman | https://docs.openstack.org/senlin/latest/scenarios/autoscaling_heat.html | 10:45 |
tman | it seems likely that there was a problem when Senlin had to handle many actions concurrently | 10:46 |
tman | it's ok if I run steps one by one as here: https://docs.openstack.org/senlin/latest/scenarios/autoscaling_ceilometer.html | 10:47 |
tman | senlin-engine.log: http://paste.ubuntu.com/25959867/ | 10:49 |
tman | I found this as the same case, but maybe it is not resolved | 10:50 |
tman | https://bugs.launchpad.net/senlin/+bug/1681620 | 10:50 |
openstack | Launchpad bug 1681620 in senlin "ACTION failed when can't get the cluster lock" [Critical,Fix committed] - Assigned to XueFeng Liu (jonnary-liu) | 10:50 |
*** maestropandy has joined #senlin | 10:59 | |
*** tman has quit IRC | 10:59 | |
*** liyi has joined #senlin | 11:14 | |
*** liyi has quit IRC | 11:25 | |
*** liyi has joined #senlin | 11:33 | |
*** maestropandy has quit IRC | 11:34 | |
*** maestropandy has joined #senlin | 11:45 | |
*** maestropandy1 has joined #senlin | 11:53 | |
*** maestropandy1 has left #senlin | 11:53 | |
*** maestropandy has quit IRC | 11:54 | |
*** liyi has quit IRC | 12:17 | |
*** liyi has joined #senlin | 12:17 | |
*** liyi has quit IRC | 12:18 | |
*** liyi has joined #senlin | 12:18 | |
*** ruijie_ has joined #senlin | 12:42 | |
*** zhurong has joined #senlin | 12:46 | |
*** chenyb4_ has joined #senlin | 12:54 | |
*** liyi has quit IRC | 13:04 | |
*** chenyb4_ has quit IRC | 13:07 | |
*** chenyb4_ has joined #senlin | 13:07 | |
*** maestropandy has joined #senlin | 13:11 | |
*** maestropandy has left #senlin | 13:11 | |
openstackgerrit | Qiming Teng proposed openstack/senlin master: Add lock retry logic https://review.openstack.org/519648 | 13:16 |
openstackgerrit | Qiming Teng proposed openstack/senlin master: Improve action logging for easier debugging https://review.openstack.org/519650 | 13:16 |
*** zhurong has quit IRC | 13:26 | |
XueFeng | hi | 13:35 |
*** liyi has joined #senlin | 13:49 | |
*** liyi has quit IRC | 13:53 | |
ruijie_ | we can persist the recovery action to db when attaching health-policy: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/policies/health_policy.py#n194 | 14:02 |
chenyb4_ | ruijie_: hand node-recover add before to health policy node-recover, the hand node-recover don't load action name, maybe use in node_action add pd = self.data.get('health', None) | 14:05 |
chenyb4_ | ruijie_: cluster_action was add. So, the cluster-recover can able to get health policy action name | 14:06 |
chenyb4_ | ruijie_: https://github.com/openstack/senlin/blob/master/senlin/engine/actions/cluster_action.py#L679 | 14:06 |
ruijie_ | we will trigger node_recover action when detecting bad status of node | 14:09 |
ruijie_ | that is more reasonable to load HealthRegistry object to get the recovery action directly in HealthManager | 14:09 |
XueFeng | Hi, share two things.One is self-healing forum in Sydeny submmit. https://etherpad.openstack.org/p/self-healing-rocky-forum | 14:09 |
ruijie_ | thanks XueFeng | 14:10 |
chenyb4_ | ruijie_: ok. | 14:11 |
XueFeng | The second is Senlin Session in Sydeny summit | 14:11 |
chenyb4_ | XueFeng: thanks | 14:11 |
XueFeng | https://www.openstack.org/videos/sydney-2017/standing-up-kubernetes-on-openstack-is-cool-then-what | 14:13 |
ruijie_ | Qiming had a session about the HA: https://www.slideshare.net/cliffton75/high-availability-in-openstack-cloud | 14:14 |
XueFeng | And another thing is that we should do more about https://www.openstack.org/videos/sydney-2017/standing-up-kubernetes-on-openstack-is-cool-then-what | 14:14 |
XueFeng | We'd better to talk with the forum | 14:15 |
XueFeng | This time in the forum, the ptl of vitrage give a picture central by Vitrage. | 14:17 |
ruijie_ | vitrage --> senlin --> recover/mistral | 14:18 |
XueFeng | May be this is not good choice. Need discuss again | 14:30 |
XueFeng | About k8s session, we should continue to do it. This session is just a start | 14:37 |
XueFeng | ruijie_, chenyb4_ | 14:38 |
ruijie_ | yes XueFeng, agree | 14:59 |
*** chenyb4_ has quit IRC | 15:02 | |
*** chenyb4_ has joined #senlin | 15:03 | |
*** chenyb4_ has quit IRC | 15:07 | |
*** ruijie_ has quit IRC | 15:10 | |
*** jmlowe has joined #senlin | 15:44 | |
*** liyi has joined #senlin | 15:56 | |
*** liyi has quit IRC | 16:01 | |
openstackgerrit | Ethan Lynn proposed openstack/senlin master: [WIP] Kubernetes on senlin https://review.openstack.org/515321 | 16:03 |
*** jmlowe has quit IRC | 16:43 | |
*** jmlowe has joined #senlin | 17:02 | |
*** jmlowe has quit IRC | 17:04 | |
*** liyi has joined #senlin | 17:06 | |
*** liyi has quit IRC | 17:10 | |
*** AlexeyAbashkin has quit IRC | 17:41 | |
*** liyi has joined #senlin | 18:06 | |
*** liyi has quit IRC | 18:10 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-senlinclient master: Updated from global requirements https://review.openstack.org/519171 | 19:08 |
*** AlexeyAbashkin has joined #senlin | 19:23 | |
*** AlexeyAbashkin has quit IRC | 19:28 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-senlinclient master: Updated from global requirements https://review.openstack.org/519171 | 19:28 |
*** liyi has joined #senlin | 19:45 | |
*** liyi has quit IRC | 19:49 | |
*** AlexeyAbashkin has joined #senlin | 20:23 | |
*** AlexeyAbashkin has quit IRC | 20:28 | |
*** liyi has joined #senlin | 20:35 | |
*** liyi has quit IRC | 20:39 | |
*** AlexeyAbashkin has joined #senlin | 21:25 | |
*** AlexeyAbashkin has quit IRC | 21:29 | |
*** jmlowe has joined #senlin | 21:35 | |
*** liyi has joined #senlin | 21:44 | |
*** liyi has quit IRC | 21:48 | |
*** zigo has quit IRC | 21:59 | |
*** zigo has joined #senlin | 22:01 | |
*** jmlowe has quit IRC | 22:19 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-senlinclient master: Updated from global requirements https://review.openstack.org/519171 | 22:37 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/senlin master: Updated from global requirements https://review.openstack.org/519809 | 22:38 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-senlinclient master: Updated from global requirements https://review.openstack.org/519171 | 22:50 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/senlin master: Updated from global requirements https://review.openstack.org/519809 | 22:52 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!