ipv6 support

Bug #1366326 reported by Harm Weites
80
This bug affects 14 people
Affects Status Importance Assigned to Milestone
CirrOS
Fix Released
Medium
Dr. Jens Harbott
tempest
Fix Released
Undecided
Unassigned

Bug Description

The CirrOS image currently has no support for IPv6, and we can't have that in 2014...

From what I can tell this primarily involves the following areas:

- busybox

BB should be patched to compile IPv6 support for its binaries and several tools need to be added on top of that. Things like ping6 and traceroute6, so one is able to do some troubleshooting/testing.

- netconfig

Depending on the way clouds are configured for IPv6 (DHCPv6, Router Advertisements, ..) CirrOS needs to be able to pick up some configuration to configure and address. Either statically or through SLAAC (stateless autoconfig). Typically, it should configure IPv4 -and- IPv6, and perhaps only either one of those based on kernel parameters to keep it from running unnecessary code.

Scott Moser (smoser)
Changed in cirros:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
John Belamaric (jbelamaric) wrote :

It does get an IPv6 address from the router advertisements; it won't get one from DHCPv6 though.

Revision history for this message
Matthew Treinish (treinish) wrote :

I agree that this is a problem, cirros should definitely have IPv6 support baked in. That being said, I'm not exactly sure how this is a tempest bug, you can specify any image to use with tempest, cirros is just what we use for gating.

Changed in tempest:
status: New → Incomplete
Revision history for this message
Kirill Shileev (kshileev) wrote :

Since cirros is used in the gate, there is no way to suggest to tempest new tests which rely on ipv6 tools in cirros. They simply fail on the gate. So IMO, this bug somehow related to the tempest.

Revision history for this message
Sean M. Collins (scollins) wrote :

I agree - Cirros is very convenient for testing due to it's small size, having the IPv6 utils installed would be a huge win :)

Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

I started looking at this based on https://code.launchpad.net/~smoser/cirros/buildroot-upgrade. Using SLAAC seems to work rather well already, only some minor issues to be ironed out.

Does someone have devstack set up with DHCPv6 and would be willing to share their config?

Revision history for this message
Daniel Mellado (daniel-mellado) wrote :

What's the current status of this? Do you still need help with devstack configs?

Revision history for this message
Henry Gessau (gessau) wrote :

Cirros 0.3.4 has sufficient IPv6 support.

Changed in cirros:
status: Confirmed → Fix Released
assignee: nobody → Dr. Jens Rosenboom (j-rosenboom-j)
Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

Current status is that 0.3.4 was released with support for SLAAC and that seems to work fine for some people.

I haven't seen much interest in the DHCPv6 case, so this is currently pretty deeply hidden on my priority list.

Revision history for this message
Henry Gessau (gessau) wrote :

Daniel, it looks like devstack is correctly set up, except for lbaas.

Revision history for this message
Daniel Mellado (daniel-mellado) wrote :

Henry, my concern was due to the lock of DHCPv6 in cirros, basically. So stateful IPv6 (not SLAAC or Stateless) would fail when getting an IP address

Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

@Daniel you are right, but probably this in fact seems to deserve its own bug report, would you like to create one?

Revision history for this message
Daniel Mellado (daniel-mellado) wrote :

@Jens I've just submitted a new bug. https://bugs.launchpad.net/cirros/+bug/1487041

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tempest (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/239326

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tempest (master)

Reviewed: https://review.openstack.org/239326
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=c03784881c0788ac2dae3e635482ba3c4c4eecca
Submitter: Jenkins
Branch: master

commit c03784881c0788ac2dae3e635482ba3c4c4eecca
Author: Sean M. Collins <email address hidden>
Date: Mon Oct 26 12:59:47 2015 +0900

    Remove checks for ipv6 utilities before use

    Cirros v0.3.4 is compiled with ipv6 enabled in Busybox,
    so utilities like ping6 are now present in the image.

    Change-Id: Ic938a970d8f229ef0e3f4c579156e96fee158b8c
    Related-Bug: #1366326

Revision history for this message
Ken'ichi Ohmichi (oomichi) wrote :

Tempest side seems fixed with https://review.openstack.org/239326

Changed in tempest:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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