Ask Your Question

Error 400 on SERVER: Could not find data item nfsexports in any Hiera data file and no default supplied at

asked 2015-12-22 18:00:21 -0600

GosthMan gravatar image

updated 2015-12-22 21:28:49 -0600

Hello I am using puppet version 3.7.4. And since some modifications where done on the puppetmaster i started to receive errors on some clients

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find data item nfsexports in any Hiera data file and no default supplied at /etc/puppet/environments/production/oca_mods/profile/manifests/gfs_client.pp:21 on node (host deleted)
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

I am using roles to divide the servers and on the servers that i use an role wich includes gfs_client the client gives no errors and on the servers that have different roles receive the specified error. Can someone tell me what i'm doing wrong here

Thank you

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2015-12-22 21:31:47 -0600

updated 2015-12-23 19:37:01 -0600

Did you change something to do with Hiera on the Puppet Master? Looks to me like it's not finding your Hiera config any more.

You could try this on the master:

puppet master --compile <your host FQDN> --environment=<your host environment> --debug |grep hiera


The output shows that a catalog was successfully compiled and there is no reference to the missing data item "nfsexports".

Could you try something different. Stop the puppet master (service httpd stop) and then:

puppet master --no-daemonize --debug

Then run puppet agent -t from the client so that a catalog is compiled. Thanks.

edit flag offensive delete link more


Here is the output on 2 hosts, one that has error on puppet client and doesn't work ( and another on a host that works without issues and uses an profile with gfs_client (

GosthMan gravatar imageGosthMan ( 2015-12-23 07:34:01 -0600 )edit

Can you supply the full output, prior to the grep? Thanks.

Alex Harvey gravatar imageAlex Harvey ( 2015-12-23 09:07:13 -0600 )edit

Hello here is the full log from the same host with issues: Do you need from the host that doesn't have issues?

GosthMan gravatar imageGosthMan ( 2015-12-23 10:21:13 -0600 )edit

like that it worked and after i stoped puppet and started the puppet daemon all returned to normal. Thank you

GosthMan gravatar imageGosthMan ( 2015-12-23 20:07:48 -0600 )edit

answered 2015-12-22 22:18:04 -0600

Anandk gravatar image

Well, after the changes were made, did you restart the puppet services to reflect it?

edit flag offensive delete link more


The changes where made a while ago and where made by another person so no idea what was changed, before that it was working without issues on all servers , and yes puppetmaster was restarted a couple of times since i saw the error

GosthMan gravatar imageGosthMan ( 2015-12-23 07:02:34 -0600 )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

1 follower


Asked: 2015-12-22 18:00:21 -0600

Seen: 2,137 times

Last updated: Dec 23 '15