Ask Your Question

quest mysql task 4 error

asked 2015-12-19 02:10:55 -0500

pratap gravatar image

updated 2015-12-20 20:30:00 -0500

I include below line in site.pp file for quest mysql task 4:

include mysql::server::account_security

Then ran "puppet agent -t". It gave me below error:

[root@learning /etc/puppetlabs/code/environments/production/manifests]# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts 
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid relationship: Mysql_user[root@] { require => Anchor[mysql::server::end] }, because Anchor[mysql::server::end] doesn't seem to be in the catalog
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

What is wrong here, I am doing?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-12-21 23:05:46 -0500

updated 2016-01-29 01:16:40 -0500

I'd have to guess this is either a bug in the version of the module you're using or something is broken on your server. So could you start by blowing everything away and installing the latest version of the mysql module and trying again?


Actually I note that the documentation says that mysql::server::account_security is a private class, which means you're not supposed to call it directly. Still, I don't think calling it directly should cause that error, absent any bugs in the code. Can we see the rest of your site.pp? Thanks.



Did you try

include mysql
include mysql::server::account_security

You'll probably be more likely to get help by raising an issue at the actual project if you believe there's a bug.

edit flag offensive delete link more


Sorry about necro'ing this question, but I am having the same error and can't find a solution anywhere else. My site.pp file can be viewed at: Thanks

tdonnelly gravatar imagetdonnelly ( 2016-01-28 16:25:05 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2015-12-19 02:10:55 -0500

Seen: 202 times

Last updated: Jan 29 '16