← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1400037] Re: Launching an instance with muliple interfaces attached to same network by using --net-id fails

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => kilo-2

-- 
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/1400037

Title:
  Launching an instance with muliple interfaces attached to same network
  by using --net-id fails

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Fails to launch an instance with multiple interfaces attached to the
  same network by using --nic net-id= :

  # nova boot --flavor m1.small --image rhel7-new --nic net-id=52fc18b6
  -397a-45d6-b8db-fb32accd00e5 --nic net-id=52fc18b6-397a-45d6-b8db-
  fb32accd00e5 vm100

  ERROR (BadRequest): Duplicate networks (52fc18b6-397a-45d6-b8db-
  fb32accd00e5) are not allowed (HTTP 400) (Request-ID: req-
  7b9bfaa5-a304-4b47-9acb-ee518ba220f8)

  There is no problem when launching the instance using --port-id :
  # nova boot --flavor m1.small --image rhel7-new --nic port-id=4479d8c5-3c1d-41ab-8994-e577280a9584 --nic port-id=ec218051-3819-4af5-8113-96c5d31442cc vm100

  # neutron  port-show 4479d8c5-3c1d-41ab-8994-e577280a9584 -F network_id
  +------------+--------------------------------------+
  | Field      | Value                                |
  +------------+--------------------------------------+
  | network_id | 52fc18b6-397a-45d6-b8db-fb32accd00e5 |
  +------------+--------------------------------------+
  # neutron  port-show ec218051-3819-4af5-8113-96c5d31442cc -F network_id
  +------------+--------------------------------------+
  | Field      | Value                                |
  +------------+--------------------------------------+
  | network_id | 52fc18b6-397a-45d6-b8db-fb32accd00e5 |
  +------------+--------------------------------------+

  
  Version
  =======
  openstack-nova-common-2014.2-2.el7ost.noarch
  openstack-neutron-2014.2-11.el7ost.noarch

  Expected result
  =============
  Both using the --nic port-id  and --nic net-id should work

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


References