On 8 May 2014, at 07:03, Ryan O'Hara <rohara(a)redhat.com> wrote:
On Tue, Apr 29, 2014 at 05:14:59PM +0100, Ramon Acedo wrote:
> Hi all,
>
> I have been trying to test the OpenStack Foreman Installer with different
combinations of Foreman versions and of the installer itself (and even different versions
of Puppet) with no success so far.
>
> I know that Packstack alone works but I want to go all the way with multiple hosts
and bare metal provisioning to eventually use it for large deployments and scale out Nova
Compute and other services seamlessly.
>
> The error I get when running the foreman_server.sh script is always:
> --------------
> rake aborted!
> undefined method `[]' for nil:NilClass
>
> Tasks: TOP => db:seed
> (See full trace by running task with --trace)
> --------------
Are you by chance running foreman_server.sh from source? I've hit this
a few times when I checkout the source, put it in /root/ and then the
seed script fails because of permissions. If you are running from
source, make sure the puppet user can read the source directory.
Not sure is this applies in your case but it will cause the problem
you're seeing.
Ryan