the CC is returning incorrect networkIndex values on describeInstances

Bug #454405 reported by Daniel Nurmi
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
Fix Released
Critical
Daniel Nurmi
eucalyptus (Ubuntu)
Fix Released
High
Mathias Gug
Karmic
Fix Released
High
Mathias Gug

Bug Description

the cc was setting instance networkIndex to the *index* of the networkIndex list, instead of the networkIndex list value itself. This bug may cause problems with public network addressing. Fixed in revno 933.

Revision history for this message
Neil Soman (neilsoman) wrote :

This bug may cause public IP addresses to be associated with an incorrect private address in MANAGED mode (especially in with multiple clusters). This results in instances not being reachable.

Changed in eucalyptus:
importance: High → Critical
Revision history for this message
Thierry Carrez (ttx) wrote :

Neil, Daniel: could this be the cause of bug 455625 ?

Changed in eucalyptus (Ubuntu):
importance: Undecided → High
status: New → Triaged
Matt Zimmerman (mdz)
Changed in eucalyptus (Ubuntu):
milestone: none → karmic-updates
Changed in eucalyptus:
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in eucalyptus (Ubuntu Karmic):
assignee: nobody → Dustin Kirkland (kirkland)
Mathias Gug (mathiaz)
Changed in eucalyptus (Ubuntu Karmic):
status: Triaged → In Progress
assignee: Dustin Kirkland (kirkland) → Mathias Gug (mathiaz)
Mathias Gug (mathiaz)
tags: added: uec
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted eucalyptus into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in eucalyptus (Ubuntu Karmic):
status: In Progress → Fix Committed
tags: added: verification-needed
Changed in eucalyptus (Ubuntu):
assignee: Dustin Kirkland (kirkland) → Mathias Gug (mathiaz)
Revision history for this message
Daniel Nurmi (nurmi) wrote :

To see the effect of this problem, the simplest setup is a multi-cluster installation (single clc, walrus, and two clusters (cc/sc) each with one node (nc)). Choose a security group (default is fine) and run one instance in one cluster, and one instance in the other cluster (this is controlled at run time using the '-z' option to 'euca-run-instances'). Both instances should appear to have the same private address, since the index value (which starts at 0) should have been used to choose the allocated private IP for both instances.

After the fix, the expected (correct) behavior should be that private IPs are uniquely assigned to VMs; two running VMs should never have the same private IP.

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

That requires a minimum of 4 machines, if I understand it right (CLC+Walrus+CC1+SC1, N1, CC2+SC2, N2).
Who has the necessary hardware to reproduce the issue and confirm the fix ?

Dan, could you run the SRU test for us ? basically, set up the system using the current karmic packages, reproduce the issue, upgrade to the packages in karmic-proposed, and confirm that the bug is no longer there ?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eucalyptus - 1.6~bzr931-0ubuntu7.3

