[3.3.0 RC] wrong DNS records
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Christian Grabowski | ||
3.3 |
Fix Released
|
Critical
|
Christian Grabowski |
Bug Description
After a deployment nodes cannot be resolved in Magpie. Exactly the same configuration in 3.2.6 works fine
3.2.6
$ dig node6.silo1.
; <<>> DiG 9.16.1-Ubuntu <<>> node6.silo1.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32007
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 0105648a0ba849b
;; QUESTION SECTION:
;node6.
;; ANSWER SECTION:
node6.silo1.
;; Query time: 0 msec
;; SERVER: 10.244.
;; WHEN: Sat Dec 10 18:03:49 UTC 2022
;; MSG SIZE rcvd: 101
3.3.0 RC
dig node6.silo1.
; <<>> DiG 9.16.1-Ubuntu <<>> node6.silo1.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 51135
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: add8913a8d0a401
;; QUESTION SECTION:
;node6.
;; AUTHORITY SECTION:
silo1.lab0.
;; Query time: 0 msec
;; SERVER: 10.244.
;; WHEN: Sat Dec 10 19:18:41 UTC 2022
;; MSG SIZE rcvd: 139
The reason is DNS records are wrong
3.3.0 RC
cat zone.silo1.
$ORIGIN .
$TTL 30 ; 30 seconds
silo1.lab0.
$ORIGIN silo1.lab0.
10-244-40-116 A 10.244.40.116
10-244-40-117 A 10.244.40.117
10-244-40-118 A 10.244.40.118
10-244-40-119 A 10.244.40.119
10-244-40-120 A 10.244.40.120
10-244-40-121 A 10.244.40.121
10-244-40-122 A 10.244.40.122
10-244-40-123 A 10.244.40.123
10-244-40-124 A 10.244.40.124
10-244-40-125 A 10.244.40.125
10-244-40-126 A 10.244.40.126
10-244-40-127 A 10.244.40.127
10-244-40-128 A 10.244.40.128
10-244-40-129 A 10.244.40.129
10-244-40-130 A 10.244.40.130
10-244-40-131 A 10.244.40.131
10-244-40-132 A 10.244.40.132
10-244-40-133 A 10.244.40.133
10-244-40-134 A 10.244.40.134
10-244-40-135 A 10.244.40.135
10-244-40-136 A 10.244.40.136
10-244-40-137 A 10.244.40.137
10-244-40-138 A 10.244.40.138
10-244-40-139 A 10.244.40.139
10-244-40-140 A 10.244.40.140
10-244-40-141 A 10.244.40.141
10-244-40-142 A 10.244.40.142
10-244-40-143 A 10.244.40.143
10-244-40-144 A 10.244.40.144
10-244-40-145 A 10.244.40.145
10-244-40-146 A 10.244.40.146
10-244-40-147 A 10.244.40.147
10-244-40-148 A 10.244.40.148
10-244-40-149 A 10.244.40.149
10-244-40-150 A 10.244.40.150
10-244-40-151 A 10.244.40.151
10-244-40-152 A 10.244.40.152
10-244-40-153 A 10.244.40.153
10-244-40-154 A 10.244.40.154
10-244-40-155 A 10.244.40.155
10-244-40-156 A 10.244.40.156
10-244-40-157 A 10.244.40.157
10-244-40-158 A 10.244.40.158
10-244-40-159 A 10.244.40.159
10-244-40-160 A 10.244.40.160
10-244-40-161 A 10.244.40.161
10-244-40-162 A 10.244.40.162
10-244-40-163 A 10.244.40.163
10-244-40-164 A 10.244.40.164
10-244-40-165 A 10.244.40.165
10-244-40-166 A 10.244.40.166
10-244-40-167 A 10.244.40.167
10-244-40-168 A 10.244.40.168
10-244-40-169 A 10.244.40.169
10-244-40-170 A 10.244.40.170
10-244-40-171 A 10.244.40.171
10-244-40-172 A 10.244.40.172
10-244-40-173 A 10.244.40.173
10-244-40-174 A 10.244.40.174
10-244-40-175 A 10.244.40.175
10-244-40-176 A 10.244.40.176
10-244-40-177 A 10.244.40.177
10-244-40-178 A 10.244.40.178
10-244-40-179 A 10.244.40.179
10-244-40-180 A 10.244.40.180
10-244-40-181 A 10.244.40.181
10-244-40-182 A 10.244.40.182
10-244-40-183 A 10.244.40.183
10-244-40-184 A 10.244.40.184
10-244-40-185 A 10.244.40.185
10-244-40-186 A 10.244.40.186
10-244-40-187 A 10.244.40.187
10-244-40-188 A 10.244.40.188
10-244-40-189 A 10.244.40.189
10-244-40-190 A 10.244.40.190
10-244-40-191 A 10.244.40.191
10-244-40-192 A 10.244.40.192
10-244-40-193 A 10.244.40.193
10-244-40-194 A 10.244.40.194
10-244-40-195 A 10.244.40.195
10-244-40-196 A 10.244.40.196
10-244-40-197 A 10.244.40.197
10-244-40-198 A 10.244.40.198
10-244-40-199 A 10.244.40.199
somename1 A 10.244.8.80
somename1-internal A 192.168.33.2
somename2 A 10.244.8.93
somename2-internal A 192.168.33.16
for a comparison correct 3.2.6 records
cat zone.silo1.
; Zone file modified: 2022-12-10 20:13:34.738472.
$TTL 30
@ IN SOA silo1.lab0.
600 ; Refresh
1800 ; Retry
30 ; NXTTL
)
@ 30 IN NS silo1.lab0.
$GENERATE 116-199 10-244-40-$ IN A 10.244.40.$
somename1 30 IN A 10.244.8.80
somename1-internal 30 IN A 192.168.33.2
somename2 30 IN A 10.244.8.93
somename2-internal 30 IN A 192.168.33.16
juju-1 30 IN A 10.244.40.100
node1 30 IN A 10.244.40.101
node2 30 IN A 10.244.40.102
node3 30 IN A 10.244.40.103
node4 30 IN A 10.244.40.104
node5 30 IN A 10.244.40.105
node6 30 IN A 10.244.40.106
ens4.2733.node1 30 IN A 192.168.33.30
ens4.2678.node1 30 IN A 10.244.8.2
bond0.2735.node1 30 IN A 192.168.35.2
bond0.2736.node1 30 IN A 192.168.36.2
ens4.2733.node2 30 IN A 192.168.33.31
ens4.2678.node2 30 IN A 10.244.8.3
bond0.2735.node2 30 IN A 192.168.35.3
bond0.2736.node2 30 IN A 192.168.36.3
ens4.2733.node3 30 IN A 192.168.33.32
ens4.2678.node3 30 IN A 10.244.8.4
bond0.2735.node3 30 IN A 192.168.35.4
bond0.2736.node3 30 IN A 192.168.36.4
ens4.2733.node4 30 IN A 192.168.33.33
ens4.2678.node4 30 IN A 10.244.8.5
bond0.2735.node4 30 IN A 192.168.35.5
bond0.2736.node4 30 IN A 192.168.36.5
ens4.2733.node5 30 IN A 192.168.33.34
ens4.2678.node5 30 IN A 10.244.8.6
bond0.2735.node5 30 IN A 192.168.35.6
bond0.2736.node5 30 IN A 192.168.36.6
ens4.2733.node6 30 IN A 192.168.33.35
ens4.2678.node6 30 IN A 10.244.8.7
bond0.2735.node6 30 IN A 192.168.35.7
bond0.2736.node6 30 IN A 192.168.36.7
@ 30 IN A 10.244.40.30
Related branches
- Christian Grabowski: Approve
-
Diff: 638 lines (+498/-10)6 files modifiedsrc/maasserver/dns/config.py (+29/-9)
src/maasserver/dns/tests/test_config.py (+38/-1)
src/maasserver/triggers/system.py (+152/-0)
src/maasserver/triggers/tests/test_init.py (+5/-0)
src/maasserver/triggers/tests/test_system.py (+271/-0)
src/provisioningserver/dns/zoneconfig.py (+3/-0)
- MAAS Lander: Approve
- Alberto Donato: Approve
-
Diff: 638 lines (+498/-10)6 files modifiedsrc/maasserver/dns/config.py (+29/-9)
src/maasserver/dns/tests/test_config.py (+38/-1)
src/maasserver/triggers/system.py (+152/-0)
src/maasserver/triggers/tests/test_init.py (+5/-0)
src/maasserver/triggers/tests/test_system.py (+271/-0)
src/provisioningserver/dns/zoneconfig.py (+3/-0)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 3.4.0 |
Changed in maas: | |
assignee: | nobody → Christian Grabowski (cgrabowski) |
status: | New → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Could you please attach regiond/rackd and named logs?