<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Your hosts get ips from the fixed range in multi_host mode. It looks like your network is multi_host=True. this is the only reason  sonoma would have been assigned an ip. So you can either run nova-network on sonoma or set multi_host=0 on your network in the database. If you want to switch back to multi_host=0 you will likely have to clean out the db tables, so you might do best dropping all records from the networks and fixed_ips tables and recreating the network.<div><br></div><div>Vish</div><div><br><div><div>On Nov 20, 2012, at 4:52 PM, Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com">ahmed@coraid.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif; "><div>Hi Vish,</div><div><br></div><div>Thank you very much for your help, I really appreciate it.</div><div><br></div><div>My setup has two nodes:</div><div><br></div><div>controller-node (hostname: bodega;  nova-network running;  no nova-compute running)</div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>eth0:<span class="Apple-tab-span" style="white-space:pre">       </span>10.176.20.158</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>eth1:<span class="Apple-tab-span" style="white-space:pre">       </span>No IP assigned (VM network)</div><div> </div></div><div>compute-node (hostname: sonoma;  nova-compute running only).  </div><div><div><span class="Apple-tab-span" style="white-space: pre; ">    </span>eth0:<span class="Apple-tab-span" style="white-space: pre; ">    </span>10.176.20.4</div><div><span class="Apple-tab-span" style="white-space: pre; ">       </span>eth1:<span class="Apple-tab-span" style="white-space: pre; ">    </span>No IP assigned (VM network)</div></div><div><br></div><div>My network configuration is in single-host mode.  Both the host's hostname and their IPs has not changed.</div><div><br></div><div>I believe my setup is affected with issue (a), "have a network or fixed ip with an old hostname assigned".</div><div><br></div><div><div>root@bodega:/etc/nova# mysql -u root -pmysqlsecret   nova -e 'select * from fixed_ips where host="sonoma"'</div><div>+---------------------+---------------------+------------+---------+----+---------------+------------+-----------+--------+----------+----------------------+--------+---------------+</div><div>| created_at          | updated_at          | deleted_at | deleted | id | address       | network_id | allocated | leased | reserved | virtual_interface_id | host   | instance_uuid |</div><div>+---------------------+---------------------+------------+---------+----+---------------+------------+-----------+--------+----------+----------------------+--------+---------------+</div><div>| 2012-11-13 18:49:37 | 2012-11-16 21:45:32 | NULL       |       0 |  3 | 192.168.100.2 |          1 |         0 |      0 |        0 |                 NULL | sonoma | NULL          |</div><div>+---------------------+---------------------+------------+---------+----+---------------+------------+-----------+--------+----------+----------------------+--------+---------------+</div><div>root@bodega:/etc/nova# </div></div><div><div>root@bodega:/etc/nova# mysql -u root -pmysqlsecret   nova -e 'select * from networks where host="sonoma"'</div><div>root@bodega:/etc/nova#  (NO OUTPUT)</div></div><div><br></div><div>I am a bit confused, why is "192.168.100.2" assigned to sonoma?  Isn't that IP range reserved for VMs?</div><div><br></div><div>Should sonoma have the IP address "10.176.20.4"?  How can I clear the issue, so I don't get the RPC message timeout.</div><div><br></div><div><br></div><div>Regards,</div><div>Ahmed.</div><div><br></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family: Calibri; font-size: 11pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223); "><span style="font-weight:bold">From: </span> Vishvananda Ishaya <<a href="mailto:vishvananda@gmail.com">vishvananda@gmail.com</a>><br><span style="font-weight:bold">Date: </span> Tuesday, November 20, 2012 4:08 PM<br><span style="font-weight:bold">To: </span> Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com">ahmed@coraid.com</a>><br><span style="font-weight:bold">Cc: </span> "<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>" <<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br><span style="font-weight:bold">Subject: </span> Re: [Openstack] Floating IP vs. Fixed IP in nova-network<br></div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;" type="cite"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 20, 2012, at 4:02 PM, Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com">ahmed@coraid.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif; "><div>Hi Vish,</div><div><br></div><div>I do not have auto_assign<span style="font-style: italic; ">_</span>floating_ip set.  So, I can safely assume nova-network is assigning fixed-IP, right?</div></div></blockquote><div><br></div>
you always get a fixed ip<br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif; "><div><br></div><div>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.</div></div></blockquote><div><br></div>
do you have a machine with the hostname sonoma? Perhaps you did at one point and the hostname has changed?</div><div><br></div><div>I suspect either:</div><div><br></div><div>a) you have a network or fixed ip with an old hostname assigned:</div><div>mysql nova -e 'select * from fixed_ips where host="sonoma"'</div><div>mysql nova -e 'select * from networks where host="sonoma"'</div><div><br></div><div>or (more likely)</div><div>b) you are running multi_host mode and you have nova-compute running on the host 'sonoma' and you don't have nova-network running on the host like you should.</div><div><br></div><div>Vish</div><div><br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif; "><div><br></div><div><div>2012-11-18 15:50:29 DEBUG nova.openstack.common.rpc.amqp [-] <b>Making asynchronous call on network.sonoma</b> ... from (pid=1375) multicall /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp</div><div>.py:351</div><div>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:</div><div>354</div><div>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':</div><div> 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</div><div>'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</div><div>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</div><div>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</div><div>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</div><div>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</div><div>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</div><div>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</div><div>s/nova/utils.py:713</div><div>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</div><div>s/nova/utils.py:713</div><div>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</div><div>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</div><div>2012-11-18 15:51:29 ERROR nova.openstack.common.rpc.common [-] <b>Timed out waiting for RPC response: timed out</b></div><div>2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common Traceback (most recent call last):</div><div>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</div><div>2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common     return method(*args, **kwargs)</div><div>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</div><div>2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common     return self.connection.drain_events(timeout=timeout)</div><div>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</div><div>2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common     return self.transport.drain_events(self.connection, **kwargs)</div><div>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</div><div>2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common     return connection.drain_events(**kwargs)</div><div>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</div><div>2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common     return self.wait_multi(self.channels.values(), timeout=timeout)</div><div>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</div><div>2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common     chanmap.keys(), allowed_methods, timeout=timeout)</div><div>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</div><div>2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common     channel, method_sig, args, content = read_timeout(timeout)</div><div>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</div><div>2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common     return self.method_reader.read_method()</div><div>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</div><div>2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common     raise m</div><div>2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common timeout: timed out</div><div>2012-11-18 15:51:29 TRACE nova.openstack.common.rpc.common</div></div><div><br></div><div>Thank you,</div><div>Ahmed.</div></div></blockquote></div><br></div></blockquote></span></div>
</blockquote></div><br></div></body></html>