Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Cannot find a valid baseurl for repo: base/7/x86_64 #3

Open
davidyuyuan opened this issue Dec 14, 2018 · 0 comments
Open

Cannot find a valid baseurl for repo: base/7/x86_64 #3

davidyuyuan opened this issue Dec 14, 2018 · 0 comments

Comments

@davidyuyuan
Copy link
Member

Ansible role mongrelion.docker is failing on both CPA versions 0.5 and 07, where the verions of the role are 0.1.1 and 0.2.1. Rfam project is depending on the CPA and the progress is blocked at this point. Please look into it. Thanks.

    Launch Ansible playbook

[WARNING]: Found both group and host with same name: bastion

PLAY [localhost] ***************************************************************

TASK [bastion-ssh-config : Set fact has_bastion] *******************************
ok: [localhost]

TASK [bastion-ssh-config : Set fact bastion_ip] ********************************
ok: [localhost]

TASK [bastion-ssh-config : Set fact real_user] *********************************
ok: [localhost -> None]

TASK [bastion-ssh-config : create ssh bastion conf] ****************************
changed: [localhost]

PLAY [Warming up virtual machine instance] *************************************

TASK [Wait up to 2 minutes, start checking after 45 seconds] *******************
ok: [tsi1544793111275-k8s-master]

PLAY [Register connected users name, group and home dir] ***********************

TASK [Gathering Facts] *********************************************************
ok: [tsi1544793111275-k8s-master]

TASK [set user facts] **********************************************************
ok: [tsi1544793111275-k8s-master]

PLAY [k8s-cluster] *************************************************************

TASK [Gathering Facts] *********************************************************
ok: [tsi1544793111275-k8s-node-1]
ok: [tsi1544793111275-k8s-node-2]

TASK [Include version variables] ***********************************************
ok: [tsi1544793111275-k8s-node-1]
ok: [tsi1544793111275-k8s-node-2]
ok: [tsi1544793111275-k8s-master]

TASK [mongrelion.docker : Gather variables for each operating system] **********
ok: [tsi1544793111275-k8s-node-1] => (item=redhat.yml)
ok: [tsi1544793111275-k8s-node-2] => (item=redhat.yml)
ok: [tsi1544793111275-k8s-master] => (item=redhat.yml)

TASK [mongrelion.docker : include_tasks] ***************************************
included: /mnt/ecp/data/be_applications_folder/usr-46b2fa00-434b-49fc-bba9-94f3159f692e/cpa-kubernetes/ostack/ansible/vendor/roles/mongrelion.docker/tasks/preflight.yml for tsi1544793111275-k8s-node-1, tsi1544793111275-k8s-node-2, tsi1544793111275-k8s-master

TASK [mongrelion.docker : Set backwards compatibility for docker_upgrade var] ***
skipping: [tsi1544793111275-k8s-node-1]
skipping: [tsi1544793111275-k8s-node-2]
skipping: [tsi1544793111275-k8s-master]

TASK [mongrelion.docker : Set backwards compatibility for default_config] ******
skipping: [tsi1544793111275-k8s-node-1]
skipping: [tsi1544793111275-k8s-node-2]
skipping: [tsi1544793111275-k8s-master]

TASK [mongrelion.docker : apply default daemon config] *************************
ok: [tsi1544793111275-k8s-node-1]
ok: [tsi1544793111275-k8s-node-2]
ok: [tsi1544793111275-k8s-master]

TASK [mongrelion.docker : include_tasks] ***************************************
included: /mnt/ecp/data/be_applications_folder/usr-46b2fa00-434b-49fc-bba9-94f3159f692e/cpa-kubernetes/ostack/ansible/vendor/roles/mongrelion.docker/tasks/install.yml for tsi1544793111275-k8s-node-1, tsi1544793111275-k8s-node-2, tsi1544793111275-k8s-master

TASK [mongrelion.docker : install system dependencies] *************************
ok: [tsi1544793111275-k8s-master] => (item=ca-certificates)
ok: [tsi1544793111275-k8s-master] => (item=yum-utils)
ok: [tsi1544793111275-k8s-node-2] => (item=ca-certificates)
ok: [tsi1544793111275-k8s-node-1] => (item=ca-certificates)
FAILED - RETRYING: install system dependencies (5 retries left).
ok: [tsi1544793111275-k8s-node-1] => (item=yum-utils)
ok: [tsi1544793111275-k8s-node-2] => (item=yum-utils)
FAILED - RETRYING: install system dependencies (5 retries left).
FAILED - RETRYING: install system dependencies (5 retries left).
FAILED - RETRYING: install system dependencies (4 retries left).
FAILED - RETRYING: install system dependencies (4 retries left).
FAILED - RETRYING: install system dependencies (4 retries left).
FAILED - RETRYING: install system dependencies (3 retries left).
FAILED - RETRYING: install system dependencies (2 retries left).
FAILED - RETRYING: install system dependencies (3 retries left).
FAILED - RETRYING: install system dependencies (3 retries left).
FAILED - RETRYING: install system dependencies (1 retries left).
FAILED - RETRYING: install system dependencies (2 retries left).
FAILED - RETRYING: install system dependencies (2 retries left).
failed: [tsi1544793111275-k8s-master] (item=epel-release) => {"attempts": 5, "changed": false, "item": "epel-release", "msg": "Failure talking to yum: Cannot find a valid baseurl for repo: base/7/x86_64"}
ok: [tsi1544793111275-k8s-master] => (item=e2fsprogs)
FAILED - RETRYING: install system dependencies (1 retries left).
FAILED - RETRYING: install system dependencies (1 retries left).
failed: [tsi1544793111275-k8s-node-2] (item=epel-release) => {"attempts": 5, "changed": false, "item": "epel-release", "msg": "Failure talking to yum: Cannot find a valid baseurl for repo: base/7/x86_64"}
failed: [tsi1544793111275-k8s-node-1] (item=epel-release) => {"attempts": 5, "changed": false, "item": "epel-release", "msg": "Failure talking to yum: Cannot find a valid baseurl for repo: base/7/x86_64"}
ok: [tsi1544793111275-k8s-node-2] => (item=e2fsprogs)
ok: [tsi1544793111275-k8s-node-1] => (item=e2fsprogs)

NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @/mnt/ecp/data/be_applications_folder/usr-46b2fa00-434b-49fc-bba9-94f3159f692e/cpa-kubernetes/ostack/ansible/playbook.retry

PLAY RECAP *********************************************************************
localhost : ok=4 changed=1 unreachable=0 failed=0
tsi1544793111275-k8s-master : ok=8 changed=0 unreachable=0 failed=1
tsi1544793111275-k8s-node-1 : ok=6 changed=0 unreachable=0 failed=1
tsi1544793111275-k8s-node-2 : ok=6 changed=0 unreachable=0 failed=1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant