Merge ~tiago.pasqualini/maas:lp1807725 into maas:master
Proposed by
Tiago Pasqualini da Silva
Status: | Merged |
---|---|
Approved by: | Björn Tillenius |
Approved revision: | daf5370ba095eb80ca10b44c53d14bfac0bb83ef |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~tiago.pasqualini/maas:lp1807725 |
Merge into: | maas:master |
Diff against target: |
138 lines (+73/-3) 4 files modified
src/maasserver/models/staticipaddress.py (+9/-2) src/maasserver/models/tests/test_staticipaddress.py (+45/-1) src/maasserver/utils/dns.py (+10/-0) src/maasserver/utils/tests/test_dns.py (+9/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Björn Tillenius | Approve | ||
MAAS Lander | Approve | ||
Review via email: mp+441898@code.launchpad.net |
This proposal supersedes a proposal from 2023-03-17.
Commit message
Fix incorrect hostname from interface name
MAAS currently creates a DNS record for each interface in a host
by simply using its interface name. Whenever an interface has the
'_' character, the code uses it anyway, which is currently breaking
bind as this character is not allowed on domain names.
This patch fixes that by verifying it and replacing the incorrect
character.
LP: #1807725
To post a comment you must log in.
UNIT TESTS
-b lp1807725 lp:~tiago.pasqualini/maas/+git/maas into -b master lp:~maas-committers/maas
STATUS: FAILED maas-ci. internal: 8080/job/ maas-tester/ 1547/consoleTex t 05dbbe98bc95f21 e4d542ca41
LOG: http://
COMMIT: d5b537062408b0f