How to fix my kolla-ansible -i multinode bootstrap-servers from FAILING??

asked 2017-10-05 14:57:52 -0500

jcorkey gravatar image

I have three servers running centos 7. One is a deploy host, another is control node, and the third one is a compute node.

I have followed the quickstart guide for setting things up to deploy openstack using kolla and kolla-ansible.

I am running the command kolla-ansible -i multinide bootstrap-servers but because my nodes are on my intranet the nodes DO NOT have internet access. So when the bootstrap-servers process gets to this task:

TASK [baremetal : Install docker rpm gpg key] ****************************

It fails because it adds the docker.repo to the node's /etc/yum.repos.d which looks like the following:

docker.repo contents

[docker-repo]
name=Docker main Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/7
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg

This causes it to fail because it tries to connect to https://yum.dockerproject.org/gpg but it can't because the nodes DO NOT have internet access.

How can I get around this?

edit retag flag offensive close merge delete

Comments

For bootstrap your nodes will need internet or configure a proxy, other method will be install mannually dependencies and configure the system with a private repository

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-10-06 05:24:24 -0500 )edit

How can I see all the dependencies that it needs so I can go manually install them?

jcorkey gravatar imagejcorkey ( 2017-10-06 09:43:10 -0500 )edit