- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在 AMAZON EC2 上有一个 Windows 工作站和一个节点。我能够引导亚马逊节点。现在我想跑 chef-client
在我的工作站上。 chef-client
抛出“未找到私钥”错误。
C:\chef-repo>chef-client
Starting Chef Client, version 11.8.0
[2014-01-09T15:24:52-06:00] WARN: unable to detect ip6address
Creating a new client identity for XXXXXX.ent.ad.xxxx.com using the validator key.
[2014-01-09T15:25:03-06:00] WARN: Failed to read the private key C:\chef\validation.pem: #<Errno::ENOENT: No such file or director
y - C:\chef\validation.pem>
================================================================================
Chef encountered an error attempting to create the client "XXXXXX.ent.ad.xxxx.com"
================================================================================
Private Key Not Found:
----------------------
Your private key could not be loaded. If the key file exists, ensure that it is
readable by chef-client.
Relevant Config Settings:
-------------------------
validation_key "C:\chef\validation.pem"
[2014-01-09T15:25:03-06:00] FATAL: Stacktrace dumped to C:/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated
[2014-01-09T15:25:03-06:00] FATAL: Chef::Exceptions::PrivateKeyMissing: I cannot read C:\chef\validation.pem, which you told me to
use to sign requests!
validation.pem
从 ec2 亚马逊节点到
c:\chef
来解决错误。现在它抛出以下错误
C:\chef-repo>chef-client
Starting Chef Client, version 11.8.0
[2014-01-09T15:28:39-06:00] WARN: unable to detect ip6address
Creating a new client identity for XXXXX.ent.ad.xxxx.com using the validator key.
================================================================================
Chef encountered an error attempting to create the client "XXXXXX.ent.ad.xxxx.com"
================================================================================
Network Error:
--------------
There was a network error connecting to the Chef Server:
Error connecting to https://api.opscode.com/organizations/satishtest/clients - A connection attempt failed because the connected p
arty did not properly respond after a period of time, or established connection failed because connected host has failed to respon
d. - connect(2)
If your chef_server_url is correct, your network could be down.
[2014-01-09T15:29:15-06:00] FATAL: Stacktrace dumped to C:/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated
- A connection attempt failed because the connected party did not properly respond after a period of time, or established connecti
on failed because connected host has failed to respond. - connect(2)
knife client list
或
node list
这证明我的工作站没有网络问题。任何帮助表示赞赏
最佳答案
此方法仅适用于工作站和节点均为 Windows 计算机的情况。在两台机器上安装 Winrm。并尝试运行以下命令。
knife winrm name:NodeName "chef-client" -x ServerUsername -P "password" -a ipaddress
knife winrm name:node1 "chef-client" -x administrator -P "pass@123" -a ipaddress
关于chef-infra - 无法从工作站运行 Chef 客户端,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21031902/
有没有办法将同一进程的不同实例分配给不同的camunda实例(工作站)? 由于我的camunda进程会有更多的请求,而不是我的电脑可以处理的,我正在寻找一种方法,将其中一些请求分配给另一个camund
已关闭。这个问题是 off-topic 。目前不接受答案。 想要改进这个问题吗? Update the question所以它是on-topic用于堆栈溢出。 已关闭10 年前。 Improve th
我想写一个解锁工作站的小应用程序。把我需要的规范说得很简单:有一个运行的 exe,并在定义的时间(比如午夜)解锁工作站。当然,应用程序知道登录帐户的用户名和密码。 我知道 LogonUser API
这个问题在这里已经有了答案: 关闭10 年前。 Possible Duplicate: Lock Windows workstation programmatically in C# 我目前正在开发
所以我在 VMware 工作站中设置了一个 centOS 虚拟机,安装了 qradar ..一切运行良好。我将此虚拟机称为 QR1。 我能够在我的主机上使用 QR1 上的 qradar 控制台,互联网
我正在使用 VMware Workstation 6.0 模拟“机箱”中密集的“ Blade ”集群。主机和目标操作系统都是 Linux。每个“机箱”都使用 vmnet 交换机作为虚拟背板,虚拟 Bl
我很难区分厨师 server , workstation , client , 和 node .更重要的是,他们在设置初始环境时的立场是什么?我已经阅读了无数文章和文档,但我似乎无法理解不同的角色以及
我遇到了这个用于锁定 Windows 工作站的示例: using System.Runtime.InteropServices; ... [DllImport("user32.dll", SetLas
有没有办法通过 Windows 上的 Python 脚本锁定 PC? 我不想自己实现某种锁定 - 我想使用与用户按下 WIN+L 或通过开始菜单锁定机器。 最佳答案 这可以通过 LockWorkSta
我已经在 Windows 8.1 上安装了 VMware-workstation-full-10.0.3-1895310。尽管在我的 LAN 适配器中启用了 VMware 桥接协议(protocol)
我能够将 SharePoint 2010 VHD 与 vmware Hook 。中央管理员出现了,但 80 端口甚至没有出现。我遇到了这个http://blogs.msdn.com/b/steve_f
我有 2 个不同的 ubuntu VPS 实例,每个实例都有不同的 IP 地址。一个被指定为 Chef 服务器,另一个充当工作站。 当我使用命令时 Knife 配置-i 我确实获得了在本地定位 adm
问题: 我有一个 WPF fullscreen应用程序,充当仪表板。计算机在域中,域策略强制计算机在最后一次用户事件后 10 分钟内锁定。我想防止工作站(或桌面)自动锁定。 这种行为的一个例子:Win
关闭。这个问题是not about programming or software development .它目前不接受答案。 这个问题似乎不是关于 a specific programming
我已经在 Windows 10 工作站的 WSL(Linux 的 Windows 子系统)中安装了 Ansible。 我的目标是同时配置 WSL 和 Windows 10 本身。 我能够针对本地主机运
我使用 Netbeans 在 Windows 7 工作站上进行 PHP 开发。 Netbeans 将文件与执行代码的远程 Linux 服务器同步。如果我更改分支,并且有一个新的符号链接(symboli
我正在尝试在运行 Ubuntu 18.04 的 VMWare Workstation guest 中运行 Minikube。 kubectl version结果是: Client Version: v
我们团队中有 5 人从事一些 ASP 项目。局域网中有一台运行Windows Server的本地服务器,我们不怎么用它只是把它作为备份的存储。我们还有一台运行 Windows Server 的远程服务
我是一名优秀的程序员,十分优秀!