- From: AJ Christensen <
>
- To: "
" <
>
- Subject: [chef] Re: Chef cookbooks converges to 0 resources
- Date: Thu, 22 Jan 2015 23:05:28 +1300
Run with debug logging turned on via -l debug and post that to a
gist/pastebin service.
cheers,
--aj
On Thu, Jan 22, 2015 at 11:03 PM, Vijaya Bhaskar
<
>
wrote:
>
Hello All,
>
>
I am trying to deploy openstack network with chef. When I run the
>
chef-client , it simply finishes with 0 resources:
>
>
:~#
>
chef-client
>
>
[2015-01-22T15:21:04+05:30] WARN:
>
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
* *
>
SSL validation of HTTPS requests is disabled. HTTPS connections are still
>
encrypted, but chef is not able to detect forged replies or man in the
>
middle
>
attacks.
>
>
To fix this issue add an entry like this to your configuration file:
>
>
```
>
# Verify all HTTPS connections (recommended)
>
ssl_verify_mode :verify_peer
>
>
# OR, Verify only connections to chef-server
>
verify_api_cert true
>
```
>
>
To check your SSL configuration, or troubleshoot errors, you can use the
>
`knife ssl check` command like so:
>
>
```
>
knife ssl check -c /etc/chef/client.rb
>
```
>
>
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
* *
>
>
Starting Chef Client, version 11.16.4
>
resolving cookbooks for run list:
>
["openstack-network::identity_registration",
>
"openstack-network::linuxbridge", "openstack-network::l3_agent",
>
"openstack-network::dhcp_agent", "openstack-network::metadata_agent",
>
"openstack-network::server"]
>
Synchronizing Cookbooks:
>
- openstack-identity
>
- openstack-network
>
- openstack-common
>
- smf
>
- apt
>
- database
>
- yum-mysql-community
>
- yum
>
- mysql
>
- postgresql
>
- rbac
>
- openssl
>
- aws
>
- xfs
>
- mysql_chef_gem
>
- build-essential
>
- chef-sugar
>
- yum-epel
>
- mariadb
>
Compiling Cookbooks...
>
Converging 0 resources
>
>
Running handlers:
>
Running handlers complete
>
Chef Client finished, 0/0 resources updated in 6.136653261 seconds
>
>
No other cookbooks have this issue and the node has a role assigned to it.
>
>
Please update about the possible reasons of failure.
Archive powered by MHonArc 2.6.16.