[2021-07-29T07:54:35+00:00] INFO: Started chef-zero at chefzero://localhost:1 with repository at /home/sdc/chef-solo One version per cookbook [2021-07-29T07:54:35+00:00] INFO: Started chef-zero at chefzero://localhost:1 with repository at /home/sdc/chef-solo One version per cookbook [2021-07-29T07:54:35+00:00] INFO: Forking chef instance to converge... [2021-07-29T07:54:35+00:00] INFO: Forking chef instance to converge... Starting Chef Client, version 13.8.5 [2021-07-29T07:54:35+00:00] INFO: *** Chef 13.8.5 *** [2021-07-29T07:54:35+00:00] INFO: *** Chef 13.8.5 *** [2021-07-29T07:54:35+00:00] INFO: Platform: x86_64-linux-gnu [2021-07-29T07:54:35+00:00] INFO: Platform: x86_64-linux-gnu [2021-07-29T07:54:35+00:00] INFO: Chef-client pid: 11 [2021-07-29T07:54:35+00:00] INFO: Chef-client pid: 11 [2021-07-29T07:54:35+00:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping... [2021-07-29T07:54:35+00:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping... [2021-07-29T07:54:36+00:00] INFO: Setting the run_list to ["role[cassandra-actions]"] from CLI options [2021-07-29T07:54:36+00:00] INFO: Setting the run_list to ["role[cassandra-actions]"] from CLI options [2021-07-29T07:54:36+00:00] INFO: Run List is [role[cassandra-actions]] [2021-07-29T07:54:36+00:00] INFO: Run List is [role[cassandra-actions]] [2021-07-29T07:54:36+00:00] INFO: Run List expands to [cassandra-actions::01-createCsUser, cassandra-actions::03-schemaCreation, cassandra-actions::04-importConformance] [2021-07-29T07:54:36+00:00] INFO: Run List expands to [cassandra-actions::01-createCsUser, cassandra-actions::03-schemaCreation, cassandra-actions::04-importConformance] [2021-07-29T07:54:36+00:00] INFO: Starting Chef Run for dev-sdc-cs-config-cassandra-frpg8 [2021-07-29T07:54:36+00:00] INFO: Starting Chef Run for dev-sdc-cs-config-cassandra-frpg8 [2021-07-29T07:54:36+00:00] INFO: Running start handlers [2021-07-29T07:54:36+00:00] INFO: Running start handlers [2021-07-29T07:54:36+00:00] INFO: Start handlers complete. [2021-07-29T07:54:36+00:00] INFO: Start handlers complete. resolving cookbooks for run list: ["cassandra-actions::01-createCsUser", "cassandra-actions::03-schemaCreation", "cassandra-actions::04-importConformance"] [2021-07-29T07:54:39+00:00] INFO: Loading cookbooks [cassandra-actions@0.0.0] [2021-07-29T07:54:39+00:00] INFO: Loading cookbooks [cassandra-actions@0.0.0] Synchronizing Cookbooks: [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/attributes/version.rb in the cache. [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/attributes/version.rb in the cache. [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/templates/default/configuration.yaml.erb in the cache. [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/recipes/03-schemaCreation.rb in the cache. [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/recipes/03-schemaCreation.rb in the cache. [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/templates/default/configuration.yaml.erb in the cache. [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/recipes/01-createCsUser.rb in the cache. [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/recipes/02-createDoxKeyspace.rb in the cache. [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/recipes/02-createDoxKeyspace.rb in the cache. [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/recipes/01-createCsUser.rb in the cache. [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/templates/default/create_dox_keyspace.sh.erb in the cache. [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/templates/default/create_cassandra_user.sh.erb in the cache. [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/templates/default/create_cassandra_user.sh.erb in the cache. [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/templates/default/create_dox_keyspace.sh.erb in the cache. [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/recipes/04-importConformance.rb in the cache. [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/recipes/04-importConformance.rb in the cache. [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/templates/default/janusgraph.properties.erb in the cache. [2021-07-29T07:54:39+00:00] INFO: Storing updated cookbooks/cassandra-actions/templates/default/janusgraph.properties.erb in the cache. [2021-07-29T07:54:41+00:00] INFO: Storing updated cookbooks/cassandra-actions/files/default/sdctool.tar in the cache. [2021-07-29T07:54:41+00:00] INFO: Storing updated cookbooks/cassandra-actions/files/default/sdctool.tar in the cache. - cassandra-actions (0.0.0) Installing Cookbook Gems: Compiling Cookbooks... cl_release=[1.9.0] Converging 9 resources Recipe: cassandra-actions::01-createCsUser * template[/tmp/create_cassandra_user.sh] action create[2021-07-29T07:54:42+00:00] INFO: template[/tmp/create_cassandra_user.sh] created file /tmp/create_cassandra_user.sh [2021-07-29T07:54:42+00:00] INFO: template[/tmp/create_cassandra_user.sh] created file /tmp/create_cassandra_user.sh - create new file /tmp/create_cassandra_user.sh[2021-07-29T07:54:42+00:00] INFO: template[/tmp/create_cassandra_user.sh] updated file contents /tmp/create_cassandra_user.sh [2021-07-29T07:54:42+00:00] INFO: template[/tmp/create_cassandra_user.sh] updated file contents /tmp/create_cassandra_user.sh - update content in file /tmp/create_cassandra_user.sh from none to 3525d1 - suppressed sensitive resource[2021-07-29T07:54:42+00:00] INFO: template[/tmp/create_cassandra_user.sh] mode changed to 755 [2021-07-29T07:54:42+00:00] INFO: template[/tmp/create_cassandra_user.sh] mode changed to 755 - change mode from '' to '0755'  * execute[create-sdc-user] action run [execute] Thu Jul 29 07:54:44 UTC 2021 --- cqlsh is able to connect. Connection error: ('Unable to connect to any servers', {'10.242.179.73:9042': error(111, "Tried connecting to [('10.242.179.73', 9042)]. Last error: Connection refused"), '10.242.112.75:9042': AuthenticationFailed('Failed to authenticate to 10.242.112.75:9042: Error from server: code=0100 [Bad credentials] message="Error during authentication of user cassandra : org.apache.cassandra.exceptions.UnavailableException: Cannot achieve consistency level QUORUM"',), '10.242.120.196:9042': error(111, "Tried connecting to [('10.242.120.196', 9042)]. Last error: Connection refused")}) Going to create asdc_user Connection error: ('Unable to connect to any servers', {'10.242.179.73:9042': error(111, "Tried connecting to [('10.242.179.73', 9042)]. Last error: Connection refused"), '10.242.112.75:9042': AuthenticationFailed('Failed to authenticate to 10.242.112.75:9042: Error from server: code=0100 [Bad credentials] message="Error during authentication of user cassandra : org.apache.cassandra.exceptions.UnavailableException: Cannot achieve consistency level QUORUM"',), '10.242.120.196:9042': error(111, "Tried connecting to [('10.242.120.196', 9042)]. Last error: Connection refused")})  ================================================================================ Error executing action `run` on resource 'execute[create-sdc-user]' ================================================================================  Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '1'  ---- Begin output of /tmp/create_cassandra_user.sh ----  STDOUT: Thu Jul 29 07:54:44 UTC 2021 --- cqlsh is able to connect.  Going to create asdc_user  STDERR: Connection error: ('Unable to connect to any servers', {'10.242.179.73:9042': error(111, "Tried connecting to [('10.242.179.73', 9042)]. Last error: Connection refused"), '10.242.112.75:9042': AuthenticationFailed('Failed to authenticate to 10.242.112.75:9042: Error from server: code=0100 [Bad credentials] message="Error during authentication of user cassandra : org.apache.cassandra.exceptions.UnavailableException: Cannot achieve consistency level QUORUM"',), '10.242.120.196:9042': error(111, "Tried connecting to [('10.242.120.196', 9042)]. Last error: Connection refused")})  Connection error: ('Unable to connect to any servers', {'10.242.179.73:9042': error(111, "Tried connecting to [('10.242.179.73', 9042)]. Last error: Connection refused"), '10.242.112.75:9042': AuthenticationFailed('Failed to authenticate to 10.242.112.75:9042: Error from server: code=0100 [Bad credentials] message="Error during authentication of user cassandra : org.apache.cassandra.exceptions.UnavailableException: Cannot achieve consistency level QUORUM"',), '10.242.120.196:9042': error(111, "Tried connecting to [('10.242.120.196', 9042)]. Last error: Connection refused")})  ---- End output of /tmp/create_cassandra_user.sh ----  Ran /tmp/create_cassandra_user.sh returned 1  Resource Declaration: --------------------- # In /home/sdc/chef-solo/cache/cookbooks/cassandra-actions/recipes/01-createCsUser.rb   14: execute "create-sdc-user" do  15: command "/tmp/create_cassandra_user.sh"  16: cwd "/tmp/"  17: action :run  18: end  Compiled Resource: ------------------ # Declared in /home/sdc/chef-solo/cache/cookbooks/cassandra-actions/recipes/01-createCsUser.rb:14:in `from_file'   execute("create-sdc-user") do  action [:run]  default_guard_interpreter :execute  command "/tmp/create_cassandra_user.sh"  backup 5  cwd "/tmp/"  returns 0  user nil  declared_type :execute  cookbook_name "cassandra-actions"  recipe_name "01-createCsUser"  domain nil  end   System Info: ------------ chef_version=13.8.5  platform=debian  platform_version=10.3  ruby=ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux-gnu]  program_name=chef-solo worker: ppid=6;start=07:54:35;  executable=/usr/local/bin/chef-solo [2021-07-29T07:54:45+00:00] INFO: Running queued delayed notifications before re-raising exception [2021-07-29T07:54:45+00:00] INFO: Running queued delayed notifications before re-raising exception  Running handlers: [2021-07-29T07:54:45+00:00] ERROR: Running exception handlers [2021-07-29T07:54:45+00:00] ERROR: Running exception handlers Running handlers complete [2021-07-29T07:54:45+00:00] ERROR: Exception handlers complete [2021-07-29T07:54:45+00:00] ERROR: Exception handlers complete Chef Client failed. 1 resources updated in 10 seconds [2021-07-29T07:54:45+00:00] FATAL: Stacktrace dumped to /home/sdc/chef-solo/cache/chef-stacktrace.out [2021-07-29T07:54:45+00:00] FATAL: Stacktrace dumped to /home/sdc/chef-solo/cache/chef-stacktrace.out [2021-07-29T07:54:45+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report [2021-07-29T07:54:45+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report [2021-07-29T07:54:45+00:00] ERROR: execute[create-sdc-user] (cassandra-actions::01-createCsUser line 14) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ---- Begin output of /tmp/create_cassandra_user.sh ---- STDOUT: Thu Jul 29 07:54:44 UTC 2021 --- cqlsh is able to connect. Going to create asdc_user STDERR: Connection error: ('Unable to connect to any servers', {'10.242.179.73:9042': error(111, "Tried connecting to [('10.242.179.73', 9042)]. Last error: Connection refused"), '10.242.112.75:9042': AuthenticationFailed('Failed to authenticate to 10.242.112.75:9042: Error from server: code=0100 [Bad credentials] message="Error during authentication of user cassandra : org.apache.cassandra.exceptions.UnavailableException: Cannot achieve consistency level QUORUM"',), '10.242.120.196:9042': error(111, "Tried connecting to [('10.242.120.196', 9042)]. Last error: Connection refused")}) Connection error: ('Unable to connect to any servers', {'10.242.179.73:9042': error(111, "Tried connecting to [('10.242.179.73', 9042)]. Last error: Connection refused"), '10.242.112.75:9042': AuthenticationFailed('Failed to authenticate to 10.242.112.75:9042: Error from server: code=0100 [Bad credentials] message="Error during authentication of user cassandra : org.apache.cassandra.exceptions.UnavailableException: Cannot achieve consistency level QUORUM"',), '10.242.120.196:9042': error(111, "Tried connecting to [('10.242.120.196', 9042)]. Last error: Connection refused")}) ---- End output of /tmp/create_cassandra_user.sh ---- Ran /tmp/create_cassandra_user.sh returned 1 [2021-07-29T07:54:45+00:00] ERROR: execute[create-sdc-user] (cassandra-actions::01-createCsUser line 14) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ---- Begin output of /tmp/create_cassandra_user.sh ---- STDOUT: Thu Jul 29 07:54:44 UTC 2021 --- cqlsh is able to connect. Going to create asdc_user STDERR: Connection error: ('Unable to connect to any servers', {'10.242.179.73:9042': error(111, "Tried connecting to [('10.242.179.73', 9042)]. Last error: Connection refused"), '10.242.112.75:9042': AuthenticationFailed('Failed to authenticate to 10.242.112.75:9042: Error from server: code=0100 [Bad credentials] message="Error during authentication of user cassandra : org.apache.cassandra.exceptions.UnavailableException: Cannot achieve consistency level QUORUM"',), '10.242.120.196:9042': error(111, "Tried connecting to [('10.242.120.196', 9042)]. Last error: Connection refused")}) Connection error: ('Unable to connect to any servers', {'10.242.179.73:9042': error(111, "Tried connecting to [('10.242.179.73', 9042)]. Last error: Connection refused"), '10.242.112.75:9042': AuthenticationFailed('Failed to authenticate to 10.242.112.75:9042: Error from server: code=0100 [Bad credentials] message="Error during authentication of user cassandra : org.apache.cassandra.exceptions.UnavailableException: Cannot achieve consistency level QUORUM"',), '10.242.120.196:9042': error(111, "Tried connecting to [('10.242.120.196', 9042)]. Last error: Connection refused")}) ---- End output of /tmp/create_cassandra_user.sh ---- Ran /tmp/create_cassandra_user.sh returned 1 [2021-07-29T07:54:45+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) [2021-07-29T07:54:45+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)