---------------
eucalyptus (1.6~bzr931-0ubuntu7.3) karmic-proposed; urgency=low

  * debian/eucalyptus-cc.postinst: restart avahi daemon so that it uses
    eucalyptus specific configuration file (LP: #458904).
  * debian/eucalyptus-cc.eucalyptus-cc-publication{,-ip}.upstart: Respawn
    avahi publication jobs if they die (LP: #480885).

eucalyptus (1.6~bzr931-0ubuntu7.2) karmic-proposed; urgency=low

  [ Dustin Kirkland ]
  * cluster/handlers.c: euca_rootwrap rework did not whitelist powerwake;
    however, powerwake does *not* need root privs, drop euca_rootwrap wrapper
    (LP: #458163)
  * debian/rules, debian/euclayptus-cc.install: install the avahi-daemon.conf
    in /etc/eucalyptus, (LP: #458904).

  [ Thierry Carrez ]
  * clc/modules/www/src/main/java/edu/ucsb/eucalyptus/admin/public/EucalyptusWebInterface.html:
    Fix HTML title in the web UI for more consistency in naming (LP: #455293)
  * debian/eucalyptus-common.eucalyptus.upstart: Add -l to eucalyptus-cloud
    options so that cloud-output.log is affected by LOGLEVEL (LP: #458001)

  [ Mathias Gug ]
  * cluster/handlers.c: Fix the networkIndex returned by describeInstances.
    (LP: #454405 - upstream revno 933).
  * debian/eucalyptus-cc.eucalyptus-cc-publication{,-ip}.upstart: add an
    upstart job to explicitly publish the IP/CC hostname mapping via avahi
    instead of publishing the CC IP address via the service name (LP: #458904).
  * debian/avahi-daemon.conf: ship a specific avahi-daemon configuration file
    that doesn't publish IP addresses by default. (LP: #458904).
  * debian/eucalyptus-cloud.postinst: Fix postfix configuration to accept
    confirmation emails sent by eucalyptus (LP: #459101)
  * debian/eucalyptus-cc.upstart: Don't clean the CC network state when the CC is
    stopped by default (LP: #460089).
 -- Mathias Gug <email address hidden> Wed, 11 Nov 2009 15:15:48 -0500

Changed in eucalyptus (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

I copied the karmic-proposed package to lucid. Ffor karmic-updates it is still missing two verifications.

Changed in eucalyptus (Ubuntu):
status: Triaged → Fix Released
Changed in eucalyptus (Ubuntu Karmic):
status: Fix Released → Fix Committed
Revision history for this message
Thierry Carrez (ttx) wrote :

From Dan Nurmi:
"I've just run through and confirmed that 1.6~bzr931-0ubuntu7.3 has fixed the network index problem. Looks good!"

tags: added: verification-done
removed: uec verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eucalyptus - 1.6~bzr931-0ubuntu7.3

---------------
eucalyptus (1.6~bzr931-0ubuntu7.3) karmic-proposed; urgency=low

  * debian/eucalyptus-cc.postinst: restart avahi daemon so that it uses
    eucalyptus specific configuration file (LP: #458904).
  * debian/eucalyptus-cc.eucalyptus-cc-publication{,-ip}.upstart: Respawn
    avahi publication jobs if they die (LP: #480885).

eucalyptus (1.6~bzr931-0ubuntu7.2) karmic-proposed; urgency=low

  [ Dustin Kirkland ]
  * cluster/handlers.c: euca_rootwrap rework did not whitelist powerwake;
    however, powerwake does *not* need root privs, drop euca_rootwrap wrapper
    (LP: #458163)
  * debian/rules, debian/euclayptus-cc.install: install the avahi-daemon.conf
    in /etc/eucalyptus, (LP: #458904).

  [ Thierry Carrez ]
  * clc/modules/www/src/main/java/edu/ucsb/eucalyptus/admin/public/EucalyptusWebInterface.html:
    Fix HTML title in the web UI for more consistency in naming (LP: #455293)
  * debian/eucalyptus-common.eucalyptus.upstart: Add -l to eucalyptus-cloud
    options so that cloud-output.log is affected by LOGLEVEL (LP: #458001)

  [ Mathias Gug ]
  * cluster/handlers.c: Fix the networkIndex returned by describeInstances.
    (LP: #454405 - upstream revno 933).
  * debian/eucalyptus-cc.eucalyptus-cc-publication{,-ip}.upstart: add an
    upstart job to explicitly publish the IP/CC hostname mapping via avahi
    instead of publishing the CC IP address via the service name (LP: #458904).
  * debian/avahi-daemon.conf: ship a specific avahi-daemon configuration file
    that doesn't publish IP addresses by default. (LP: #458904).
  * debian/eucalyptus-cloud.postinst: Fix postfix configuration to accept
    confirmation emails sent by eucalyptus (LP: #459101)
  * debian/eucalyptus-cc.upstart: Don't clean the CC network state when the CC is
    stopped by default (LP: #460089).
 -- Mathias Gug <email address hidden> Wed, 11 Nov 2009 15:15:48 -0500

Changed in eucalyptus (Ubuntu Karmic):
status: Fix Committed → Fix Released
Changed in eucalyptus:
status: Fix Committed → 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.