puppet 6 upgrade to 7, issue with file_metadatas/modules/plugins

20 views
Skip to first unread message

Trey Ormsbee

unread,
May 27, 2025, 12:02:36 PMMay 27
to Puppet Users
I am upgrading all my old puppet 6 agents to puppet7,  I have been running puppetserver7 for a long while but never got around to updating the agents.  Im finally ready to update the agents and am running into an issue with the agent not being able to performe plugin syncs.

the puppet6 agents, lookup the plugins at this path: 'GET /puppet/v3/file_metadatas/plugins?recurse=false&links=manage&checksum_type=md5&source_permissions=ignore&environment=production HTTP/1.1'

the puppet7 agents are looking up at this path: 'GET /puppet/v3/file_metadatas/modules/plugins?recurse=false&links=manage&checksum_type=sha256&source_permissions=ignore&environment=production HTTP/1.1'

the puppet 7 agents get a 404,  the logs on the puppetserver show: 
[puppetserver] Puppet Could not find filesystem info for file 'modules/plugins' in environment production
[puppetserver] Puppet Not Found: Could not find instances in file_metadata with 'modules/plugins'

am I missing a setting?,  im not sure why the puppet7 agent is using a different path for this.


Trey Ormsbee

unread,
May 27, 2025, 12:15:32 PMMay 27
to Puppet Users
I figured this out,  I had this in my agent config:

    pluginfactsource = puppet://puppet/modules/pluginfacts
    pluginsource = puppet://puppet/modules/plugins

changed it to
     pluginfactsource = puppet://puppet/pluginfacts
    pluginsource = puppet://puppet/plugins

and all is good.



Ben Ford

unread,
May 27, 2025, 12:31:28 PMMay 27
to puppet...@googlegroups.com
Out of curiosity, why are you specifying those settings? What you set them to are the defaults, assuming that your server is `puppet`.


-- 
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/puppet-users/e9793d8c-f527-44cf-875b-73c85c5fa12fn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages