*** Qiming has quit IRC | 00:02 | |
*** Qiming has joined #senlin | 00:03 | |
*** Qiming has quit IRC | 00:31 | |
*** dixiaoli has quit IRC | 01:18 | |
*** Qiming has joined #senlin | 01:24 | |
*** dixiaoli has joined #senlin | 01:34 | |
*** Liuqing has joined #senlin | 01:59 | |
*** Yanyanhu has joined #senlin | 02:03 | |
*** elynn has joined #senlin | 02:30 | |
elynn | Morning | 02:30 |
---|---|---|
*** yuanying_ has joined #senlin | 03:18 | |
*** yuanying has quit IRC | 03:19 | |
*** yuanying has joined #senlin | 03:21 | |
*** yuanying_ has quit IRC | 03:23 | |
openstackgerrit | Ethan Lynn proposed openstack/python-senlinclient: Remove 'enabled' arg of cluster-policy-attach https://review.openstack.org/271882 | 03:57 |
*** yuanying_ has joined #senlin | 04:07 | |
*** yuanying has quit IRC | 04:08 | |
*** elynn has quit IRC | 04:08 | |
*** elynn has joined #senlin | 04:27 | |
*** elynn has quit IRC | 04:31 | |
*** elynn has joined #senlin | 04:32 | |
*** Liuqing has quit IRC | 04:42 | |
*** Liuqing has joined #senlin | 04:43 | |
openstackgerrit | Merged openstack/senlin: Updated from global requirements https://review.openstack.org/271841 | 05:04 |
*** Liuqing has quit IRC | 05:11 | |
*** Liuqing has joined #senlin | 05:12 | |
*** elynn has quit IRC | 05:34 | |
*** elynn has joined #senlin | 05:34 | |
*** elynn has quit IRC | 05:39 | |
*** elynn has joined #senlin | 05:40 | |
openstackgerrit | Thomas Goirand proposed openstack/senlin: Fix spelling mistake https://review.openstack.org/271897 | 05:55 |
*** dixiaoli has quit IRC | 05:58 | |
*** dixiaoli has joined #senlin | 06:03 | |
*** Liuqing has quit IRC | 06:13 | |
*** branw has joined #senlin | 06:13 | |
*** Liuqing has joined #senlin | 06:14 | |
*** zigo has joined #senlin | 06:15 | |
zigo | Hi there! | 06:15 |
Qiming | hi | 06:15 |
zigo | FYI, I'm packaging Senlin for Debian. | 06:15 |
Qiming | zigo, let us know if helps needed, :) | 06:16 |
zigo | The package is nearly ready. | 06:16 |
Yanyanhu | zigo, welcome :) | 06:16 |
zigo | No problem so far. | 06:16 |
zigo | For the packages, I wrote a senlin-api and a senlin-engine. | 06:16 |
zigo | Is there the need of anything else? | 06:16 |
Qiming | nope, currently that is all you need to run the service | 06:16 |
Qiming | senlin-api and senlin-engine are inseparable I'm afraid | 06:17 |
Qiming | do you mean they are to be packaged in different packages? | 06:18 |
zigo | And what about the API endpoint? I have found out the port is 8778, but is there something after the URL ? | 06:18 |
zigo | Yeah, 2 packages, one for each, plus python-senlin, senlin-common and senlin-doc. | 06:18 |
Qiming | okay | 06:18 |
Qiming | you don't need anything afater the URL | 06:19 |
Qiming | senlin api middleware will route the request to its current api version, i.e. v1 | 06:19 |
zigo | There's a bunch of stuff missing from the default config file... :( | 06:25 |
zigo | In the keystone_authtoken, there's nothing after #hash_algorithms | 06:25 |
*** elynn has quit IRC | 06:25 | |
*** elynn has joined #senlin | 06:26 | |
Qiming | oh? those settings are supposed to come from keystonemiddleware package directly ... | 06:26 |
zigo | Yeah, I'm checking on it... | 06:27 |
zigo | Give me a minute. | 06:27 |
zigo | Qiming: Are you in China? | 06:27 |
Qiming | zigo, yes | 06:27 |
zigo | Qiming: 我在郑州 :) | 06:28 |
Qiming | unfortunately | 06:28 |
zigo | That's probably the only kind of sentence you can expect from me in Chinese though... :P | 06:28 |
Qiming | you are unfortunate either | 06:28 |
zigo | But I'm here for the new year. | 06:28 |
Qiming | Your Chinese is good. | 06:29 |
Qiming | lol | 06:29 |
*** elynn has quit IRC | 06:30 | |
*** elynn has joined #senlin | 06:30 | |
Qiming | just tried 'tox -e genconfig' in senlin | 06:31 |
Qiming | I'm getting this: | 06:31 |
Qiming | #hash_algorithms = md5 | 06:31 |
openstackgerrit | Merged openstack/senlin: Fix spelling mistake https://review.openstack.org/271897 | 06:31 |
Qiming | elynn, saw your patch in senlinclient | 06:43 |
Qiming | is there any reason we should get rid of 'enabled' parameter? | 06:44 |
elynn | I though we don't support policy enabled/disabled | 06:44 |
Qiming | we support that | 06:44 |
elynn | I saw you remove policy-enable/disable from senlinclient | 06:44 |
Qiming | we support through a single command cluster-policy-update | 06:45 |
Qiming | with cluster-policy-update, we can do the toggling between enabled and disabled | 06:45 |
elynn | Qiming, so you mean we still support enable/disable policy after attach to a cluster? | 06:45 |
Qiming | so cluster-policy-enable/disable seem a redundant interface with no much justification | 06:46 |
Qiming | yes | 06:46 |
Qiming | that is still supported | 06:46 |
elynn | ok, I will abandon this patch , it's my misunderstanding... | 06:46 |
Qiming | thanks | 06:46 |
zigo | Qiming: Yeah, but AFTER that? | 06:51 |
zigo | After hash_algorithms? | 06:51 |
zigo | You're supposed to have #enforce_token_bind normally. | 06:52 |
zigo | It shouldn't just stop there. | 06:52 |
Qiming | enforce_token_bind is there | 06:52 |
Qiming | #enforce_token_bind = permissive | 06:53 |
Qiming | sudo pip list | grep keystonemiddleware | 06:53 |
Qiming | keystonemiddleware (4.0.0) | 06:53 |
zigo | $ senlin node-list | 06:58 |
zigo | ERROR(500): Auth plugin requires parameters which were not given: auth_url | 06:58 |
zigo | That's what I get ... | 06:58 |
zigo | Something must be miss-configured. | 06:59 |
Qiming | you need to provide some required info for authentication with keystone | 06:59 |
zigo | Yup, it's done. | 06:59 |
zigo | Automatically with debconf. | 06:59 |
zigo | Though something must be wrong. | 06:59 |
Qiming | did you export OS_AUTH_URL ? | 06:59 |
zigo | Yup, that's working, "openstack user list" works. | 07:00 |
zigo | Does senlin support Keystone API v3? | 07:01 |
Qiming | yes, v3 is the default | 07:01 |
Qiming | if you do a 'senlin -d node-list', you can get more details wrt where the request was blocked | 07:02 |
zigo | #auth_version = <None> | 07:02 |
zigo | Apparently, v3 is NOT the default... | 07:03 |
Qiming | here is what I have in senlin.conf to make it work: | 07:04 |
Qiming | [keystone_authtoken] | 07:04 |
Qiming | admin_tenant_name = service | 07:04 |
Qiming | admin_password = openstack | 07:04 |
Qiming | admin_user = senlin | 07:04 |
Qiming | auth_uri = http://192.168.42.11:35357/v3 | 07:04 |
Qiming | signing_dir = /var/cache/senlin | 07:04 |
Qiming | cafile = /opt/stack/data/ca-bundle.pem | 07:05 |
Qiming | identity_uri = http://192.168.42.11:35357 | 07:05 |
zigo | Oh, I got it... | 07:05 |
zigo | There's also a "authentication" part to configure, not just keystone_authtoken. | 07:06 |
zigo | Why is this separate? | 07:06 |
Qiming | oh, there was a discussion about this | 07:06 |
Qiming | basically, senlin is doing trust based authentication automatically | 07:07 |
zigo | And this part is *not* generated in the config file... :( | 07:07 |
Qiming | it is a workaround to the token expiration problem | 07:07 |
*** gongysh has joined #senlin | 07:08 | |
Qiming | we were 'hijacking' the keystone_authtoken for that purpose, but later was warned that was an abuse of those config items | 07:08 |
Qiming | We were suggested to come up with something new | 07:08 |
zigo | Now node-list works. | 07:08 |
Qiming | \o/ | 07:09 |
zigo | Well, I don't like the fact that it's "different" from other services. | 07:09 |
zigo | I'd very much prefer to configure stuff only once. | 07:09 |
zigo | I'm not sure I understand the purpose here... | 07:09 |
Qiming | em, it was a long discussion | 07:09 |
zigo | Anyway, the package is good for uploading, now we just need to wait for FTP master approval! :) | 07:09 |
Qiming | thanks, zigo, feel free to ping us when there are questions | 07:10 |
zigo | How do I get this [authentication] bits generated in the config file though? | 07:10 |
zigo | That's the only blocker... | 07:10 |
zigo | I can manually add it, but that's hackish, I'd very much prefer to use oslo-config-generator for that if possible. | 07:10 |
Qiming | tox -e genconfig adds that section | 07:11 |
zigo | I insist into having working good configuration files in Debian, unlike what they do in Ubuntu... | 07:11 |
zigo | Nop, it doesn't for me. | 07:11 |
zigo | And I don't use tox, it's not possible when doing a package. | 07:11 |
zigo | I do: | 07:11 |
zigo | PYTHONPATH=$(CURDIR)/debian/tmp oslo-config-generator --output-file $(CURDIR)/debian/senlin-common/usr/share/senlin-common/senlin.conf --namespace ... | 07:11 |
zigo | Something like that. | 07:11 |
Qiming | alright, I hate doing this via tox | 07:12 |
Qiming | in tools subdir, we have a script 'gen-config' | 07:12 |
zigo | Yup, which is just calling oslo-config-generator, so that's not helpful. | 07:13 |
Qiming | and also a config-generator.conf file | 07:13 |
*** gongysh has quit IRC | 07:13 | |
Qiming | the [authentication] section comes from the 'senlin.common.config' namespace | 07:13 |
zigo | Yes, from which I took the arguments to oslo-config-generator. | 07:13 |
Qiming | that is weird ... | 07:14 |
zigo | Let me try to debug that... | 07:15 |
Qiming | I just regenerated the sample config, [authentication] section is there in the output file | 07:16 |
zigo | I could generate something, so it shall be my fault somehow ... | 07:19 |
*** Liuqing has quit IRC | 07:26 | |
*** gongysh has joined #senlin | 07:26 | |
*** Liuqing has joined #senlin | 07:27 | |
zigo | Ok, I got it fixed! :) | 07:29 |
Qiming | great! | 07:35 |
zigo | Package uploaded. | 07:37 |
zigo | Now, let's wait for the FTP masters to approve it. | 07:37 |
Qiming | okay | 07:38 |
*** Liuqing has quit IRC | 08:11 | |
*** Liuqing has joined #senlin | 08:11 | |
elynn | Hi Qiming | 08:18 |
elynn | Can we create a receiver without specify cluster name? | 08:18 |
elynn | ok, I think the answer is no. | 08:23 |
*** gongysh has quit IRC | 08:33 | |
Yanyanhu | hi, Qiming, around? | 08:51 |
Yanyanhu | since the following bp has almost been done https://blueprints.launchpad.net/senlin/+spec/rework-policy-check | 08:51 |
Yanyanhu | can we set its status to implemented? | 08:51 |
*** gongysh has joined #senlin | 08:52 | |
*** dixiaoli has quit IRC | 09:01 | |
Qiming | sure | 09:05 |
Yanyanhu | ok, will change its status | 09:07 |
Yanyanhu | oh, you have done it, thanks :) | 09:07 |
Yanyanhu | hi, elynn, around? | 09:14 |
Yanyanhu | I occasionally found the following error message in engine log: | 09:15 |
Yanyanhu | (table.description, expected, rows_matched) | 09:15 |
elynn | Hi Yanyanhu | 09:15 |
Yanyanhu | minute, seems I can't paste the error msg into irc directly | 09:15 |
Yanyanhu | let me use the paste.openstack.org | 09:15 |
elynn | have you do 'senlin-manage db_sync'? | 09:15 |
Yanyanhu | yes | 09:16 |
Yanyanhu | the engine works correctly | 09:16 |
Yanyanhu | just occasionally found that error msg | 09:16 |
elynn | ok, lets check the log | 09:16 |
Yanyanhu | http://paste.openstack.org/show/484823/ | 09:16 |
Yanyanhu | this one | 09:16 |
Yanyanhu | this msg didn't appear everytime I started the engine | 09:16 |
Yanyanhu | actually it's just a warning | 09:17 |
elynn | During engine restart? | 09:17 |
Yanyanhu | during engine start | 09:18 |
Yanyanhu | it just appearred once as of now | 09:18 |
Yanyanhu | so maybe my db's issue | 09:18 |
elynn | Maybe related to this code | 09:19 |
elynn | https://github.com/openstack/senlin/blob/master/senlin/engine/service.py#L124 | 09:19 |
elynn | engine will clean dead engine records when starts. | 09:19 |
Yanyanhu | oh, that's possible | 09:20 |
elynn | Since we can remove dead records by using 'heat-manage service clean', so maybe this code can be remove. | 09:21 |
Yanyanhu | that will enforce user to clean dead engine records manually? | 09:22 |
elynn | Hi Qiming , I propose a spec to add more senlin resources to heat, could you help review? | 09:24 |
elynn | https://review.openstack.org/#/c/271949/1/specs/mitaka/senlin-resources.rst | 09:24 |
elynn | Yanyanhu, yes, admin can remove dead engine records manually. | 09:25 |
Yanyanhu | I guess maybe reserving it is better? For cases where admin forget to clean engine record manually | 09:26 |
elynn | Yanyanhu, there's potential race condition there I think, it get records at https://github.com/openstack/senlin/blob/master/senlin/engine/service.py#L176 but delete it at https://github.com/openstack/senlin/blob/master/senlin/engine/service.py#L183 | 09:27 |
elynn | Sometimes when executing to L183, this record is already delete, so you get that warning. | 09:28 |
elynn | Let me see if I can improve db api. | 09:28 |
Yanyanhu | ok | 09:29 |
Qiming | I'm wasting my life trying to get docker up | 09:33 |
Yanyanhu | there is really bunch of dependencies there | 09:34 |
Yanyanhu | especially for redhat | 09:34 |
gongysh | 一句话描述senlin: 森林, OpenStack云的集群服务,它能够创建和操作其他服务创建的同构对象的集群。 | 09:35 |
Yanyanhu | :) | 09:35 |
gongysh | 有和高见? | 09:36 |
Yanyanhu | 非常形象, vividly :P | 09:36 |
Yanyanhu | teng ptl, dashixiong has question @Qiming | 09:37 |
gongysh | Qiming, dear Mr. PTL? | 09:38 |
Qiming | 写软文么? | 09:38 |
Qiming | 谢谢! | 09:38 |
gongysh | 是的 | 09:38 |
gongysh | 有没有更好的总结性语句? | 09:39 |
Qiming | https://wiki.openstack.org/wiki/Senlin | 09:40 |
Qiming | :P | 09:40 |
Qiming | Senlin是为OpenStack开源云计算平台开发的集群(Clustering)服务,其设计目标是帮助用户更方便地管理云计算环境中的资源池,具体包括资源池的弹性伸缩、高可用性以及可管理性等等。目前Senlin主要关注虚拟机和Heat Stack集群的创建与管理,未来计划扩展到其它类型资源池。 | 09:42 |
*** elynn has quit IRC | 09:42 | |
Qiming | 较早前写的一段 | 09:43 |
Qiming | really not good at this | 09:43 |
*** branw has quit IRC | 09:50 | |
Qiming | this IS HOLLY SHIT: | 09:51 |
Qiming | core@code1 ~ $ docker run ubuntu /bin/echo hello world | 09:51 |
Qiming | Unable to find image 'ubuntu:latest' locally | 09:51 |
Qiming | latest: Pulling from library/ubuntu | 09:51 |
Qiming | 92ec6d044cb3: Downloading [=> ] 1.621 MB/65.68 MB | 09:51 |
Yanyanhu | ... | 09:54 |
Yanyanhu | nightmare for our network | 09:54 |
gongysh | that's not bad. | 09:55 |
Yanyanhu | our network connnection is really poor... | 09:55 |
*** Liuqing has quit IRC | 09:56 | |
*** Liuqing has joined #senlin | 09:57 | |
gongysh | Qiming, cool, your's is adopted. | 09:57 |
*** Liuqing has quit IRC | 09:57 | |
Qiming | thx, gongysh | 09:59 |
openstackgerrit | Yanyan Hu proposed openstack/senlin: Fix a bug about cluster-node-del https://review.openstack.org/271984 | 10:01 |
*** Yanyanhu has quit IRC | 10:16 | |
*** Qiming has quit IRC | 10:28 | |
*** gongysh has quit IRC | 11:01 | |
*** Qiming has joined #senlin | 11:41 | |
*** jun_ has joined #senlin | 13:01 | |
*** elynn has joined #senlin | 13:02 | |
*** junxu has quit IRC | 13:04 | |
*** elynn has quit IRC | 14:04 | |
*** elynn has joined #senlin | 14:07 | |
*** pratikmallya has joined #senlin | 14:36 | |
*** Qiming has quit IRC | 15:44 | |
*** elynn has quit IRC | 15:48 | |
*** pratikma_ has joined #senlin | 16:10 | |
*** elynn has joined #senlin | 16:11 | |
*** pratikmallya has quit IRC | 16:13 | |
*** elynn has quit IRC | 16:16 | |
*** Qiming has joined #senlin | 16:17 | |
*** Qiming has quit IRC | 16:27 | |
*** pratikma_ has quit IRC | 16:54 | |
*** pratikmallya has joined #senlin | 16:54 | |
zigo | Good news guys, Senlin has been FTP master approved. | 17:03 |
zigo | It's going to reach Debian mirrors in a few hours! :) | 17:04 |
*** jun_ has quit IRC | 17:23 | |
*** jun_ has joined #senlin | 17:24 | |
*** pratikmallya has quit IRC | 18:26 | |
*** openstackgerrit has quit IRC | 19:02 | |
*** openstackgerrit has joined #senlin | 19:03 | |
*** bdrich has joined #senlin | 19:21 | |
*** bdrich has quit IRC | 22:58 | |
*** Qiming has joined #senlin | 23:40 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!