Thursday, 2016-08-25

*** zhurong has quit IRC00:02
*** elynn_ has quit IRC00:33
*** yanyanhu has joined #senlin01:00
openstackgerritOpenStack Proposal Bot proposed openstack/python-senlinclient: Updated from global requirements  https://review.openstack.org/36016001:11
*** zhurong has joined #senlin01:17
yanyanhuhi, Qiming, around?01:32
Qimingyes01:33
yanyanhufeilong just left some comments on this etherpad about message type receiver https://etherpad.openstack.org/p/senlin-message-type-receiver01:33
Qimingyes01:33
yanyanhugreat new is zaqar supports posting notification with credential, e.g. token :)01:33
yanyanhuso we can leverage this ability to make the access to subscriber url much safer01:33
yanyanhuthis will be different from webhook url access01:34
Qimingjust a normal request01:34
yanyanhuyes, I think so01:34
Qimingas those that initiated by senlinclient?01:34
Qimingthen we can just add an api01:34
yanyanhuno so sure about the detail, but will check the doc feilong pointed out01:35
Qimingokay01:35
yanyanhuQiming, yes, it will be possible01:35
Qimingit is good if they have tokens in their request header01:35
yanyanhuyes01:35
Qimingjust one thing I want to understand01:35
Qimingthe targeted use case (for senlin) is as this01:35
Qiminga software (agent) running inside a VM sends a message to zaqar, and zaqar will reformat that request somehow, and then send a request to a "secret" API of senlin01:36
Qimingthe goal is to eliminate the necessity of having the agent know the IP addresses of the controller nodes (where senlin-api/engine are running on)01:37
Qimingit would be great that they provide some help/doc/guidance on setting up such a scenario01:38
yanyanhuQiming, I think they currently don't have a complete guide for building this kind of use case01:38
Qimingin other words, if the guest software (agent) has to know the IP address of the controller node, zaqar is still not that useful01:38
yanyanhubut I think this kind of use case can be supported01:39
Qimingwe can have that software to initiate the "webhook" invocation directly01:39
yanyanhunot so sure, but hope zaqarclient can help to handle this01:39
Qimingif they don't have a guide on this, we should recommend them to write one01:39
yanyanhusince it doesn't make much sense that let enduser/software to access zaqar API directly01:39
Qimingyes, that is the core value of a user-facing messaing service01:40
Qimingjust like Amazon SQS01:40
yanyanhuQiming, or maybe we can help to write one based on our experience in future :)01:40
yanyanhuas part of autoscaling story01:40
yanyanhuoh, this is a little different01:40
Qimingbut as the first step, we'll need to sync with zaqar team on this01:40
yanyanhusure01:40
Qimingit should be them to author such an article01:41
yanyanhuwill confirm the usage of zaqarclient01:41
Qimingthey know what they are working on01:41
yanyanhuabosolutely01:41
Qimingmaybe zaqarclient is not necessary as well01:41
openstackgerritxu-haiwei proposed openstack/senlin: Fix some bugs for container creation  https://review.openstack.org/34990601:41
Qimingthere should be a possibility to create and post such a message in simple scripts01:42
yanyanhuQiming, yes, I think there could be more than one feasible ways for enduer to post message01:42
yanyanhuyea01:42
Qimingor else, users will be forced to install zaqarclient01:42
Qimingabsolutely01:42
yanyanhuyes. maybe something like what amazon do for waitcondition01:43
yanyanhuwhose event can be triggered using curl simply01:43
Qimingyes, but amazon is requiring some cfntools installed as well01:43
Qimingwhen I have cycles, I'd like to start a project os-agent01:43
yanyanhuI see, will make some investigation here01:44
Qimingconsolidating all requirements into the same agent software01:44
yanyanhucool :)01:44
Qimingjust like cloud-init01:44
yanyanhuagent inside VM is a REAL requirement for many scenarios01:44
yanyanhualthough people usually don't like it that much :)01:44
Qimingbut it will handle use cases like heat software-config, trove agent, ceilometer sample generation, zaqar message posting etc01:44
yanyanhuyes01:44
yanyanhumaybe this is a good topic for cross project coordination01:45
Qimingyes, it is a topic that has been brought up many times01:45
Qimingeach project is reinventing the wheel ...01:45
yanyanhuyes...01:46
Qimingyou can see this: http://git.openstack.org/cgit/openstack/trove-image-builder/01:47
Qimingit is empty, but it really means that trove needs things injected to a image01:48
Qimingalso sahara: http://git.openstack.org/cgit/openstack/sahara-image-elements/01:49
*** elynn has joined #senlin01:52
*** elynn has quit IRC01:56
*** elynn has joined #senlin01:56
openstackgerritxu-haiwei proposed openstack/senlin: Fix some bugs for container creation  https://review.openstack.org/34990602:08
*** zhurong_ has joined #senlin02:09
*** zhurong has quit IRC02:11
openstackgerritTony Breeds proposed openstack/senlin: [DNM] Test openstacksdk 0.9.4  https://review.openstack.org/36018802:49
*** yuanying has quit IRC02:49
*** yuanying has joined #senlin02:53
Qimingxuhaiwei, online?02:56
openstackgerritMerged openstack/python-senlinclient: Updated from global requirements  https://review.openstack.org/36016003:05
openstackgerritMerged openstack/python-senlinclient: Imported Translations from Zanata  https://review.openstack.org/35816903:05
openstackgerritMerged openstack/python-senlinclient: Add profile validate operation to senlinclient  https://review.openstack.org/35893303:05
openstackgerritMerged openstack/python-senlinclient: Add policy validate operation to senlinclient  https://review.openstack.org/35893603:06
openstackgerritMerged openstack/python-senlinclient: py3:Rmove six.iteritems/iterkeys in python-senlinclient  https://review.openstack.org/35892603:06
*** yuanying has quit IRC03:45
xuhaiweiQiming, yes03:48
*** yuanying has joined #senlin03:48
*** elynn has quit IRC04:30
openstackgerritxu-haiwei proposed openstack/senlin: Fix some bugs for container creation  https://review.openstack.org/34990604:51
*** elynn has joined #senlin05:03
*** elynn has quit IRC05:07
*** elynn has joined #senlin05:08
openstackgerritxu-haiwei proposed openstack/senlin: A spec for container cluster service  https://review.openstack.org/28110205:10
Qimingxuhaiwei, I'm working on patch 34990605:19
Qimingmoving logics down from engine/service to profile layer, will push a patch later today05:19
Qimingwill let you know when it is submitted05:20
xuhaiweiok, Qiming05:34
QimingI'm removing 'host_cluster' property temporarily05:35
Qimingwill add it later when we have a better idea about how to handle it05:35
xuhaiweiI have just updated the spec file, and added some rules on how to use host_node and host_cluster, I think we should make an agreement on it, Qiming05:39
Qimingsure05:40
xuhaiweiplease review that patch, and write comments05:40
Qimingwill do05:52
openstackgerritQiming Teng proposed openstack/senlin: Fix some bugs for container creation  https://review.openstack.org/34990605:57
Qimingxuhaiwei, ^ is the new revision05:57
Qimingneed to add test cases05:57
Qimingwoops, finally -- [14:05] <openstackgerrit> Merged openstack/requirements: Bump openstacksdk version to 0.9.4  https://review.openstack.org/35948606:07
elynnGreat!06:08
elynnNow we can merge patches!06:08
Qiminghopefully, just kicked off a recheck, about the removal of mox/mox306:09
xuhaiweithanks, Qiming06:18
openstackgerritNam Nguyen Hoai proposed openstack/senlin: TrivialFix: Remove logging import usused  https://review.openstack.org/36026506:19
openstackgerritlvdongbing proposed openstack/senlin: Revise tools/setup-service to make it work with keystone v3  https://review.openstack.org/36027106:31
openstackgerritlvdongbing proposed openstack/senlin: Revise tools/setup-service to make it work with keystone v3  https://review.openstack.org/36027106:39
openstackgerritMerged openstack/senlin: Add zaqar v2 driver interfaces for claim resource  https://review.openstack.org/35583007:15
openstackgerritMerged openstack/senlin: Minior revise pre/post_test_hook  https://review.openstack.org/35154907:15
yanyanhuhi, Qiming, just noticed those two integration test cases were run and passed correctly07:22
yanyanhucan start to work on more integration test cases07:22
Qiminggreat!07:24
Qimingare they experimental?07:25
openstackgerritMerged openstack/senlin: py3:Remove six.iteritems/iterkeys  https://review.openstack.org/35779307:25
yanyanhuno, but they don't vote now07:25
yanyanhuthey will be run, just don't vote07:25
Qimingem, that's fine07:25
yanyanhuyes, in current stage, maybe we don't make it vote always07:26
yanyanhusince the failure could be caused by other reasons rather than senlin's bug07:26
QimingI was even considering skipping it most of the time07:26
yanyanhuanyway, it will be very helpful to verify whether senlin can work correctly with other services07:27
Qimingyes07:27
yanyanhuas a reference07:27
yanyanhuwill try to add a new test case for lb policy07:27
Qimingokay, speaking of lb policy07:28
Qimingnot sure if we can complete profile/policy versioning in time07:28
Qimingmaybe we can treat the timeout option as a bug fix?07:29
Qimingand ... let it in?07:29
yanyanhuQiming, yes, have the same concern...07:29
yanyanhuok07:29
openstackgerritMerged openstack/senlin: Remove usage of mox/mox3  https://review.openstack.org/35838307:33
openstackgerritMerged openstack/senlin: Get ready for os-api-ref sphinx theme change  https://review.openstack.org/35793107:33
Qimingnote to all07:48
QimingI'm gonna change the output format for network addresses for nova server profile07:49
Qimingthe reason is that from client's perspective, we may need all those extra keys in addition to the 'addr' property07:49
Qimingthis will impact nova server profile and lbaas driver07:49
yanyanhuQiming, what impact there will be on nova server profile? you mean the get detail funtion?07:51
yanyanhus/funtion/function07:51
Qimingyes07:51
yanyanhuI see. For lbaas driver, will you fix it as well at the same time?07:52
yanyanhuif not, I can provide some help here07:52
openstackgerritMerged openstack/senlin: Reorganize receivers directory  https://review.openstack.org/35758507:52
openstackgerritMerged openstack/senlin: Imported Translations from Zanata  https://review.openstack.org/35901407:52
Qimingyep07:52
yanyanhuok, great07:52
openstackgerritMerged openstack/senlin: Revise tools/setup-service to make it work with keystone v3  https://review.openstack.org/36027107:52
openstackgerritQiming Teng proposed openstack/senlin: Faithful dump nova server addresses property  https://review.openstack.org/36030807:52
Qimingthis one ^07:53
yanyanhuok, will check it07:53
openstackgerritYanyan Hu proposed openstack/senlin: Minor tweak webhook receiver  https://review.openstack.org/35963608:04
openstackgerritMerged openstack/senlin: Add new api for profile validation  https://review.openstack.org/35454908:17
openstackgerritMerged openstack/senlin: Fix do_validate in heat profile  https://review.openstack.org/35578008:17
openstackgerritMerged openstack/senlin: Updated from global requirements  https://review.openstack.org/35952908:41
openstackgerritMerged openstack/senlin: Make lb timeout configurable  https://review.openstack.org/34656908:41
openstackgerritQiming Teng proposed openstack/senlin: api-ref: OpenStack-Request-Id and location  https://review.openstack.org/35898608:46
*** openstackgerrit has quit IRC08:48
*** openstackgerrit has joined #senlin08:49
*** ChanServ sets mode: +v openstackgerrit08:49
openstackgerritxu-haiwei proposed openstack/senlin: Fix some bugs for container creation  https://review.openstack.org/34990609:07
xuhaiweiQiming, made some changes to 349906 , please review09:08
openstackgerritxu-haiwei proposed openstack/senlin: Fix some bugs for container creation  https://review.openstack.org/34990609:09
xuhaiweiwill add test cases09:09
Qimingokay, thanks09:11
Qimingjust one comment posted09:15
xuhaiweiI thought about it a little, shall we let the exception raise up to upper layer?09:18
xuhaiweibecause if we catch it, then raise what exception ?09:19
openstackgerritOpenStack Proposal Bot proposed openstack/python-senlinclient: Updated from global requirements  https://review.openstack.org/36037309:31
openstackgerritOpenStack Proposal Bot proposed openstack/senlin: Updated from global requirements  https://review.openstack.org/36037409:31
*** elynn has quit IRC09:32
openstackgerritMerged openstack/senlin: Release note for Zaqar resource support  https://review.openstack.org/35955609:35
openstackgerritMerged openstack/senlin: Add policy_validate function to engine  https://review.openstack.org/35868609:36
openstackgerritMerged openstack/senlin: Add new api for policy validation  https://review.openstack.org/35875909:36
openstackgerritMerged openstack/senlin: Some new typos need to be fixed  https://review.openstack.org/35892109:36
*** zhurong_ has quit IRC10:01
*** yanyanhu has quit IRC10:02
*** elynn has joined #senlin11:07
openstackgerritMerged openstack/python-senlinclient: Updated from global requirements  https://review.openstack.org/36037312:10
openstackgerritMerged openstack/senlin: TrivialFix: Remove logging import usused  https://review.openstack.org/36026512:27
*** zhurong has joined #senlin12:58
openstackgerritMerged openstack/senlin: Updated from global requirements  https://review.openstack.org/36037413:17
*** openstackgerrit has quit IRC14:48
*** openstackgerrit has joined #senlin14:50
*** ChanServ sets mode: +v openstackgerrit14:50
*** Drago has joined #senlin15:03
*** Drago has quit IRC15:04
*** Drago has joined #senlin15:04
*** zhurong has quit IRC16:20
*** elynn has quit IRC16:51
*** Drago has quit IRC17:00
*** Drago has joined #senlin17:22
-openstackstatus- NOTICE: The Gerrit service on review.openstack.org is restarting to implement some performance tuning adjustments, and should return to working order momentarily.19:47
*** elynn has joined #senlin23:35
*** Drago has quit IRC23:41
*** zhurong has joined #senlin23:54

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