chef - Error with running mysql cookbook on Fedora -
i trying run openstack-chef-cookbooks (https://github.com/stackforge/openstack-chef-repo) on fedora 19. when run chef-client, here error getting:
recipe: openstack-ops-database::mysql-server * mysql_database[flush privileges] action query ================================================================================ error executing action `query` on resource 'mysql_database[flush privileges]' ================================================================================ mysql::error ------------ access denied user 'root'@'localhost' (using password: yes) cookbook trace: --------------- /var/chef/cache/cookbooks/database/libraries/provider_database_mysql.rb:83:in `new' /var/chef/cache/cookbooks/database/libraries/provider_database_mysql.rb:83:in `db' /var/chef/cache/cookbooks/database/libraries/provider_database_mysql.rb:78:in `exists?' /var/chef/cache/cookbooks/database/libraries/provider_database_mysql.rb:64:in `action_query' resource declaration: --------------------- # in /var/chef/cache/cookbooks/openstack-ops-database/recipes/mysql-server.rb 61: mysql_database 'flush privileges' 62: connection mysql_connection_info 63: sql 'flush privileges' 64: action :query 65: end 66: compiled resource: ------------------ # declared in /var/chef/cache/cookbooks/openstack-ops-database/recipes/mysql-server.rb:61:in `from_file' mysql_database("flush privileges") provider chef::provider::database::mysql action [:query] retries 0 retry_delay 2 database_name "flush privileges" cookbook_name "openstack-ops-database" recipe_name "mysql-server" connection {:host=>"localhost", :username=>"root", :password=>"pvuoekmgyldfzl3cwlse"} sql "flush privileges" end [2014-03-06t02:00:20-05:00] error: running exception handlers [2014-03-06t02:00:20-05:00] error: exception handlers complete [2014-03-06t02:00:20-05:00] fatal: stacktrace dumped /var/chef/cache/chef-stacktrace.out chef client failed. 1 resources updated [2014-03-06t02:00:21-05:00] error: mysql_database[flush privileges] (openstack-ops-database::mysql-server line 61) had error: mysql::error: access denied user 'root'@'localhost' (using password: yes) [2014-03-06t02:00:21-05:00] fatal: chef::exceptions::childconvergeerror: chef run process exited unsuccessfully (exit code 1)
i know fedora has moved mysql mariadb , have made appropriate changes. now, have mariadb, mariadb-devel , mariadb-server installed. though have been told these cookbooks aren't compatible fedora, still few pointers how resolve issue.
Comments
Post a Comment