← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1294939] [NEW] Add a fixed IP to an instance failed

 

Public bug reported:

+--------------------------------------+-------+-------------+
| ID                                   | Label | CIDR        |
+--------------------------------------+-------+-------------+
| be95de64-a2aa-42de-a522-37802cdbe133 | vmnet | 10.0.0.0/24 |
| 0fd904f5-1870-4066-8213-94038b49be2e | abc   | 10.1.0.0/24 |
| 7cd88ead-fd42-4441-9182-72b3164c108d | abd   | 10.2.0.0/24 |
+--------------------------------------+-------+-------------+

nova  add-fixed-ip test15 0fd904f5-1870-4066-8213-94038b49be2e

failed with following logs


2014-03-19 03:29:30.546 7822 ERROR nova.openstack.common.rpc.amqp [req-fd087223-3646-4fed-b0f6-5a5cf50828eb d6779a827003465db2d3c52fe135d926 45210fba73d24dd681dc5c292c6b1e7f] Exception during message handling
2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data
2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp     **args)
2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp     result = getattr(proxyobj, method)(ctxt, **kwargs)
2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/network/manager.py", line 772, in add_fixed_ip_to_instance
2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp     self._allocate_fixed_ips(context, instance_id, host, [network])
2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/network/manager.py", line 214, in _allocate_fixed_ips
2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp     vpn=vpn, address=address)
2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/network/manager.py", line 881, in allocate_fixed_ip
2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp     self.quotas.rollback(context, reservations)
2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/network/manager.py", line 859, in allocate_fixed_ip
2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp     'virtual_interface_id': vif['id']}
2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp TypeError: 'NoneType' object is unsubscriptable
2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp

** Affects: nova
     Importance: Undecided
     Assignee: jichencom (jichenjc)
         Status: New


** Tags: nova-network

** Changed in: nova
     Assignee: (unassigned) => jichencom (jichenjc)

** Tags added: nova-network

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

Title:
  Add a fixed IP to an instance failed

Status in OpenStack Compute (Nova):
  New

Bug description:
  +--------------------------------------+-------+-------------+
  | ID                                   | Label | CIDR        |
  +--------------------------------------+-------+-------------+
  | be95de64-a2aa-42de-a522-37802cdbe133 | vmnet | 10.0.0.0/24 |
  | 0fd904f5-1870-4066-8213-94038b49be2e | abc   | 10.1.0.0/24 |
  | 7cd88ead-fd42-4441-9182-72b3164c108d | abd   | 10.2.0.0/24 |
  +--------------------------------------+-------+-------------+

  nova  add-fixed-ip test15 0fd904f5-1870-4066-8213-94038b49be2e

  failed with following logs

  
  2014-03-19 03:29:30.546 7822 ERROR nova.openstack.common.rpc.amqp [req-fd087223-3646-4fed-b0f6-5a5cf50828eb d6779a827003465db2d3c52fe135d926 45210fba73d24dd681dc5c292c6b1e7f] Exception during message handling
  2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
  2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data
  2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp     **args)
  2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
  2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp     result = getattr(proxyobj, method)(ctxt, **kwargs)
  2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/network/manager.py", line 772, in add_fixed_ip_to_instance
  2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp     self._allocate_fixed_ips(context, instance_id, host, [network])
  2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/network/manager.py", line 214, in _allocate_fixed_ips
  2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp     vpn=vpn, address=address)
  2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/network/manager.py", line 881, in allocate_fixed_ip
  2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp     self.quotas.rollback(context, reservations)
  2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/network/manager.py", line 859, in allocate_fixed_ip
  2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp     'virtual_interface_id': vif['id']}
  2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp TypeError: 'NoneType' object is unsubscriptable
  2014-03-19 03:29:30.546 7822 TRACE nova.openstack.common.rpc.amqp

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


Follow ups

References