The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Susan Harkins (424) [Avatar] Offline
#1
Please post errors found in OpenShift in Action here. If necessary, we'll publish a comprehensive list for everyone's convenience. Thank you!

Susan Harkins
Errata Editor
Manning Publications
589625 (8) [Avatar] Offline
#2
Hi,
We recived the error in the subjet when tried to deploy OpenShift (ansible-playbook -i /root/hosts /usr/share/ansible/openshift-ansible/playbooks/byo/config.yml). no package matching 'docker' found available installed or updated openshift

The IPs used are:
192.168.37.129 - Master server (Centos 7.5)
192.168.37.130 - Node app-server (Centos 7.5)

The content of the "/root/hosts" file is:
[OSEv3:children]
nodes
nfs
masters
etcd

[OSEv3:vars]
openshift_master_cluster_public_hostname=None
openshift_master_default_subdomain=apps.192.168.37.130.domst.st.net
ansible_ssh_user=root
openshift_master_cluster_hostname=None
openshift_override_hostname_check=true
deployment_type=origin

[nodes:vars]
openshift_disable_check=disk_availability,memory_availability,docker_storage

[masters:vars]
openshift_disable_check=disk_availability,memory_availability,docker_storage

[nodes]
192.168.37.130 openshift_public_ip=192.168.37.130 openshift_ip=192.168.37.130 openshift_public_hostname=st-openshift-02.domst.st.net openshift_hostname=st-openshift-02.domst.st.net connect_to=192.168.37.130 openshift_node_labels="{'region': 'infra'}" openshift_schedulable=True
192.168.37.129 openshift_public_ip=192.168.37.129 openshift_ip=192.168.37.129 openshift_public_hostname=st-openshift-01.domst.st.net openshift_hostname=st-openshift-01.domst.st.net connect_to=192.168.37.129 ansible_connection=local

[nfs]
192.168.37.129 connect_to=192.168.37.129 ansible_connection=local

[masters]
192.168.37.129 openshift_public_ip=192.168.37.129 openshift_ip=192.168.37.129 openshift_public_hostname=st-openshift-01.domst.st.net openshift_hostname=st-openshift-01.domst.st.net connect_to=192.168.37.129 ansible_connection=local

[etcd]
192.168.37.129 openshift_public_ip=192.168.37.129 openshift_ip=192.168.37.129 openshift_public_hostname=st-openshift-01.domst.st.net openshift_hostname=st-openshift-01.domst.st.net connect_to=192.168.37.129 ansible_connection=local


The recived error detail is:
TASK [docker : Install Docker] *************************************************
fatal: [192.168.37.129]: FAILED! => {
"changed": false,
"failed": true,
"rc": 126,
"results": [
"No package matching 'docker' found available, installed or updated"
]
}

MSG:

No package matching 'docker' found available, installed or updated


NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/config.retry

PLAY RECAP *********************************************************************
192.168.37.129 : ok=295 changed=59 unreachable=0 failed=1
192.168.37.130 : ok=111 changed=11 unreachable=0 failed=0
localhost : ok=12 changed=0 unreachable=0 failed=0

Please any help will be welcome!!