Deploying RDO using Foreman [closed]

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

cloudssky gravatar image

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

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

http://openstack.redhat.com/Deploying...

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:

http://openstack.redhat.com/Virtualiz... http://openstack.redhat.com/Deploying...

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 (10.0.0.0, 10.0.1.0 and 10.0.2.0), 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

10.0.0.5 foreman.cloudssky.net

10.0.0.6 controller.cloudssky.net

10.0.0.10 neutron.cloudssky.net

10.0.0.8 compute1.cloudssky.net

The foreman_client.sh 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 172.16.0.1:

Error: /Stage[main]/Keystone::Roles::Admin/Keystone_role[_member_]: Could not evaluate: Execution of '/usr/bin/keystone --endpoint http://127.0.0.1:35357/v2.0/ role-list' returned 1: /usr/lib/python2.6/site-packages/babel/__init__.py:33: 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 '172.16.0.1' (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 172.16.0.1 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

Comments

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 -0600 )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 -0600 )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 -0600 )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 -0600 )edit