Wednesday, 2015-10-21

*** Qiming has joined #senlin00:16
openstackgerritMerged openstack/python-senlinclient: Strips off the quotes when showing nested table  https://review.openstack.org/23460800:19
*** shu has joined #senlin00:21
openstackgerritMerged openstack/senlin: Mark branch as 0.1  https://review.openstack.org/23688400:23
openstackgerritMerged openstack/senlin: Revise nova server get_details call  https://review.openstack.org/23340500:23
*** Qiming has quit IRC00:31
*** pratikmallya has joined #senlin01:19
*** Qiming has joined #senlin01:21
*** lkarm has joined #senlin01:34
*** pratikmallya has quit IRC01:37
*** lkarm has quit IRC01:39
*** Yanyanhu has joined #senlin01:48
*** elynn has joined #senlin02:01
elynnmorning02:06
*** jdandrea has quit IRC02:17
openstackgerritYanyan Hu proposed openstack/senlin: Make event related DB queries project safe  https://review.openstack.org/23737802:19
Qimingmorning02:20
Yanyanhumorning02:20
openstackgerritOpenStack Proposal Bot proposed openstack/python-senlinclient: Updated from global requirements  https://review.openstack.org/23732702:33
Yanyanhuhi, Qiming, I found we have a tag verion of 0.1 and the target version in setup.cfg is also 0.1, I guess this could cause some problems?02:36
Qimingstill working on it02:36
Yanyanhuok02:36
Qimingthe 0.1 release cannot be uploaded02:36
Qimingwhen it is done, will change setup.cfg02:36
Yanyanhuunderstand02:37
Qimingdon't know what happened02:37
Qimingneither 0.1 nor 0.1.0 is accepted02:37
Yanyanhudifferent from what we met when handling senlinclient...02:38
Qimingyes02:39
Qimingdo you need setup.cfg for some reasons?02:39
Yanyanhujust try to merge several patches and found pbr version error was given by gate02:39
Yanyanhuso I guess this could be the reason02:39
openstackgerritQiming Teng proposed openstack/senlin: Retry package release  https://review.openstack.org/23785502:42
Qimingdon't think so02:42
Yanyanhuem, will dig the reason02:43
Qiminggerrit is reject requests ... sigh02:45
Yanyanhu...02:45
Yanyanhufound a mail writen by robert collins http://comments.gmane.org/gmane.comp.cloud.openstack.devel/5259702:46
Yanyanhubut not quite understand what he means...02:46
Yanyanhustill try to understand it02:46
openstackgerritQiming Teng proposed openstack/senlin: Retry package release  https://review.openstack.org/23785502:49
*** Shijia has joined #senlin02:50
openstackgerritQiming Teng proposed openstack/senlin: Retry package release  https://review.openstack.org/23785502:51
Qimingseems tarballs are created successfully02:55
Qiminghttp://tarballs.openstack.org/senlin/02:55
Qimingbut just simply cannot find it on pypi02:55
Yanyanhuyes02:55
Yanyanhuit is there02:56
Yanyanhujust can search it I think02:56
Yanyanhucan/can't02:56
Yanyanhu2015-10-21 senlin 0.1.1 OpenStack Clustering02:56
Qimingah, finally02:56
Qiming0.1 failed, 0.1.0 failed02:56
Yanyanhuhttps://pypi.python.org/pypi/senlin/0.1.102:56
Yanyanhuumm...02:57
Qiming0.1.0 was successful too02:57
Qimingjust 0.1 failed02:57
Yanyanhuok02:58
Yanyanhuso that means our next target version is 0.1.202:59
Yanyanhuthe temporary of all commits will be 0.1.2.devxxx?03:00
Qimingstill waiting for gerrit response03:02
openstackgerritQiming Teng proposed openstack/senlin: Bump development version to 0.2.0  https://review.openstack.org/23785503:05
openstackgerritImran Hayder Malik proposed openstack/senlin: Add option to generate sample conf file.  https://review.openstack.org/23785803:13
openstackgerritImran Hayder Malik proposed openstack/senlin: Add option to generate sample conf file.  https://review.openstack.org/23785803:31
openstackgerritQiming Teng proposed openstack/senlin: Fixed typo in getting started doc  https://review.openstack.org/23786203:31
openstackgerritMerged openstack/senlin: Bump development version to 0.2.0  https://review.openstack.org/23785503:31
openstackgerritYanyan Hu proposed openstack/senlin: Make event related DB queries project safe  https://review.openstack.org/23737803:34
openstackgerritYanyan Hu proposed openstack/senlin: Make trigger related DB queries project safe  https://review.openstack.org/23738403:34
openstackgerritYanyan Hu proposed openstack/senlin: Make webhook related DB query project safe  https://review.openstack.org/23684103:34
openstackgerritQiming Teng proposed openstack/senlin: Fixed typo in getting started doc  https://review.openstack.org/23786203:39
openstackgerritMerged openstack/senlin: Make event related DB queries project safe  https://review.openstack.org/23737803:42
openstackgerritImran Hayder Malik proposed openstack/senlin: Add option to generate sample conf file.  https://review.openstack.org/23785803:43
openstackgerritMerged openstack/senlin: Make trigger related DB queries project safe  https://review.openstack.org/23738403:44
openstackgerritMerged openstack/senlin: Make webhook related DB query project safe  https://review.openstack.org/23684103:45
*** lkarm has joined #senlin03:50
*** lkarm has quit IRC03:55
openstackgerritQiming Teng proposed openstack/senlin: Fix setup service call in doc  https://review.openstack.org/23787304:55
openstackgerritMerged openstack/senlin: Add option to generate sample conf file.  https://review.openstack.org/23785804:58
Yanyanhuhi, Qiming, upgrading my requests version to 2.8.1 solved the ssl problem I met04:58
openstackgerritQiming Teng proposed openstack/senlin: Rename gen_pot to gen-pot-files  https://review.openstack.org/23787504:58
Qimingok04:59
Qimingit was caused by?05:00
Qimingoh, nice, pushed patch on master again05:01
Yanyanhuthe search result said some code about ssl connection in requests 2.7.0 could have some problems05:01
Qiming...05:01
Yanyanhuanother suggestion is installing extra security packages05:01
Qimingmy question is about the 'ssl problem', what caused that?05:01
Yanyanhuoh, you mean when it happened?05:02
Yanyanhujust when I ran pip install05:02
Qimingwhat cause pip install to fail?05:03
Yanyanhunot so sure, just got a warning of this: A true SSLContext object is not available.05:03
Qimingit is not an error message right?05:04
Yanyanhuyes05:04
Yanyanhuit's not I think05:04
Qimingokay05:04
Qimingif it is an error, then it means all openstack projects will have the same problem05:04
Qimingand you have a suggestion to bump requests to 2.8.105:05
Qimingthat is something you need to propose to global requirements05:05
Yanyanhuhmm, that's true. Maybe it is not the real reason that made my pip installing failed...05:05
openstackgerritMerged openstack/senlin: Fixed typo in getting started doc  https://review.openstack.org/23786205:06
Qimingpip install failure is something serious  IMO05:11
Yanyanhuyes05:11
Yanyanhunow I doubte maybe it was caused by my network's problem05:12
Yanyanhusince the warning is still there, but I can install packages05:12
*** openstackgerrit has quit IRC05:16
*** openstackgerrit has joined #senlin05:17
Qimingokay05:21
Qimingyou didn't read the error message, ;)05:21
Yanyanhuyes...05:21
QimingYanyanhu, pls help review this: https://review.openstack.org/#/c/237875/05:36
Qimingit was on master branch, sigh05:36
Yanyanhuok05:36
*** Shijia has quit IRC06:16
*** Shijia has joined #senlin06:17
openstackgerritMerged openstack/senlin: Rename gen_pot to gen-pot-files  https://review.openstack.org/23787506:21
*** lkarm has joined #senlin06:22
*** lkarm has quit IRC06:26
*** Shijia has quit IRC06:28
*** Shijia has joined #senlin06:30
*** elynn has quit IRC07:07
*** elynn has joined #senlin07:07
*** Shijia has quit IRC07:24
*** Shijia has joined #senlin07:25
openstackgerritQiming Teng proposed openstack/senlin: Complete README file under tools subdirectory  https://review.openstack.org/23791107:27
*** Shijia has quit IRC07:28
*** Shijia has joined #senlin07:28
*** jongchoi has joined #senlin07:31
*** lixinhui has joined #senlin07:49
*** aviw has joined #senlin08:01
QimingYanyanhu, regarding this: https://review.openstack.org/23791108:21
Yanyanhuyes?08:21
QimingI am not sure we need to do 'source devstack/openrc admin admin'08:21
Yanyanhuso the user only need to have 'admin' role08:22
Qimingthe second 'admin' changes the project08:22
*** lkarm has joined #senlin08:22
Yanyanhuyes, just thought the admin user created by devstack during installation progress is in admin project by default08:23
QimingI'm not sure switching to the 'admin' project is necessary08:23
Yanyanhuso I guess only switching username to admin could make the username and tenant unmatch08:23
Yanyanhulet me have a try in my local env08:23
Qimingok08:23
*** Shijia has quit IRC08:24
Qimingmy guess is that 'admin' username is so special08:24
Qimingwe are not talking about roles yet08:24
*** Shijia has joined #senlin08:24
Qimingthat will further complicate the configuration setp08:24
Qimingstep08:24
Yanyanhuyes, that's true08:25
Yanyanhuyour change works in my env08:26
Yanyanhuso we don't need to set tenant name to admin I think just as you said08:26
Qimingmy intent is to make just necessary change08:26
Qimingnot full change08:26
Yanyanhuok08:26
Qimingif you switch to admin project and you didn't realize that08:26
Qiming...08:26
*** lkarm has quit IRC08:27
Yanyanhuyes, that's what we want to avoid08:27
*** jongchoi has quit IRC08:48
aviwHi, I would like to ask a senlin question. I have created a cluster of a few nodes (backed by nova servers) and a deletion policy. I attached that policy to cluster. I would now like to trigger the deletion policy so that node to delete is selcted based on that policy. I tried to create webhook against that deletion policy but it asks me to supply08:50
aviwan action too.08:50
openstackgerritQiming Teng proposed openstack/senlin: Complete README file under tools subdirectory  https://review.openstack.org/23791108:56
Qimingaviw, the action will be CLUSTER_DEL_NODES or CLUSTER_SCALE_IN08:56
Qimingif you check the the source file: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/policies/deletion_policy.py#n7308:57
Qimingyou will see that the deletion policy is to be invoked before the specified actions are executed08:57
Qimingso ... another note08:58
Qimingthe concepts are a little different from that in Heat if you have a Heat background08:58
Qiminga webhook doesn't trigger a policy08:58
Qiminga webhook triggers an action instead08:59
Qimingbefore/after that action is executed, some policies would be checked and/or enforced08:59
aviwQiming, I see.09:00
*** openstackgerrit has quit IRC09:01
*** openstackgerrit has joined #senlin09:02
aviwQiming, I can see that one can create a web-hook against an action for a policy. Does that mean the action eventually triggered against cluster this policy is attached  to?09:03
Qimingan action will be triggered from a webhook (if properly created)09:04
aviwI think I would like to ask, who consumes the action in case it got created alongside with a policy?09:04
Qimingthis is independent from the policies attached, i.e. there may and may not be policies attached when actions are triggered09:05
Qimingaviw, when you are creating a webhook, you have to specify the target cluster/node, the action you want to perform when the webhook is triggered later09:06
aviwI see. I noticed the following syntax senlin webhook-create [-c <CLUSTER>] [-n <NODE>] [-p <POLICY>] and wanted to ask what if one supplies only -p09:06
Qimingoh, no, that is a mistake!!09:07
Qimingin getting_started doc again?09:07
aviwIts in CLI shell.09:07
Qimingoh, I see09:08
Qimingit is confusing09:08
Qimingit is deprecated option09:08
Qimingpreviously, we have actions defined for policy objects09:09
Qimingso you can do this: senlin webhook-create -p mypolicy -a POLICY_DISABLE webhook109:09
Qiminga few weeks ago, we decided to remove policy actions because they are not needed09:09
Qimingso a client side fix is obviously needed09:10
aviwI see now.09:10
aviwYep, or maybe to indicate that its deprecated.09:10
Qiming:) just delete it09:10
aviwThank you for the explanations. Now its clear :-)09:11
Qimingit is fortunate we find these kind of problems earlier09:11
Qimingor else we have to label it 'deprecated' and answer questions like: when will it go away?09:12
*** Shijia has quit IRC09:16
openstackgerritQiming Teng proposed openstack/python-senlinclient: Delete deprecated 'policy' option for webhook create  https://review.openstack.org/23795309:16
Qimingaviw, patched ^09:16
aviwQiming, I will use this patch. thx09:19
QimingYanyanhu, with project_safe patches landed, I think we can address this now: https://bugs.launchpad.net/senlin/+bug/146592409:23
openstackLaunchpad bug 1465924 in senlin "Filters cluster list and node list APIs are not consistent" [High,Triaged]09:23
aviwQiming, I think that https://github.com/openstack/senlin/blob/master/doc/source/getting_started/webhooks.rst should be revised as well (step #3)09:24
openstackgerritMerged openstack/senlin: Fix setup service call in doc  https://review.openstack.org/23787309:30
*** openstackgerrit has quit IRC09:31
*** openstackgerrit has joined #senlin09:32
openstackgerritQiming Teng proposed openstack/senlin: Remove unnecessary code in webhook logic  https://review.openstack.org/23796309:44
*** elynn has quit IRC10:07
*** zhenguo has quit IRC10:10
*** Yanyanhu has quit IRC10:25
*** Qiming has quit IRC10:45
*** aviw has quit IRC11:15
*** Qiming has joined #senlin11:33
*** Qiming has quit IRC11:35
*** openstackgerrit has quit IRC12:16
*** openstackgerrit has joined #senlin12:17
*** Qiming has joined #senlin13:29
*** lkarm has joined #senlin13:32
openstackgerritMerged openstack/senlin: Remove unnecessary code in webhook logic  https://review.openstack.org/23796313:36
*** jdandrea has joined #senlin13:40
*** jongchoi has joined #senlin14:09
*** pratikmallya has joined #senlin14:19
*** pratikma_ has joined #senlin14:20
*** pratikmallya has quit IRC14:23
*** jongchoi has quit IRC14:28
*** Qiming has quit IRC16:11
*** pratikma_ has quit IRC16:25
*** pratikmallya has joined #senlin16:30
*** pratikmallya has quit IRC16:35
*** lkarm has quit IRC16:57
*** pratikmallya has joined #senlin17:09
*** pratikma_ has joined #senlin17:10
*** pratikmallya has quit IRC17:14
*** lkarm has joined #senlin17:25
*** lkarm has quit IRC17:27
*** lkarm_ has joined #senlin17:27
*** lkarm has joined #senlin17:28
*** lkarm_ has quit IRC17:32
*** pratikma_ is now known as pratikmallya18:08
*** pratikmallya has left #senlin18:08
*** lkarm has quit IRC20:48
*** jongchoi_ has joined #senlin21:11
*** jongchoi_ has quit IRC22:02
*** jongchoi_ has joined #senlin22:06
*** jongchoi_ has quit IRC22:10
*** lkarm has joined #senlin23:00
*** lkarm has quit IRC23:05
*** Qiming has joined #senlin23:39

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