Project

General

Profile

Bug #24839

Error when configuring Galera node on max-tst-01

Added by Maksim Kosterin 3 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
MDBCI
Start date:
05.02.2019
Due date:
Estimated time:
Close

Description

Template file T at https://github.com/amvasilyev/2019-mdbci-up-with-labels/tree/master/mdbci_up_performance_test

stacktrace:

Recipe Compile Error in /tmp/provision/cookbooks/galera/recipes/default.rb
2019-02-05T10:36:09 DEBUG: ssh: ================================================================================
2019-02-05T10:36:09 DEBUG: ssh: Errno::ENOENT
2019-02-05T10:36:09 DEBUG: ssh: -------------
2019-02-05T10:36:09 DEBUG: ssh: No such file or directory @ rb_sysopen - /vagrant/provider
2019-02-05T10:36:09 DEBUG: ssh: Cookbook Trace:
2019-02-05T10:36:09 DEBUG: ssh: ---------------
2019-02-05T10:36:09 DEBUG: ssh: /tmp/provision/cookbooks/galera/recipes/default.rb:255:in read'
2019-02-05T10:36:09 DEBUG: ssh: /tmp/provision/cookbooks/galera/recipes/default.rb:255:in
from_file'
2019-02-05T10:36:09 DEBUG: ssh: Relevant File Content:
2019-02-05T10:36:09 DEBUG: ssh: ----------------------
2019-02-05T10:36:09 DEBUG: ssh: /tmp/provision/cookbooks/galera/recipes/default.rb:
2019-02-05T10:36:09 DEBUG: ssh:
2019-02-05T10:36:09 DEBUG: ssh: 248:

2019-02-05T10:36:09 DEBUG: ssh: 249: bash 'Configure Galera server.cnf - Get/Set Galera LIB_PATH' do
2019-02-05T10:36:09 DEBUG: ssh: 250: code <<-EOF
2019-02-05T10:36:09 DEBUG: ssh: 251: sed -i "s|###GALERA-LIB-PATH###|$(rpm -ql galera | grep so)|g\" /etc/my.cnf.d/#{Shellwords.escape(node['galera']['cnf_template'])}
2019-02-05T10:36:09 DEBUG: ssh: 252: EOF
2019-02-05T10:36:09 DEBUG: ssh: 253: end
2019-02-05T10:36:09 DEBUG: ssh: 254:

2019-02-05T10:36:09 DEBUG: ssh: 255>> provider = IO.read("/vagrant/provider")
2019-02-05T10:36:09 DEBUG: ssh: 256: if provider == "aws"
2019-02-05T10:36:09 DEBUG: ssh: 257: bash 'Configure Galera server.cnf - Get AWS node IP address' do
2019-02-05T10:36:09 DEBUG: ssh: 258: code <<-EOF
2019-02-05T10:36:09 DEBUG: ssh: 259: node_address=$(curl http://169.254.169.254/latest/meta-data/local-ipv4)
2019-02-05T10:36:09 DEBUG: ssh: 260: sed -i "s|###NODE-ADDRESS###|$node_address|g" /etc/my.cnf.d/#{Shellwords.escape(node['galera']['cnf_template'])}
2019-02-05T10:36:09 DEBUG: ssh: 261: EOF
2019-02-05T10:36:09 DEBUG: ssh: 262: end
2019-02-05T10:36:09 DEBUG: ssh: 263: elsif provider == "virtualbox"
2019-02-05T10:36:09 DEBUG: ssh: 264: bash 'Configure Galera server.cnf - Get Virtualbox node IP address' do
2019-02-05T10:36:09 DEBUG: ssh:
2019-02-05T10:36:09 DEBUG: ssh: System Info:
2019-02-05T10:36:09 DEBUG: ssh: ------------
2019-02-05T10:36:09 DEBUG: ssh: chef_version=14.7.17
2019-02-05T10:36:09 DEBUG: ssh: platform=centos
2019-02-05T10:36:09 DEBUG: ssh: platform_version=7.2.1511
2019-02-05T10:36:09 DEBUG: ssh: ruby=ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
2019-02-05T10:36:09 DEBUG: ssh: program_name=/bin/chef-solo
2019-02-05T10:36:09 DEBUG: ssh: executable=/opt/chef/bin/chef-solo
2019-02-05T10:36:09 DEBUG: ssh:
2019-02-05T10:36:09 DEBUG: ssh: Running handlers:
2019-02-05T10:36:09 DEBUG: ssh: [2019-02-05T04:36:08-05:00] ERROR: Running exception handlers
2019-02-05T10:36:09 DEBUG: ssh: Running handlers complete
2019-02-05T10:36:09 DEBUG: ssh: [2019-02-05T04:36:08-05:00] ERROR: Exception handlers complete
2019-02-05T10:36:09 DEBUG: ssh: Chef Client failed. 0 resources updated in 01 seconds
2019-02-05T10:36:09 DEBUG: ssh: [2019-02-05T04:36:08-05:00] FATAL: Stacktrace dumped to /tmp/provision/chef-stacktrace.out
2019-02-05T10:36:09 DEBUG: ssh: [2019-02-05T04:36:08-05:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
2019-02-05T10:36:09 DEBUG: ssh: [2019-02-05T04:36:08-05:00] FATAL: Errno::ENOENT: No such file or directory @ rb_sysopen - /vagrant/provider

History

#1

Updated by Maksim Kosterin 3 months ago

  • Description updated (diff)
#2

Updated by Maksim Kosterin 3 months ago

  • Description updated (diff)
#3

Updated by Andrey Vasilyev about 2 months ago

  • Assignee changed from Andrey Vasilyev to Evgeny Vlasov
#4

Updated by Evgeny Vlasov about 2 months ago

  • Status changed from New to In Progress
#5

Updated by Evgeny Vlasov about 1 month ago

  • Status changed from In Progress to Resolved
#6

Updated by Evgeny Vlasov about 1 month ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF