← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1385721] [NEW] v4-fixed-ip= not working with nova networking

 

Public bug reported:

In Icehouse the following worked:

nova boot --flavor 4 --boot-volume 13cf15c8-e5fa-484f-b8b5-54e1498dfb48
spacewalk --nic net-id=a0e8f4f0-c1c4-483d-9524-300fcede7a69,v4-fixed-
ip=10.71.0.206

However with Juno the only way to make it work is to remove the v4
-fixed-ip= setting. The Debug logs are as follows:

2014-10-24 20:33:10.721 2899 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://127.0.0.1:35357/v2.0/tokens/revoked -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: TOKEN_REDACTED" _http_log_request /usr/lib/python2.7/site-packages/keystoneclient/session.py:155
2014-10-24 20:33:10.743 2899 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Sat, 25 Oct 2014 00:33:10 GMT', 'content-type': 'application/json', 'content-length': '686', 'vary': 'X-Auth-Token'} 
RESP BODY: {"signed": "-----BEGIN CMS-----\nMIIBxgYJKoZIhvcNAQcCoIIBtzCCAbMCAQExCTAHBgUrDgMCGjAeBgkqhkiG9w0B\nBwGgEQQPeyJyZXZva2VkIjogW119MYIBgTCCAX0CAQEwXDBXMQswCQYDVQQGEwJV\nUzEOMAwGA1UECAwFVW5zZXQxDjAMBgNVBAcMBVVuc2V0MQ4wDAYDVQQKDAVVbnNl\ndDEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tAgEBMAcGBSsOAwIaMA0GCSqGSIb3\nDQEBAQUABIIBANPLKniK+n+mxd4tIAKrm0rj5u/wQkdlxlToJRhwogKwv1+Tujp/\nFrSjoZSu+tzVsLrHQGVwKdo9DJSN3gTRzQx+TqgIxpduji1gG3uop/VCqSEimtHq\nmmz9hewQGS/lE51xkMwsiWoUmcPruVF2bTfcjAeYsvSOoqLD2jAnnu4jtG68LaWn\n21ew62qzIumwYxfb9BlpvVebShFpKrM4/XWBg7k2KUJ7E+wd6lgo39Sr7FfAxnNv\npvLgfKb0SBXCJYfKrG52lZOkodGcHwNOT9tizm/tHKIVXv/0MN0dLUZY1+NCGkxx\nXETUgJdPHMLfwP/ipVkvih57C1PzD0OZJNI=\n-----END CMS-----\n"}
 _http_log_response /usr/lib/python2.7/site-packages/keystoneclient/session.py:182
2014-10-24 20:33:10.764 2899 DEBUG nova.api.openstack.wsgi [req-c52d68de-62de-4162-806d-33838f5a7c18 None] Calling method '<bound method Controller.show of <nova.api.openstack.compute.flavors.Controller object at 0x4fbb6d0>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:935
2014-10-24 20:33:10.777 2899 INFO nova.osapi_compute.wsgi.server [req-c52d68de-62de-4162-806d-33838f5a7c18 None] 10.71.0.137 "GET /v2/71e48f8b2afb4db99f588752b0c720c5/flavors/4 HTTP/1.1" status: 200 len: 596 time: 0.0571671
2014-10-24 20:33:10.781 2901 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://127.0.0.1:35357/v2.0/tokens/revoked -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: TOKEN_REDACTED" _http_log_request /usr/lib/python2.7/site-packages/keystoneclient/session.py:155
2014-10-24 20:33:10.804 2901 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Sat, 25 Oct 2014 00:33:10 GMT', 'content-type': 'application/json', 'content-length': '686', 'vary': 'X-Auth-Token'} 
RESP BODY: {"signed": "-----BEGIN CMS-----\nMIIBxgYJKoZIhvcNAQcCoIIBtzCCAbMCAQExCTAHBgUrDgMCGjAeBgkqhkiG9w0B\nBwGgEQQPeyJyZXZva2VkIjogW119MYIBgTCCAX0CAQEwXDBXMQswCQYDVQQGEwJV\nUzEOMAwGA1UECAwFVW5zZXQxDjAMBgNVBAcMBVVuc2V0MQ4wDAYDVQQKDAVVbnNl\ndDEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tAgEBMAcGBSsOAwIaMA0GCSqGSIb3\nDQEBAQUABIIBANPLKniK+n+mxd4tIAKrm0rj5u/wQkdlxlToJRhwogKwv1+Tujp/\nFrSjoZSu+tzVsLrHQGVwKdo9DJSN3gTRzQx+TqgIxpduji1gG3uop/VCqSEimtHq\nmmz9hewQGS/lE51xkMwsiWoUmcPruVF2bTfcjAeYsvSOoqLD2jAnnu4jtG68LaWn\n21ew62qzIumwYxfb9BlpvVebShFpKrM4/XWBg7k2KUJ7E+wd6lgo39Sr7FfAxnNv\npvLgfKb0SBXCJYfKrG52lZOkodGcHwNOT9tizm/tHKIVXv/0MN0dLUZY1+NCGkxx\nXETUgJdPHMLfwP/ipVkvih57C1PzD0OZJNI=\n-----END CMS-----\n"}
 _http_log_response /usr/lib/python2.7/site-packages/keystoneclient/session.py:182
