*** catintheroof has quit IRC | 00:25 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/designate master: Updated from global requirements https://review.openstack.org/494798 | 00:35 |
---|---|---|
*** abaindur has quit IRC | 01:50 | |
*** catintheroof has joined #openstack-dns | 02:30 | |
*** catintheroof has quit IRC | 02:57 | |
*** livelace has joined #openstack-dns | 04:26 | |
trungnv | mugsie, What are specific topics in PTG? Could you share these items? | 04:28 |
*** masber has quit IRC | 05:02 | |
*** masber has joined #openstack-dns | 05:55 | |
*** pcaruana has joined #openstack-dns | 06:45 | |
*** MarkBaker has joined #openstack-dns | 06:52 | |
*** ircuser-1 has joined #openstack-dns | 06:57 | |
*** livelace2 has joined #openstack-dns | 07:21 | |
*** MarkBaker has quit IRC | 07:29 | |
-openstackstatus- NOTICE: Gerrit is going to be restarted due to slow performance | 07:35 | |
-openstackstatus- NOTICE: Gerrit has been restarted successfully | 07:39 | |
*** Adri2000 has joined #openstack-dns | 07:49 | |
Adri2000 | hello | 07:50 |
Adri2000 | I've got an issue with sahara-dashboard which I think might be related to python-designateclient | 07:50 |
Adri2000 | this is the code used by sahara-dashboard to connect to designate: https://git.openstack.org/cgit/openstack/sahara-dashboard/tree/sahara_dashboard/api/designate.py | 07:50 |
*** egonzalez has joined #openstack-dns | 07:51 | |
Adri2000 | for some reason, it ends up trying to connect to an incorrect endpoint | 07:51 |
Adri2000 | here is the stacktrace, with the incorrect endpoint mentioned in the last line: https://pastebin.com/raw/qU39pEEr | 07:51 |
Adri2000 | that endpoint doesn't exist in my service catalog, as shown here: https://pastebin.com/raw/fB0CfugX | 07:52 |
Adri2000 | any idea what is going on there? | 07:52 |
Adri2000 | why 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 |
Adri2000 | this is ocata, openstack-ansible deployment, FWIW | 07:53 |
trungnv | Adri2000, Could you show designate.conf file? | 08:02 |
trungnv | I guest you miss something in there along with [service-api]. For your endpoint I think these are good. | 08:11 |
Adri2000 | trungnv: here is my current designate.conf https://pastebin.com/Dp8VmtNK | 08:11 |
trungnv | please add "api_base_uri = http://myprivateapiendpoint:9001/" or "myprivateapiendpoint == your IP" in [service-api] then try again. | 08:14 |
Adri2000 | ok thanks, let me deploy this change and get back to you :) | 08:15 |
trungnv | yep. sure. | 08:15 |
trungnv | Let's restart all services. | 08:16 |
*** MarkBaker has joined #openstack-dns | 08:35 | |
*** frickler has joined #openstack-dns | 09:03 | |
frickler | what is the equivalent of "designate record-list" in the openstack client? my google foo seems too weak this morning | 09:05 |
egonzalez | frickler, openstack recordset list sample.openstack.org. | 09:06 |
frickler | egonzalez: ah, great, thx. I had seen that one, but assumed that "recordset" would be something different than "record" | 09:08 |
trungnv | frickler, "openstack --help" will help you in this case. | 09:14 |
*** MarkBaker has quit IRC | 09:49 | |
*** MarkBaker has joined #openstack-dns | 09:52 | |
trungnv | frickler, Perhaps, the following link will be help you. https://docs.openstack.org/python-designateclient/latest/user/shell-v2.html | 09:56 |
*** yee379 has quit IRC | 10:50 | |
*** yee379 has joined #openstack-dns | 10:51 | |
mugsie | trungnv: we do not have a room in the PTG | 11:36 |
*** carthaca_ has quit IRC | 12:07 | |
*** carthaca_ has joined #openstack-dns | 12:07 | |
*** ChrisDevita has joined #openstack-dns | 12:37 | |
*** livelace has quit IRC | 12:39 | |
openstackgerrit | Merged openstack/designate master: Updated from global requirements https://review.openstack.org/494798 | 12:43 |
openstackgerrit | Merged openstack/designate master: Update reno for stable/pike https://review.openstack.org/493629 | 12:43 |
openstackgerrit | Merged openstack/designate master: Remove unused cfg import and fix uuid format in test-case https://review.openstack.org/493948 | 12:44 |
openstackgerrit | Merged openstack/designate-dashboard master: Update reno for stable/pike https://review.openstack.org/493626 | 12:46 |
*** zhurong has joined #openstack-dns | 12:56 | |
Adri2000 | trungnv: 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/version | 13:08 |
Adri2000 | s.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 https | 13:09 |
Adri2000 | may that be related to `enable_host_header = True` I have in designate.conf? | 13:10 |
mugsie | Adri2000: 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 it | 13:16 |
mugsie | what load balancer are you usign? | 13:17 |
*** MarkBaker has quit IRC | 13:21 | |
*** MarkBaker has joined #openstack-dns | 13:24 | |
Adri2000 | mugsie: haproxy | 13:25 |
mugsie | Adri2000: try adding "option forwardfor" to the haproxy config | 13:32 |
mugsie | and "reqadd X-Forwarded-Proto:\ https" to the designate frontend definition | 13:33 |
*** carthaca_ has quit IRC | 13:40 | |
*** carthaca_ has joined #openstack-dns | 13:40 | |
Adri2000 | mugsie: hmm, I have those already | 13:42 |
frickler | Adri2000: not sure how designate does it, but for other services I also needed "[oslo_middleware] enable_proxy_headers_parsing = true" in the corresponding .conf | 13:49 |
frickler | the definition in api-paste.ini looks similar | 13:50 |
mugsie | we should be using olsos stuff now, so ^ might work | 13:50 |
openstackgerrit | Merged openstack/python-designateclient master: Updated from global requirements https://review.openstack.org/494892 | 13:56 |
Adri2000 | frickler: mugsie: yes that did it! thanks :) | 14:15 |
mugsie | Adri2000: great :) | 14:16 |
*** zhurong has quit IRC | 14:19 | |
*** MarkBaker has quit IRC | 14:33 | |
*** livelace2 has quit IRC | 14:34 | |
*** MarkBaker has joined #openstack-dns | 14:35 | |
*** bauruine has quit IRC | 14:51 | |
*** bauruine has joined #openstack-dns | 15:10 | |
*** nkinder has joined #openstack-dns | 15:51 | |
*** MarkBaker has quit IRC | 15:58 | |
*** egonzalez has quit IRC | 15:59 | |
*** MarkBaker has joined #openstack-dns | 15:59 | |
*** MarkBaker has quit IRC | 16:04 | |
*** MarkBaker has joined #openstack-dns | 16:05 | |
*** catintheroof has joined #openstack-dns | 16:10 | |
*** pcaruana has quit IRC | 16:37 | |
*** MarkBaker has quit IRC | 16:51 | |
*** abalutoiu has joined #openstack-dns | 16:56 | |
*** abalutoiu has quit IRC | 17:25 | |
*** renmak_ has joined #openstack-dns | 18:19 | |
*** renmak__ has joined #openstack-dns | 18:19 | |
*** renmak__ has quit IRC | 18:27 | |
*** renmak_ has quit IRC | 18:27 | |
*** Adri2000 has left #openstack-dns | 18:31 | |
*** renmak__ has joined #openstack-dns | 19:32 | |
*** renmak_ has joined #openstack-dns | 19:32 | |
*** egonzalez has joined #openstack-dns | 20:25 | |
*** mikal has quit IRC | 20:44 | |
*** mikal has joined #openstack-dns | 20:45 | |
*** abalutoiu has joined #openstack-dns | 20:51 | |
*** jmccrory has quit IRC | 21:13 | |
*** jmccrory has joined #openstack-dns | 21:14 | |
*** kbyrne has quit IRC | 21:30 | |
*** kbyrne has joined #openstack-dns | 21:32 | |
*** catintheroof has quit IRC | 22:01 | |
*** abalutoiu has quit IRC | 22:14 | |
*** GonZo2000 has joined #openstack-dns | 22:42 | |
*** GonZo2000 has quit IRC | 22:42 | |
*** GonZo2000 has joined #openstack-dns | 22:42 | |
*** GonZo2000 has quit IRC | 22:43 | |
*** egonzalez has quit IRC | 22:53 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!