vorburger / opendaylight-coe-kubernetes-openshift

Personal sandbox for http://OpenDaylight.org CoE Kubernetes OpenShift related stuff which may move "upstream" in due time
Apache License 2.0
1 stars 1 forks source link

No package matching 'origin-docker-excluder-3.11**' found available, installed or updated", "rc": 126, "results": ["No package matching 'origin-docker-excluder-3.11**' found available, installed or updated #3

Closed vorburger closed 5 years ago

vorburger commented 5 years ago

I'm currently hitting this problem (following 706f78d):

TASK [openshift_excluder : Install docker excluder - yum] ****************************************************************************************
Monday 10 December 2018  13:22:45 +0000 (0:00:00.131)       0:00:38.933 ******* 
FAILED - RETRYING: Install docker excluder - yum (3 retries left).
FAILED - RETRYING: Install docker excluder - yum (3 retries left).
FAILED - RETRYING: Install docker excluder - yum (2 retries left).
FAILED - RETRYING: Install docker excluder - yum (2 retries left).
FAILED - RETRYING: Install docker excluder - yum (1 retries left).
FAILED - RETRYING: Install docker excluder - yum (3 retries left).
FAILED - RETRYING: Install docker excluder - yum (1 retries left).
fatal: [192.168.0.16]: FAILED! => {"attempts": 3, "changed": false, "msg": "No package matching 'origin-docker-excluder-3.11**' found available, installed or updated", "rc": 126, "results": ["No package matching 'origin-docker-excluder-3.11**' found available, installed or updated"]}
FAILED - RETRYING: Install docker excluder - yum (2 retries left).
fatal: [192.168.0.11]: FAILED! => {"attempts": 3, "changed": false, "msg": "No package matching 'origin-docker-excluder-3.11**' found available, installed or updated", "rc": 126, "results": ["No package matching 'origin-docker-excluder-3.11**' found available, installed or updated"]}
FAILED - RETRYING: Install docker excluder - yum (1 retries left).
fatal: [192.168.0.24]: FAILED! => {"attempts": 3, "changed": false, "msg": "No package matching 'origin-docker-excluder-3.11**' found available, installed or updated", "rc": 126, "results": ["No package matching 'origin-docker-excluder-3.11**' found available, installed or updated"]}

PLAY RECAP ***************************************************************************************************************************************
192.168.0.11               : ok=47   changed=5    unreachable=0    failed=1   
192.168.0.16               : ok=27   changed=4    unreachable=0    failed=1   
192.168.0.24               : ok=27   changed=4    unreachable=0    failed=1   
localhost                  : ok=11   changed=0    unreachable=0    failed=0   

No idea what this means...

vorburger commented 5 years ago

https://github.com/openshift/openshift-ansible/issues/7794

https://github.com/openshift/openshift-ansible/issues/8399 OMG

https://github.com/openshift/openshift-ansible/issues/10755

https://github.com/openshift/openshift-ansible/issues/10570

https://github.com/openshift/openshift-ansible/issues/10564

vorburger commented 5 years ago

OMG all of this stuff is almost as much fun as JAR version mismatches and class loader issues in Java!

Except those I'm the one helping people figure out, whereas for these I need someone to help guide me.

mprenditore commented 5 years ago

Try to install the Origin 3.11 repo on all master and nodes via: yum install centos-release-openshift-origin311

This will install the repo so that the playbook will find the required packages.

Hope this help

vorburger commented 5 years ago

@mprenditore 47a2ee9 which adds this to the hosts fixed it:

openshift_additional_repos=[{'id': 'centos-okd-ci', 'name': 'centos-okd-ci', 'baseurl' :'http://buildlogs.centos.org/centos/7/paas/x86_64/openshift-origin311/', 'gpgcheck' :'0', 'enabled' :'1'}]

I've found this here, and there is a similar solution here.

mprenditore commented 5 years ago

@vorburger Perfect! Good to know that can be specified in the inventory as well.