← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1044383] Re: Cannot launch an instance with IPv6 subnet

 

** Changed in: nova
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1044383

Title:
  Cannot launch an instance with IPv6 subnet

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  I failed to launch an instance with IPv6 subnet. I used Quantum, but
  it is not specific to Quantum integration.

  [Command lines]
  $ quantum net-create net2
  $ quantum subnet-create --ip_version 6 net2 2001:db8:dead:beef::1/64
  $ nova boot --image $IMAGE_ID --flavor 1 --nic net-id=f4230924-bd0b-48ae-88b0-8fa6a93b06cc server-v6
  $ nova list
  +--------------------------------------+-----------+--------+----------+
  | ID                                   | Name      | Status | Networks |
  +--------------------------------------+-----------+--------+----------+
  | b458b54e-183c-4f25-83e7-c35e6ab43ef3 | server-v6 | ERROR  |          |
  +--------------------------------------+-----------+--------+----------+

  [nova-compute log]
  2012-08-31 22:44:16 ERROR nova.compute.manager [req-d8f85019-50b8-4db3-9334-bf6137723fa7 demo demo] [instance: b458b54e-183c-4f25-83e7-c35e6ab43ef3] Instance failed to spawn
  2012-08-31 22:44:16 TRACE nova.compute.manager [instance: b458b54e-183c-4f25-83e7-c35e6ab43ef3] Traceback (most recent call last):
  2012-08-31 22:44:16 TRACE nova.compute.manager [instance: b458b54e-183c-4f25-83e7-c35e6ab43ef3]   File "/opt/stack/nova/nova/compute/manager.py", line 773, in _spawn
  2012-08-31 22:44:16 TRACE nova.compute.manager [instance: b458b54e-183c-4f25-83e7-c35e6ab43ef3]     self._legacy_nw_info(network_info),
  2012-08-31 22:44:16 TRACE nova.compute.manager [instance: b458b54e-183c-4f25-83e7-c35e6ab43ef3]   File "/opt/stack/nova/nova/compute/manager.py", line 434, in _legacy_nw_info
  2012-08-31 22:44:16 TRACE nova.compute.manager [instance: b458b54e-183c-4f25-83e7-c35e6ab43ef3]     network_info = network_info.legacy()
  2012-08-31 22:44:16 TRACE nova.compute.manager [instance: b458b54e-183c-4f25-83e7-c35e6ab43ef3]   File "/opt/stack/nova/nova/network/model.py", line 338, in legacy
  2012-08-31 22:44:16 TRACE nova.compute.manager [instance: b458b54e-183c-4f25-83e7-c35e6ab43ef3]     raise exception.NovaException(message=msg)
  2012-08-31 22:44:16 TRACE nova.compute.manager [instance: b458b54e-183c-4f25-83e7-c35e6ab43ef3] NovaException: v4 subnets are required for legacy nw_info
  2012-08-31 22:44:16 TRACE nova.compute.manager [instance: b458b54e-183c-4f25-83e7-c35e6ab43ef3]
  Instance failed to spawn

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1044383/+subscriptions