Ask Your Question
0

Serving File from custom mount point PE 2015.2 BUG

asked 2015-09-16 05:30:46 -0500

FranzCC gravatar image

Hi,
it seems, that an old BUG hasn't been fixed in 2015.2.
Serving a file from a custom location works but :
It works one time, when changing auth.conf
The next run i get an error 400.
Of course, the filepermissions are right, and as i told, it works for one time only ;-)

fileserver.conf snip:
[cpepackages]
path /var/cpepackages
allow *

[cpeconfs]
path /var/cpeconfs
allow *

auth.conf:
path ~ ^/file_(metadata|content)s?/cpepackages/.*
method find, search
auth yes
allow *

path ~ ^/file_(metadata|content)s?/cpeconfs/.*
method find, search
auth yes
allow *

Pastebin puppetserver-log with error 400:

http://pastebin.com/PKD1ftZ6

Pastebin puppetserver-log with code 200 (OK)

http://pastebin.com/TkBeJR0D

Nevertheless, i will file a bug report and create an issue soon.

This is a showstopper par excellence !

Rgds.

Franz

edit retag flag offensive close merge delete

Comments

Please post a directory listing showing the ownership and permissions of the /var/cpepackages and /var/cpeconf directories. Also, does restarting the Puppet server give you one more successful agent run and then continued failures after that?

GregLarkin gravatar imageGregLarkin ( 2015-09-16 11:32:12 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-09-17 01:03:17 -0500

FranzCC gravatar image

Hi Greg,
restarting the pe-puppetserver worked.
Perhaps this should be outlined in the docs:
https://docs.puppetlabs.com/guides/fi...

Rgds.

Franz

edit flag offensive delete link more

Comments

Does everything continue to work fine after that restart?

GregLarkin gravatar imageGregLarkin ( 2015-09-18 15:38:13 -0500 )edit

Hi Greg, yes, it's working. I tested it on some nodes. Rgds. Franz

FranzCC gravatar imageFranzCC ( 2015-09-21 02:40:03 -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

1 follower

Stats

Asked: 2015-09-16 05:30:46 -0500

Seen: 348 times

Last updated: Sep 17 '15