eucalyptus link local address should be labeled

Bug #452754 reported by Dustin Kirkland  on 2009-10-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
Dustin Kirkland 
Dustin Kirkland 

Bug Description

Closely related to Bug #451607 (in part, the cause of).

Eucalyptus needs to provide the metadata service (compatibility with Amazon EC2).

When configuring this address, we should label it appropriately, such that it doesn't conflict with eth0.


Dustin Kirkland  (kirkland) wrote :

With my patch:

ubuntu@cluster:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:d3:ca:e8:1e
          inet addr: Bcast: Mask:
          inet6 addr: fe80::216:d3ff:feca:e81e/64 Scope:Link
          RX packets:1039 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1034 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:82011 (82.0 KB) TX bytes:940715 (940.7 KB)

eth0:metadata Link encap:Ethernet HWaddr 00:16:d3:ca:e8:1e
          inet addr: Bcast: Mask:

lo Link encap:Local Loopback
          inet addr: Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:19662 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19662 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3384016 (3.3 MB) TX bytes:3384016 (3.3 MB)

ubuntu@cluster:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:16:d3:ca:e8:1e brd ff:ff:ff:ff:ff:ff
    inet scope link eth0:metadata
    inet brd scope global eth0
    inet6 fe80::216:d3ff:feca:e81e/64 scope link
       valid_lft forever preferred_lft forever
3: wmaster0: <> mtu 0 qdisc noop state DOWN qlen 1000
    link/ieee802.11 00:19:7e:92:15:a3 brd 00:00:00:00:00:00
4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:19:7e:92:15:a3 brd ff:ff:ff:ff:ff:ff

Dustin Kirkland  (kirkland) wrote :

Should do the same for the pub and priv addresses also on the CLC.


Changed in eucalyptus (Ubuntu):
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Dustin Kirkland (kirkland)
milestone: none → ubuntu-9.10
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eucalyptus - 1.6~bzr931-0ubuntu4

eucalyptus (1.6~bzr931-0ubuntu4) karmic; urgency=low

  [ Kees Cook ]
  * Fix unsafe /tmp file uses (LP: #445105):
    - tools/ remove debugging XML dump call.
    - node/handlers_xen.c: use mkstemp().

  [ Mathias Gug ]
  * debian/eucalyptus-common.eucalyptus.upstart: Start eucalyptus-cloud
    with all the relevant options (LP: #452665).

  [ Dustin Kirkland ]
  * cluster/handlers.c, net/vnetwork.c: label the link
    local address with :metadata, the public vm ip addresses with :pub,
    and the private vm ip addresses with :priv, to separate it appropriately
    (LP: #452754)
  * debian/eucalyptus-ipaddr.conf: and now that we're separating the weird
    addresses to their own labels, we can show just the device label, much
    cleaner output, (LP: #451607)
  * debian/copyright: Eucalyptus licensed 1.6 under the GPLv3, update
    our copyright file accordingly, (LP: #453129)
  * debian/control, debian/eucalyptus-java-common.links: the CLC absolutely
    needs the ecj.jar installed and linked for euca-* and ec2-* API calls
    to work (LP: #453177)

 -- Dustin Kirkland <email address hidden> Fri, 16 Oct 2009 13:28:32 -0500

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

Other bug subscribers