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

Ramon Acedo ramon at linux-labs.net
Thu May 8 15:27:15 UTC 2014


On 8 May 2014, at 07:03, Ryan O'Hara <rohara at 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.

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.

Thanks for having a look.

> 
> Ryan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20140508/e56d0e97/attachment.html>


More information about the dev mailing list