2014-10-24 20:33:10.828 2901 DEBUG nova.api.openstack.wsgi [req-3c410d38-49f5-4f86-acb5-58a2d56d9ae0 None] Action: 'create', calling method: <bound method Controller.create of <nova.api.openstack.compute.servers.Controller object at 0x4dba050>>, body: {"server": {"name": "spacewalk", "imageRef": "", "block_device_mapping_v2": [{"source_type": "volume", "delete_on_termination": false, "boot_index": 0, "uuid": "13cf15c8-e5fa-484f-b8b5-54e1498dfb48", "destination_type": "volume"}], "flavorRef": "4", "max_count": 1, "min_count": 1, "networks": [{"fixed_ip": "10.71.0.206", "uuid": "a0e8f4f0-c1c4-483d-9524-300fcede7a69"}]}} _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:932
2014-10-24 20:33:10.841 2901 DEBUG nova.volume.cinder [req-3c410d38-49f5-4f86-acb5-58a2d56d9ae0 None] Cinderclient connection created using URL: http://10.71.0.137:8776/v1/71e48f8b2afb4db99f588752b0c720c5 get_cinder_client_version /usr/lib/python2.7/site-packages/nova/volume/cinder.py:255
2014-10-24 20:33:11.049 2901 ERROR nova.api.openstack.wsgi [req-3c410d38-49f5-4f86-acb5-58a2d56d9ae0 None] Exception handling resource: 'NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 400, in _object_dispatch
    return getattr(target, method)(context, *args, **kwargs)

  File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 155, in wrapper
    result = fn(cls, context, *args, **kwargs)

  File "/usr/lib/python2.7/site-packages/nova/objects/fixed_ip.py", line 111, in get_by_address
    expected_attrs)

  File "/usr/lib/python2.7/site-packages/nova/objects/fixed_ip.py", line 90, in _from_db_object
    context, objects.Network(context), db_fixedip['network'])

  File "/usr/lib/python2.7/site-packages/nova/objects/network.py", line 115, in _from_db_object
    db_value = db_network[field]

TypeError: 'NoneType' object has no attribute '__getitem__'

Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
    incoming.message))

  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
    return self._do_dispatch(endpoint, method, ctxt, args)

  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
    result = getattr(endpoint, method)(ctxt, **new_args)

  File "/usr/lib/python2.7/site-packages/nova/network/manager.py", line 1503, in validate_networks
    context, address, expected_attrs=['network'])

  File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 153, in wrapper
    args, kwargs)

  File "/usr/lib/python2.7/site-packages/nova/conductor/rpcapi.py", line 346, in object_class_action
    objver=objver, args=args, kwargs=kwargs)

  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152, in call
    retry=self.retry)

  File "/usr/lib/python2.7/site-packages/oslo/messaging/transport.py", line 90, in _send
    timeout=timeout, retry=retry)

  File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send
    retry=retry)

  File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 399, in _send
    raise result

TypeError: 'NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 400, in _object_dispatch
    return getattr(target, method)(context, *args, **kwargs)

  File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 155, in wrapper
    result = fn(cls, context, *args, **kwargs)

  File "/usr/lib/python2.7/site-packages/nova/objects/fixed_ip.py", line 111, in get_by_address
    expected_attrs)

  File "/usr/lib/python2.7/site-packages/nova/objects/fixed_ip.py", line 90, in _from_db_object
    context, objects.Network(context), db_fixedip['network'])

  File "/usr/lib/python2.7/site-packages/nova/objects/network.py", line 115, in _from_db_object
    db_value = db_network[field]

