OpenStack METADATA不工作的分析方法
来源:互联网 发布:vue.js 显示和隐藏div 编辑:程序博客网 时间:2024/05/02 04:54
CentOS Linux 7 (Core)Kernel 3.10.0-229.7.2.el7.x86_64 on an x86_64centos-1 login: cloud-init[742]: 2017-03-21 08:51:04,446 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [50/120s]: unexpected error ['Timeout' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:51:55,499 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [101/120s]: unexpected error ['Timeout' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:13,523 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [119/120s]: unexpected error ['Timeout' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:14,524 - DataSourceEc2.py[CRITICAL]: Giving up on md from ['http://169.254.169.254/2009-04-04/meta-data/instance-id'] after 120 secondscloud-init[742]: 2017-03-21 08:52:14,532 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [0/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:15,537 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [1/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:16,542 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [2/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:17,752 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [3/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:18,756 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [4/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:19,761 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [5/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:21,766 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [7/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:23,772 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [9/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:25,777 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [11/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:27,783 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [13/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:29,789 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [15/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:32,795 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [18/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:35,801 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [21/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:38,808 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [24/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:41,815 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [27/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:44,821 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [30/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:48,829 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [34/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:52,836 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [38/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:52:56,844 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [42/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:53:00,852 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [46/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:53:04,861 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [50/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:53:09,870 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [55/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:53:14,880 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [60/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:53:19,888 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [65/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:53:24,897 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [70/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:53:29,906 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [75/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:53:35,916 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [81/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:53:41,926 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [87/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:53:47,936 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [93/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:53:53,946 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [99/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:53:59,956 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [105/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:54:06,967 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [112/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:54:13,977 - url_helper.py[WARNING]: Calling 'http://10.0.0.127//latest/meta-data/instance-id' failed [119/120s]: unexpected error ['ConnectionError' object has no attribute 'response']cloud-init[742]: 2017-03-21 08:54:20,984 - DataSourceCloudStack.py[CRITICAL]: Giving up on waiting for the metadata from ['http://10.0.0.127//latest/meta-data/instance-id'] after 126 seconds
在如下路径查看log
vi /var/log/neutron/metadata-agent.log
2016-08-15 04:53:31.797 5322 ERROR neutron.agent.metadata.agent MessagingTimeout: Timed out waiting for a reply to message ID 8a7907428b3342eabd7686574ab0aa80
重启metadata-agent.service
systemctl restart neutron-metadata-agent.service
[[32m OK [0m] Started Login Service.[ 6.266029] [drm] Initialized qxl 0.1.0 20120117 for 0000:00:02.0 on minor 0[[32m OK [0m] Started Dynamic System Tuning Daemon.cloud-init[452]: Cloud-init v. 0.7.5 running 'init-local' at Wed, 22 Mar 2017 06:13:46 +0000. Up 7.60 seconds.[[32m OK [0m] Started Initial cloud-init job (pre-networking).[[32m OK [0m] Started LSB: Bring up/down networking.[[32m OK [0m] Reached target Network. Starting Initial cloud-init job (metadata service crawler)... Starting Postfix Mail Transport Agent... Starting OpenSSH server daemon...[[32m OK [0m] Started OpenSSH server daemon. Starting Crash recovery kernel arming...cloud-init[737]: Cloud-init v. 0.7.5 running 'init' at Wed, 22 Mar 2017 06:13:49 +0000. Up 9.82 seconds.
0 0
- OpenStack METADATA不工作的分析方法
- 什么是openstack的metadata
- 什么是openstack的 metadata
- OpenStack 的 metadata 服务机制
- openstack metadata
- openstack 工作原理分析
- openstack quantum获取metadata的测试
- openstack的metadata概念和服务机制
- Nutch中metadata的分析
- 深入理解OpenStack -- metadata
- [openstack]metadata service使用方法
- OPENSTACK中的METADATA SERVER
- openstack metadata运行机制
- 查看数据库metadata的方法
- openstack 中 metadata 和 userdata 的配置和使用
- 自考工作分析之工作分析的基础方法
- 自考工作分析之工作分析的系统方法
- 获取图片的metadata的方法
- web.xml 中的listener、 filter、servlet 加载顺序及其详解
- shell脚本运算
- #Android Training# transitions framework
- React Native自定义组件——弹出框
- linux上编译好的php添加memcache扩展
- OpenStack METADATA不工作的分析方法
- 设置MySQL字符集
- simone牌文本编辑器
- OFBiz 模块化结构分析
- okhttp3.0学习
- Python3 配置安装numpy/scipy/sklearn/tensorflow等第三方库
- Thrift
- 构建 Android 应用程序一定要绕过的 30 个坑
- java和c中的空格符的差别以及C语言字符串变为整形数字代码