boot vm don't support ipv6

Bug #1267685 reported by shihanzhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Wishlist
shihanzhang
python-novaclient
Fix Released
Wishlist
shihanzhang

Bug Description

when boot vm, it can use '--nic <net-id=net-uuid,v4-fixed-ip=ip-addr, port-id=port-uuid>' to set network info, if it want to use ipv6,it hase to use port-id which hase a ipv6 address, I think it should can use '--nic net-id=net-uuid, fixed-ip=ip-addr' which include ipv4 and ipv6 address.Currently,nova already prevent that:
if address is not None and not utils.is_valid_ipv4(address):
   msg = _("Invalid fixed IP address (%s)") % address
    raise exc.HTTPBadRequest(explanation=msg)

Tags: network
Changed in nova:
assignee: nobody → shihanzhang (shihanzhang)
Revision history for this message
Matt Riedemann (mriedem) wrote :

This sounds more like a wishlist item than a bug since you said you can boot the VM, just not in the more usable way you suggest.

tags: added: network
Changed in nova:
importance: Undecided → Wishlist
Revision history for this message
Matt Riedemann (mriedem) wrote :

python-novaclient would need to change this for it's validation decorators.

Changed in python-novaclient:
importance: Undecided → Wishlist
Changed in nova:
status: New → In Progress
Changed in python-novaclient:
assignee: nobody → shihanzhang (shihanzhang)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/74252

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/74256

Changed in python-novaclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/79178

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/74252
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=44545eab5e86d0837f4032759f2d8e8e6f9846b0
Submitter: Jenkins
Branch: master

commit 44545eab5e86d0837f4032759f2d8e8e6f9846b0
Author: shihanzhang <email address hidden>
Date: Tue Feb 18 11:55:54 2014 +0800

    Support IPv6 when booting instances

    When nova uses neutron, IPv6 addresses may be allocated. This ensures
    those addresses are supported.

    Change-Id: Ic904f3a7811b07264128bc62067cdf0bca9efac9
    Closes-bug: #1267685

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
milestone: none → icehouse-rc1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/79178
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=91c138c51fff43779a4fe4a9f12cd1e2c38c689c
Submitter: Jenkins
Branch: master

commit 91c138c51fff43779a4fe4a9f12cd1e2c38c689c
Author: shihanzhang <email address hidden>
Date: Sun Mar 9 16:19:17 2014 +0800

    Support IPv6 when booting instances

    When nova uses neutron, IPv6 addresses may be allocated. This ensures
    those addresses are supported.the patch to modify nova is
    https://review.openstack.org/#/c/74252/

    Change-Id: I2468d3bcaca9122e5d3f9c98044d57f623630dc3
    Closes-bug: #1267685

Changed in python-novaclient:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-rc1 → 2014.1
Michael Still (mikal)
Changed in python-novaclient:
milestone: none → 2.18.0
Michael Still (mikal)
Changed in python-novaclient:
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.