TypeError: 'NoneType' object has no attribute '__getitem__'

2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi Traceback (most recent call last):
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 973, in _process_stack
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     action_result = self.dispatch(meth, request, action_args)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 1057, in dispatch
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     return method(req=request, **action_args)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 958, in create
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     check_server_group_quota=check_server_group_quota)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 131, in inner
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     rv = f(*args, **kwargs)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1447, in create
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     check_server_group_quota=check_server_group_quota)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1069, in _create_instance
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     max_count)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 769, in _validate_and_build_base_options
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     requested_networks, max_count)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 478, in _check_requested_networks
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     max_count)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 48, in wrapped
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     return func(self, context, *args, **kwargs)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 404, in validate_networks
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     requested_networks)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/rpcapi.py", line 245, in validate_networks
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     return self.client.call(ctxt, 'validate_networks', networks=networks)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 389, in call
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     return self.prepare().call(ctxt, method, **kwargs)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152, in call
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     retry=self.retry)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/transport.py", line 90, in _send
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     timeout=timeout, retry=retry)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     retry=retry)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 399, in _send
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     raise result
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi TypeError: 'NoneType' object has no attribute '__getitem__'
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi Traceback (most recent call last):
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 400, in _object_dispatch
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     return getattr(target, method)(context, *args, **kwargs)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 155, in wrapper
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     result = fn(cls, context, *args, **kwargs)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/fixed_ip.py", line 111, in get_by_address
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     expected_attrs)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/fixed_ip.py", line 90, in _from_db_object
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     context, objects.Network(context), db_fixedip['network'])
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/network.py", line 115, in _from_db_object
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     db_value = db_network[field]
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi TypeError: 'NoneType' object has no attribute '__getitem__'
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi Traceback (most recent call last):
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     incoming.message))
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     return self._do_dispatch(endpoint, method, ctxt, args)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     result = getattr(endpoint, method)(ctxt, **new_args)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/manager.py", line 1503, in validate_networks
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     context, address, expected_attrs=['network'])
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 153, in wrapper
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     args, kwargs)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/conductor/rpcapi.py", line 346, in object_class_action
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     objver=objver, args=args, kwargs=kwargs)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152, in call
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     retry=self.retry)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/transport.py", line 90, in _send
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     timeout=timeout, retry=retry)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     retry=retry)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 399, in _send
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     raise result
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi TypeError: 'NoneType' object has no attribute '__getitem__'
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi Traceback (most recent call last):
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 400, in _object_dispatch
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     return getattr(target, method)(context, *args, **kwargs)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 155, in wrapper
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     result = fn(cls, context, *args, **kwargs)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/fixed_ip.py", line 111, in get_by_address
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     expected_attrs)
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/fixed_ip.py", line 90, in _from_db_object
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     context, objects.Network(context), db_fixedip['network'])
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/network.py", line 115, in _from_db_object
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     db_value = db_network[field]
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi TypeError: 'NoneType' object has no attribute '__getitem__'
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
2014-10-24 20:33:11.051 2901 DEBUG nova.api.openstack.wsgi [req-3c410d38-49f5-4f86-acb5-58a2d56d9ae0 None] Returning 400 to user: The server could not comply with the request since it is either malformed or otherwise incorrect. __call__ /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:1199
2014-10-24 20:33:11.052 2901 INFO nova.osapi_compute.wsgi.server [req-3c410d38-49f5-4f86-acb5-58a2d56d9ae0 None] 10.71.0.137 "POST /v2/71e48f8b2afb4db99f588752b0c720c5/os-volumes_boot HTTP/1.1" status: 400 len: 338 time: 0.2714109
ERROR (BadRequest): The server could not comply with the request since it is either malformed or otherwise incorrect. (HTTP 400) (Request-ID: req-3c410d38-49f5-4f86-acb5-58a2d56d9ae0)

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  v4-fixed-ip= not working with nova networking

Status in OpenStack Compute (Nova):
  New

