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中的一致)

参考解决方案摘要如下:

  1. 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;
  2.  
  3. you should see both tunnels with the same hostname as in /etc/hosts and "nova service-list"
  1. 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.
  2.  
  3. These are the steps I did to correct my setup, but may not be complete, so use with caution.
  4.  
  5. I first ran "neutron agent-list" and then "neutron agent-delete $id" of the id associated with localhost.localdomain.
  6. That didn't correct it fully, and not sure if this step was needed.
  7.  
  8. So I then accessed the neutron database and ran
  9.  
  10. MariaDB [neutron]> select * from ml2_gre_endpoints;
  11. +--------------+-----------------------+
  12. | ip_address | host |
  13. +--------------+-----------------------+
  14. | 172.20.20.70 | localhost.localdomain |
  15.  
  16. this was the incorrect entry mapping the ip to localhost.localdomain instead of the correct entry.
  17.  
  18. So i ran
  19. delete from ml2_gre_endpoints where host='localhost.localdomain';
  20.  
  21. Next, on the bad compute node did " systemctl restart neutron-openvswitch-agent.service"
  22.  
  23. And that made everything work for me. The database table was updated after the restart by openstack to contain the new correct entry.
  24.  
  25. MariaDB [neutron]> select * from ml2_gre_endpoints;
  26. +--------------+--------------+
  27. | ip_address | host |
  28. +--------------+--------------+
  29. | 172.20.20.70 | icbm70.mgmt |
  30.  
  31. You may have to look in ml2_vxlan_endpoints, depending on your setup.

[转]openstack-kilo--issue(十四)Tunnel IP %(ip)s in use with host %(host)s'的更多相关文章

  1. Linux内核分析 - 网络[十四]:IP选项

    Linux内核分析 - 网络[十四]:IP选项 标签: linux内核网络structsocketdst 2012-04-25 17:14 5639人阅读 评论(1) 收藏 举报  分类: 内核协议栈 ...

  2. [译] OpenStack Kilo 版本中 Neutron 的新变化

    OpenStack Kilo 版本,OpenStack 这个开源项目的第11个版本,已经于2015年4月正式发布了.现在是个合适的时间来看看这个版本中Neutron到底发生了哪些变化了,以及引入了哪些 ...

  3. (转)OpenStack Kilo 版本中 Neutron 的新变化

    OpenStack Kilo 版本,OpenStack 这个开源项目的第11个版本,已经于2015年4月正式发布了.现在是个合适的时间来看看这个版本中Neutron到底发生了哪些变化了,以及引入了哪些 ...

  4. openstack kilo部署-基础环境

    公司也想搞个私有云玩玩,于是展开了一系列的调研,部署测试,openstack 有几个版本真是坑爹!!,如果喜欢被虐有兄弟,你就试试 openstack 的 juno , icehouse等版本,用不了 ...

  5. 我的MYSQL学习心得(十四) 备份和恢复

    我的MYSQL学习心得(十四) 备份和恢复 我的MYSQL学习心得(一) 简单语法 我的MYSQL学习心得(二) 数据类型宽度 我的MYSQL学习心得(三) 查看字段长度 我的MYSQL学习心得(四) ...

  6. 雅虎(yahoo)前端优化十四条军规

    第一条.尽可能的减少 HTTP 的请求数 (Make Fewer HTTP Requests ) http请求是要开销的,想办法减少请求数自然可以提高网页速度.常用的方法,合并css,js(将一个页面 ...

  7. linux基础-第十四单元 Linux网络原理及基础设置

    第十四单元 Linux网络原理及基础设置 三种网卡模式图 使用ifconfig命令来维护网络 ifconfig命令的功能 ifconfig命令的用法举例 使用ifup和ifdown命令启动和停止网卡 ...

  8. VMware vSphere 服务器虚拟化之二十四 桌面虚拟化之手动池管理物理机

    VMware vSphere 服务器虚拟化之二十四 桌面虚拟化之手动池管理物理机 VMwareView手动池可以管理物理计算机 说明: 环境基于实验二十三 1.准备一台Windows 7的物理计算机名 ...

  9. Yahoo前端优化十四条军规

    相信互联网已经越来越成为人们生活中不可或缺的一部分.Ajax,flex等等富客户端的应用使得人们越加“幸福”地体验着许多原先只能在C/S实 现的功能. 比如Google机会已经把最基本的office应 ...

随机推荐

  1. Delphi 开发ActiveX控件(非ActiveForm)

    Delphi 开发ActiveX控件(非ActiveForm) Q:为什么不采用ActiveForm工程?通过它可以快速开发带窗体控件,创建过程也非常简单(都不用考虑安全接口问题),很省事! A:如果 ...

  2. Unity3D MonoBehaviour的生命周期(lifecycle)

    官方的事件函数的执行顺序中有详解(Link:Execution Order of Event Functions) (图片来源:http://whatiseeinit.blogspot.com/201 ...

  3. exited abnormally with signal 11: Segmentation fault 的相关处理

    前一阵子遇到一个问题,程序打包后,在某个界面总是崩溃,device log只打印了exited abnormally with signal 11: Segmentation fault 网上找了下相 ...

  4. 解决netaddr不能安装0.7.6以上版本

    今天在Jenkins上添加了两个新jobs,但是同事提交代码后的自动测试运行出现错误.查看原因是tox命令在安装包依赖的时候,找不到大于0.7.6以上的版本,但可是我们明明安装过0.7.10了呀. 后 ...

  5. JFinal项目部署到Weblogic注意事项

    1:修改web.xml配置文件增加以下监听配置 <listener> <listener-class>com.jfinal.ext.kit.ElResolverListener ...

  6. QueryRunner实战(query_update)、BeanList\BeanHandler、MapList\MapHandler、ScalarHandler

    1.c3p0-config.xml <?xml version="1.0" encoding="UTF-8"?> <c3p0-config&g ...

  7. MySQL在默认事务下各SQL语句使用的锁分析

    数据库使用锁是为了支持更好的并发,提供数据的完整性和一致性.InnoDB是一个支持行锁的存储引擎,锁的类型有:共享锁(S).排他锁(X).意向共享(IS).意向排他(IX).为了提供更好的并发,Inn ...

  8. 2D空间中求线段与圆的交点

    出处: https://answers.unity.com/questions/366802/get-intersection-of-a-line-and-a-circle.html 测试脚本(返回值 ...

  9. Msf提权步骤

    1.生成反弹木马(脚本,执行程序) msfvenom -p windows/meterpreter/reverse_tcp LHOST=<Your IP Address> LPORT=&l ...

  10. PaaS 应用引擎

    这里主要是梳理一下应用引擎(XXXX App Engine),它一般被归类到PaaS领域.应用引擎即提供了各种编程语言开发的应用所需的一整套运行环境:它开箱即用,你只需部署应用的代码即可,无需前期的环 ...