MaaS DNS stops resolving
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Won't Fix
|
High
|
Unassigned |
Bug Description
+++-===
ii maas 1.5.4+bzr229 all MAAS server all-in-one metapackag
ii maas-cli 1.5.4+bzr229 all MAAS command line API tool
ii maas-cluster-c 1.5.4+bzr229 all MAAS server cluster controller
ii maas-common 1.5.4+bzr229 all MAAS server common files
ii maas-dhcp 1.5.4+bzr229 all MAAS DHCP server
ii maas-dns 1.5.4+bzr229 all MAAS DNS server
ii maas-region-co 1.5.4+bzr229 all MAAS server complete region contr
ii maas-region-co 1.5.4+bzr229 all MAAS Server minimum region contro
ii python-django- 1.5.4+bzr229 all MAAS server Django web framework
ii python-maas-cl 1.5.4+bzr229 all MAAS python API client
ii python-maas-pr 1.5.4+bzr229 all MAAS server provisioning librarie
While running tests, with Juju 1.20.13 that bring Juju environments up and down repeatedly, Juju starts failing to bootstrap after several iterations with "Could not resolve hostname".
DNS starts resolving again after setting DHCP and DNS to "Unmanaged" and then back to "Manage DHCP and DNS". I noted the following differences in /etc/bind/maas:
zone.30.
1c1
< ; Zone file modified: 2014-11-26 04:48:31.861169.
---
> ; Zone file modified: 2014-11-26 06:13:33.521922.
7c7
< 0000001937 ; serial
---
> 0000001946 ; serial
zone.maas
1c1
< ; Zone file modified: 2014-11-26 04:48:31.804047.
---
> ; Zone file modified: 2014-11-26 06:13:33.439643.
7c7
< 0000001937 ; serial
---
> 0000001946 ; serial
Even after the "Unmanaged" to "Manage DHCP and DNS" change the next test run hits the same issue:
juju --show-log bootstrap -e maas-kvm-trusty-new --constraints mem=2G arch=amd64
2014-11-26 13:48:03 INFO juju.cmd supercommand.go:37 running juju [1.20.13-
2014-11-26 13:48:08 INFO juju.environs.
2014-11-26 13:48:08 INFO juju.environs.tools tools.go:87 reading tools with major.minor version 1.20
2014-11-26 13:48:08 INFO juju.environs.tools tools.go:95 filtering tools by version: 1.20.13
2014-11-26 13:48:08 INFO juju.environs.tools tools.go:98 filtering tools by series: trusty
2014-11-26 13:48:08 INFO juju.environs.tools tools.go:101 filtering tools by architecture: amd64
2014-11-26 13:48:08 INFO juju.utils http.go:59 hostname SSL verification enabled
2014-11-26 13:48:08 INFO juju.utils http.go:59 hostname SSL verification enabled
2014-11-26 13:48:08 INFO juju.utils http.go:59 hostname SSL verification enabled
2014-11-26 13:48:08 INFO juju.utils http.go:59 hostname SSL verification enabled
2014-11-26 13:48:08 INFO juju.environs.
2014-11-26 13:48:08 INFO juju.environs.
Launching instance
2014-11-26 13:48:10 WARNING juju.provider.maas environ.go:441 picked arbitrary tools &{1.20.
- /MAAS/api/
Waiting for address
Attempting to connect to juju-qa-
Attempting to connect to juju-qa-
2014-11-26 14:28:11 ERROR juju.provider.
The full run log is attached.
Note in the log that early on successful bootstraps report the IP they are attempting to connect to, for example:
Waiting for address
Attempting to connect to juju-qa-
Attempting to connect to juju-qa-
Attempting to connect to 10.0.30.152:22
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: juju |
Changed in maas: | |
milestone: | none → 1.5.5 |
tags: | added: cts |
tags: |
added: sts removed: cts |
<jog> kiko, I don't see the DNS issue on 1.7.0