Jira (PUP-10504) remote filebucket broken in puppet 6.15

4 views
Skip to first unread message

Vadym Chepkov (Jira)

unread,
May 12, 2020, 4:49:04 PM5/12/20
to puppe...@googlegroups.com
Vadym Chepkov created an issue
 
Puppet / Bug PUP-10504
remote filebucket broken in puppet 6.15
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2020/05/12 1:48 PM
Priority: Normal Normal
Reporter: Vadym Chepkov

Puppet Version: 6.15
Puppet Server Version: PE2019.7.0
OS Name/Version: CentOS/8

site.pp has remote filebickets enabled:

# Define filebucket 'main':
filebucket { 'main': path => false }
# Make filebucket 'main' the default backup location for all files:
File { backup => 'main' }
Concat_file { backup => 'main' }

After upgrading to puppet agent 6.15 started receiving filebucket related errors :

2020-05-12 19:42:21 +0000 Puppet (err): Could not back up /etc/puppetlabs/pxp-agent/pxp-agent.conf: undefined method `head_filebucket_file' for #<Puppet::HTTP::Service::Compiler:0x00000000031ac658>
2020-05-12 19:42:21 +0000 Puppet (err): Could not back up /etc/puppetlabs/pxp-agent/pxp-agent.conf: undefined method `head_filebucket_file' for #<Puppet::HTTP::Service::Compiler:0x00000000031ac658>
2020-05-12 19:42:21 +0000 /Stage[main]/Puppet_enterprise::Pxp_agent/File[/etc/puppetlabs/pxp-agent/pxp-agent.conf]/content (err): change from '{md5}c85148d8c2d3eedef3e17a0de5e6097d' to '{md5}f48c2acb1fa971a3f28de790fe55244f' failed: Could not back up /etc/puppetlabs/pxp-agent/pxp-agent.conf: undefined method `head_filebucket_file' for #<Puppet::HTTP::Service::Compiler:0x00000000031ac658>

 

I don't see any errors in puppetserver.log, related to pxp-agent failures, but on earlier the following messages are posted, which I assume came from local puppet run:

2020-05-12T19:22:05.418Z INFO  [qtp1302820841-79] [puppetserver] Puppet Not Found: Could not find file_bucket_file md5/9d3d4072e6f91a38cdac3e31b8ccd137/etc/puppetlabs/r10k/r10k.yaml
2020-05-12T19:22:05.441Z INFO  [qtp1302820841-76] [puppetserver] Puppet Computing checksum on string
2020-05-12T19:22:30.494Z INFO  [qtp1302820841-75] [puppetserver] Puppet Not Found: Could not find file_bucket_file md5/fe9b603c73ce46b5bccc105844cf5950/opt/puppetlabs/server/data/packages/public/2019.7.0/el-8-x86_64.repo
2020-05-12T19:22:30.515Z INFO  [qtp1302820841-76] [puppetserver] Puppet Computing checksum on string
2020-05-12T19:22:30.609Z INFO  [qtp1302820841-75] [puppetserver] Puppet Not Found: Could not find file_bucket_file md5/e3272f76558c7892f451f4fd85241516/opt/puppetlabs/server/data/packages/public/2019.7.0/el-8-x86_64.bash
2020-05-12T19:22:30.632Z INFO  [qtp1302820841-76] [puppetserver] Puppet Computing checksum on string
2020-05-12T19:22:30.759Z INFO  [qtp1302820841-75] [puppetserver] Puppet Not Found: Could not find file_bucket_file md5/267a6f9d3c08fb071b05777f6187678b/opt/puppetlabs/server/data/packages/public/2019.7.0/install.ps1
2020-05-12T19:22:30.780Z INFO  [qtp1302820841-76] [puppetserver] Puppet Computing checksum on string
2020-05-12T19:22:30.912Z INFO  [qtp1302820841-75] [puppetserver] Puppet Not Found: Could not find file_bucket_file md5/b22e68f323b0172807f103b98c38bac9/opt/puppetlabs/server/data/packages/public/2019.7.0/install.bash
2020-05-12T19:22:30.933Z INFO  [qtp1302820841-76] [puppetserver] Puppet Computing checksum on string
2020-05-12T19:22:31.026Z INFO  [qtp1302820841-75] [puppetserver] Puppet Not Found: Could not find file_bucket_file md5/1ecf48fa7db7ee2192c6961567bc826c/opt/puppetlabs/server/data/packages/public/2019.7.0/upgrade.bash
2020-05-12T19:22:31.053Z INFO  [qtp1302820841-76] [puppetserver] Puppet Computing checksum on string

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Vadym Chepkov (Jira)

unread,
May 12, 2020, 4:57:03 PM5/12/20
to puppe...@googlegroups.com
Vadym Chepkov commented on Bug PUP-10504
 
Re: remote filebucket broken in puppet 6.15

After closer examination, I do see files in the remote filebucket, so I will rename the ticket

 

[root@puppet ~]# puppet filebucket -b /opt/puppetlabs/server/data/puppetserver/bucket list|grep 05-12
63e094fdf83df1aaad052e77abb3172e 2020-05-12 19:33:40 etc/puppetlabs/pxp-agent/pxp-agent.conf
5fa8cfd5675cd95893f6a7c89058e538 2020-05-12 19:47:56 etc/puppetlabs/pxp-agent/pxp-agent.conf
a875c5852925cc925e24f15341eb0b65 2020-05-12 19:51:21 etc/puppetlabs/pxp-agent/pxp-agent.conf
85790ab9eea8fc831e256b1f08fe91be 2020-05-12 19:54:49 etc/puppetlabs/pxp-agent/pxp-agent.conf
96819c4d082b4a44df6d927ce9f32df9 2020-05-12 20:02:38 etc/puppetlabs/pxp-agent/pxp-agent.conf
303ab5788ef808bf81ac9b8bbf7e2b51 2020-05-12 20:04:41 etc/puppetlabs/pxp-agent/pxp-agent.conf
d0ae39212e75c6a4d156f878d7082e9b 2020-05-12 20:05:31 etc/puppetlabs/pxp-agent/pxp-agent.conf
c85148d8c2d3eedef3e17a0de5e6097d 2020-05-12 20:12:19 etc/puppetlabs/pxp-agent/pxp-agent.conf
eb5d3ea917d5cfeb90d0e44b7bdf6083 2020-05-12 20:18:29 etc/puppetlabs/pxp-agent/pxp-agent.conf
9d3d4072e6f91a38cdac3e31b8ccd137 2020-05-12 19:22:05 etc/puppetlabs/r10k/r10k.yaml
e3272f76558c7892f451f4fd85241516 2020-05-12 19:22:30 opt/puppetlabs/server/data/packages/public/2019.7.0/el-8-x86_64.bash
fe9b603c73ce46b5bccc105844cf5950 2020-05-12 19:22:30 opt/puppetlabs/server/data/packages/public/2019.7.0/el-8-x86_64.repo
b22e68f323b0172807f103b98c38bac9 2020-05-12 19:22:30 opt/puppetlabs/server/data/packages/public/2019.7.0/install.bash
267a6f9d3c08fb071b05777f6187678b 2020-05-12 19:22:30 opt/puppetlabs/server/data/packages/public/2019.7.0/install.ps1
1ecf48fa7db7ee2192c6961567bc826c 2020-05-12 19:22:31 opt/puppetlabs/server/data/packages/public/2019.7.0/upgrade.bash

Reply all
Reply to author
Forward
0 new messages