CLC+Walrus+SC+CC installed even if node is preseeded

Bug #512633 reported by Mathias Gug
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
Fix Released
Low
Unassigned
Lucid
Fix Released
Low
Unassigned

Bug Description

While trying to install a NC using a preseed file on a network where there isn't any CLC/Walrus/CC/SC already running, the installation ends up installing a CLC+Walrus+CC+SC system.

The preseed file had the following options set:

# UEC configuration
d-i anna/choose_modules string eucalyptus-udeb
eucalyptus-udeb eucalyptus/install-mode string 'node'

Revision history for this message
Mathias Gug (mathiaz) wrote :

Here are the complete logs of the install.

Revision history for this message
Thierry Carrez (ttx) wrote :

The NC install in eucalyptus-udeb requires a valid CC to download the additional preseed from...
What would be the desirable behavior here ?

Changed in eucalyptus (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Mathias Gug (mathiaz) wrote : Re: [Bug 512633] Re: CLC+Walrus+SC+CC installed even if node is preseeded

On Wed, Jan 27, 2010 at 01:08:06PM -0000, Thierry Carrez wrote:
> The NC install in eucalyptus-udeb requires a valid CC to download the additional preseed from...
> What would be the desirable behavior here ?
>

How about adding a question to skip downloading the additional preseed file? If
a preseed is already sent from a central installation service the NC preseed
file should contain all the necessary information.

--
Mathias Gug
Ubuntu Developer http://www.ubuntu.com

Revision history for this message
Thierry Carrez (ttx) wrote :

The NC additional preseed (downloaded from the CC) contains the CC host eucalyptus public key, which is generated at CC host install time. So your preseed would probably miss that.

Could you explain the use case for installing, with the UEC installer, a NC in a cloud without CC ? You'd be better off doing a regular server install and choose the cloud node task, if you want to bypass what eucalyptus-udeb does completely.

Revision history for this message
Mathias Gug (mathiaz) wrote :

Hi Thierry,

On Thu, Jan 28, 2010 at 07:49:18AM -0000, Thierry Carrez wrote:
> The NC additional preseed (downloaded from the CC) contains the CC host
> eucalyptus public key, which is generated at CC host install time. So
> your preseed would probably miss that.
>

I'd add a late_command that would automatically provide a well-known
public/private key for the eucalyptus user to all installations. Granted it's
not the safest thing to do, but for testing purposes it would help (this is
what I do in the puppet recipes).

> Could you explain the use case for installing, with the UEC installer, a
> NC in a cloud without CC ? You'd be better off doing a regular server
> install and choose the cloud node task, if you want to bypass what
> eucalyptus-udeb does completely.
>

I'd rather fire off all systems to install what they're supposed to be and not rely on having the systems to be installed in specific sequence:
  1. Install CLC
  2. Once CLC is installed, install CC+SC, install Walrus
  3. Once CC+SC is installed, install all NCs.

Automating the installation of multiple systems as a sequence is harder than
firing off all the systems at the same time and wait for the infrastructure to
settle (thanks to auto-registration).

The main usage of the option is to facilitate automated testing. There doesn't
even need to be a question asked. Having the possibility to preseed it is
enough.

--
Mathias Gug
Ubuntu Developer http://www.ubuntu.com

Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Looks like Thierry has his head wrapped around the fix required. Assigning to him and targeting at A3.

Changed in eucalyptus (Ubuntu):
assignee: nobody → Thierry Carrez (ttx)
milestone: none → lucid-alpha-3
Revision history for this message
Thierry Carrez (ttx) wrote :

Free game, I can do it if nobody else does :)

Changed in eucalyptus (Ubuntu Lucid):
assignee: Thierry Carrez (ttx) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eucalyptus - 1.6.2~bzr1166-0ubuntu5

---------------
eucalyptus (1.6.2~bzr1166-0ubuntu5) lucid; urgency=low

  [ Colin Watson ]
  * debian/eucalyptus-udeb.postinst: allow preseeding of
    eucalyptus/install-mode, LP: #512633
 -- Dustin Kirkland <email address hidden> Thu, 04 Feb 2010 17:37:11 -0800

Changed in eucalyptus (Ubuntu Lucid):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.