`
- 浏览:
43313 次
- 性别:
- 来自:
北京
-
Chef encountered an error attempting to create the client
用chef bootstrap新的client的时候遇到下面的问题:
# knife bootstrap 192.168.253.129 -x root -P 123456 --sudo -VV
-VV会打印出DEBUG LOG
......
DEBUG: read 116 bytes
DEBUG: received packet nr 11 type 94 len 92
INFO: channel_data: 0 72b
192.168.253.129 Creating a new client identity for test02 using the validator key.
DEBUG: read 484 bytes
DEBUG: received packet nr 12 type 94 len 460
INFO: channel_data: 0 443b
192.168.253.129
192.168.253.129 ================================================================================
[color=darkred]192.168.253.129 Chef encountered an error attempting to create the client "test02"
192.168.253.129 [/color]================================================================================
192.168.253.129
192.168.253.129
192.168.253.129 [2014-05-26T19:56:49-07:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
192.168.253.129 [2014-05-26T19:56:49-07:00] FATAL: Errno::EHOSTUNREACH: No route to host - connect(2)
DEBUG: read 140 bytes
DEBUG: received packet nr 13 type 98 len 44
INFO: channel_request: 0 exit-status false
......
看到了No route to host - connect (2)
但是从test02是可以ping通chef server的
检查了网络是没有问题的
解决方法:
# service iptables stop
# service iptables save
清空防火墙设置 再重新bootstrap就可以了。
分享到:
Global site tag (gtag.js) - Google Analytics
相关推荐
The book starts with an introduction to the Chef ecosystem, taking you through the terminologies used in Chef, the anatomy of a chef-client run, and Chef solo. You will learn how to use Knife and its...
Master specific Chef techniques to run an entire fleet of machines without breaking a sweat. Who This Book Is For If you are a system administrator, Linux administrator, a cloud developer, or ...
在Linux下部署chef-server应用的其中一个RPM包,chef-client
Chef is an open source coniguration management tool that helps to transform infrastructure into simple code. It implies that the process of building and rebuilding IT infrastructure, coniguration ...
Master specific Chef techniques to run an entire fleet of machines without breaking a sweat. Who This Book Is For If you are a system administrator, Linux administrator, a cloud developer, or someone ...
Over 80 delicious recipes to automate your cloud and server infrastructure with Chef Overview Configure, deploy, and scale your applications Automate error prone and tedious manual tasks Manage your...
Since Test-Driven Infrastructure with Chef first appeared in mid-2011, infrastructure testing has begun to flourish in the web ops world. In this revised and expanded edition, author Stephen Nelson-...
Test-Driven Infrastructure with Chef demonstrates a radical approach to developing web infrastructure that combines the powerful Chef configuration management framework with Cucumber, the leading ...
dChapter 1, Chef and Windows, serves as an introduction to Chef's support for Windows, what sort of features you can expect from Chef on the Windows platform, and how to get started.
非常详细的介绍Chef的PPT,有150多页,值得学习!!!
厨师客户食谱 该菜谱用于配置运行Chef Infra Client的系统。要求平台类AIX 6+ 清除Linux 德比安费朵拉FreeBSD的苹果系统openSUSE SLES 12+ RHEL Solaris 10+ 的Ubuntu 视窗厨师厨师13.0+食谱cron 2.0+ logrotate ...
Vagrant is an open source software used to create and manage virtual development environments. It can be considered a wrapper around virtualization software such as VirtualBox and configuration ...