Deploying RDO using Foreman [closed]

asked 2014-02-16 14:45:48 -0500

cloudssky gravatar image

updated 2014-03-09 09:01:32 -0500

Has someone tried to deploy RDO using Foreman with this guide?:

I tried it some weeks ago and as I remember due to some missing libraries it didn't work and I'd to go with the standard RDO installation.

If someone or RDO experts have any idea or experience to get it running, any help is much appreciated.

Update March 9th, 2014

I'm doing some progress and the foreman server runs just fine and I can access the foreman UI, I'm following the installation guidelines on theses pages:

I decided to try the whole thing first on 4 VMs running on an OpenStack RDO based Havana 3 node installation which is using VLAN. Honestly I'm not sure, if that might work at the end, but if works with vftool, then it should work also on OpenStack too.

Each VM is attached to 3 subnets (, and, all VMs can ping each other on all vNics and can do password less ssh into other VMs. Disabled also IPtables and SELinux on all VMs and configured the ntp service accordingly.

The hosts file looks like this on all VMs:

[root@controller ~]# cat /etc/hosts

The run just fine on all 3 clients.

In Foreman UI I defined for each client the corresponding roles (Controller (Neutron), Compute (Neutron) and Neutron Networker) and run the puppet agent command on the controller:

[root@controller ~]# puppet agent -tv

And now I'm getting a bunch of errors on the controller, the most important one is related to MySQL, Foreman / Puppet tries to connect to mysql on

Error: /Stage[main]/Keystone::Roles::Admin/Keystone_role[_member_]: Could not evaluate: Execution of '/usr/bin/keystone --endpoint role-list' returned 1: /usr/lib/python2.6/site-packages/babel/ UserWarning: Module backports was already imported from /usr/lib64/python2.6/site-packages/backports/__init__.pyc, but /usr/lib/python2.6/site-packages is being added to sys.path from pkg_resources import get_distribution, ResolutionError

An unexpected error prevented the server from fulfilling your request. (OperationalError) (2003, "Can't connect to MySQL server on '' (110)") None None (HTTP 500)

The first error in the stack trace was (I guess it can be ignored):

Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-ceilometer-api' returned 1:

Error Downloading Packages: python-webtest-1.3.4-5.el6.noarch: failure: python-webtest-1.3.4-5.el6.noarch.rpm from openstack-havana: [Errno 256] No more mirrors to try.

Question: where does the IP come from? It seems that foreman changes the IP of mysql to this one, why? Or shall ... (more)

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by larsks
close date 2014-04-25 11:19:53.020134


Please be more specific and post relevant errors, issues you're encountering with clear details, unless it's unlikely you'll get further help from folks who deploy with Foreman regularly.

kashyapc gravatar imagekashyapc ( 2014-02-18 05:01:17 -0500 )edit

Thanks, I'll try to install the whole thing again and post the details about the problem to the rdo-list by tomorrow and report the solution later here.

cloudssky gravatar imagecloudssky ( 2014-02-18 09:53:07 -0500 )edit

@cloudssky, can you tell us where you are with this? Have you had any success?

rbowen gravatar imagerbowen ( 2014-03-07 13:25:48 -0500 )edit

@rbowen, Thanks for your kind follow-up, I didn't succeed with this and didn't have enough time to try it again, but I'll go through the installation now and let you know, what exactly was my problem.

cloudssky gravatar imagecloudssky ( 2014-03-07 14:09:56 -0500 )edit