← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1100646] Re: VM launching fails when multiple --nic options with v4-fixed-ip are specified

 

*** This bug is a duplicate of bug 1154093 ***
    https://bugs.launchpad.net/bugs/1154093

fixed in bug 1154093

** Changed in: nova
       Status: In Progress => Fix Released

** This bug has been marked a duplicate of bug 1154093
   vm with multiples user-defined fixed-ips not supported by quantumv2 driver

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

Title:
  VM launching fails when multiple --nic options with v4-fixed-ip are
  specified

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When multiple --nic options with v4-fixed-ip are specified, VM fails
  to launch.

  $ nova boot --image tty-quantum --flavor 1 --nic net-id=7922b86e-f681-4e86-8932-72e14b8dd02e,v4-fixed-ip=10.0.0.100 --nic net-id=51b694a9-914e-4f6d-a02b-f49364600de9,v4-fixed-ip=192.168.20.100 s2
  $ nova list
  +--------------------------------------+------+--------+----------+
  | ID                                   | Name | Status | Networks |
  +--------------------------------------+------+--------+----------+
  | 15f3e032-c1be-499a-9381-20948855087b | s2   | ERROR  |          |
  +--------------------------------------+------+--------+----------+

  nova-compute got the following trackback:

  Traceback (most recent call last):
    File "/opt/stack/nova/nova/compute/manager.py", line 926, in _allocate_network
      macs=macs)
    File "/opt/stack/nova/nova/network/quantumv2/api.py", line 177, in allocate_for_instance
      quantum.delete_port(port_id)
    File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
      self.gen.next()
    File "/opt/stack/nova/nova/network/quantumv2/api.py", line 160, in allocate_for_instance
      fixed_ip}]
    File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py", line 103, in with_params
      ret = self.function(instance, *args, **kwargs)
    File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py", line 227, in create_port
      return self.post(self.ports_path, body=body)
    File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py", line 594, in post
      headers=headers, params=params)
    File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py", line 519, in do_request
      self._handle_fault_response(status_code, replybody)
    File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py", line 500, in _handle_fault_response
      exception_handler_v20(status_code, des_error_body)
    File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py", line 76, in exception_handler_v20
      raise exceptions.QuantumClientException(message=error_dict)
  QuantumClientException: Invalid input for operation: IP address 192.168.20.100 is not a valid IP for the defined networks
   subnets.

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