You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a 'kitchen test' run, a policy using "chef-client" cookbook v12.3.3 or 12.3.4 is failing on Redhat 6.10 while v12.3.2 works OK. All of our cookbooks run to completion with no errors yet with v12.3.3 kitchen throws the following error:
Converge failed on instance .
E, [2021-05-27T21:30:26.001935 #7525] ERROR -- linux-enterprise-rhel-6: ------Exception-------
E, [2021-05-27T21:30:26.001949 #7525] ERROR -- linux-enterprise-rhel-6: Class: Kitchen::ActionFailed
E, [2021-05-27T21:30:26.001960 #7525] ERROR -- linux-enterprise-rhel-6: Message: SSH exited () for command: [sh -c '
TEST_KITCHEN="1"; export TEST_KITCHEN
sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
To Reproduce
Using chef-infra-client version 16.2.73
Running on a Redhat 6.10 VM
We have a policy with recipes/default.rb containing:
include_recipe 'chef-client::config'
include_recipe 'chef-client'
and a Policyfile.rb file containing:
cookbook 'chef-client', '= 12.3.2'
and things work.
Changing the pinning to 12.3.3 it fails. 12.3.4 (the most recent) also fails
Expected behavior
I expect the kitchen run to finish successfully.
Actual behavior
The .kitchen log file shows:
I, [2021-05-27T21:24:13.590459 #7285] INFO -- linux-enterprise-rhel-6: - start service service[chef-client]
E, [2021-05-27T21:24:16.837070 #7285] ERROR -- linux-enterprise-rhel-6: Converge failed on instance .
E, [2021-05-27T21:24:16.837186 #7285] ERROR -- linux-enterprise-rhel-6: ------Exception-------
E, [2021-05-27T21:24:16.837203 #7285] ERROR -- linux-enterprise-rhel-6: Class: Kitchen::ActionFailed
E, [2021-05-27T21:24:16.837211 #7285] ERROR -- linux-enterprise-rhel-6: Message: SSH exited () for command: [sh -c '
TEST_KITCHEN="1"; export TEST_KITCHEN
sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero
-port 8889
']
E, [2021-05-27T21:24:16.837220 #7285] ERROR -- linux-enterprise-rhel-6: ----------------------
with a bunch of trace lines.
In a 'kitchen test' run, a policy using "chef-client" cookbook v12.3.3 or 12.3.4 is failing on Redhat 6.10 while v12.3.2 works OK. All of our cookbooks run to completion with no errors yet with v12.3.3 kitchen throws the following error:
Converge failed on instance .
E, [2021-05-27T21:30:26.001935 #7525] ERROR -- linux-enterprise-rhel-6: ------Exception-------
E, [2021-05-27T21:30:26.001949 #7525] ERROR -- linux-enterprise-rhel-6: Class: Kitchen::ActionFailed
E, [2021-05-27T21:30:26.001960 #7525] ERROR -- linux-enterprise-rhel-6: Message: SSH exited () for command: [sh -c '
TEST_KITCHEN="1"; export TEST_KITCHEN
sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
To Reproduce
Using chef-infra-client version 16.2.73
Running on a Redhat 6.10 VM
We have a policy with recipes/default.rb containing:
include_recipe 'chef-client::config'
include_recipe 'chef-client'
and a Policyfile.rb file containing:
cookbook 'chef-client', '= 12.3.2'
and things work.
Changing the pinning to 12.3.3 it fails. 12.3.4 (the most recent) also fails
Expected behavior
I expect the kitchen run to finish successfully.
Actual behavior
The .kitchen log file shows:
I, [2021-05-27T21:24:13.590459 #7285] INFO -- linux-enterprise-rhel-6: - start service service[chef-client]
E, [2021-05-27T21:24:16.837070 #7285] ERROR -- linux-enterprise-rhel-6: Converge failed on instance .
E, [2021-05-27T21:24:16.837186 #7285] ERROR -- linux-enterprise-rhel-6: ------Exception-------
E, [2021-05-27T21:24:16.837203 #7285] ERROR -- linux-enterprise-rhel-6: Class: Kitchen::ActionFailed
E, [2021-05-27T21:24:16.837211 #7285] ERROR -- linux-enterprise-rhel-6: Message: SSH exited () for command: [sh -c '
TEST_KITCHEN="1"; export TEST_KITCHEN
sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero
-port 8889
']
E, [2021-05-27T21:24:16.837220 #7285] ERROR -- linux-enterprise-rhel-6: ----------------------
with a bunch of trace lines.
From https://github.com/chef/customer-bugs/issues/385
The text was updated successfully, but these errors were encountered: