我inheritance了一个复杂的公司基于云的服务器系统,有几个使用Chef的节点来设置不同的节点。
Chef + Ironfan + Berksshelf是Chef服务器上最重要的元素。
对于一个冗余系统,我把完全工作的主厨服务器克隆到另一个云实例。 (=完全备份和复制几乎所有文件+手动工作在一些configuration文件+ chef-server-ctl reconfigure +重新启动)
克隆的服务器具有不同的名称/不同的IP,并且在第一个视图上看起来已经完美。
但是,在新创build的节点的“kick”命令中,我正面临一个令人讨厌的问题。
客户端节点尝试从厨师服务器下载一些配方,下载失败。
错误信息:
euca-10-130-130-10.eucalyptus.escloc59.eecloud.xxx-net.net [2015-11-10T16:01:00+02:00] INFO: Loading cookbooks [[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]] euca-10-130-130-10.eucalyptus.escloc59.eecloud.xxx-net.net Synchronizing Cookbooks: euca-10-130-130-10.eucalyptus.escloc59.eecloud.xxx-net.net [2015-11-10T16:01:00+02:00] ERROR: Server returned error for https://euca-10-156-11-32.eucalyptus.escloc26.eecloud.xxx-net.net/bookshelf/organization-00000000000000000000000000000000/checksum-0bd386798d6b692c8ee93cf03d54e8cd?AWSAccessKeyId=db31f0c5d2a32cd283b92fa8593f12124decf74d&Expires=1447164960&Signature=HLOne/z1M7/M6WeHDgNWvr4q%2BmE%3D, retrying 1/5 in 3s euca-10-130-130-10.eucalyptus.escloc59.eecloud.xxx-net.net euca-10-130-130-10.eucalyptus.escloc59.eecloud.xxx-net.net [2015-11-10T16:01:00+02:00] ERROR: Server returned error for https://euca-10-156-11-32.eucalyptus.escloc26.eecloud.xxx-net.net/bookshelf/organization-00000000000000000000000000000000/checksum-2414583f86c9eb68bdbb0be391939341?AWSAccessKeyId=db31f0c5d2a32cd283b92fa8593f12124decf74d&Expires=1447164960&Signature=SDtiucg02gmuCYBAWxurNSN4xKk%3D, retrying 1/5 in 4s
我查找了不同的ID,发现了其中的一些。
AWSAccessKeyId是书架的正确访问标识。
我在文件夹/ var / opt / chef-server / bookshelf / data / bookshelf中find了“组织”和“校验和”。
过期是一个Unix时间戳,并适合服务器的时间。 我没有发现任何关于签名。
自从2天以来,我对这个问题绝望了,并没有取得任何进展。 服务器上发生了什么,我可以在哪里看到更多的细节? 是错误的签名问题的原因?
也许有人可以帮我一些提示。