-
Notifications
You must be signed in to change notification settings - Fork 934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network: Generate OVN PTR records for instance NIC IPs #14956
Conversation
e03475f
to
c2a4e5f
Compare
FYI @fnordahl |
To make available to other packages and to avoid duplicate constant definitions for PTR suffixes. Signed-off-by: Thomas Parrott <[email protected]>
And use dnsutil.IsReverse function. Signed-off-by: Thomas Parrott <[email protected]>
…IC IPs Fixes canonical#1481 Signed-off-by: Thomas Parrott <[email protected]>
Signed-off-by: Thomas Parrott <[email protected]>
Signed-off-by: Thomas Parrott <[email protected]>
c2a4e5f
to
7ef4b6e
Compare
@roosterfish @simondeziel re https://github.com/canonical/lxd/actions/runs/13271508119/job/37052332137?pr=14956 do we need to call the "waitready" equivalent command for micro* apps here? |
I'm not aware of any |
From - canonical/lxd#14956 - canonical/lxd#14904 - canonical/lxd#14964 Signed-off-by: Thomas Parrott <[email protected]>
…s field that contains PTR records Fixes bug introduced with canonical#14956 Signed-off-by: Thomas Parrott <[email protected]>
…s field that contains PTR records Fixes bug introduced with canonical#14956 Signed-off-by: Thomas Parrott <[email protected]>
…eld that contains PTR records (#14978) Fixes bug introduced with #14956 that caused instance port SNAT rules to not be cleaned up, as LXD parses the port's DNS records to get the IPs to remove. ``` ==> Check NAT rules got cleaned up ++ ovn-nbctl --bare --format=csv --column=external_ip,logical_ip,type find nat + out='10.10.10.200,10.91.99.0/24,snat 198.51.100.2,198.51.100.2,dnat_and_snat fd42:4242:4242:1010::200,2001:db8:1:2::/64,snat' ++ wc -l + natRulesAfter=3 + '[' 2 -ne 3 ']' + echo 'NAT rules left over. Started with 2 now have 3' NAT rules left over. Started with 2 now have 3 ``` https://github.com/canonical/lxd-ci/actions/runs/13301968521/job/37144917599
…s field that contains PTR records Fixes bug introduced with canonical#14956 Signed-off-by: Thomas Parrott <[email protected]> (cherry picked from commit f419130)
Fixes #14812
Before
After