*** Qiming has joined #senlin | 00:16 | |
openstackgerrit | Merged openstack/python-senlinclient: Strips off the quotes when showing nested table https://review.openstack.org/234608 | 00:19 |
---|---|---|
*** shu has joined #senlin | 00:21 | |
openstackgerrit | Merged openstack/senlin: Mark branch as 0.1 https://review.openstack.org/236884 | 00:23 |
openstackgerrit | Merged openstack/senlin: Revise nova server get_details call https://review.openstack.org/233405 | 00:23 |
*** Qiming has quit IRC | 00:31 | |
*** pratikmallya has joined #senlin | 01:19 | |
*** Qiming has joined #senlin | 01:21 | |
*** lkarm has joined #senlin | 01:34 | |
*** pratikmallya has quit IRC | 01:37 | |
*** lkarm has quit IRC | 01:39 | |
*** Yanyanhu has joined #senlin | 01:48 | |
*** elynn has joined #senlin | 02:01 | |
elynn | morning | 02:06 |
*** jdandrea has quit IRC | 02:17 | |
openstackgerrit | Yanyan Hu proposed openstack/senlin: Make event related DB queries project safe https://review.openstack.org/237378 | 02:19 |
Qiming | morning | 02:20 |
Yanyanhu | morning | 02:20 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-senlinclient: Updated from global requirements https://review.openstack.org/237327 | 02:33 |
Yanyanhu | hi, 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 |
Qiming | still working on it | 02:36 |
Yanyanhu | ok | 02:36 |
Qiming | the 0.1 release cannot be uploaded | 02:36 |
Qiming | when it is done, will change setup.cfg | 02:36 |
Yanyanhu | understand | 02:37 |
Qiming | don't know what happened | 02:37 |
Qiming | neither 0.1 nor 0.1.0 is accepted | 02:37 |
Yanyanhu | different from what we met when handling senlinclient... | 02:38 |
Qiming | yes | 02:39 |
Qiming | do you need setup.cfg for some reasons? | 02:39 |
Yanyanhu | just try to merge several patches and found pbr version error was given by gate | 02:39 |
Yanyanhu | so I guess this could be the reason | 02:39 |
openstackgerrit | Qiming Teng proposed openstack/senlin: Retry package release https://review.openstack.org/237855 | 02:42 |
Qiming | don't think so | 02:42 |
Yanyanhu | em, will dig the reason | 02:43 |
Qiming | gerrit is reject requests ... sigh | 02:45 |
Yanyanhu | ... | 02:45 |
Yanyanhu | found a mail writen by robert collins http://comments.gmane.org/gmane.comp.cloud.openstack.devel/52597 | 02:46 |
Yanyanhu | but not quite understand what he means... | 02:46 |
Yanyanhu | still try to understand it | 02:46 |
openstackgerrit | Qiming Teng proposed openstack/senlin: Retry package release https://review.openstack.org/237855 | 02:49 |
*** Shijia has joined #senlin | 02:50 | |
openstackgerrit | Qiming Teng proposed openstack/senlin: Retry package release https://review.openstack.org/237855 | 02:51 |
Qiming | seems tarballs are created successfully | 02:55 |
Qiming | http://tarballs.openstack.org/senlin/ | 02:55 |
Qiming | but just simply cannot find it on pypi | 02:55 |
Yanyanhu | yes | 02:55 |
Yanyanhu | it is there | 02:56 |
Yanyanhu | just can search it I think | 02:56 |
Yanyanhu | can/can't | 02:56 |
Yanyanhu | 2015-10-21 senlin 0.1.1 OpenStack Clustering | 02:56 |
Qiming | ah, finally | 02:56 |
Qiming | 0.1 failed, 0.1.0 failed | 02:56 |
Yanyanhu | https://pypi.python.org/pypi/senlin/0.1.1 | 02:56 |
Yanyanhu | umm... | 02:57 |
Qiming | 0.1.0 was successful too | 02:57 |
Qiming | just 0.1 failed | 02:57 |
Yanyanhu | ok | 02:58 |
Yanyanhu | so that means our next target version is 0.1.2 | 02:59 |
Yanyanhu | the temporary of all commits will be 0.1.2.devxxx? | 03:00 |
Qiming | still waiting for gerrit response | 03:02 |
openstackgerrit | Qiming Teng proposed openstack/senlin: Bump development version to 0.2.0 https://review.openstack.org/237855 | 03:05 |
openstackgerrit | Imran Hayder Malik proposed openstack/senlin: Add option to generate sample conf file. https://review.openstack.org/237858 | 03:13 |
openstackgerrit | Imran Hayder Malik proposed openstack/senlin: Add option to generate sample conf file. https://review.openstack.org/237858 | 03:31 |
openstackgerrit | Qiming Teng proposed openstack/senlin: Fixed typo in getting started doc https://review.openstack.org/237862 | 03:31 |
openstackgerrit | Merged openstack/senlin: Bump development version to 0.2.0 https://review.openstack.org/237855 | 03:31 |
openstackgerrit | Yanyan Hu proposed openstack/senlin: Make event related DB queries project safe https://review.openstack.org/237378 | 03:34 |
openstackgerrit | Yanyan Hu proposed openstack/senlin: Make trigger related DB queries project safe https://review.openstack.org/237384 | 03:34 |
openstackgerrit | Yanyan Hu proposed openstack/senlin: Make webhook related DB query project safe https://review.openstack.org/236841 | 03:34 |
openstackgerrit | Qiming Teng proposed openstack/senlin: Fixed typo in getting started doc https://review.openstack.org/237862 | 03:39 |
openstackgerrit | Merged openstack/senlin: Make event related DB queries project safe https://review.openstack.org/237378 | 03:42 |
openstackgerrit | Imran Hayder Malik proposed openstack/senlin: Add option to generate sample conf file. https://review.openstack.org/237858 | 03:43 |
openstackgerrit | Merged openstack/senlin: Make trigger related DB queries project safe https://review.openstack.org/237384 | 03:44 |
openstackgerrit | Merged openstack/senlin: Make webhook related DB query project safe https://review.openstack.org/236841 | 03:45 |
*** lkarm has joined #senlin | 03:50 | |
*** lkarm has quit IRC | 03:55 | |
openstackgerrit | Qiming Teng proposed openstack/senlin: Fix setup service call in doc https://review.openstack.org/237873 | 04:55 |
openstackgerrit | Merged openstack/senlin: Add option to generate sample conf file. https://review.openstack.org/237858 | 04:58 |
Yanyanhu | hi, Qiming, upgrading my requests version to 2.8.1 solved the ssl problem I met | 04:58 |
openstackgerrit | Qiming Teng proposed openstack/senlin: Rename gen_pot to gen-pot-files https://review.openstack.org/237875 | 04:58 |
Qiming | ok | 04:59 |
Qiming | it was caused by? | 05:00 |
Qiming | oh, nice, pushed patch on master again | 05:01 |
Yanyanhu | the search result said some code about ssl connection in requests 2.7.0 could have some problems | 05:01 |
Qiming | ... | 05:01 |
Yanyanhu | another suggestion is installing extra security packages | 05:01 |
Qiming | my question is about the 'ssl problem', what caused that? | 05:01 |
Yanyanhu | oh, you mean when it happened? | 05:02 |
Yanyanhu | just when I ran pip install | 05:02 |
Qiming | what cause pip install to fail? | 05:03 |
Yanyanhu | not so sure, just got a warning of this: A true SSLContext object is not available. | 05:03 |
Qiming | it is not an error message right? | 05:04 |
Yanyanhu | yes | 05:04 |
Yanyanhu | it's not I think | 05:04 |
Qiming | okay | 05:04 |
Qiming | if it is an error, then it means all openstack projects will have the same problem | 05:04 |
Qiming | and you have a suggestion to bump requests to 2.8.1 | 05:05 |
Qiming | that is something you need to propose to global requirements | 05:05 |
Yanyanhu | hmm, that's true. Maybe it is not the real reason that made my pip installing failed... | 05:05 |
openstackgerrit | Merged openstack/senlin: Fixed typo in getting started doc https://review.openstack.org/237862 | 05:06 |
Qiming | pip install failure is something serious IMO | 05:11 |
Yanyanhu | yes | 05:11 |
Yanyanhu | now I doubte maybe it was caused by my network's problem | 05:12 |
Yanyanhu | since the warning is still there, but I can install packages | 05:12 |
*** openstackgerrit has quit IRC | 05:16 | |
*** openstackgerrit has joined #senlin | 05:17 | |
Qiming | okay | 05:21 |
Qiming | you didn't read the error message, ;) | 05:21 |
Yanyanhu | yes... | 05:21 |
Qiming | Yanyanhu, pls help review this: https://review.openstack.org/#/c/237875/ | 05:36 |
Qiming | it was on master branch, sigh | 05:36 |
Yanyanhu | ok | 05:36 |
*** Shijia has quit IRC | 06:16 | |
*** Shijia has joined #senlin | 06:17 | |
openstackgerrit | Merged openstack/senlin: Rename gen_pot to gen-pot-files https://review.openstack.org/237875 | 06:21 |
*** lkarm has joined #senlin | 06:22 | |
*** lkarm has quit IRC | 06:26 | |
*** Shijia has quit IRC | 06:28 | |
*** Shijia has joined #senlin | 06:30 | |
*** elynn has quit IRC | 07:07 | |
*** elynn has joined #senlin | 07:07 | |
*** Shijia has quit IRC | 07:24 | |
*** Shijia has joined #senlin | 07:25 | |
openstackgerrit | Qiming Teng proposed openstack/senlin: Complete README file under tools subdirectory https://review.openstack.org/237911 | 07:27 |
*** Shijia has quit IRC | 07:28 | |
*** Shijia has joined #senlin | 07:28 | |
*** jongchoi has joined #senlin | 07:31 | |
*** lixinhui has joined #senlin | 07:49 | |
*** aviw has joined #senlin | 08:01 | |
Qiming | Yanyanhu, regarding this: https://review.openstack.org/237911 | 08:21 |
Yanyanhu | yes? | 08:21 |
Qiming | I am not sure we need to do 'source devstack/openrc admin admin' | 08:21 |
Yanyanhu | so the user only need to have 'admin' role | 08:22 |
Qiming | the second 'admin' changes the project | 08:22 |
*** lkarm has joined #senlin | 08:22 | |
Yanyanhu | yes, just thought the admin user created by devstack during installation progress is in admin project by default | 08:23 |
Qiming | I'm not sure switching to the 'admin' project is necessary | 08:23 |
Yanyanhu | so I guess only switching username to admin could make the username and tenant unmatch | 08:23 |
Yanyanhu | let me have a try in my local env | 08:23 |
Qiming | ok | 08:23 |
*** Shijia has quit IRC | 08:24 | |
Qiming | my guess is that 'admin' username is so special | 08:24 |
Qiming | we are not talking about roles yet | 08:24 |
*** Shijia has joined #senlin | 08:24 | |
Qiming | that will further complicate the configuration setp | 08:24 |
Qiming | step | 08:24 |
Yanyanhu | yes, that's true | 08:25 |
Yanyanhu | your change works in my env | 08:26 |
Yanyanhu | so we don't need to set tenant name to admin I think just as you said | 08:26 |
Qiming | my intent is to make just necessary change | 08:26 |
Qiming | not full change | 08:26 |
Yanyanhu | ok | 08:26 |
Qiming | if you switch to admin project and you didn't realize that | 08:26 |
Qiming | ... | 08:26 |
*** lkarm has quit IRC | 08:27 | |
Yanyanhu | yes, that's what we want to avoid | 08:27 |
*** jongchoi has quit IRC | 08:48 | |
aviw | Hi, 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 supply | 08:50 |
aviw | an action too. | 08:50 |
openstackgerrit | Qiming Teng proposed openstack/senlin: Complete README file under tools subdirectory https://review.openstack.org/237911 | 08:56 |
Qiming | aviw, the action will be CLUSTER_DEL_NODES or CLUSTER_SCALE_IN | 08:56 |
Qiming | if you check the the source file: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/policies/deletion_policy.py#n73 | 08:57 |
Qiming | you will see that the deletion policy is to be invoked before the specified actions are executed | 08:57 |
Qiming | so ... another note | 08:58 |
Qiming | the concepts are a little different from that in Heat if you have a Heat background | 08:58 |
Qiming | a webhook doesn't trigger a policy | 08:58 |
Qiming | a webhook triggers an action instead | 08:59 |
Qiming | before/after that action is executed, some policies would be checked and/or enforced | 08:59 |
aviw | Qiming, I see. | 09:00 |
*** openstackgerrit has quit IRC | 09:01 | |
*** openstackgerrit has joined #senlin | 09:02 | |
aviw | Qiming, 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 |
Qiming | an action will be triggered from a webhook (if properly created) | 09:04 |
aviw | I think I would like to ask, who consumes the action in case it got created alongside with a policy? | 09:04 |
Qiming | this is independent from the policies attached, i.e. there may and may not be policies attached when actions are triggered | 09:05 |
Qiming | aviw, 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 later | 09:06 |
aviw | I see. I noticed the following syntax senlin webhook-create [-c <CLUSTER>] [-n <NODE>] [-p <POLICY>] and wanted to ask what if one supplies only -p | 09:06 |
Qiming | oh, no, that is a mistake!! | 09:07 |
Qiming | in getting_started doc again? | 09:07 |
aviw | Its in CLI shell. | 09:07 |
Qiming | oh, I see | 09:08 |
Qiming | it is confusing | 09:08 |
Qiming | it is deprecated option | 09:08 |
Qiming | previously, we have actions defined for policy objects | 09:09 |
Qiming | so you can do this: senlin webhook-create -p mypolicy -a POLICY_DISABLE webhook1 | 09:09 |
Qiming | a few weeks ago, we decided to remove policy actions because they are not needed | 09:09 |
Qiming | so a client side fix is obviously needed | 09:10 |
aviw | I see now. | 09:10 |
aviw | Yep, or maybe to indicate that its deprecated. | 09:10 |
Qiming | :) just delete it | 09:10 |
aviw | Thank you for the explanations. Now its clear :-) | 09:11 |
Qiming | it is fortunate we find these kind of problems earlier | 09:11 |
Qiming | or else we have to label it 'deprecated' and answer questions like: when will it go away? | 09:12 |
*** Shijia has quit IRC | 09:16 | |
openstackgerrit | Qiming Teng proposed openstack/python-senlinclient: Delete deprecated 'policy' option for webhook create https://review.openstack.org/237953 | 09:16 |
Qiming | aviw, patched ^ | 09:16 |
aviw | Qiming, I will use this patch. thx | 09:19 |
Qiming | Yanyanhu, with project_safe patches landed, I think we can address this now: https://bugs.launchpad.net/senlin/+bug/1465924 | 09:23 |
openstack | Launchpad bug 1465924 in senlin "Filters cluster list and node list APIs are not consistent" [High,Triaged] | 09:23 |
aviw | Qiming, 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 |
openstackgerrit | Merged openstack/senlin: Fix setup service call in doc https://review.openstack.org/237873 | 09:30 |
*** openstackgerrit has quit IRC | 09:31 | |
*** openstackgerrit has joined #senlin | 09:32 | |
openstackgerrit | Qiming Teng proposed openstack/senlin: Remove unnecessary code in webhook logic https://review.openstack.org/237963 | 09:44 |
*** elynn has quit IRC | 10:07 | |
*** zhenguo has quit IRC | 10:10 | |
*** Yanyanhu has quit IRC | 10:25 | |
*** Qiming has quit IRC | 10:45 | |
*** aviw has quit IRC | 11:15 | |
*** Qiming has joined #senlin | 11:33 | |
*** Qiming has quit IRC | 11:35 | |
*** openstackgerrit has quit IRC | 12:16 | |
*** openstackgerrit has joined #senlin | 12:17 | |
*** Qiming has joined #senlin | 13:29 | |
*** lkarm has joined #senlin | 13:32 | |
openstackgerrit | Merged openstack/senlin: Remove unnecessary code in webhook logic https://review.openstack.org/237963 | 13:36 |
*** jdandrea has joined #senlin | 13:40 | |
*** jongchoi has joined #senlin | 14:09 | |
*** pratikmallya has joined #senlin | 14:19 | |
*** pratikma_ has joined #senlin | 14:20 | |
*** pratikmallya has quit IRC | 14:23 | |
*** jongchoi has quit IRC | 14:28 | |
*** Qiming has quit IRC | 16:11 | |
*** pratikma_ has quit IRC | 16:25 | |
*** pratikmallya has joined #senlin | 16:30 | |
*** pratikmallya has quit IRC | 16:35 | |
*** lkarm has quit IRC | 16:57 | |
*** pratikmallya has joined #senlin | 17:09 | |
*** pratikma_ has joined #senlin | 17:10 | |
*** pratikmallya has quit IRC | 17:14 | |
*** lkarm has joined #senlin | 17:25 | |
*** lkarm has quit IRC | 17:27 | |
*** lkarm_ has joined #senlin | 17:27 | |
*** lkarm has joined #senlin | 17:28 | |
*** lkarm_ has quit IRC | 17:32 | |
*** pratikma_ is now known as pratikmallya | 18:08 | |
*** pratikmallya has left #senlin | 18:08 | |
*** lkarm has quit IRC | 20:48 | |
*** jongchoi_ has joined #senlin | 21:11 | |
*** jongchoi_ has quit IRC | 22:02 | |
*** jongchoi_ has joined #senlin | 22:06 | |
*** jongchoi_ has quit IRC | 22:10 | |
*** lkarm has joined #senlin | 23:00 | |
*** lkarm has quit IRC | 23:05 | |
*** Qiming has joined #senlin | 23:39 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!