*** yangyapeng has quit IRC | 00:15 | |
*** yangyapeng has joined #openstack-freezer | 01:20 | |
*** yangyape_ has joined #openstack-freezer | 01:23 | |
*** yangyapeng has quit IRC | 01:26 | |
*** sam_nowitzki has joined #openstack-freezer | 03:15 | |
*** lpetrut has joined #openstack-freezer | 06:34 | |
*** vAlexa_ has joined #openstack-freezer | 06:58 | |
*** vAlexa has quit IRC | 07:02 | |
*** neilus has joined #openstack-freezer | 07:02 | |
*** neilus has quit IRC | 07:08 | |
*** athinkingmeat has joined #openstack-freezer | 07:41 | |
*** lpetrut has quit IRC | 07:42 | |
athinkingmeat | hi | 07:44 |
---|---|---|
neilus_ | hi | 07:54 |
yangyape_ | hello guys | 07:54 |
athinkingmeat | i am trying to launch freezer-api, but for some reason it tries to connect to https://127.0.0.1:35357/v2.0/tokens for auth, even though endpoint is different. maybe you know how to solve this.. | 07:57 |
*** neilus has joined #openstack-freezer | 07:59 | |
*** neilus has quit IRC | 08:04 | |
*** lpetrut has joined #openstack-freezer | 08:38 | |
*** lpetrut has quit IRC | 08:50 | |
*** vAlexa_ is now known as vAlexa | 09:11 | |
neilus_ | what is your api config? eg | 09:15 |
neilus_ | vagrant@devstack:/opt/devstack$ cat /etc/freezer-api.conf |grep auth_host | 09:15 |
neilus_ | auth_host = 192.168.66.12 | 09:15 |
*** daemontool has joined #openstack-freezer | 09:31 | |
*** daemontool has quit IRC | 10:00 | |
*** c00281451 has quit IRC | 10:01 | |
athinkingmeat | neilus_: i don't have such setting, only auth_uri = http://10.249.19.31:5000/ | 10:14 |
athinkingmeat | thanks for the hint, seems that i was reading wrong doc :) | 10:15 |
neilus_ | which branch do you use? | 10:15 |
neilus_ | oh, ok then :) | 10:16 |
*** yangyape_ has quit IRC | 10:16 | |
*** daemontool has joined #openstack-freezer | 10:17 | |
athinkingmeat | i am using master branch, but reading docs from another i guess | 10:17 |
daemontool | ping raliev | 10:19 |
daemontool | brb | 10:20 |
*** daemontool has quit IRC | 10:25 | |
athinkingmeat | now i get another error: https://www.irccloud.com/pastebin/IkwQq6CX/ | 10:28 |
*** daemontool has joined #openstack-freezer | 10:43 | |
neilus_ | is this when you try to register the scheduler service? | 10:45 |
neilus_ | 'couse I have that too | 10:45 |
neilus_ | and have no idea about it yet | 10:45 |
athinkingmeat | yeah, i get this when i launch scheduler | 10:57 |
neilus_ | that must be some keystone error, since i got this error from horizon and also from the keystoneclient... | 11:00 |
neilus_ | on devstack master and stable/mitaka | 11:00 |
neilus_ | haven't figured it out yet | 11:00 |
daemontool | what's the error? sorry cannot see previous conversations | 11:06 |
athinkingmeat | daemontool: https://www.irccloud.com/pastebin/IkwQq6CX/ | 11:10 |
*** sam_nowitzki has quit IRC | 11:27 | |
daemontool | athinkingmeat: env | grep ^OS | 11:30 |
daemontool | make sure to sanitize the password | 11:30 |
athinkingmeat | daemontool: does freezer-api require those env variables? | 11:31 |
daemontool | ah sorry is the API | 11:34 |
daemontool | openstack endpoint create | 11:35 |
daemontool | I assume you created the api endpoints, right? | 11:35 |
daemontool | like | 11:36 |
daemontool | openstack user create --password-prompt freezer openstack role add --project <tenant> --user freezer admin openstack service create --name freezer --description "Freezer Backup Service" backup openstack endpoint create \ --publicurl http://freezer_api_publicurl:port \ --internalurl http://freezer_api_internalurl:port \ --adminurl http://freezer_api_adminurl:port \ --region regionOne \ | 11:36 |
daemontool | well each one "openstack" command is a single execution | 11:36 |
daemontool | you can check that with | 11:37 |
daemontool | openstack enpoint list | 11:37 |
athinkingmeat | yep, i've created endpoints | 11:43 |
*** yangyapeng has joined #openstack-freezer | 11:58 | |
daemontool | athinkingmeat: also the same user you have in the freezer-api.conf corresponds to an available user in keystone | 12:06 |
daemontool | ? | 12:06 |
daemontool | try to execute some action with the openstack client with those credentials | 12:07 |
daemontool | just to be sure | 12:07 |
daemontool | the problem is in the freezer-client | 12:07 |
athinkingmeat | daemontool: nova list works with those credentials. | 12:11 |
athinkingmeat | openstack client spits out: You are not authorized to perform the requested action: admin_required (HTTP 403) (Request-ID: req-1007eeba-b230-4b88-b3b0-fd2002e5c6f5) | 12:12 |
athinkingmeat | while doing openstack service list | 12:12 |
yangyapeng | authorized fail | 12:13 |
yangyapeng | admin 403 | 12:13 |
yangyapeng | athinkingmeat: hello | 12:17 |
yangyapeng | athinkingmeat: I guess it have a error in keystone, i remember the oslo.conf in lastest have a problem | 12:18 |
yangyapeng | athinkingmeat: can you take it keystone log? | 12:19 |
daemontool | thanks yangyapeng | 12:19 |
yangyapeng | daemontool: Long time no see :) how are you | 12:21 |
daemontool | yangyapeng: good good, getting back to the project :) | 12:22 |
daemontool | we'll meet more often in the next months | 12:22 |
yangyapeng | daemontool: ha-ha welcome, we need you | 12:23 |
daemontool | yangyapeng: when you can please, if you could review https://review.openstack.org/#/c/409796/ | 12:23 |
daemontool | rsync block based incremental | 12:23 |
yangyapeng | daemontool: ok | 12:23 |
*** lpetrut has joined #openstack-freezer | 12:28 | |
athinkingmeat | yangyapeng: there are many entries in keystone log, not sure which are related to freezer. | 12:33 |
yangyapeng | openstack is mitaka ? | 12:34 |
athinkingmeat | yangyapeng: openstack is mitaka, freezer-api from the master branch | 12:35 |
yangyapeng | now openstack other project is ok? nova list or openstack token issue and so on | 12:36 |
athinkingmeat | yangyapeng: yep, nova list and openstack token issue works with another user/project | 12:39 |
yangyapeng | i see irc log , you can freezer-api log , can you take it , | 12:46 |
yangyapeng | " /var/log/httpd/freezer-api.log | 12:47 |
athinkingmeat | https://www.irccloud.com/pastebin/yrDKQfGW/freezer-api.log | 12:52 |
*** AlexeyAbashkin has quit IRC | 12:57 | |
yangyapeng | curl -s -d '{"auth":{"passwordCredentials":{"username": “freezer”, | 13:05 |
yangyapeng | "password": “freezer”},”tenantName": "admin"}}' -H "Content-Type: application/json" http://172.16.40.240:5000/v2.0/tokens | python -m json.tool | 13:05 |
yangyapeng | athinkingmeat: can you use curl and freezer user to get token ? | 13:05 |
athinkingmeat | yangyapeng: i get huge list of endpoints and a token is inside | 13:10 |
yangyapeng | athinkingmeat: ok, freezer user is ok, i guess in freezer-api.conf can have a mistake. | 13:12 |
athinkingmeat | freezer-api without comments https://www.irccloud.com/pastebin/RSavkdqy/freezer-api.conf | 13:14 |
yangyapeng | athinkingmeat: admin_tenant_name = admin tenant_name is service or admin ? | 13:25 |
athinkingmeat | yangyapeng: i have both in project list. have tried to set services in freezer-api.conf, but the end result is the same. | 13:29 |
athinkingmeat | https://www.irccloud.com/pastebin/saIELprF/ | 13:29 |
yangyapeng | [keystone_authtoken] | 13:36 |
yangyapeng | admin_tenant_name = service | 13:36 |
yangyapeng | admin_password = freezer | 13:36 |
yangyapeng | admin_user = freezer | 13:36 |
yangyapeng | auth_port = 35357 | 13:36 |
yangyapeng | auth_host = 172.16.214.81 | 13:36 |
yangyapeng | auth_protocol = http | 13:36 |
yangyapeng | auth_uri = http://172.16.214.81:5000/v2.0 | 13:36 |
yangyapeng | #auth_uri = http://172.16.214.81:5000/v3 | 13:36 |
yangyapeng | this is my conf | 13:36 |
yangyapeng | i am ready to make a test in mitaka devstack, | 13:37 |
*** lpetrut has quit IRC | 13:40 | |
athinkingmeat | yangyapeng: ok, i have about 40 minutes, but we can continue on monday, thank you very much for your help! | 13:41 |
yangyapeng | :) | 13:42 |
yangyapeng | your env, master devstack and keystone in mitaka, freezer is master , is it ok? | 13:43 |
yangyapeng | local.conf | 13:43 |
yangyapeng | 77 HORIZON_BRANCH=stable/mitaka | 13:43 |
yangyapeng | 78 KEYSTONE_BRANCH=stable/mitaka | 13:43 |
yangyapeng | 79 KEYSTONECLIENT_BRANCH=stable/mitaka | 13:43 |
athinkingmeat | i have multinode controller deployment via fuel mitaka version, freezer is master from github | 13:49 |
yangyapeng | oh, oh | 13:50 |
yangyapeng | freezer install in controller or a single node? | 13:51 |
athinkingmeat | yangyapeng: tried first on single node, but now i am working on a controller. | 13:52 |
yangyapeng | oh , i meet the same question in Liberty i remmber | 13:53 |
yangyapeng | keystone.conf | 13:53 |
yangyapeng | [paste_deploy] | 13:53 |
yangyapeng | config_file = /etc/keystone/keystone-paste.ini | 13:53 |
yangyapeng | the section [paster_deploy] if it have in keystone.conf | 13:54 |
yangyapeng | i remeber oslo.conf>=3.9 it have a change ,can't find the paste.ini | 13:54 |
athinkingmeat | paste deploy section in keystone.conf https://www.irccloud.com/pastebin/9Wqm9jyP/ | 13:55 |
openstackgerrit | Gleb Stepanov proposed openstack/freezer: Backup/Restore nova tenant https://review.openstack.org/407052 | 13:57 |
yangyapeng | ok. if you have a controller in mitaka, i suggest install freezer-api freezer in single node, | 13:58 |
yangyapeng | athinkingmeat: it can be a question in install freezer, it update python requestment lib | 13:58 |
yangyapeng | athinkingmeat: i have in devstack mitaka in running, about 1 hour to finally. | 13:59 |
athinkingmeat | yangyapeng: i have test environment, so we can break it, but probably on monday :) i will leave earlier today, so happy new year for you and all guys :) | 14:02 |
*** neilus_ has quit IRC | 14:03 | |
*** catintheroof has joined #openstack-freezer | 14:03 | |
*** catintheroof has quit IRC | 14:08 | |
*** catintheroof has joined #openstack-freezer | 14:08 | |
*** daemontool has quit IRC | 14:10 | |
*** neilus_ has joined #openstack-freezer | 14:14 | |
yangyapeng | athinkingmeat: happy new year :) | 14:26 |
openstackgerrit | Gleb Stepanov proposed openstack/freezer: Backup/Restore nova tenant https://review.openstack.org/407052 | 15:17 |
*** neilus_ has quit IRC | 15:18 | |
*** neilus_ has joined #openstack-freezer | 15:27 | |
*** catintheroof has quit IRC | 15:29 | |
*** neilus_ has quit IRC | 15:31 | |
*** neilus has joined #openstack-freezer | 15:59 | |
*** neilus has quit IRC | 15:59 | |
*** neilus has joined #openstack-freezer | 16:15 | |
*** neilus has quit IRC | 16:19 | |
*** neilus has joined #openstack-freezer | 17:18 | |
*** neilus has quit IRC | 17:23 | |
*** catintheroof has joined #openstack-freezer | 17:44 | |
*** catinthe_ has joined #openstack-freezer | 17:49 | |
*** catintheroof has quit IRC | 17:50 | |
*** catinthe_ has quit IRC | 18:15 | |
*** lpetrut has joined #openstack-freezer | 19:06 | |
*** catintheroof has joined #openstack-freezer | 19:21 | |
*** catintheroof has quit IRC | 19:52 | |
*** lpetrut has quit IRC | 20:04 | |
*** lpetrut has joined #openstack-freezer | 20:06 | |
*** lpetrut has quit IRC | 22:38 | |
*** catintheroof has joined #openstack-freezer | 23:07 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!