[转]openstack-kilo--issue(十四)Tunnel IP %(ip)s in use with host %(host)s'
2017-01-17 18:36
507 查看
bug:
http://lists.openstack.org/pipermail/openstack-operators/2015-August/007924.html https://bugs.launchpad.net/neutron/+bug/1464178
解决方案地址:
https://bugs.launchpad.net/neutron/+bug/1464178 https://ask.openstack.org/en/question/79967/tunnel-ip-ips-in-use-with-host-hosts/
解决方案:
将数据库neutron中的ml2_gre_endpoints数据改为正确的IP 和域名(跟/etc/hosts中的一致)
参考解决方案摘要如下:
http://lists.openstack.org/pipermail/openstack-operators/2015-August/007924.html https://bugs.launchpad.net/neutron/+bug/1464178
解决方案地址:
https://bugs.launchpad.net/neutron/+bug/1464178 https://ask.openstack.org/en/question/79967/tunnel-ip-ips-in-use-with-host-hosts/
解决方案:
将数据库neutron中的ml2_gre_endpoints数据改为正确的IP 和域名(跟/etc/hosts中的一致)
参考解决方案摘要如下:
Check your mysql tables to see if the hostname shown on logs matches the one in the DB: on the controller: mysql -u root -pPASSWORD use neutron; select * from ml2_gre_endpoints; you should see both tunnels with the same hostname as in /etc/hosts and "nova service-list"
Ran into this issue as well in Kilo where my node initially came up with the hostname "localhost.localdomain", and then I corrected it to the proper name. These are the steps I did to correct my setup, but may not be complete, so use with caution. I first ran "neutron agent-list" and then "neutron agent-delete $id" of the id associated with localhost.localdomain. That didn't correct it fully, and not sure if this step was needed. So I then accessed the neutron database and ran MariaDB [neutron]> select * from ml2_gre_endpoints; +--------------+-----------------------+ | ip_address | host | +--------------+-----------------------+ | 172.20.20.70 | localhost.localdomain | this was the incorrect entry mapping the ip to localhost.localdomain instead of the correct entry. So i ran delete from ml2_gre_endpoints where host='localhost.localdomain'; Next, on the bad compute node did " systemctl restart neutron-openvswitch-agent.service" And that made everything work for me. The database table was updated after the restart by openstack to contain the new correct entry. MariaDB [neutron]> select * from ml2_gre_endpoints; +--------------+--------------+ | ip_address | host | +--------------+--------------+ | 172.20.20.70 | icbm70.mgmt | You may have to look in ml2_vxlan_endpoints, depending on your setup.
相关文章推荐
- How To Use Ip Command In Linux with Examples
- [原]openstack-kilo--issue(十六) instance can't get ip 虚拟机不能得到ip(1)
- [原]openstack-kilo--issue(四) WARNING: nova has no endpoint in ! Available endpoints for this service:
- [原]openstack-kilo--issue(十一)Failed connect to 169.254.169.254:80; No route to host
- [原]openstack-kilo--issue(二十一) instance can't get ip 虚拟机不能得到ip(2)
- [原]openstack-kilo--issue(十九) ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named main
- the virtual machine is in use by an application on your host computer
- how to use a SQLite database in a standalone program with an HTML interface and VBScript as the programming language
- Use PHP mail function with IIS SMTP Server in Windows for Local Testing Purpose
- Host Python In your Application with IronPython2.0.1 (一): 创建交互环境
- the virtual machine is in use by an application on your host computer
- [Yii Framework] How to run cron job (or use command) in the server with yii framework
- Start MySQL with dynamic IP address in Ubuntu
- English Vocabulary in Use Elementary, with Answers by Michael McCarthy
- Use aspnet_regsql with SQLServer database in App_Data
- single host multiple IP address configuration in Linux
- [CakePHP]How to use Session in conjunction with Memcache
- Use windows message to change text in CEdit with timeout control
- Use Role Based security in your middle tier.net app with authorization manager
- Host Python in your application with IronPython 2.0.1(二): 互相访问