Bug #3593
closedPuppet::Rails issue
Description
Hi,
After upgrading from squeeze to wheezy and foreman 1.1 to 1.3 puppet no longer able to run
I attached my foreman-debug file
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Rails is not missing constant Host!
Thanks
Files
Updated by Ohad Levy over 10 years ago
based on this debug i can see a couple of things.
1. you didnt update your report/node files based on the update section in the release notes
2. i cant see the error you mentioned in the logs
does the error comes from puppet or foreman?
Updated by Ohad Levy over 10 years ago
- Status changed from New to Need more information
Updated by Or Elimelech over 10 years ago
1. I did update both file maybe you see it because foreman is installed as a standalone and not as a puppetmaster
2. The error comes from puppet agents when running "puppet agent -t"
My puppet version is 2.7.18
Updated by Dominic Cleal over 10 years ago
Perhaps the error is coming from the puppet master itself. Do you have a shared database between Puppet (puppet.conf) and Foreman (/etc/foreman/database.yml)? If so, this is no longer supported from 1.2 onwards, so you need to separate them.
Updated by Or Elimelech over 10 years ago
Yes, the error comes from puppet master and I do have 1 database for both,
I created a new database for foreman dumped the old database to new one and now I need to initialize the puppetmaster's database again hope it'll work
Updated by Or Elimelech over 10 years ago
Thank you very much
Problem solved
Note: I upgraded from 1.1 to 1.3 and the change about the databases only appears on 1.2 upgrade guides
Updated by Ohad Levy over 10 years ago
- Status changed from Need more information to Rejected
- Priority changed from Urgent to Normal