yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03358
[Bug 936813] Re: GET on os-networks/<uuid> fails with quantum
** Changed in: nova
Status: Fix Committed => Fix Released
--
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/936813
Title:
GET on os-networks/<uuid> fails with quantum
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
This is because of NULL host column in network table and here's the
stack trace:
-----------------------
2012-02-20 15:53:55 ERROR nova.rpc.common [-] Exception during message handling
(nova.rpc.common): TRACE: Traceback (most recent call last):
(nova.rpc.common): TRACE: File "/opt/stack/nova/nova/rpc/amqp.py", line 250, in _process_data
(nova.rpc.common): TRACE: rval = node_func(context=ctxt, **node_args)
(nova.rpc.common): TRACE: File "/opt/stack/nova/nova/network/manager.py", line 239, in wrapped
(nova.rpc.common): TRACE: return func(self, context, *args, **kwargs)
(nova.rpc.common): TRACE: File "/opt/stack/nova/nova/network/manager.py", line 1458, in get_network
(nova.rpc.common): TRACE: networks = self._get_networks_by_uuids(context, [network_uuid])
(nova.rpc.common): TRACE: File "/opt/stack/nova/nova/network/manager.py", line 1448, in _get_networks_by_uuids
(nova.rpc.common): TRACE: return self.db.network_get_all_by_uuids(context, network_uuids)
(nova.rpc.common): TRACE: File "/opt/stack/nova/nova/db/api.py", line 830, in network_get_all_by_uuids
(nova.rpc.common): TRACE: return IMPL.network_get_all_by_uuids(context, network_uuids, project_id)
(nova.rpc.common): TRACE: File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 101, in wrapper
(nova.rpc.common): TRACE: return f(*args, **kwargs)
(nova.rpc.common): TRACE: File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 2076, in network_get_all_by_uuids
(nova.rpc.common): TRACE: raise exception.NetworkHostNotSet(network_id=network['id'])
(nova.rpc.common): TRACE: NetworkHostNotSet: Host is not set to the network (1).
(nova.rpc.common): TRACE:
2012-02-20 15:53:55 DEBUG nova.rpc.common [-] Pool creating new connection from (pid=19848) create /opt/stack/nova/n
------------------------------------------------
Now I can think of two options:
1. remove the NULL sanity check in network_get_all_by_uuids (nova.db.sqlalchemy.api)
2. QuantumManager puts dummy recode in host column
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/936813/+subscriptions