Wednesday, 2023-03-01

opendevreviewArkady Shtempler proposed openstack/designate-tempest-plugin master: New boundray scenario tests for a Quota test suite  https://review.opendev.org/c/openstack/designate-tempest-plugin/+/86093509:01
opendevreviewOpenStack Release Bot proposed openstack/designate-dashboard stable/2023.1: Update .gitreview for stable/2023.1  https://review.opendev.org/c/openstack/designate-dashboard/+/87590413:17
opendevreviewOpenStack Release Bot proposed openstack/designate-dashboard stable/2023.1: Update TOX_CONSTRAINTS_FILE for stable/2023.1  https://review.opendev.org/c/openstack/designate-dashboard/+/87590513:17
opendevreviewOpenStack Release Bot proposed openstack/designate-dashboard master: Update master for stable/2023.1  https://review.opendev.org/c/openstack/designate-dashboard/+/87590613:17
opendevreviewArkady Shtempler proposed openstack/designate-tempest-plugin master: Shared Zones - adding test cases for Admin related stuff  https://review.opendev.org/c/openstack/designate-tempest-plugin/+/87591913:39
lhommeRaresjohnsom: frickler: Hello :) , we have deployed the sink component but we can see here https://github.com/openstack/designate/blob/master/designate/notification_handler/neutron.py#L46 that a zone_id has to be configured in designate.conf to delete PTR ressource. Though in production, we have multiple subnet, so multiple in.addr-arpa. zones. Is this a missing feature of Designate that it doesn't lookup the reverse zone matching the floating 15:46
lhommeRaresip ?15:46
johnsomYeah, looking at that code, it assumes you are using a single zone for the PTR records.15:53
zigojohnsom: Right, so if we have multiple /24, then we must ... add some code in Designate ? :)15:56
zigojohnsom: We're deeply thinking about adding such code to do the PTR zone look-up...15:56
zigoAny advice on how to do the lookup, having the floating ip ID as unique entry point?15:56
johnsomOk, you may want to do a list so that neutron doesn't trigger the delete of non managed PTR zones.15:57
fricklerIMO the handler bundled with designate is just a simple example. in contrib/ there's an example how you can create your custom handler for your use case15:59
johnsomyeah, there is no reason you can't create a custom handler. It doesn't even need to be part of the designate code base16:01
zigoThanks a lot for your precious answers. We're slowly getting the pieces together, at this point, I believe we can handle ! :)16:25
zigoWe will probably end up with either a custom handler, or contribute a handler that will do the zone lookup. We've found this as a nice example: https://github.com/twc-openstack/cirrus-designate-sink-handler/blob/master/cirrus_designate_sink_handler/notification_handler/cirrus_floating_ip_handler.py#L5616:26
zigo:)16:26
eanderssonCustom handler is great 17:52
eanderssonThe only downside is that if a hypervisor goes offline it won’t send a notification and you may need to do manual cleaning 17:53
eanderssonAnd that cleaning has to be done by an admin, or ideally a script 17:54
eanderssoneg a vm deleted on an offline hypervisor won’t send a vm deleted event so the dns record tied to that vm wont be deleted 17:55
eanderssonnot sure if the same applies to neutron messages17:56
opendevreviewMerged openstack/designate-dashboard stable/2023.1: Update .gitreview for stable/2023.1  https://review.opendev.org/c/openstack/designate-dashboard/+/87590420:26
opendevreviewMerged openstack/designate-dashboard stable/2023.1: Update TOX_CONSTRAINTS_FILE for stable/2023.1  https://review.opendev.org/c/openstack/designate-dashboard/+/87590520:26
opendevreviewMerged openstack/designate-dashboard master: Update master for stable/2023.1  https://review.opendev.org/c/openstack/designate-dashboard/+/87590620:26

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