Monday, 2022-07-18

opendevreviewErik Olof Gunnar Andersson proposed openstack/designate master: Cleaned up adapter code  https://review.opendev.org/c/openstack/designate/+/84984203:48
opendevreviewErik Olof Gunnar Andersson proposed openstack/designate master: Cleaned up adapter code  https://review.opendev.org/c/openstack/designate/+/84984203:51
manuvakery1johnsom: I tried on a clean centos vm but the installation breaks .. I installed centos-release-openstack-train and then installed openstack-designate\*.   .. I this the doc should be updated to install specific packages instead of openstack-designate\*06:01
MarioCavcchihi folks ... i have a question:  i configured designate and neutron to use an external dns ... i can create zone etc, it seems that works fine. I configured also an external net with dns_domain for the zone, but when I create a port no record is added. what could be the issue?11:49
*** dkehn_ is now known as dkehn15:01
johnsomMarioCavcchi It could be a neutron configuration issue. Check the neutron service logs for errors. 15:40
MarioCavcchijohnsom nop ... the log files are ok, the iusse seems related to file neutron/plugins/ml2/extensions/dns_integration.py .. it not performs any actions16:02
johnsomMarioCavcchi Which DNS extension is enabled in neutron? "openstack extension list | grep dns"16:05
MarioCavcchios-floating-ip-dns,  dns-integrationm, dns-domain-ports16:08
MarioCavcchios-floating-ip-dns,  dns-integration, dns-domain-ports16:10
johnsomHmm, that is fine.16:10
johnsomCan you check these exceptions: https://docs.openstack.org/neutron/yoga/admin/config-dns-int-ext-serv.html#configuration-of-the-externally-accessible-network-for-use-cases-3b-and-3c16:11
MarioCavcchiyes i know .. but maybe i dont undestand the behaviour16:11
MarioCavcchiin few words, if i want that when i add a port (or attach an interface) using an external net, the record dns is added ... how i have to do?16:13
johnsomSadly the neutron setup is not "a few words".... grin16:14
MarioCavcchithe network external has dns_domain configured ... i added a zone with the same dns_domain ... and ?16:15
johnsomYou will need to configure neutron as listed here: https://docs.openstack.org/neutron/yoga/admin/config-dns-int-ext-serv.html#configuring-openstack-networking-for-integration-with-an-external-dns-service16:15
MarioCavcchidid it ... exactly following this page16:16
MarioCavcchiin the Use case 3b ... everything is the same, except then a create a port that dont works16:17
MarioCavcchi*when16:17
johnsomThen, when you create the port, it should create the record. Assuming the list of exceptions is met: router:external is false, it's a FLAT, VLAN, GRE, VXLAN, or GENEVE network, and the segment ID is outside the project network range.16:18
MarioCavcchirouter:external is false ... ah wait ... i have router:external | External16:20
MarioCavcchiis it wrong?16:20
MarioCavcchiit's flat ... and i don't know what is "segment ID is outside the project network range"16:21
MarioCavcchi(sorry, i'm a rookie)16:22
johnsomYeah, I'm trying to look that up again.16:22
johnsomHere is the doc on network segment IDs: https://docs.openstack.org/neutron/yoga/admin/config-network-segment-ranges.html16:26
MarioCavcchiok tnx man16:27
ozzzo_workI'm having trouble with Designate today. It responds to list commands with "unknown"20:26
ozzzo_workIn the designate-api log I see errors for eventlet.wsgi.server: ConnectionResetError: [Errno 104] Connection reset by peer20:27
ozzzo_workI thought it must be an RMQ issue so I stopped all of my RMQ containers and then started them 1 at a time, and I tried deleting the Designate exchange, but those measures didn't fix it20:28
ozzzo_workany ideas?20:28
johnsomCan you run one of the commands with "--debug" and post the output on paste.openstack.org ?20:28
ozzzo_workhttps://paste.openstack.org/show/bnko8iwVBexJb4FzuC1F/20:32
ozzzo_workI also bounced the Designate containers but that didn't seem to help20:33
johnsomhttps://api-ext.dde3.ourseakritdomain.com:9001 "GET /v2/zones?type=PRIMARY HTTP/1.1" 504 None20:34
johnsomSo that URL is returning a 504 Gateway timeout.20:35
johnsomWhat version of Designate do you have? Are you running Designate API behind apache?20:36
ozzzo_workwe're running train. What's the best way to get my designate version?20:37
johnsompip list | grep designate 20:38
johnsomBut train is what I wanted to know.20:38
johnsomMy guess is your web server in front of the designate API is having an issue. I would check those logs as a starting point. I'm not sure what web server you are using or how it's configured to connect to the designate API20:41
ozzzo_worksorry I missed that part. We don't run Designate behind apache. We are using haproxy20:45
johnsomCan you paste the log line from haproxy here?20:46
ozzzo_workmy haproxy logs are scrolling many lines but none of them include "designate"20:48
ozzzo_workand no errors; only "Payload" lines20:48
johnsomLook for zones 20:48
ozzzo_workthe word "zone" doesn't appear in the haproxy log20:49
johnsomHmmm20:49
johnsomHow about the 504 code?20:49
ozzzo_workI don't see that in the haproxy logs20:51
johnsomThat is odd, maybe it's setup for TCP pass through20:55
johnsomSomething is returning that 504 error code, so that is the key to figuring out what is going wrong.20:56
ozzzo_workjohnsom: It seems like I mostly get the 504 when I list recordsets for a particular zone. When I pull recordsets for other zones they work. If that zone was broken, could that cause a 504?21:40
johnsomThat would be unusual, but possible. I would expect to see errors in the api logs.21:44
eanderssonAny errors in either designate-api or designate-central?22:21
opendevreviewMerged openstack/designate-dashboard master: Replace deprecated ugettext_lazy  https://review.opendev.org/c/openstack/designate-dashboard/+/84925623:13

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!