[Bug 1043121] [NEW] deployed node cannot be looked up with dnsmasq on MAAS
Nobuto MURATA
nobuto at nobuto-murata.org
Wed Aug 29 07:18:56 UTC 2012
Public bug reported:
`juju bootstrap` succeed, but `juju status` cannot lookup bootstrap
server.
$ juju status
2012-08-29 14:16:56,186 INFO Connecting to environment...
2012-08-29 14:16:57,644 ERROR Invalid host for SSH forwarding: ssh: Could not resolve hostname node-525400720897: Name or service not known
How to reproduce:
1. setup MAAS with maas-dhcp
2. set "Default domain for new nodes" on MAAS settings as blank or your domain.
3. prepare a node as "Ready" state
4. `juju bootstrap`
5. start the node
Expected result:
`dig @127.0.0.1 node-525400720897` on MAAS server returns node-525400720897's IP address.
Actual result:
`dig @127.0.0.1 node-525400720897` on MAAS server returns nothing.
but
`dig @127.0.0.1 ubuntu` on MAAS server returns node-525400720897's IP address.
WORKAROUND:
clear DHCP lease table of hostname "ubuntu" forcibly *after* "Ready" state but *before* "Allocate" state.
$ sudo sed -i -e '/\ ubuntu\ /d' /var/lib/misc/dnsmasq.leases
$ sudo service dnsmasq restart
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: maas-dhcp 0.1+bzr482+dfsg-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
Date: Wed Aug 29 15:21:12 2012
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 (20120424.1)
PackageArchitecture: all
ProcEnviron:
TERM=xterm
LANG=ja_JP.UTF-8
SHELL=/bin/bash
SourcePackage: maas
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: maas (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug precise
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1043121
Title:
deployed node cannot be looked up with dnsmasq on MAAS
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1043121/+subscriptions
More information about the Ubuntu-server-bugs
mailing list