Tuesday, 2023-02-28

opendevreviewMichael Johnson proposed openstack/designate-tempest-plugin master: Update the README file to use tox -e all  https://review.opendev.org/c/openstack/designate-tempest-plugin/+/87557600:25
opendevreviewMichael Johnson proposed openstack/designate-tempest-plugin master: Update the README file to use tox -e all  https://review.opendev.org/c/openstack/designate-tempest-plugin/+/87557600:29
opendevreviewMichael Johnson proposed openstack/designate-tempest-plugin master: Update the README file to use tox -e all  https://review.opendev.org/c/openstack/designate-tempest-plugin/+/87557600:34
johnsomNow I will stop changing the wording. lol00:35
eanderssonThanks gmann!01:51
opendevreviewkiran pawar proposed openstack/designate master: Stop service_status on service.stop()  https://review.opendev.org/c/openstack/designate/+/86669808:54
zigoHello!16:11
zigoAs lhommeRares wrote, we have what we believe is a bug in our Victoria public cloud deployment.16:11
zigoFirst, we've set managed_resource_tenant_id as the ID of the admin project, so PTR managed resources are owned by the admin project.16:11
zigoWe also have set allow_reverse_dns_lookup=False in neutron.conf.16:11
zigo- A user creates a floating IP16:11
zigo- That user updates it with dns domain and PTR16:11
zigo- That user then deletes the floating IP16:11
zigoThe issue is: the PTR isn't unset and the record stays.16:11
zigoIs this a known issue?16:11
lhommeRaresjohnsom: frickler: njohnston: ^^16:13
johnsomHmm, not sure. I'm not super familiar with how the neutron extension works.16:15
johnsomIt might be worth asking in the #openstack-neutron channel. Otherwise I would have to go read the code over there.16:16
johnsomWhich extensions do you have enabled for DNS in neutron?16:17
johnsomAlso curious, if you have allow_reverse_dns_lookup=False how is the PTR created for the FIP? Manual creation in designate directly?16:19
lhommeRaresjohnsom: we use dns_port_domain extension and yes we manually do ptr record set directly16:23
johnsomYeah, if the PTR was created manually and not via the extension, there is no automation to remove the PTR on FIP deletion. It has to be manually deleted as well.16:24
lhommeRaresjohnsom: we tried variations of this patch to fix the issue https://review.opendev.org/c/openstack/neutron/+/771556 16:24
zigojohnsom: Do you think it'd be worth trying to get this patch merged?16:25
zigo(fixing its unit tests, of course...)16:26
johnsomI am not familiar with this patch, I will have to read through it. It seems like frickler didn't think it was a good idea.  Probably worth a discussion with him.16:27
johnsomOk, I think I see what you are trying to do. So you don't want neutron to manage the PTRs, you are using the /v2/reverse/floatingips/ API to create the PTR for the FIP, but you want some kind of automation to remove the PTR when the FIP is removed in neutron.16:30
zigoRight !16:30
lhommeRaresjohnsom: yes exactly 16:31
johnsomSorry, it's still early here, working on my coffee. lol16:31
zigo:)16:31
zigojohnsom: Are you west coast?16:31
lhommeRaresjohnsom: no problem :D thank you very much to watch with us this issue 16:31
johnsomDo you have the neutron floating IP handler turned on in the Designate sink process?16:32
johnsomI think what you want is here: https://github.com/openstack/designate/blob/master/designate/notification_handler/neutron.py#L5316:32
lhommeRaresjohnsom: we dont have designate sink component, it is possible to had them after designate deployment ?16:33
johnsomhttps://github.com/openstack/designate/blob/master/setup.cfg#L7216:34
johnsomYeah, you just need to setup the process and configure it to get the neutron notifications from messaging, enable that handler.16:34
zigoIs this something that must be configured in Neutron as well?16:34
lajoskatonajohnsom: Hi, I pushed a more VIP patch to change from neutronclient to SDK: https://review.opendev.org/c/openstack/designate/+/87499116:35
fricklerI think that the /reverse/fips API is mostly broken and should be dropped. any reason why you are not using the standard neutron integration with allow_reverse_dns_lookup=True instead?16:35
johnsomUmm, maybe, but I don't think so. I think neutron sends these events by default.16:35
lajoskatonajohnsom: my concern is that some cfg options are necessary for instantiating SDK client, which are not filled by default (at least not in zuul or in homemade devstack)16:36
lajoskatonajohnsom: and not sure how I broke things if I start to ask for those, when you have some time please check it16:36
johnsomlajoskatona ack, thank you for the patch!16:37
zigoWhat's the value we should set for enabled_notification_handlers ?16:39
johnsomneutron_floatingip16:39
lhommeRaresfrickler: We don't use allow_reverse_dns_lookup=True because we offer a public cloud with horizon, the concern is that a client can do an openstack ptr record set on a fips that already has its set ptr automatically and here we have the issue quoted here: https://review.opendev.org/c/openstack/neutron/+/771556, the horizon dns interface uses /reverse/fips AP to display the floatings ptr16:39
zigoThanks, will try.16:40
lhommeRaresfrickler: To summarize the best scenario would be to be able to create a ptr automatically thanks to the option allow_reverse=True and to be able to also set it manually afterwards with ptr record set, in this case the module designate horizon to work in all possible cases16:42
fricklerinteresting scenario, I guess one should really disable that part of the dns api in such a deployment then. plus that panel in horizon.16:43
fricklerjust have the neutron API to control the ptr16:43
lhommeRaresfrickler: I agree with you that we should remove the horizon panel view for ptrs and disable ptr creation manually. Do you agree?16:44
lhommeRaresfrickler: But if we do that we won't be able to modify the ptr of a floating after its creation, we'll have to delete it then recreate it with the new record/name we need16:45
zigoFYI, we're trying to add the sink to our setup, and we'll tell how it goes...16:47
zigoDon't we also need nova_fixed too?!?17:03
opendevreviewMichael Johnson proposed openstack/designate-tempest-plugin master: Update the README file to use tox -e all  https://review.opendev.org/c/openstack/designate-tempest-plugin/+/87557618:16
opendevreviewMichael Johnson proposed openstack/designate master: WIP Use SDK instead of neutronclient  https://review.opendev.org/c/openstack/designate/+/87499118:21
opendevreviewMichael Johnson proposed openstack/designate master: WIP Use SDK instead of neutronclient  https://review.opendev.org/c/openstack/designate/+/87499120:26

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