CC is not able to register nodes when DNS is left blank using Ubuntu Installer CD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eucalyptus (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Overview
Eucalyptus-cc fails to register nodes when you leave blank, i.e., don't specify DNS settings. This is experienced when setting up static addresses during the Ubuntu installation process.
How to reproduce the issue:
1. Choose "Install Ubuntu Enterprise Cloud"
2. Instead of using dhcp settings configure static addresses for eth0 and leave the dns field blank
3. After the installation try to register a node using:
$ sudo euca_conf --register-nodes <ip-of-the-node>
It says that the node has been registered however CC is unable to list them when running:
$ sudo euca_conf --list-nodes
4. Looking at the cc.log you will get something like this:
======
[Fri Apr 29 16:13:00 2011][002104]
[Fri Apr 29 16:13:00 2011] ERROR: doDescribeInsta
[Fri Apr 29 16:13:00 2011][001988]
[Fri Apr 29 16:13:00 2011][001988]
[Fri Apr 29 16:13:00 2011][001988]
[Fri Apr 29 16:13:00 2011][001988]
[Fri Apr 29 16:13:00 2011][001988]
[Fri Apr 29 16:13:00 2011][001988]
[Fri Apr 29 16:13:00 2011][001988]
[Fri Apr 29 16:13:00 2011] ERROR: doDescribePubli
====
Workaround:
1. Open /etc/eucalytus/
2. VNET_DNS="8.8.8.8"
3. sudo restart eucalyptus-cc CLEAN=1
Proposed Solution #1
1. Make DNS Field mandatory during the installation process for the option "Install Ubuntu Enterprise Cloud" since the installation will be using MANAGED-NOVLAN anyway.
OR
If field is left blank make sure the eucalyptus installer takes care of adding a fake or public dns to the VNET_DNS variable.
This is experienced in Lucid and Natty. Maverick has not been tested.
Description: Ubuntu 11.04
Release: 11.04
ii eucalyptus-
ii eucalyptus-cc 2.0.1+bzr1256-
ii eucalyptus-cloud 2.0.1+bzr1256-
ii eucalyptus-common 2.0.1+bzr1256-
ii eucalyptus-gl 2.0.1+bzr1256-
ii eucalyptus-
ii eucalyptus-sc 2.0.1+bzr1256-
ii eucalyptus-walrus 2.0.1+bzr1256-
ii libeucalyptus-
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: eucalyptus-cc 2.0.1+bzr1256-
ProcVersionSign
Uname: Linux 2.6.38-8-server x86_64
.etc.eucalyptus
Architecture: amd64
Date: Fri Apr 29 15:50:02 2011
InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Release amd64 (20110426)
ProcEnviron:
LANGUAGE=en_CA:en
LANG=en_CA.UTF-8
SHELL=/bin/bash
SourcePackage: eucalyptus
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in eucalyptus (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Thanks a lot Leonardo Borda. Thanks for finding the bug and providing a work around.We too encountered the exact problem and was striving with it for days.Thanks to your info,it got solved in a jiffy! :)