Monday, 2025-08-04

darkhackerncykarel, Hi12:55
darkhackernccan you please check https://bugs.launchpad.net/designate/+bug/211929412:55
ykareldarkhackernc, so it works for neutron port but not when creating vm without pre create ports?13:38
darkhackerncyes sir 13:39
ykarelcan you update exact steps that you used there13:52
ykarelincluding server create commands13:53
darkhackerncykarel, issue resolved, let me post what is actually happened. its not a bz its a workflow mistake actually. I will post that and I will raise a doc bug as well we should clearly mentioned that in the doc14:10
ykareldarkhackernc, perfect14:11
darkhackerncykarel++ thank you very much. 14:48
darkhackerncykarel, ✅ Conclusion15:05
darkhackerncYes — You must override the default openstacklocal with a real domain via dns_domain in Neutron and ensure Nova’s dhcp_domain matches, otherwise the DNSaaS integration (dynamic A/AAAA record creation in Designate) will not function.15:05
ykareldns_domain config is required to be non default for dns integration to work15:13
ykarelbut not sure about any requirement for that to be same with dhcp_domain15:14
darkhackerncykarel, yeah as soon I changed the `dhcp_domain` it started working 15:14
darkhackerncyou can see the details in bz, earlier as well I was following the same method, and after the change as well same steps, no difference 15:15
ykareljohnsom, oschwart mayconfirm if that's also some requirement15:15
darkhackerncykarel, cool thank you Sir. 15:17
johnsomI am not aware of a requirement for dhcp_domain either, maybe a good question for #openstack_neutron15:17
oschwartI couldn't find it in the designate repo15:18
johnsomThere is definitely some oddness in the neutron extension about the dns_domain setting though15:18
johnsomoschwart Yeah, all of this is in the neutron code base. It is neutron extension code.15:18
johnsomNot designate15:19
darkhackerncagree with johnsom and oschwart 15:19
oschwarthttps://opendev.org/openstack/neutron/src/branch/master/releasenotes/notes/dhcp-domain-removed-cc5bc6e2129fdf7f.yaml15:20
darkhackerncoh15:21
oschwartI am surprised that it worked for you, deprecated 9y ago15:21
darkhackerncdhcp_domain this is in nova 15:21
darkhackerncroot@jj-caracal-online:~# cat /etc/nova/nova.conf | grep ct.lan15:21
darkhackerncdhcp_domain = ct.lan.15:21
darkhackernc 15:21
darkhackernc#/etc/openstack_deploy/user_variables.yml15:22
darkhackernc```15:22
darkhackerncneutron_dns_domain: "ct.lan."15:22
darkhackerncdhcp_domain: "{{ neutron_dns_domain }}"15:22
darkhackernc```15:22
darkhackerncthese are the overrides15:22
oschwartIt looks like it is defined and set in the neutron area15:22
darkhackerncso neutron shoud be dns_domain and nova should be dhcp_domain15:23
oschwartit is the first time I see this term, but that release note mentioned dns_domain should be used instead15:23
darkhackerncurrrrrrrrrrrr15:24
ykareldarkhackernc, i doubt if dhcp_domain is involved at all, so if you can just revert that and test15:25
ykarelbecause reading your comment 12 it's like neutron config was still pointing to openstacklocal and with that it's expected to not work15:25
ykarelsaying by reading https://github.com/openstack/nova/blob/4100d4d8fbaa6416ea37d8cb3e64003f40ee1eb1/nova/network/neutron.py15:26
darkhackerncykarel, infact if I change the dns_domain to someother still wont work , the way it should 15:27
ykareland what is that way and what value not working? 15:32
ykarelthe only requirement was it shouldn't be "openstacklocal"15:32
darkhackernceven If I set on neutron side to dns_domain=openstack.local. , A records are not creating while creaitng vm or creating a port, in both cases its failing. 15:34
darkhackernconce I updated ``dns_domain = ct.lan.`` on neutron.conf and ``dhcp_domain = ct.aln.`` on nova.conf , A record started creating automatically15:36
ykarelmay be there is some other issue, would suggest to iterate one by one15:39
ykarelif you still have that env from comment 1315:39
ykarelcan just revert dhcp_domain config and validate15:39
darkhackerncyes yes, 15:40
ykarelatleast from code don't see anything wrong with dns_domain=openstack.local, in CI we do use dns_domain=openstackgate.local, not sure if we have full test coverage for designate records with different extensions15:40
darkhackerncykarel++15:43
ykarelthx johnsom++ oschwart++ for confirming too, we can revisit if we see non config issue here15:44
darkhackerncykarel, yes tested not needed for nova17:18
darkhackernconly neutron is sufficient17:18

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