Ask Your Question
0

lock in yaml file

asked 2015-02-10 11:43:04 -0500

Chutki gravatar image

Hi,

I am getting below error message in agent when I run "puppet agent -t --noop"

Debug: Using cached certificate_revocation_list for ca
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Error 400 on SERVER: Could not retrieve facts for clent.server.com:
No such file or directory - /var/opt/lib/pe-puppet/yaml/facts/client.server.com.yaml20150210-**12305**-1xzhyzd.lock


Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
No such file or directory - /var/opt/lib/pe-puppet/yaml/facts/client.server.com.yaml20150210-***12305***-jcy2s3.lock
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Also I could see PID with the same lock number

494      `***12305***`     1  0 08:07 ?        00:00:00 Passenger RackApp: /var/opt/lib/pe-puppetmaster

when I run agent I could see new PID for process Passenger RackApp in master, the lock number and PID numbers are same.

I checkd auth.config,config.ru and puppet.config but none got changed. I removed all the modules build by me and ran agent, Still getting lock error message.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-02-12 06:14:49 -0500

Chutki gravatar image

Hi, I had problem memory issue in master server /var is mounted 100%. I close this

edit flag offensive delete link more
0

answered 2015-05-08 03:53:43 -0500

change ownership of /var/lib/puppet/yaml/node from root to puppet may solve this problem

[root@puppetmaster yaml]# ll

total 8 drwxr-xr-x. 2 puppet puppet 4096 May 8 16:13 facts drwxr-xr-x. 2 root root 4096 May 8 15:26 node

[root@puppetmaster yaml]# chown -R puppet:puppet node

[root@puppetmaster yaml]# ll total 8 drwxr-xr-x. 2 puppet puppet 4096 May 8 16:13 facts drwxr-xr-x. 2 puppet puppet 4096 May 8 15:26 node

edit flag offensive delete link more

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

Stats

Asked: 2015-02-10 11:43:04 -0500

Seen: 1,929 times

Last updated: May 08 '15