[Rdo-list] Can't Deploy Foreman with openstack-foreman-installer for Bare Metal Provisioning (undefined method `[]' for nil:NilClass)

Gilles Dubreuil gilles at redhat.com
Thu May 8 22:25:39 UTC 2014



----- Original Message -----
> From: "Ramon Acedo" <ramon at linux-labs.net>
>
> 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.
> 
> No, I’m using the script coming with the package. I tried two different
> versions, last one 2.0 which I think it’s the current one upstream.
>

If you're using vanilla packages then please fill a bug.
 
> Thanks for having a look.

Thanks,
Gilles




More information about the dev mailing list