Hi Vish,
I do not have auto_assign_floating_ip set. So, I can safely assume
nova-network is assigning fixed-IP, right?
Sorry to impose, but do you have a few minutes to help me understand by I am
getting a RPC message timeout issue which is prohibiting me from launching a
VM. I looked through the logs extensively, but I can't figure out, who the RPC
msg is destine for, and why no response.
2012-11-18 15:50:29 DEBUG nova.openstack.common.rpc.amqp [-] Making
asynchronous call on network.sonoma ... from (pid=1375) multicall
/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp
.py:351
2012-11-18 15:50:29 DEBUG nova.openstack.common.rpc.amqp [-] MSG_ID is
d73be9ea76b3412493d0752abb9d5a02 from (pid=1375) multicall
/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py:
354
2012-11-18 15:50:52 DEBUG nova.openstack.common.rpc.amqp [-] received
{u'_context_roles': [], u'_msg_id': u'b2bc0715982846cd916a8ff61b2513af',
u'_context_quota_class': None, u'_context_request_id':
u'req-22e6e99a-c582-449c-8d61-d4ee57f1ac57', u'_context_service_catalog':
None, u'_context_user_name': None, u'_context_auth_token': '<SANITIZED>',
u'args': {u'instance_id': 5, u'instance_uuid': u
'4e80964e-5bd1-4df4-a517-223c79d55517', u'host': u'sonoma', u'project_id':
u'ce1e819636744dc680fa5515f6475e87', u'rxtx_factor': 1.0},
u'_context_instance_lock_checked': False, u'_context_project_na
me': None, u'_context_is_admin': True, u'_context_project_id': None,
u'_context_timestamp': u'2012-11-18T23:50:47.233052', u'_context_read_deleted':
u'no', u'_context_user_id': None, u'method': u'g
et_instance_nw_info', u'_context_remote_address': None} from (pid=1375)
_safe_log
/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/common.py:195
2012-11-18 15:50:52 DEBUG nova.openstack.common.rpc.amqp [-] unpacked context:
{'project_name': None, 'user_id': None, 'roles': [], 'timestamp':
u'2012-11-18T23:50:47.233052', 'auth_token': '<SANIT
IZED>', 'remote_address': None, 'quota_class': None, 'is_admin': True,
'service_catalog': None, 'request_id':
u'req-22e6e99a-c582-449c-8d61-d4ee57f1ac57', 'instance_lock_checked': False,
'project_i
d': None, 'user_name': None, 'read_deleted': u'no'} from (pid=1375) _safe_log
/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/common.py:195
2012-11-18 15:50:52 DEBUG nova.utils [req-22e6e99a-c582-449c-8d61-d4ee57f1ac57
None None] Got semaphore "get_dhcp" for method "_get_dhcp_ip"... from
(pid=1375) inner /usr/lib/python2.7/dist-package
s/nova/utils.py:713
2012-11-18 15:50:52 DEBUG nova.utils [req-22e6e99a-c582-449c-8d61-d4ee57f1ac57
None None] Got semaphore "get_dhcp" for method "_get_dhcp_ip"... from
(pid=1375) inner /usr/lib/python2.7/dist-package
s/nova/utils.py:713
2012-11-18 15:51:09 DEBUG nova.manager [-] Running periodic task
FlatDHCPManager._publish_service_capabilities from (pid=1375) periodic_tasks
/usr/lib/python2.7/dist-packages/nova/manager.py:172
2012-11-18 15:51:09 DEBUG nova.manager [-] Running periodic task
FlatDHCPManager._disassociate_stale_fixed_ips from (pid=1375) periodic_tasks
/usr/lib/python2.7/dist-packages/nova/manager.py:172
2012-11-18 15:51:29 ERROR nova.openstack.common.rpc.common [-] Timed out
waiting for RPC response: timed out
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common Traceback (most
recent call last):
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py",
line 513, in ensure
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common return
method(*args, **kwargs)
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py",
line 590, in _consume
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common return
self.connection.drain_events(timeout=timeout)
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/kombu/connection.py", line 175, in
drain_events
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common return
self.transport.drain_events(self.connection, **kwargs)
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py", line 238, in
drain_events
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common return
connection.drain_events(**kwargs)
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py", line 57, in
drain_events
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common return
self.wait_multi(self.channels.values(), timeout=timeout)
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py", line 63, in
wait_multi
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common chanmap.keys(),
allowed_methods, timeout=timeout)
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py", line 120, in
_wait_multiple
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common channel,
method_sig, args, content = read_timeout(timeout)
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py", line 94, in
read_timeout
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common return
self.method_reader.read_method()
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common File
"/usr/lib/python2.7/dist-packages/amqplib/client_0_8/method_framing.py", line
221, in read_method
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common raise m
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common timeout: timed out
2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common
Thank you,
Ahmed.
From: Vishvananda Ishaya <[email protected]<mailto:[email protected]>>
Date: Tuesday, November 20, 2012 3:52 PM
To: Ahmed Al-Mehdi <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: Re: [Openstack] Floating IP vs. Fixed IP in nova-network
That is a confusing log message. That log is from the allocation code in the
floating ip mixin class. It is not actually allocating a floating ip unless you
have auto_assign_floating_ip set to True.
Vish
On Nov 20, 2012, at 10:08 AM, Ahmed Al-Mehdi
<[email protected]<mailto:[email protected]>> wrote:
Hello,
When I launch a VM instance, I see the following message regarding floating IP
in nova-network.log:
2012-11-18 15:50:29 DEBUG nova.network.manager
[req-f2b4df1f-6c29-48dc-991b-93fb5eb29d08 ce016bb05df949ebbafcc7c165359d7c
ce1e819636744dc680fa5515f6475e87] [instance:
4e80964e-5bd1-4df4-a517-223c79d55517] floating IP allocation for instance |%s|
from (pid=1375) allocate_for_instance
/usr/lib/python2.7/dist-packages/nova/network/manager.py:315
2012-11-18 15:50:29 DEBUG nova.network.manager
[req-f2b4df1f-6c29-48dc-991b-93fb5eb29d08 ce016bb05df949ebbafcc7c165359d7c
ce1e819636744dc680fa5515f6475e87] [instance:
4e80964e-5bd1-4df4-a517-223c79d55517] network allocations from (pid=1375)
allocate_for_instance
/usr/lib/python2.7/dist-packages/nova/network/manager.py:977
2012-11-18 15:50:29 DEBUG nova.network.manager
[req-f2b4df1f-6c29-48dc-991b-93fb5eb29d08 ce016bb05df949ebbafcc7c165359d7c
ce1e819636744dc680fa5515f6475e87] [instance:
4e80964e-5bd1-4df4-a517-223c79d55517] networks retrieved for instance:
|[<nova.db.sqlalchemy.models.Network object at 0x47f1d10>]| from (pid=1375)
allocate_for_instance
/usr/lib/python2.7/dist-packages/nova/network/manager.py:982
I did not configure nova to assign floating IP to VMs. Can someone please help
me understand why nova-network is assigning floating IP.
Thank you,
Ahmed.
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to :
[email protected]<mailto:[email protected]>
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp