[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Installing using openshift-ansible



Hi Jude, 

I don't know if this will help you or not but I just did a fresh install myself yesterday using centos minimal without any issues.  I typed up the commands I used so I would have them to use again in the future:

----------------------
#using CentOS 7 Minimal .iso

ssh-keygen -t rsa
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys 
yum -y install epel-release
yum -y install docker wget git
git clone https://github.com/openshift/openshift-ansible
git clone https://github.com/gshipley/installcentos.git

# change inventory.erb for your host from the installcentos repo

yum install -y  python-cryptography pyOpenSSL.x86_64


ansible-playbook -i inventory.erb ./openshift-ansible/playbooks/byo/config.yml

On Mon, Oct 3, 2016 at 3:17 PM, Jude Mwenda <jude afrigeo co ke> wrote:
Hey,

I am using the openshift ansible repository to install a single master/node server. When I run the playbook using the byo template, I get the following error. Any pointers on what I am doing wrong, or do are there parameters in my host file required for this?

TASK [openshift_hosted : Create passthrough route for docker-registry] *********
fatal: [master.example.com]: FAILED! => {"changed": true, "cmd": ["oc", "create", "route", "passthrough", "--service", "docker-registry", "--config=/tmp/openshift-ansible-7q9png/admin.kubeconfig", "-n", "default"], "delta": "0:00:00.178512", "end": "2016-10-03 15:22:54.527194", "failed": true, "failed_when_result": true, "rc": 1, "start": "2016-10-03 15:22:54.348682", "stderr": "error: you need to provide a route port via --port when exposing a non-existent service", "stdout": "", "stdout_lines": [], "warnings": []}


_______________________________________________
dev mailing list
dev lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]