Bug description:
  In Icehouse the following worked:

  nova boot --flavor 4 --boot-volume 13cf15c8-e5fa-484f-
  b8b5-54e1498dfb48 spacewalk --nic net-
  id=a0e8f4f0-c1c4-483d-9524-300fcede7a69,v4-fixed-ip=10.71.0.206

  However with Juno the only way to make it work is to remove the v4
  -fixed-ip= setting. The Debug logs are as follows:

  2014-10-24 20:33:10.721 2899 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://127.0.0.1:35357/v2.0/tokens/revoked -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: TOKEN_REDACTED" _http_log_request /usr/lib/python2.7/site-packages/keystoneclient/session.py:155
  2014-10-24 20:33:10.743 2899 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Sat, 25 Oct 2014 00:33:10 GMT', 'content-type': 'application/json', 'content-length': '686', 'vary': 'X-Auth-Token'} 
  RESP BODY: {"signed": "-----BEGIN CMS-----\nMIIBxgYJKoZIhvcNAQcCoIIBtzCCAbMCAQExCTAHBgUrDgMCGjAeBgkqhkiG9w0B\nBwGgEQQPeyJyZXZva2VkIjogW119MYIBgTCCAX0CAQEwXDBXMQswCQYDVQQGEwJV\nUzEOMAwGA1UECAwFVW5zZXQxDjAMBgNVBAcMBVVuc2V0MQ4wDAYDVQQKDAVVbnNl\ndDEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tAgEBMAcGBSsOAwIaMA0GCSqGSIb3\nDQEBAQUABIIBANPLKniK+n+mxd4tIAKrm0rj5u/wQkdlxlToJRhwogKwv1+Tujp/\nFrSjoZSu+tzVsLrHQGVwKdo9DJSN3gTRzQx+TqgIxpduji1gG3uop/VCqSEimtHq\nmmz9hewQGS/lE51xkMwsiWoUmcPruVF2bTfcjAeYsvSOoqLD2jAnnu4jtG68LaWn\n21ew62qzIumwYxfb9BlpvVebShFpKrM4/XWBg7k2KUJ7E+wd6lgo39Sr7FfAxnNv\npvLgfKb0SBXCJYfKrG52lZOkodGcHwNOT9tizm/tHKIVXv/0MN0dLUZY1+NCGkxx\nXETUgJdPHMLfwP/ipVkvih57C1PzD0OZJNI=\n-----END CMS-----\n"}
   _http_log_response /usr/lib/python2.7/site-packages/keystoneclient/session.py:182
  2014-10-24 20:33:10.764 2899 DEBUG nova.api.openstack.wsgi [req-c52d68de-62de-4162-806d-33838f5a7c18 None] Calling method '<bound method Controller.show of <nova.api.openstack.compute.flavors.Controller object at 0x4fbb6d0>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:935
  2014-10-24 20:33:10.777 2899 INFO nova.osapi_compute.wsgi.server [req-c52d68de-62de-4162-806d-33838f5a7c18 None] 10.71.0.137 "GET /v2/71e48f8b2afb4db99f588752b0c720c5/flavors/4 HTTP/1.1" status: 200 len: 596 time: 0.0571671
  2014-10-24 20:33:10.781 2901 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://127.0.0.1:35357/v2.0/tokens/revoked -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: TOKEN_REDACTED" _http_log_request /usr/lib/python2.7/site-packages/keystoneclient/session.py:155
  2014-10-24 20:33:10.804 2901 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Sat, 25 Oct 2014 00:33:10 GMT', 'content-type': 'application/json', 'content-length': '686', 'vary': 'X-Auth-Token'} 
  RESP BODY: {"signed": "-----BEGIN CMS-----\nMIIBxgYJKoZIhvcNAQcCoIIBtzCCAbMCAQExCTAHBgUrDgMCGjAeBgkqhkiG9w0B\nBwGgEQQPeyJyZXZva2VkIjogW119MYIBgTCCAX0CAQEwXDBXMQswCQYDVQQGEwJV\nUzEOMAwGA1UECAwFVW5zZXQxDjAMBgNVBAcMBVVuc2V0MQ4wDAYDVQQKDAVVbnNl\ndDEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tAgEBMAcGBSsOAwIaMA0GCSqGSIb3\nDQEBAQUABIIBANPLKniK+n+mxd4tIAKrm0rj5u/wQkdlxlToJRhwogKwv1+Tujp/\nFrSjoZSu+tzVsLrHQGVwKdo9DJSN3gTRzQx+TqgIxpduji1gG3uop/VCqSEimtHq\nmmz9hewQGS/lE51xkMwsiWoUmcPruVF2bTfcjAeYsvSOoqLD2jAnnu4jtG68LaWn\n21ew62qzIumwYxfb9BlpvVebShFpKrM4/XWBg7k2KUJ7E+wd6lgo39Sr7FfAxnNv\npvLgfKb0SBXCJYfKrG52lZOkodGcHwNOT9tizm/tHKIVXv/0MN0dLUZY1+NCGkxx\nXETUgJdPHMLfwP/ipVkvih57C1PzD0OZJNI=\n-----END CMS-----\n"}
   _http_log_response /usr/lib/python2.7/site-packages/keystoneclient/session.py:182
  2014-10-24 20:33:10.828 2901 DEBUG nova.api.openstack.wsgi [req-3c410d38-49f5-4f86-acb5-58a2d56d9ae0 None] Action: 'create', calling method: <bound method Controller.create of <nova.api.openstack.compute.servers.Controller object at 0x4dba050>>, body: {"server": {"name": "spacewalk", "imageRef": "", "block_device_mapping_v2": [{"source_type": "volume", "delete_on_termination": false, "boot_index": 0, "uuid": "13cf15c8-e5fa-484f-b8b5-54e1498dfb48", "destination_type": "volume"}], "flavorRef": "4", "max_count": 1, "min_count": 1, "networks": [{"fixed_ip": "10.71.0.206", "uuid": "a0e8f4f0-c1c4-483d-9524-300fcede7a69"}]}} _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:932
  2014-10-24 20:33:10.841 2901 DEBUG nova.volume.cinder [req-3c410d38-49f5-4f86-acb5-58a2d56d9ae0 None] Cinderclient connection created using URL: http://10.71.0.137:8776/v1/71e48f8b2afb4db99f588752b0c720c5 get_cinder_client_version /usr/lib/python2.7/site-packages/nova/volume/cinder.py:255
  2014-10-24 20:33:11.049 2901 ERROR nova.api.openstack.wsgi [req-3c410d38-49f5-4f86-acb5-58a2d56d9ae0 None] Exception handling resource: 'NoneType' object has no attribute '__getitem__'
  Traceback (most recent call last):

    File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 400, in _object_dispatch
      return getattr(target, method)(context, *args, **kwargs)

    File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 155, in wrapper
      result = fn(cls, context, *args, **kwargs)

    File "/usr/lib/python2.7/site-packages/nova/objects/fixed_ip.py", line 111, in get_by_address
      expected_attrs)

    File "/usr/lib/python2.7/site-packages/nova/objects/fixed_ip.py", line 90, in _from_db_object
      context, objects.Network(context), db_fixedip['network'])

    File "/usr/lib/python2.7/site-packages/nova/objects/network.py", line 115, in _from_db_object
      db_value = db_network[field]

  TypeError: 'NoneType' object has no attribute '__getitem__'

  Traceback (most recent call last):

    File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
      incoming.message))

    File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
      return self._do_dispatch(endpoint, method, ctxt, args)

    File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
      result = getattr(endpoint, method)(ctxt, **new_args)

    File "/usr/lib/python2.7/site-packages/nova/network/manager.py", line 1503, in validate_networks
      context, address, expected_attrs=['network'])

    File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 153, in wrapper
      args, kwargs)

    File "/usr/lib/python2.7/site-packages/nova/conductor/rpcapi.py", line 346, in object_class_action
      objver=objver, args=args, kwargs=kwargs)

    File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152, in call
      retry=self.retry)

    File "/usr/lib/python2.7/site-packages/oslo/messaging/transport.py", line 90, in _send
      timeout=timeout, retry=retry)

    File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send
      retry=retry)

    File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 399, in _send
      raise result

  TypeError: 'NoneType' object has no attribute '__getitem__'
  Traceback (most recent call last):

    File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 400, in _object_dispatch
      return getattr(target, method)(context, *args, **kwargs)

    File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 155, in wrapper
      result = fn(cls, context, *args, **kwargs)

    File "/usr/lib/python2.7/site-packages/nova/objects/fixed_ip.py", line 111, in get_by_address
      expected_attrs)

    File "/usr/lib/python2.7/site-packages/nova/objects/fixed_ip.py", line 90, in _from_db_object
      context, objects.Network(context), db_fixedip['network'])

    File "/usr/lib/python2.7/site-packages/nova/objects/network.py", line 115, in _from_db_object
      db_value = db_network[field]

  TypeError: 'NoneType' object has no attribute '__getitem__'

  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi Traceback (most recent call last):
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 973, in _process_stack
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     action_result = self.dispatch(meth, request, action_args)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 1057, in dispatch
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     return method(req=request, **action_args)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 958, in create
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     check_server_group_quota=check_server_group_quota)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 131, in inner
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     rv = f(*args, **kwargs)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1447, in create
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     check_server_group_quota=check_server_group_quota)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1069, in _create_instance
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     max_count)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 769, in _validate_and_build_base_options
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     requested_networks, max_count)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 478, in _check_requested_networks
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     max_count)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 48, in wrapped
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     return func(self, context, *args, **kwargs)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 404, in validate_networks
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     requested_networks)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/rpcapi.py", line 245, in validate_networks
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     return self.client.call(ctxt, 'validate_networks', networks=networks)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 389, in call
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     return self.prepare().call(ctxt, method, **kwargs)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152, in call
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     retry=self.retry)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/transport.py", line 90, in _send
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     timeout=timeout, retry=retry)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     retry=retry)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 399, in _send
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     raise result
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi TypeError: 'NoneType' object has no attribute '__getitem__'
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi Traceback (most recent call last):
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 400, in _object_dispatch
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     return getattr(target, method)(context, *args, **kwargs)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 155, in wrapper
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     result = fn(cls, context, *args, **kwargs)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/fixed_ip.py", line 111, in get_by_address
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     expected_attrs)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/fixed_ip.py", line 90, in _from_db_object
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     context, objects.Network(context), db_fixedip['network'])
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/network.py", line 115, in _from_db_object
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     db_value = db_network[field]
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi TypeError: 'NoneType' object has no attribute '__getitem__'
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi Traceback (most recent call last):
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     incoming.message))
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     return self._do_dispatch(endpoint, method, ctxt, args)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     result = getattr(endpoint, method)(ctxt, **new_args)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/network/manager.py", line 1503, in validate_networks
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     context, address, expected_attrs=['network'])
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 153, in wrapper
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     args, kwargs)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/conductor/rpcapi.py", line 346, in object_class_action
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     objver=objver, args=args, kwargs=kwargs)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152, in call
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     retry=self.retry)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/transport.py", line 90, in _send
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     timeout=timeout, retry=retry)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     retry=retry)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 399, in _send
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     raise result
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi TypeError: 'NoneType' object has no attribute '__getitem__'
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi Traceback (most recent call last):
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 400, in _object_dispatch
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     return getattr(target, method)(context, *args, **kwargs)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 155, in wrapper
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     result = fn(cls, context, *args, **kwargs)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/fixed_ip.py", line 111, in get_by_address
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     expected_attrs)
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/fixed_ip.py", line 90, in _from_db_object
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     context, objects.Network(context), db_fixedip['network'])
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/objects/network.py", line 115, in _from_db_object
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi     db_value = db_network[field]
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi TypeError: 'NoneType' object has no attribute '__getitem__'
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.049 2901 TRACE nova.api.openstack.wsgi 
  2014-10-24 20:33:11.051 2901 DEBUG nova.api.openstack.wsgi [req-3c410d38-49f5-4f86-acb5-58a2d56d9ae0 None] Returning 400 to user: The server could not comply with the request since it is either malformed or otherwise incorrect. __call__ /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:1199
  2014-10-24 20:33:11.052 2901 INFO nova.osapi_compute.wsgi.server [req-3c410d38-49f5-4f86-acb5-58a2d56d9ae0 None] 10.71.0.137 "POST /v2/71e48f8b2afb4db99f588752b0c720c5/os-volumes_boot HTTP/1.1" status: 400 len: 338 time: 0.2714109
  ERROR (BadRequest): The server could not comply with the request since it is either malformed or otherwise incorrect. (HTTP 400) (Request-ID: req-3c410d38-49f5-4f86-acb5-58a2d56d9ae0)

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


Follow ups

References