Closed libert-xyz closed 8 years ago
I'm having this problem too when trying to install it via vagrant, berksfile & chef. Install OS is Centos 7
This unfortunately also breaks php cookbook source recipe, because it tries to install the client and on CentOS 7 the package is not available. You probably need to add the MySQL repository.
Fixed up in 8.0.2
It still fails for me on CentOS 7.2, no change.
I am also facing this issue - did it get fixed?
@someara : this is still failing. I tried cookbook version 8.5 with no luck. Any ideas?
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Cookbook version
8.0.1
Chef-client version
12.11.18
Platform Details
Centos 7.2
Scenario:
Attempt to install MySQL Server and Client using Kitchen and Vagrant.
Steps to Reproduce:
attributes
normal_unless['customers']['database']['root_password'] = random_password normal_unless['customers']['database']['admin_password'] = random_password
metadata
depends 'mysql', '~> 8.0.1'
recipe
mysql_client 'default' do action :create end
mysql_service 'default' do initial_root_password node['customers']['database']['root_password'] action [:create, :start] end
Run Kitchen
kitchen converge
Expected Result:
Install should complete successfully and mysql server should be running.
Actual Result:
Running handlers: [2016-08-04T14:50:47+00:00] ERROR: Running exception handlers Running handlers complete [2016-08-04T14:50:47+00:00] ERROR: Exception handlers complete Chef Client failed. 91 resources updated in 06 minutes 14 seconds [2016-08-04T14:50:47+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out [2016-08-04T14:50:47+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report [2016-08-04T14:50:47+00:00] ERROR: mysql_client_installation_package[default](awesome_customers::database line 6) had an error: Chef::Exceptions::Package: yum_package[mysql-community-client](/tmp/kitchen/cache/cookbooks/mysql/libraries/mysql_client_installation_package.rb line 18) had an error: Chef::Exceptions::Package: No candidate version available for mysql-community-client [2016-08-04T14:51:48+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)