[2021-04-26T23:31:48+00:00] INFO: Started chef-zero at chefzero://localhost:1 with repository at /home/sdc/chef-solo One version per cookbook [2021-04-26T23:31:48+00:00] INFO: Started chef-zero at chefzero://localhost:1 with repository at /home/sdc/chef-solo One version per cookbook [2021-04-26T23:31:48+00:00] INFO: Forking chef instance to converge... [2021-04-26T23:31:48+00:00] INFO: Forking chef instance to converge... Starting Chef Client, version 13.8.5 [2021-04-26T23:31:49+00:00] INFO: *** Chef 13.8.5 *** [2021-04-26T23:31:49+00:00] INFO: *** Chef 13.8.5 *** [2021-04-26T23:31:49+00:00] INFO: Platform: x86_64-linux-gnu [2021-04-26T23:31:49+00:00] INFO: Platform: x86_64-linux-gnu [2021-04-26T23:31:49+00:00] INFO: Chef-client pid: 11 [2021-04-26T23:31:49+00:00] INFO: Chef-client pid: 11 [2021-04-26T23:31:49+00:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping... [2021-04-26T23:31:49+00:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping... [2021-04-26T23:31:50+00:00] INFO: Setting the run_list to ["role[cassandra-actions]"] from CLI options [2021-04-26T23:31:50+00:00] INFO: Setting the run_list to ["role[cassandra-actions]"] from CLI options [2021-04-26T23:31:50+00:00] INFO: Run List is [role[cassandra-actions]] [2021-04-26T23:31:50+00:00] INFO: Run List is [role[cassandra-actions]] [2021-04-26T23:31:50+00:00] INFO: Run List expands to [cassandra-actions::01-createCsUser, cassandra-actions::03-schemaCreation, cassandra-actions::04-importConformance] [2021-04-26T23:31:50+00:00] INFO: Run List expands to [cassandra-actions::01-createCsUser, cassandra-actions::03-schemaCreation, cassandra-actions::04-importConformance] [2021-04-26T23:31:50+00:00] INFO: Starting Chef Run for dev-sdc-cs-config-cassandra-hcgk2 [2021-04-26T23:31:50+00:00] INFO: Starting Chef Run for dev-sdc-cs-config-cassandra-hcgk2 [2021-04-26T23:31:50+00:00] INFO: Running start handlers [2021-04-26T23:31:50+00:00] INFO: Running start handlers [2021-04-26T23:31:50+00:00] INFO: Start handlers complete. [2021-04-26T23:31:50+00:00] INFO: Start handlers complete. resolving cookbooks for run list: ["cassandra-actions::01-createCsUser", "cassandra-actions::03-schemaCreation", "cassandra-actions::04-importConformance"] [2021-04-26T23:31:54+00:00] INFO: Loading cookbooks [cassandra-actions@0.0.0] [2021-04-26T23:31:54+00:00] INFO: Loading cookbooks [cassandra-actions@0.0.0] Synchronizing Cookbooks: [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/attributes/version.rb in the cache. [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/attributes/version.rb in the cache. [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/templates/default/janusgraph.properties.erb in the cache. [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/templates/default/janusgraph.properties.erb in the cache. [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/templates/default/configuration.yaml.erb in the cache. [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/templates/default/configuration.yaml.erb in the cache. [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/recipes/02-createDoxKeyspace.rb in the cache. [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/recipes/04-importConformance.rb in the cache. [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/recipes/04-importConformance.rb in the cache. [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/recipes/02-createDoxKeyspace.rb in the cache. [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/templates/default/create_cassandra_user.sh.erb in the cache. [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/templates/default/create_cassandra_user.sh.erb in the cache. [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/recipes/03-schemaCreation.rb in the cache. [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/recipes/03-schemaCreation.rb in the cache. [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/templates/default/create_dox_keyspace.sh.erb in the cache. [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/templates/default/create_dox_keyspace.sh.erb in the cache. [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/recipes/01-createCsUser.rb in the cache. [2021-04-26T23:31:54+00:00] INFO: Storing updated cookbooks/cassandra-actions/recipes/01-createCsUser.rb in the cache. [2021-04-26T23:31:55+00:00] INFO: Storing updated cookbooks/cassandra-actions/files/default/sdctool.tar in the cache. [2021-04-26T23:31:55+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.8.5] Converging 9 resources Recipe: cassandra-actions::01-createCsUser * template[/tmp/create_cassandra_user.sh] action create[2021-04-26T23:31:56+00:00] INFO: template[/tmp/create_cassandra_user.sh] created file /tmp/create_cassandra_user.sh [2021-04-26T23:31:56+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-04-26T23:31:56+00:00] INFO: template[/tmp/create_cassandra_user.sh] updated file contents /tmp/create_cassandra_user.sh [2021-04-26T23:31:56+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 ef4808 - suppressed sensitive resource[2021-04-26T23:31:56+00:00] INFO: template[/tmp/create_cassandra_user.sh] mode changed to 755 [2021-04-26T23:31:56+00:00] INFO: template[/tmp/create_cassandra_user.sh] mode changed to 755 - change mode from '' to '0755'  * bash[create-sdc-user] action run [execute] Mon Apr 26 23:31:58 UTC 2021 --- cqlsh is enabled to connect. :2:NoHostAvailable: Going to create asdc_user :2:InvalidRequest: Error from server: code=2200 [Invalid query] message="asdc_user already exists"  ================================================================================ Error executing action `run` on resource 'bash[create-sdc-user]' ================================================================================  Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '2'  ---- Begin output of "bash" "/tmp/chef-script20210426-11-1bk4o0y" ----  STDOUT: Mon Apr 26 23:31:58 UTC 2021 --- cqlsh is enabled to connect.  Going to create asdc_user  STDERR: :2:NoHostAvailable:  :2:InvalidRequest: Error from server: code=2200 [Invalid query] message="asdc_user already exists"  ---- End output of "bash" "/tmp/chef-script20210426-11-1bk4o0y" ----  Ran "bash" "/tmp/chef-script20210426-11-1bk4o0y" returned 2  Resource Declaration: --------------------- # In /home/sdc/chef-solo/cache/cookbooks/cassandra-actions/recipes/01-createCsUser.rb   15: bash "create-sdc-user" do  16: code <<-EOH  17: cd /tmp ; /tmp/create_cassandra_user.sh  18: EOH  19: end   Compiled Resource: ------------------ # Declared in /home/sdc/chef-solo/cache/cookbooks/cassandra-actions/recipes/01-createCsUser.rb:15:in `from_file'   bash("create-sdc-user") do  action [:run]  default_guard_interpreter :default  command nil  backup 5  returns 0  user nil  interpreter "bash"  declared_type :bash  cookbook_name "cassandra-actions"  recipe_name "01-createCsUser"  code " cd /tmp ; /tmp/create_cassandra_user.sh\n"  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=23:31:48;  executable=/usr/local/bin/chef-solo [2021-04-26T23:32:01+00:00] INFO: Running queued delayed notifications before re-raising exception [2021-04-26T23:32:01+00:00] INFO: Running queued delayed notifications before re-raising exception  Running handlers: [2021-04-26T23:32:01+00:00] ERROR: Running exception handlers [2021-04-26T23:32:01+00:00] ERROR: Running exception handlers Running handlers complete [2021-04-26T23:32:01+00:00] ERROR: Exception handlers complete [2021-04-26T23:32:01+00:00] ERROR: Exception handlers complete Chef Client failed. 1 resources updated in 13 seconds [2021-04-26T23:32:01+00:00] FATAL: Stacktrace dumped to /home/sdc/chef-solo/cache/chef-stacktrace.out [2021-04-26T23:32:01+00:00] FATAL: Stacktrace dumped to /home/sdc/chef-solo/cache/chef-stacktrace.out [2021-04-26T23:32:01+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report [2021-04-26T23:32:01+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report [2021-04-26T23:32:01+00:00] ERROR: bash[create-sdc-user] (cassandra-actions::01-createCsUser line 15) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2' ---- Begin output of "bash" "/tmp/chef-script20210426-11-1bk4o0y" ---- STDOUT: Mon Apr 26 23:31:58 UTC 2021 --- cqlsh is enabled to connect. Going to create asdc_user STDERR: :2:NoHostAvailable: :2:InvalidRequest: Error from server: code=2200 [Invalid query] message="asdc_user already exists" ---- End output of "bash" "/tmp/chef-script20210426-11-1bk4o0y" ---- Ran "bash" "/tmp/chef-script20210426-11-1bk4o0y" returned 2 [2021-04-26T23:32:01+00:00] ERROR: bash[create-sdc-user] (cassandra-actions::01-createCsUser line 15) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2' ---- Begin output of "bash" "/tmp/chef-script20210426-11-1bk4o0y" ---- STDOUT: Mon Apr 26 23:31:58 UTC 2021 --- cqlsh is enabled to connect. Going to create asdc_user STDERR: :2:NoHostAvailable: :2:InvalidRequest: Error from server: code=2200 [Invalid query] message="asdc_user already exists" ---- End output of "bash" "/tmp/chef-script20210426-11-1bk4o0y" ---- Ran "bash" "/tmp/chef-script20210426-11-1bk4o0y" returned 2 [2021-04-26T23:32:02+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) [2021-04-26T23:32:02+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)