Friday, 2016-12-30

*** yangyapeng has quit IRC00:15
*** yangyapeng has joined #openstack-freezer01:20
*** yangyape_ has joined #openstack-freezer01:23
*** yangyapeng has quit IRC01:26
*** sam_nowitzki has joined #openstack-freezer03:15
*** lpetrut has joined #openstack-freezer06:34
*** vAlexa_ has joined #openstack-freezer06:58
*** vAlexa has quit IRC07:02
*** neilus has joined #openstack-freezer07:02
*** neilus has quit IRC07:08
*** athinkingmeat has joined #openstack-freezer07:41
*** lpetrut has quit IRC07:42
athinkingmeathi07:44
neilus_hi07:54
yangyape_hello guys07:54
athinkingmeati 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-freezer07:59
*** neilus has quit IRC08:04
*** lpetrut has joined #openstack-freezer08:38
*** lpetrut has quit IRC08:50
*** vAlexa_ is now known as vAlexa09:11
neilus_what is your api config? eg09:15
neilus_ vagrant@devstack:/opt/devstack$ cat /etc/freezer-api.conf |grep auth_host09:15
neilus_auth_host = 192.168.66.1209:15
*** daemontool has joined #openstack-freezer09:31
*** daemontool has quit IRC10:00
*** c00281451 has quit IRC10:01
athinkingmeatneilus_: i don't have such setting, only auth_uri = http://10.249.19.31:5000/10:14
athinkingmeatthanks 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 IRC10:16
*** daemontool has joined #openstack-freezer10:17
athinkingmeati am using master branch, but reading docs from another i guess10:17
daemontoolping raliev10:19
daemontoolbrb10:20
*** daemontool has quit IRC10:25
athinkingmeatnow i get another error: https://www.irccloud.com/pastebin/IkwQq6CX/10:28
*** daemontool has joined #openstack-freezer10:43
neilus_is this when you try to register the scheduler service?10:45
neilus_'couse I have that too10:45
neilus_and have no idea about it yet10:45
athinkingmeatyeah, i get this when i launch scheduler10: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/mitaka11:00
neilus_haven't figured it out yet11:00
daemontoolwhat's the error? sorry cannot see previous conversations11:06
athinkingmeatdaemontool: https://www.irccloud.com/pastebin/IkwQq6CX/11:10
*** sam_nowitzki has quit IRC11:27
daemontoolathinkingmeat: env | grep ^OS11:30
daemontoolmake sure to sanitize the password11:30
athinkingmeatdaemontool: does freezer-api require those env variables?11:31
daemontoolah sorry is the API11:34
daemontoolopenstack endpoint create11:35
daemontoolI assume you created the api endpoints, right?11:35
daemontoollike11:36
daemontoolopenstack 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
daemontoolwell each one "openstack" command is a single execution11:36
daemontoolyou can check that with11:37
daemontoolopenstack enpoint list11:37
athinkingmeatyep, i've created endpoints11:43
*** yangyapeng has joined #openstack-freezer11:58
daemontoolathinkingmeat: also the same user you have in the freezer-api.conf corresponds to an available user in keystone12:06
daemontool?12:06
daemontooltry to execute some action with the openstack client with those credentials12:07
daemontooljust to be sure12:07
daemontoolthe problem is in the freezer-client12:07
athinkingmeatdaemontool: nova list works with those credentials.12:11
athinkingmeatopenstack 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
athinkingmeatwhile doing openstack service list12:12
yangyapengauthorized  fail12:13
yangyapengadmin 40312:13
yangyapengathinkingmeat: hello12:17
yangyapengathinkingmeat: I guess it have a error in keystone, i remember the oslo.conf in lastest have a problem12:18
yangyapengathinkingmeat: can you take it keystone log?12:19
daemontoolthanks yangyapeng12:19
yangyapengdaemontool: Long time no see  :) how are you12:21
daemontoolyangyapeng:  good good, getting back to the project :)12:22
daemontoolwe'll meet more often in the next months12:22
yangyapengdaemontool: ha-ha welcome, we need you12:23
daemontoolyangyapeng:  when you can please, if you could review https://review.openstack.org/#/c/409796/12:23
daemontoolrsync block based incremental12:23
yangyapengdaemontool: ok12:23
*** lpetrut has joined #openstack-freezer12:28
athinkingmeatyangyapeng: there are many entries in keystone log, not sure which are related to freezer.12:33
yangyapengopenstack is mitaka ?12:34
athinkingmeatyangyapeng: openstack is mitaka, freezer-api from the master branch12:35
yangyapengnow  openstack other project is ok? nova list or openstack token issue and so on12:36
athinkingmeatyangyapeng: yep, nova list and openstack token issue works with another user/project12:39
yangyapengi see irc log , you can freezer-api  log , can you take it ,12:46
yangyapeng" /var/log/httpd/freezer-api.log12:47
athinkingmeathttps://www.irccloud.com/pastebin/yrDKQfGW/freezer-api.log12:52
*** AlexeyAbashkin has quit IRC12:57
yangyapengcurl -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.tool13:05
yangyapengathinkingmeat:  can you use curl and freezer user to get token ?13:05
athinkingmeatyangyapeng: i get huge list of endpoints and a token is inside13:10
yangyapengathinkingmeat:  ok, freezer user is ok,  i guess in freezer-api.conf can have a mistake.13:12
athinkingmeatfreezer-api without comments https://www.irccloud.com/pastebin/RSavkdqy/freezer-api.conf13:14
yangyapengathinkingmeat:  admin_tenant_name = admin  tenant_name is service or admin ?13:25
athinkingmeatyangyapeng: i have both in project list. have tried to set services in freezer-api.conf, but the end result is the same.13:29
athinkingmeathttps://www.irccloud.com/pastebin/saIELprF/13:29
yangyapeng[keystone_authtoken]13:36
yangyapengadmin_tenant_name = service13:36
yangyapengadmin_password = freezer13:36
yangyapengadmin_user = freezer13:36
yangyapengauth_port = 3535713:36
yangyapengauth_host = 172.16.214.8113:36
yangyapengauth_protocol = http13:36
yangyapengauth_uri = http://172.16.214.81:5000/v2.013:36
yangyapeng#auth_uri = http://172.16.214.81:5000/v313:36
yangyapengthis is my conf13:36
yangyapengi am ready to make a test in mitaka devstack,13:37
*** lpetrut has quit IRC13:40
athinkingmeatyangyapeng: ok, i have about 40 minutes, but we can continue on monday, thank you very much for your help!13:41
yangyapeng:)13:42
yangyapengyour env,  master devstack  and keystone in  mitaka, freezer is master , is it ok?13:43
yangyapenglocal.conf13:43
yangyapeng 77 HORIZON_BRANCH=stable/mitaka13:43
yangyapeng 78 KEYSTONE_BRANCH=stable/mitaka13:43
yangyapeng 79 KEYSTONECLIENT_BRANCH=stable/mitaka13:43
athinkingmeati have multinode controller deployment via fuel mitaka version, freezer is master from github13:49
yangyapengoh, oh13:50
yangyapengfreezer install in controller or a single node?13:51
athinkingmeatyangyapeng: tried first on single node, but now i am working on a controller.13:52
yangyapengoh , i meet the same question in Liberty i remmber13:53
yangyapengkeystone.conf13:53
yangyapeng[paste_deploy]13:53
yangyapengconfig_file = /etc/keystone/keystone-paste.ini13:53
yangyapengthe section [paster_deploy]  if it have in keystone.conf13:54
yangyapengi remeber oslo.conf>=3.9 it have a change ,can't  find the paste.ini13:54
athinkingmeatpaste deploy section in keystone.conf https://www.irccloud.com/pastebin/9Wqm9jyP/13:55
openstackgerritGleb Stepanov proposed openstack/freezer: Backup/Restore nova tenant  https://review.openstack.org/40705213:57
yangyapengok. if you have a controller in mitaka, i suggest install freezer-api freezer in single node,13:58
yangyapengathinkingmeat: it can be a question in install freezer, it update python requestment lib13:58
yangyapengathinkingmeat: i have in devstack mitaka in running, about 1 hour to finally.13:59
athinkingmeatyangyapeng: 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 IRC14:03
*** catintheroof has joined #openstack-freezer14:03
*** catintheroof has quit IRC14:08
*** catintheroof has joined #openstack-freezer14:08
*** daemontool has quit IRC14:10
*** neilus_ has joined #openstack-freezer14:14
yangyapengathinkingmeat:  happy new year :)14:26
openstackgerritGleb Stepanov proposed openstack/freezer: Backup/Restore nova tenant  https://review.openstack.org/40705215:17
*** neilus_ has quit IRC15:18
*** neilus_ has joined #openstack-freezer15:27
*** catintheroof has quit IRC15:29
*** neilus_ has quit IRC15:31
*** neilus has joined #openstack-freezer15:59
*** neilus has quit IRC15:59
*** neilus has joined #openstack-freezer16:15
*** neilus has quit IRC16:19
*** neilus has joined #openstack-freezer17:18
*** neilus has quit IRC17:23
*** catintheroof has joined #openstack-freezer17:44
*** catinthe_ has joined #openstack-freezer17:49
*** catintheroof has quit IRC17:50
*** catinthe_ has quit IRC18:15
*** lpetrut has joined #openstack-freezer19:06
*** catintheroof has joined #openstack-freezer19:21
*** catintheroof has quit IRC19:52
*** lpetrut has quit IRC20:04
*** lpetrut has joined #openstack-freezer20:06
*** lpetrut has quit IRC22:38
*** catintheroof has joined #openstack-freezer23:07

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