Tuesday, 2017-08-22

*** catintheroof has quit IRC00:25
openstackgerritOpenStack Proposal Bot proposed openstack/designate master: Updated from global requirements  https://review.openstack.org/49479800:35
*** abaindur has quit IRC01:50
*** catintheroof has joined #openstack-dns02:30
*** catintheroof has quit IRC02:57
*** livelace has joined #openstack-dns04:26
trungnvmugsie, What are specific topics in PTG? Could you share these items?04:28
*** masber has quit IRC05:02
*** masber has joined #openstack-dns05:55
*** pcaruana has joined #openstack-dns06:45
*** MarkBaker has joined #openstack-dns06:52
*** ircuser-1 has joined #openstack-dns06:57
*** livelace2 has joined #openstack-dns07:21
*** MarkBaker has quit IRC07:29
-openstackstatus- NOTICE: Gerrit is going to be restarted due to slow performance07:35
-openstackstatus- NOTICE: Gerrit has been restarted successfully07:39
*** Adri2000 has joined #openstack-dns07:49
Adri2000hello07:50
Adri2000I've got an issue with sahara-dashboard which I think might be related to python-designateclient07:50
Adri2000this is the code used by sahara-dashboard to connect to designate: https://git.openstack.org/cgit/openstack/sahara-dashboard/tree/sahara_dashboard/api/designate.py07:50
*** egonzalez has joined #openstack-dns07:51
Adri2000for some reason, it ends up trying to connect to an incorrect endpoint07:51
Adri2000here is the stacktrace, with the incorrect endpoint mentioned in the last line: https://pastebin.com/raw/qU39pEEr07:51
Adri2000that endpoint doesn't exist in my service catalog, as shown here: https://pastebin.com/raw/fB0CfugX07:52
Adri2000any idea what is going on there?07:52
Adri2000why does it try to connect to http://mypublicapiendpoint:9001, when the service catalog only has http://myprivateapiendpoint:9001 and https://mypublicapiendpoint:9001 (see http/https difference, entre private/public difference)07:53
Adri2000this is ocata, openstack-ansible deployment, FWIW07:53
trungnvAdri2000, Could you show designate.conf file?08:02
trungnvI guest you miss something in there along with [service-api]. For your endpoint I think these are good.08:11
Adri2000trungnv: here is my current designate.conf https://pastebin.com/Dp8VmtNK08:11
trungnvplease add "api_base_uri = http://myprivateapiendpoint:9001/" or "myprivateapiendpoint == your IP" in [service-api] then try again.08:14
Adri2000ok thanks, let me deploy this change and get back to you :)08:15
trungnvyep. sure.08:15
trungnvLet's restart all services.08:16
*** MarkBaker has joined #openstack-dns08:35
*** frickler has joined #openstack-dns09:03
fricklerwhat is the equivalent of "designate record-list" in the openstack client? my google foo seems too weak this morning09:05
egonzalezfrickler, openstack recordset list sample.openstack.org.09:06
frickleregonzalez: ah, great, thx. I had seen that one, but assumed that "recordset" would be something different than "record"09:08
trungnvfrickler, "openstack --help" will help you in this case.09:14
*** MarkBaker has quit IRC09:49
*** MarkBaker has joined #openstack-dns09:52
trungnvfrickler, Perhaps, the following link will be help you. https://docs.openstack.org/python-designateclient/latest/user/shell-v2.html09:56
*** yee379 has quit IRC10:50
*** yee379 has joined #openstack-dns10:51
mugsietrungnv: we do not have a room in the PTG11:36
*** carthaca_ has quit IRC12:07
*** carthaca_ has joined #openstack-dns12:07
*** ChrisDevita has joined #openstack-dns12:37
*** livelace has quit IRC12:39
openstackgerritMerged openstack/designate master: Updated from global requirements  https://review.openstack.org/49479812:43
openstackgerritMerged openstack/designate master: Update reno for stable/pike  https://review.openstack.org/49362912:43
openstackgerritMerged openstack/designate master: Remove unused cfg import and fix uuid format in test-case  https://review.openstack.org/49394812:44
openstackgerritMerged openstack/designate-dashboard master: Update reno for stable/pike  https://review.openstack.org/49362612:46
*** zhurong has joined #openstack-dns12:56
Adri2000trungnv: hello again, tried the change, but it doesn't work better. by the way, if I just curl http://designateendpoint:9001, I get the json describing API versions back, and here already I can see the issue. it's returning http://mypublicendpoint, whatever I define in api_base_uri. looking into the code, I think this comes from `host_url = flask.request.host_url.rstrip('/')` (designate/api/version13:08
Adri2000s.py:31) - similar stuff is done in other parts of the code. my designate api is behind a load balancer, and it's plain http between the load balancer and the designate api, explaining why I see http instead of https13:09
Adri2000may that be related to `enable_host_header = True` I have in designate.conf?13:10
mugsieAdri2000: it may be - we did have a way of telling it to use the X-Forwarded-For header, but I would need to dig into find it13:16
mugsiewhat load balancer are you usign?13:17
*** MarkBaker has quit IRC13:21
*** MarkBaker has joined #openstack-dns13:24
Adri2000mugsie: haproxy13:25
mugsieAdri2000: try adding "option forwardfor" to the haproxy config13:32
mugsieand "reqadd X-Forwarded-Proto:\ https" to the designate frontend definition13:33
*** carthaca_ has quit IRC13:40
*** carthaca_ has joined #openstack-dns13:40
Adri2000mugsie: hmm, I have those already13:42
fricklerAdri2000: not sure how designate does it, but for other services I also needed "[oslo_middleware] enable_proxy_headers_parsing = true" in the corresponding .conf13:49
fricklerthe definition in api-paste.ini looks similar13:50
mugsiewe should be using olsos stuff now, so ^ might work13:50
openstackgerritMerged openstack/python-designateclient master: Updated from global requirements  https://review.openstack.org/49489213:56
Adri2000frickler: mugsie: yes that did it! thanks :)14:15
mugsieAdri2000: great :)14:16
*** zhurong has quit IRC14:19
*** MarkBaker has quit IRC14:33
*** livelace2 has quit IRC14:34
*** MarkBaker has joined #openstack-dns14:35
*** bauruine has quit IRC14:51
*** bauruine has joined #openstack-dns15:10
*** nkinder has joined #openstack-dns15:51
*** MarkBaker has quit IRC15:58
*** egonzalez has quit IRC15:59
*** MarkBaker has joined #openstack-dns15:59
*** MarkBaker has quit IRC16:04
*** MarkBaker has joined #openstack-dns16:05
*** catintheroof has joined #openstack-dns16:10
*** pcaruana has quit IRC16:37
*** MarkBaker has quit IRC16:51
*** abalutoiu has joined #openstack-dns16:56
*** abalutoiu has quit IRC17:25
*** renmak_ has joined #openstack-dns18:19
*** renmak__ has joined #openstack-dns18:19
*** renmak__ has quit IRC18:27
*** renmak_ has quit IRC18:27
*** Adri2000 has left #openstack-dns18:31
*** renmak__ has joined #openstack-dns19:32
*** renmak_ has joined #openstack-dns19:32
*** egonzalez has joined #openstack-dns20:25
*** mikal has quit IRC20:44
*** mikal has joined #openstack-dns20:45
*** abalutoiu has joined #openstack-dns20:51
*** jmccrory has quit IRC21:13
*** jmccrory has joined #openstack-dns21:14
*** kbyrne has quit IRC21:30
*** kbyrne has joined #openstack-dns21:32
*** catintheroof has quit IRC22:01
*** abalutoiu has quit IRC22:14
*** GonZo2000 has joined #openstack-dns22:42
*** GonZo2000 has quit IRC22:42
*** GonZo2000 has joined #openstack-dns22:42
*** GonZo2000 has quit IRC22:43
*** egonzalez has quit IRC22:53

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