Project

General

Profile

Actions

Bug #3593

closed

Puppet::Rails issue

Added by Or Elimelech over 10 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

foreman-debug-Unpm6.tar.xz foreman-debug-Unpm6.tar.xz 62 KB Or Elimelech, 11/06/2013 11:58 AM
Actions #1

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?

Actions #2

Updated by Ohad Levy over 10 years ago

  • Status changed from New to Need more information
Actions #3

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

Actions #4

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.

Actions #5

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

Actions #6

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

Actions #7

Updated by Ohad Levy over 10 years ago

  • Status changed from Need more information to Rejected
  • Priority changed from Urgent to Normal
Actions

Also available in: Atom PDF