Ask Your Question
0

Is the Puppet Server 5.1.5 fix for the URI parsing bug(SERVER-1954) applied to 5.3?

asked 2018-03-06 08:57:33 -0500

majorChibi gravatar image

I'm seeing similar issues as the bug in SERVER-1954 in Puppet Server 5.3.3. Is this fixed in a later version?

I have a file resource using a puppet mount pointing to a directory with a bunch of files in them. Some of these files have spaces in the filenames.

From the agent: Error: Could not set 'file' on ensure: Error 500 on SERVER: Server Error Error: Could not set 'file' on ensure: Error 500 on SERVER: Server Error Wrapped exception: Error 500 on SERVER: Server Error Error: /Stage[main]/Main/Node[c3puppet02]/File[/tmp/testEnv/TEST/test file.txt]/ensure: change from 'absent' to 'file' failed: Could not set 'file' on ensure: Error 500 on SERVER: Server Error

2018-03-06 09:54:02,219 WARN [qtp1514865439-226] [o.e.j.s.HttpChannel] /puppet/v3/file_content/tar_repo/TEST/test%20file.txt javax.servlet.ServletException: java.net.URISyntaxException: Illegal character in path at index 69: file:////puppet/v3/file_content/tar_repo/TEST/test file.txt at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146) at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:521) at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:56) at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:169) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:564) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110) at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:278) at org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:148) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128) at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590) at java.lang.Thread.run(Thread.java:748) Caused by: java.net.URISyntaxException: Illegal character in path at index 69: file:////puppet/v3/file_content/tar_repo/TEST/test file.txt

edit retag flag offensive close merge delete

Comments

Which version of the puppetserver package is installed? 5.3.3 is a version number for the _Puppet Agent_, latest Puppet Server release at this time is 5.2.

csharpsteen gravatar imagecsharpsteen ( 2018-03-07 11:34:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-03-07 11:47:14 -0500

majorChibi gravatar image

Ah, Thanks for the clarification. I was looking at the wrong version. It appears I'm on 5.1.3.

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

Stats

Asked: 2018-03-06 08:57:33 -0500

Seen: 56 times

Last updated: Mar 07