*** zhurong has joined #cloudkitty | 01:18 | |
openstackgerrit | Jiong Liu proposed openstack/cloudkitty: Use international logging message https://review.openstack.org/352481 | 01:44 |
---|---|---|
*** zhurong_ has joined #cloudkitty | 02:31 | |
*** zhurong has quit IRC | 02:35 | |
*** gongysh has joined #cloudkitty | 02:58 | |
openstackgerrit | zhangguoqing proposed openstack/cloudkitty: fix and enhance devstack plugin https://review.openstack.org/352464 | 03:38 |
openstackgerrit | zhangguoqing proposed openstack/cloudkitty: fix and enhance devstack plugin https://review.openstack.org/352464 | 04:54 |
*** vint_bra has joined #cloudkitty | 05:15 | |
*** vint_bra has quit IRC | 05:36 | |
*** zhangguoqing has joined #cloudkitty | 06:04 | |
zhangguoqing | Hiall, please review: | 06:56 |
zhangguoqing | fix and enhance devstack plugin https://review.openstack.org/#/c/352464/ | 06:56 |
*** saphi has joined #cloudkitty | 07:39 | |
saphi | hello everyone. Have you ever tried cloudkitty with openstack mitaka? | 07:39 |
sheeprine | saphi: We run our devstack tests on top of Mitaka | 08:12 |
sheeprine | Do you have any issues? | 08:12 |
saphi | I have a problem. When I using command line `cloudkitty`, It told "You must provide a tenant_id via either --os-tenant-id or via env[OS_TENANT_ID]". But tenant was deprecated. | 08:15 |
sheeprine | so you are using project_id right? | 08:15 |
saphi | sheeprine yes. | 08:16 |
saphi | how to fix it? | 08:17 |
sheeprine | The fix might have been merged in master | 08:22 |
sheeprine | are you running devstack? | 08:22 |
saphi | No I installed packages from mitaka repo. | 08:22 |
sheeprine | Ok | 08:24 |
saphi | I think the problem because of cloudkittyclient in shell.py (line 250) | 08:24 |
sheeprine | Maybe you can try creating a virtualenv and install python-cloudkittyclient from master | 08:24 |
sheeprine | do you want to try that? | 08:24 |
sheeprine | Would you mind setting tenant_id in your env just to bypass this check? | 08:26 |
sheeprine | saphi: I saw line 250 and it might be that | 08:27 |
sheeprine | What happens if you set tenant_id? | 08:27 |
saphi | When I set tenant_id, It can't authen with keystone. | 08:28 |
saphi | error : root@controller:/home/saphi/scripts# cloudkitty --os-tenant-id admin module-list | 08:28 |
saphi | The request you have made requires authentication. (HTTP 401) (Request-ID: req-41d32953-bffe-4c26-8f27-51a4b304400a) | 08:28 |
saphi | I am installing python-cloudkittyclient. I will try with master branch. | 08:31 |
sheeprine | Try it in a virtualenv, a patch was merged to use keystoneclient and sessions | 08:32 |
sheeprine | I want to see if it's helping or not | 08:33 |
sheeprine | but #250 is definitly a bug | 08:33 |
saphi | Yes/ Thank for you reply/ | 08:36 |
saphi | sheeprine Not working | 08:44 |
sheeprine | same error? | 08:45 |
saphi | Yes | 08:45 |
*** saphi_ has joined #cloudkitty | 08:49 | |
*** saphi has quit IRC | 08:49 | |
sheeprine | can you try to remove the checks on line #250 in the file in your venv? | 08:59 |
sheeprine | Just to check if things get better | 08:59 |
*** saphi_ has quit IRC | 09:07 | |
*** saphi has joined #cloudkitty | 09:11 | |
saphi | sheeprine. I commented these lines. But That lead an error: Authentication failed. Missing options: token, endpoint, tenant_id, tenant_name | 09:12 |
sheeprine | ok, looks like it's forcing keystonev2 | 09:12 |
saphi | :( I think It still doesn't support keystonev3 | 09:14 |
sheeprine | There is some autodiscovery | 09:14 |
sheeprine | saphi: Can you check that you have set at least one of these? user_domain_id or user_domain_name or project_domain_id or project_domain_name | 09:16 |
saphi | (cloudkitty-client) root@controller:/home/saphi/cloudkitty-client/bin# env | grep OS | 09:16 |
saphi | OS_USER_DOMAIN_NAME=default | 09:16 |
saphi | OS_IMAGE_API_VERSION=2 | 09:16 |
saphi | OS_PROJECT_NAME=admin | 09:16 |
saphi | OS_IDENTITY_API_VERSION=3 | 09:16 |
saphi | OS_PASSWORD=Welcome123 | 09:16 |
saphi | OS_AUTH_URL=http://10.0.0.21:35357/v3 | 09:16 |
saphi | OS_USERNAME=admin | 09:16 |
saphi | LESSCLOSE=/usr/bin/lesspipe %s %s | 09:16 |
saphi | OS_PROJECT_DOMAIN_NAME=default | 09:16 |
saphi | I'm using env_vars | 09:16 |
*** gongysh has quit IRC | 09:30 | |
*** zhurong_ has quit IRC | 10:05 | |
*** zhangguoqing has quit IRC | 10:08 | |
*** zhangguoqing has joined #cloudkitty | 11:01 | |
*** saphi has quit IRC | 11:23 | |
*** sergio_nubeliu has joined #cloudkitty | 12:01 | |
*** zhurong has joined #cloudkitty | 12:15 | |
*** vint_bra has joined #cloudkitty | 13:01 | |
*** vint_bra has quit IRC | 13:06 | |
*** vint_bra has joined #cloudkitty | 13:15 | |
*** vint_bra has quit IRC | 13:20 | |
openstackgerrit | zhangguoqing proposed openstack/cloudkitty: fix and enhance devstack plugin https://review.openstack.org/352464 | 14:12 |
openstackgerrit | zhangguoqing proposed openstack/cloudkitty: [docs] modify the install and configure section https://review.openstack.org/352928 | 14:12 |
openstackgerrit | zhangguoqing proposed openstack/cloudkitty: [docs] modify the install and configure section https://review.openstack.org/352928 | 14:15 |
openstackgerrit | zhangguoqing proposed openstack/cloudkitty: [WIP][docs] update install from packages for mitaka https://review.openstack.org/352946 | 14:46 |
*** vint_bra has joined #cloudkitty | 15:01 | |
openstackgerrit | zhangguoqing proposed openstack/cloudkitty: [docs] modify the install and configure section https://review.openstack.org/352928 | 15:02 |
openstackgerrit | zhangguoqing proposed openstack/cloudkitty: [WIP][docs] update install from packages for mitaka https://review.openstack.org/352946 | 15:05 |
*** zhangguoqing has quit IRC | 15:06 | |
*** gongysh has joined #cloudkitty | 15:14 | |
*** gongysh has quit IRC | 15:57 | |
*** zhurong has quit IRC | 16:07 | |
openstackgerrit | Merged openstack/cloudkitty: Use international logging message https://review.openstack.org/352481 | 16:27 |
*** sergio_nubeliu has quit IRC | 20:47 | |
*** vint_bra has quit IRC | 22:40 | |
*** vint_bra has joined #cloudkitty | 22:40 | |
*** vint_bra has quit IRC | 22:45 | |
*** gongysh has joined #cloudkitty | 23:32 | |
*** zhurong has joined #cloudkitty | 23:44 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!