*** shu has joined #senlin | 00:50 | |
*** jdandrea has quit IRC | 01:05 | |
*** xuhaiwei has joined #senlin | 01:16 | |
*** Yanyanhu has joined #senlin | 01:28 | |
openstackgerrit | Merged stackforge/senlin: Rework context initialization in action module https://review.openstack.org/221676 | 01:32 |
---|---|---|
*** shu has quit IRC | 01:45 | |
*** zhenguo has joined #senlin | 01:50 | |
*** shu has joined #senlin | 02:25 | |
*** zhenguo has quit IRC | 02:28 | |
*** zhenguo has joined #senlin | 02:33 | |
openstackgerrit | xu-haiwei proposed stackforge/python-senlinclient: Add test case for shell(part2) https://review.openstack.org/223507 | 02:34 |
openstackgerrit | lawrancejing proposed stackforge/senlin: Remove extra comma https://review.openstack.org/223898 | 02:42 |
*** lawrancejing has joined #senlin | 02:42 | |
*** gongysh has joined #senlin | 02:45 | |
openstackgerrit | Merged stackforge/senlin: Fix trust parameter error https://review.openstack.org/222060 | 02:48 |
openstackgerrit | Merged stackforge/senlin: Remove extra comma https://review.openstack.org/223898 | 03:12 |
*** Qiming has joined #senlin | 03:17 | |
*** lawrancejing has quit IRC | 03:43 | |
*** lawrancejing has joined #senlin | 03:43 | |
*** lawrancejing has quit IRC | 03:54 | |
*** lawrancejing has joined #senlin | 03:56 | |
*** elynn has joined #senlin | 04:03 | |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: [WIP]Add functional test for webhook https://review.openstack.org/223445 | 04:31 |
openstackgerrit | Shu Muto proposed stackforge/senlin-dashboard: Add row delete action in profiles table And add "Delete Profiles" action to table. https://review.openstack.org/223352 | 06:01 |
*** xuhaiwei has quit IRC | 06:19 | |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: Add functional test for webhook https://review.openstack.org/223445 | 06:22 |
openstackgerrit | Merged stackforge/senlin-dashboard: Add row delete action in profiles table And add "Delete Profiles" action to table. https://review.openstack.org/223352 | 06:58 |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: Add functional test for webhook https://review.openstack.org/223445 | 07:08 |
*** Qiming has quit IRC | 07:19 | |
*** zhenguo has quit IRC | 07:19 | |
*** Qiming has joined #senlin | 07:24 | |
*** zhenguo has joined #senlin | 07:24 | |
Qiming | what happened? | 07:26 |
Qiming | all of a sudden, everyone disappeared, then in a second, everyone is now showing up | 07:27 |
Yanyanhu | network connection broke? | 07:27 |
Qiming | I am seeing myself connected | 07:27 |
Qiming | but you all disappeared | 07:27 |
Yanyanhu | or the freenode's problem? | 07:28 |
Qiming | could be | 07:28 |
Qiming | I'm still talking to myself? | 07:29 |
Qiming | or maybe just you and me, Yanyanhu ? | 07:30 |
Qiming | I think zhenguo and I are using the same server, so I only saw him online, :) | 07:31 |
elynn | I'm online too | 07:32 |
Qiming | I was seeing a lot of messages like this "cmyster left (*.net *.split)" | 07:33 |
*** Yanyanhu has quit IRC | 07:33 | |
Qiming | em | 07:33 |
*** Yanyanhu has joined #senlin | 07:33 | |
Qiming | looks like I was hit by some network split problem | 07:33 |
Yanyanhu | me too | 07:34 |
Yanyanhu | bunch of disconnection just happened | 07:34 |
Qiming | it looked like I am the only man in the world at that moment | 07:35 |
Yanyanhu | :) | 07:36 |
*** xuhaiwei has joined #senlin | 08:12 | |
*** xuhaiwei_ has joined #senlin | 08:14 | |
xuhaiwei_ | hi Qiming | 08:14 |
*** xuhaiwei has quit IRC | 08:16 | |
*** xuhaiwei_ has quit IRC | 08:19 | |
*** xuhaiwei has joined #senlin | 08:19 | |
xuhaiwei | I am dropping again and again | 08:20 |
xuhaiwei | dont know whether you are around | 08:20 |
xuhaiwei | I think the -C option of webhook-create is not working properly | 08:20 |
xuhaiwei | As I tested, it works but only works when 'project_id' is contained in the -C option, user and password seems not necessary | 08:23 |
Yanyanhu | hi, xuhaiwei, it works in my env when I set both username/password/user_domain_name | 08:31 |
xuhaiwei | without project_id? | 08:31 |
xuhaiwei | I mean can you trigger it? | 08:32 |
Yanyanhu | like this: | 08:32 |
Yanyanhu | senlin --debug webhook-create -c c-01 -a CLUSTER_SCALE_OUT -C 'username=test-user;password=123456;user_domain_name=Default' webhook-01 | 08:32 |
Yanyanhu | yes | 08:32 |
Yanyanhu | it works | 08:32 |
Yanyanhu | the test-user is in demo project | 08:32 |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: Clean node lb info after detaching lb_policy https://review.openstack.org/223965 | 08:33 |
Yanyanhu | it only has __member__ role | 08:33 |
Yanyanhu | what error happened in your env? | 08:33 |
xuhaiwei | I got 403 when triggering the url | 08:33 |
Yanyanhu | ah, I guess this is because you use different user's credential from the one who created the webhook? | 08:34 |
xuhaiwei | no, I think | 08:34 |
Yanyanhu | e.g. user1 created webhook with user2's credential provided in -C option | 08:34 |
Yanyanhu | so the same user? | 08:35 |
xuhaiwei | yes | 08:35 |
Yanyanhu | hmm, weird | 08:35 |
Yanyanhu | or your policy file is old in /etc/senlin? | 08:35 |
Yanyanhu | "admin_or_owner": "is_admin:True or project:%(project)s" | 08:36 |
xuhaiwei | just refreshed it a few days ago | 08:36 |
xuhaiwei | now it is project | 08:36 |
xuhaiwei | yes | 08:36 |
Yanyanhu | ok | 08:36 |
Yanyanhu | that's correct | 08:36 |
xuhaiwei | but I am not using user_domain_name | 08:36 |
xuhaiwei | that is the problem? | 08:36 |
xuhaiwei | I think it is 'Default' by default if I dont give a value | 08:37 |
Yanyanhu | hmm, maybe, since I think this parameter is needed to build trust at the first time user access senlin service | 08:37 |
Yanyanhu | oh, sorry, I was wrong | 08:37 |
Yanyanhu | let me check the code | 08:37 |
Yanyanhu | http://git.openstack.org/cgit/stackforge/senlin/tree/senlin/api/middleware/webhook.py#n56 | 08:38 |
xuhaiwei | when I use user_domain_name, I got an InternalError | 08:39 |
Yanyanhu | ok, where it happened? | 08:40 |
xuhaiwei | when get_token | 08:40 |
Yanyanhu | so you provided both project_id and user_domain_name? | 08:40 |
xuhaiwei | senlin/drivers/openstack/keystone_v3.py | 08:40 |
xuhaiwei | no, just user_domain_name | 08:41 |
xuhaiwei | only it seems only project_id is needed | 08:41 |
Yanyanhu | can't remeber this exactly | 08:42 |
xuhaiwei | i provided project_id as 'demo' without username and password, the default user should be 'senlin', but senlin is not in the demo project i think | 08:42 |
Yanyanhu | no, senlin is not | 08:43 |
xuhaiwei | but it works | 08:43 |
Yanyanhu | so the project id and username mismatched | 08:43 |
xuhaiwei | seems so | 08:44 |
Yanyanhu | yes, since if you don't provide username and password, senlin user will be used | 08:44 |
Yanyanhu | this is weird, since if only 'demo' project_id is provided, it should conflict with senlin user | 08:47 |
Yanyanhu | the token_get should fail | 08:47 |
xuhaiwei | yes | 08:48 |
Yanyanhu | or it didn't take effect actually | 08:48 |
xuhaiwei | in your environment, it works? | 08:48 |
Yanyanhu | only senlin service's username/password/user_domain_name took effect | 08:48 |
Yanyanhu | yes | 08:48 |
Yanyanhu | it works | 08:48 |
xuhaiwei | {'scope': {'project': {'id': u'9e743ff659b24887976f1d586977a4ae'}}, 'identity': {'password': {'user': {'domain': {'name': 'Default'}, 'password': u'openstack', 'name': 'senlin'}}, 'methods': ['password']}}) | 08:49 |
xuhaiwei | this the body of request sent from SDK to get a token | 08:49 |
Yanyanhu | 9exxx is the id of demo project? | 08:49 |
xuhaiwei | yes | 08:50 |
Yanyanhu | weird | 08:51 |
Yanyanhu | maybe you can try to query a token manually using this param? | 08:51 |
Yanyanhu | to see whether it works | 08:51 |
Yanyanhu | let me see how to do this | 08:51 |
xuhaiwei | seems possible | 08:52 |
Yanyanhu | hmm, seems the examples.authenticate of sdk doesn't work | 08:52 |
xuhaiwei | I have to go Yanyanhu | 08:54 |
xuhaiwei | will go on to it, tomorrow | 08:54 |
Yanyanhu | ok, we can discuss this issue later | 08:54 |
xuhaiwei | maybe it's just an environment problem | 08:55 |
xuhaiwei | thanks | 08:55 |
Yanyanhu | np :) | 08:55 |
Yanyanhu | hi, xuhaiwei, just made a test and found I can get token correctly using the following incorrect credential: | 09:18 |
Yanyanhu | curl -i -X 'POST' 'http://9.186.107.212:5000/v3/auth/tokens' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-openstacksdk/0.6.2 python-requests/2.7.0 CPython/2.7.5 Linux/3.10.0-229.1.2.el7.x86_64' --data '{"auth": {"scope": {"project": {"id": "fffcb88f30b34f7380f1781956edbbdc"}}, "identity": {"password": {"user": {"domain": {"name": "Default"}, "password": "123456", "name": "senlin"}}, "methods": | 09:18 |
Yanyanhu | ["password"]}}}' | 09:18 |
Yanyanhu | 'fffcbxxx' is actually the id of demo project, but senlin is in service project | 09:19 |
Yanyanhu | and the result is the same after I remove "scope" field | 09:19 |
Yanyanhu | so I guess if user "domain" field is provided in request body, project id will be ignored by keystone API | 09:20 |
Yanyanhu | and also if I replaced user 'name' by 'id' and removed user 'domain' field, it also worked although the project id in scope field is incorrect | 09:24 |
Yanyanhu | just leave these message here | 09:24 |
openstackgerrit | Merged stackforge/python-senlinclient: Add test case for shell(part2) https://review.openstack.org/223507 | 09:50 |
openstackgerrit | Merged stackforge/senlin: Clean node lb info after detaching lb_policy https://review.openstack.org/223965 | 09:51 |
openstackgerrit | Merged stackforge/senlin: Clean node lb info after detaching lb_policy https://review.openstack.org/223965 | 09:51 |
*** lawrancejing has quit IRC | 10:00 | |
*** lawrancejing has joined #senlin | 10:00 | |
*** lawrancejing has quit IRC | 10:01 | |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: Update TODO list https://review.openstack.org/224001 | 10:02 |
Yanyanhu | hi, Qiming, just made some updates on TODO.rst. Hope it can reflect the status correctly, could you please help to check it. Thanks. | 10:04 |
Qiming | sure | 10:04 |
Qiming | Yanyanhu, | 10:11 |
Qiming | do you have cinder service in your devstack env? | 10:11 |
Yanyanhu | hi, Qiming, yes I have. But I never used it | 10:17 |
Yanyanhu | let me check it out | 10:17 |
Qiming | ok | 10:17 |
Qiming | that's the point | 10:18 |
Qiming | I'm reinstalling my devstack env | 10:18 |
Qiming | need to know the name of cinder service to be excluded | 10:18 |
Qiming | can you help? | 10:18 |
Yanyanhu | sure | 10:18 |
Yanyanhu | let me have a look | 10:18 |
Yanyanhu | 6e8e08f606fe49f49474e9b88fe3b47c | cinder | volume | Cinder Volume Service | | 10:19 |
Yanyanhu | ba920a4cae2f4680a9684f97b2b0f535 | cinderv2 | volumev2 | Cinder Volume Service V2 | 10:19 |
Yanyanhu | there are two cinder related services | 10:19 |
Qiming | ... | 10:20 |
Qiming | I mean devstack | 10:20 |
Qiming | screen sessions | 10:20 |
Yanyanhu | oh | 10:20 |
Yanyanhu | let me check | 10:20 |
Qiming | I want to exclude them from installation | 10:21 |
Yanyanhu | ok | 10:21 |
Yanyanhu | c-api, c-sch and c-vol I think | 10:21 |
Qiming | okay | 10:22 |
Qiming | trying | 10:22 |
Yanyanhu | so just add them to disable list? | 10:22 |
Qiming | yes | 10:22 |
Qiming | I'm trying that | 10:22 |
Yanyanhu | ok | 10:23 |
* Qiming heading home | 10:28 | |
Qiming | by | 10:28 |
Qiming | e | 10:28 |
Yanyanhu | bye | 10:28 |
*** Yanyanhu has quit IRC | 10:33 | |
*** Qiming has quit IRC | 10:33 | |
*** elynn has quit IRC | 10:43 | |
openstackgerrit | Shu Muto proposed stackforge/senlin-dashboard: Add create action in profiles panel https://review.openstack.org/224036 | 11:10 |
*** lawrancejing has joined #senlin | 11:21 | |
*** gongysh has quit IRC | 11:24 | |
openstackgerrit | Shu Muto proposed stackforge/senlin-dashboard: Add create action in profiles panel https://review.openstack.org/224036 | 11:46 |
*** Qiming has joined #senlin | 11:51 | |
*** Qiming has quit IRC | 11:52 | |
*** Qiming has joined #senlin | 11:52 | |
*** Qiming has quit IRC | 11:54 | |
*** Qiming has joined #senlin | 11:55 | |
openstackgerrit | Merged stackforge/senlin: Update TODO list https://review.openstack.org/224001 | 12:12 |
*** xuhaiwei has quit IRC | 12:24 | |
*** lkarm has joined #senlin | 12:58 | |
*** zhenguo has quit IRC | 13:43 | |
*** jdandrea has joined #senlin | 13:50 | |
*** jruano has joined #senlin | 14:25 | |
*** openstackgerrit has quit IRC | 14:31 | |
*** openstackgerrit has joined #senlin | 14:32 | |
*** openstackgerrit has quit IRC | 15:01 | |
*** openstackgerrit has joined #senlin | 15:02 | |
*** Qiming has quit IRC | 15:28 | |
*** Qiming has joined #senlin | 16:05 | |
*** Qiming has quit IRC | 16:13 | |
openstackgerrit | lawrancejing proposed stackforge/senlin-dashboard: Add senlin dashboard test framwork https://review.openstack.org/224177 | 16:15 |
*** jruano has quit IRC | 16:36 | |
*** lkarm has quit IRC | 17:02 | |
*** lkarm has joined #senlin | 17:07 | |
*** lkarm has quit IRC | 17:29 | |
*** lkarm has joined #senlin | 17:37 | |
openstackgerrit | lawrancejing proposed stackforge/senlin-dashboard: Add senlin dashboard test framwork https://review.openstack.org/224177 | 17:51 |
*** lkarm has quit IRC | 17:53 | |
*** openstackgerrit has quit IRC | 18:16 | |
*** openstackgerrit has joined #senlin | 18:17 | |
*** jruano has joined #senlin | 18:50 | |
*** lkarm has joined #senlin | 19:15 | |
openstackgerrit | lawrancejing proposed stackforge/senlin-dashboard: Add senlin dashboard test framwork https://review.openstack.org/224177 | 19:58 |
*** lawrancejing has quit IRC | 20:06 | |
*** lkarm_ has joined #senlin | 20:41 | |
*** lkarm has quit IRC | 20:44 | |
*** lkarm_ has quit IRC | 21:27 | |
*** jruano has quit IRC | 22:31 | |
*** jruano has joined #senlin | 23:27 | |
*** lawrancejing has joined #senlin | 23:47 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!