PS D:\chef-starter\chef-repo\cookbooks\myapache\recipes> knife bootstrap 192.168.0.104 -x root -P hydusindia --sudo --use-sudo-password --node-name Ansiblemasternode --run-list 'receipe[httpd]'
-x/--winrm-user: This flag is deprecated. Use -U/--connection-user instead.
Connecting to 192.168.0.104 using ssh
The authenticity of host '192.168.0.104 ()' can't be established.
fingerprint is SHA256:Jv4Jf6/Lz6KQGcOrWwtMbO2WOfxRWKBO2fzogXnOUKQ.
Are you sure you want to continue connecting
? (Y/N) Y
Connecting to 192.168.0.104 using ssh
Creating new client for Ansiblemasternode
Creating new node for Ansiblemasternode
ERROR: ArgumentError: Unable to create Chef::RunList::RunListItem from String:"receipe[httpd]": must be recipe[] or role[]
PS D:\chef-starter\chef-repo\cookbooks\myapache\recipes> knife bootstrap 192.168.0.104 -x root -P hydusindia --sudo --use-sudo-password --node-name Ansiblemasternode --run-list 'recipe[httpd]'
-x/--winrm-user: This flag is deprecated. Use -U/--connection-user instead.
Connecting to 192.168.0.104 using ssh
The authenticity of host '192.168.0.104 ()' can't be established.
fingerprint is SHA256:Jv4Jf6/Lz6KQGcOrWwtMbO2WOfxRWKBO2fzogXnOUKQ.
Are you sure you want to continue connecting
? (Y/N) Y
Connecting to 192.168.0.104 using ssh
Client Ansiblemasternode exists, overwrite it? (Y/N) Y
Creating new client for Ansiblemasternode
Creating new node for Ansiblemasternode
Bootstrapping 192.168.0.104
[192.168.0.104] -----> Existing Chef Infra Client installation detected
[192.168.0.104] Starting the first Chef Infra Client Client run...
[192.168.0.104] +---------------------------------------------+
✔ 2 product licenses accepted.
+---------------------------------------------+
[192.168.0.104] Starting Chef Infra Client, version 17.1.35
Patents: https://www.chef.io/patents
[192.168.0.104] resolving cookbooks for run list: ["httpd"]
[192.168.0.104]
Error Resolving Cookbooks for Run List:
Missing Cookbooks:
The following cookbooks are required by the client but don't exist on the server:
Running handlers:
[2021-05-28T21:40:24+05:30] ERROR: Running exception handlers
Running handlers complete
[2021-05-28T21:40:24+05:30] ERROR: Exception handlers complete
Chef Infra Client failed. 0 resources updated in 14 seconds
[192.168.0.104] [2021-05-28T21:40:27+05:30] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2021-05-28T21:40:27+05:30] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2021-05-28T21:40:27+05:30] FATAL: Net::HTTPServerException: 412 "Precondition Failed"
ERROR: The following error occurred on 192.168.0.104:
PS D:\chef-starter\chef-repo\cookbooks\myapache\recipes> knife bootstrap 192.168.0.104 -x root -P hydusindia --sudo --use-sudo-password --node-name Ansiblemasternode --run-list 'receipe[httpd]' -x/--winrm-user: This flag is deprecated. Use -U/--connection-user instead. Connecting to 192.168.0.104 using ssh The authenticity of host '192.168.0.104 ()' can't be established. fingerprint is SHA256:Jv4Jf6/Lz6KQGcOrWwtMbO2WOfxRWKBO2fzogXnOUKQ.
Are you sure you want to continue connecting ? (Y/N) Y Connecting to 192.168.0.104 using ssh Creating new client for Ansiblemasternode Creating new node for Ansiblemasternode ERROR: ArgumentError: Unable to create Chef::RunList::RunListItem from String:"receipe[httpd]": must be recipe[] or role[] PS D:\chef-starter\chef-repo\cookbooks\myapache\recipes> knife bootstrap 192.168.0.104 -x root -P hydusindia --sudo --use-sudo-password --node-name Ansiblemasternode --run-list 'recipe[httpd]' -x/--winrm-user: This flag is deprecated. Use -U/--connection-user instead. Connecting to 192.168.0.104 using ssh The authenticity of host '192.168.0.104 ()' can't be established. fingerprint is SHA256:Jv4Jf6/Lz6KQGcOrWwtMbO2WOfxRWKBO2fzogXnOUKQ.
Are you sure you want to continue connecting ? (Y/N) Y Connecting to 192.168.0.104 using ssh Client Ansiblemasternode exists, overwrite it? (Y/N) Y Creating new client for Ansiblemasternode Creating new node for Ansiblemasternode Bootstrapping 192.168.0.104 [192.168.0.104] -----> Existing Chef Infra Client installation detected [192.168.0.104] Starting the first Chef Infra Client Client run... [192.168.0.104] +---------------------------------------------+ ✔ 2 product licenses accepted. +---------------------------------------------+ [192.168.0.104] Starting Chef Infra Client, version 17.1.35 Patents: https://www.chef.io/patents [192.168.0.104] resolving cookbooks for run list: ["httpd"] [192.168.0.104]
Error Resolving Cookbooks for Run List:
Missing Cookbooks:
The following cookbooks are required by the client but don't exist on the server:
Expanded Run List:
httpd
[192.168.0.104] System Info:
chef_version=17.1.35 platform=centos platform_version=8.3.2011 ruby=ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x86_64-linux] program_name=/usr/bin/chef-client executable=/opt/chef/bin/chef-client
Running handlers: [2021-05-28T21:40:24+05:30] ERROR: Running exception handlers Running handlers complete [2021-05-28T21:40:24+05:30] ERROR: Exception handlers complete Chef Infra Client failed. 0 resources updated in 14 seconds [192.168.0.104] [2021-05-28T21:40:27+05:30] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out [2021-05-28T21:40:27+05:30] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report [2021-05-28T21:40:27+05:30] FATAL: Net::HTTPServerException: 412 "Precondition Failed" ERROR: The following error occurred on 192.168.0.104: